/* ==========================================================================
   POS Restaurante - Landing Page Base Styles
   Design: Dark Premium Glassmorphism & High-Contrast Typography
   ========================================================================== */

:root {
    --bg-main: #0b0f19;
    --bg-surface: #131c2e;
    --bg-card: rgba(26, 38, 64, 0.65);
    --bg-card-hover: rgba(34, 50, 84, 0.85);
    --border-color: rgba(255, 255, 255, 0.1);
    --border-glow: rgba(59, 130, 246, 0.4);

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --accent-emerald: #10b981;
    --accent-blue: #3b82f6;
    --accent-indigo: #6366f1;

    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    --gradient-text: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #f472b6 100%);
    --gradient-badge: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.2) 100%);

    --font-heading: 'Outfit', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
}

body {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   Background Elements
   -------------------------------------------------------------------------- */
.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
    transition: transform 0.3s ease-out;
}

.orb-1 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, #6366f1 0%, transparent 70%);
    bottom: -150px;
    right: -150px;
}

.bg-grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 0;
}

/* --------------------------------------------------------------------------
   Typography & Utilities
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-center {
    text-align: center;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* --------------------------------------------------------------------------
   Navigation Header
   -------------------------------------------------------------------------- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}

.nav-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
}

.logo-icon {
    font-size: 22px;
}

.logo-highlight {
    color: var(--accent-blue);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.btn-secondary {
    display: inline-block;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

/* --------------------------------------------------------------------------
   Hero Section & Lead Form
   -------------------------------------------------------------------------- */
.hero-section {
    padding: 80px 0 60px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 30px;
    background: var(--gradient-badge);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: var(--accent-emerald);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 28px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-emerald);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
    font-size: 52px;
    max-width: 900px;
    margin: 0 auto 20px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 19px;
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto 40px;
}

/* Form Container Card */
.lead-form-container {
    max-width: 680px;
    margin: 0 auto;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    text-align: left;
    transition: border-color 0.3s ease;
}

.lead-form-container:hover {
    border-color: var(--border-glow);
}

.lead-form-header {
    text-align: center;
    margin-bottom: 28px;
}

.lead-form-header h3 {
    font-size: 24px;
    margin-bottom: 6px;
}

.lead-form-header p {
    font-size: 14px;
    color: var(--text-secondary);
}

.beta-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    font-size: 16px;
    pointer-events: none;
}

.input-wrapper input {
    width: 100%;
    padding: 14px 14px 14px 44px;
    background: rgba(11, 15, 25, 0.7);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 15px;
    font-family: var(--font-body);
    outline: none;
    transition: all 0.2s ease;
}

.input-wrapper input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
    background: rgba(15, 23, 42, 0.9);
}

.btn-primary-large {
    width: 100%;
    padding: 16px 28px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-sm);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font-heading);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.5);
    filter: brightness(1.1);
}

.btn-primary-large:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-trust-notes {
    margin-top: 20px;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
}

.form-trust-notes span {
    color: var(--text-secondary);
}

/* Feedback Response Box */
.form-response-area {
    margin-top: 16px;
    border-radius: var(--radius-sm);
    display: none;
}

.form-response-area.success {
    display: block;
    padding: 16px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #6ee7b7;
    font-size: 14px;
    text-align: center;
}

.form-response-area.error {
    display: block;
    padding: 16px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
    font-size: 14px;
    text-align: center;
}

/* --------------------------------------------------------------------------
   Pillars & Benefits Section
   -------------------------------------------------------------------------- */
.pillars-section {
    padding: 90px 0;
    border-top: 1px solid var(--border-color);
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 12px;
}

.section-header p {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.pillar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    transition: all 0.3s ease;
}

.pillar-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    transform: translateY(-4px);
}

.pillar-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.pillar-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.pillar-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Features Grid Section
   -------------------------------------------------------------------------- */
.features-section {
    padding: 90px 0;
    background: rgba(19, 28, 46, 0.4);
    border-top: 1px solid var(--border-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-item {
    background: rgba(11, 15, 25, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: border-color 0.2s ease;
}

.feature-item:hover {
    border-color: rgba(255, 255, 255, 0.25);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.feature-item h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   FAQ Accordion Section
   -------------------------------------------------------------------------- */
.faq-section {
    padding: 90px 0;
    border-top: 1px solid var(--border-color);
}

.faq-accordion {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.faq-item summary {
    padding: 20px 24px;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    user-select: none;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 22px;
    color: var(--accent-blue);
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-content {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   CTA Banner Section
   -------------------------------------------------------------------------- */
.cta-banner-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(99, 102, 241, 0.15) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cta-banner-section h2 {
    font-size: 34px;
    margin-bottom: 16px;
}

.cta-banner-section p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.cta-banner-section .btn-primary-large {
    max-width: 320px;
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
    padding: 60px 0 30px;
    background: #070a12;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 8px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    padding-top: 24px;
    font-size: 13px;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--text-secondary);
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   Responsive Design
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
    .hero-title {
        font-size: 38px;
    }
    .pillars-grid, .features-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none;
    }
    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}
