/* =========================================
   MOBOT PREMIUM DESIGN SYSTEM v2.0
   ========================================= */

:root {
    /* --- COLOR PALETTE --- */
    /* Backgrounds */
    --bg-dark: #0f172a;
    /* Slate 900: Deep, professional dark */
    --bg-darker: #020617;
    /* Slate 950: Contrast sections */
    --bg-card: rgba(30, 41, 59, 0.7);
    /* Slate 800 with opacity */

    /* Primary Brand Colors */
    --primary: #3b82f6;
    /* Blue 500: Trust, Tech */
    --primary-dark: #2563eb;
    /* Blue 600 */
    --primary-glow: rgba(59, 130, 246, 0.5);

    /* Secondary/Accent */
    --secondary: #06b6d4;
    /* Cyan 500: Innovation */
    --accent: #8b5cf6;
    /* Violet 500: Future */

    /* Text Colors */
    --text-main: #f8fafc;
    /* Slate 50: High readability */
    --text-muted: #94a3b8;
    /* Slate 400: Subtitles */
    --text-dark: #0f172a;
    /* For light backgrounds if any */

    /* Status Colors */
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;

    /* --- TYPOGRAPHY --- */
    --font-heading: 'Outfit', sans-serif;
    /* Modern, geometric */
    --font-body: 'Inter', sans-serif;
    /* Clean, legible */

    /* --- SPACING & LAYOUT --- */
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --border-radius-sm: 8px;

    /* --- EFFECTS --- */
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --shadow-lg: 0 20px 50px -12px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.3);

    /* --- ANIMATIONS --- */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   RESET & BASE STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Background Animation Wrapper */
.background-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background:
        radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.08), transparent 25%);
    pointer-events: none;
}

#hero-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
}

/* =========================================
   LAYOUT UTILITIES
   ========================================= */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    /* CENTERED */
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

.text-danger {
    color: var(--danger);
}

.gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: var(--glass-border);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    /* Tech feel */
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--text-main);
    letter-spacing: 1px;
}

.nav-list {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--text-main);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition);
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    display: flex;
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: scale(0);
    opacity: 0;
    transition: transform 0.6s, opacity 0.6s;
}

.btn-glow:hover::after {
    transform: scale(1);
    opacity: 1;
    transition: 0s;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero-section {
    padding-top: 160px;
    /* Header space + breathing room */
    padding-bottom: 100px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 100px;
    color: #60a5fa;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    backdrop-filter: blur(4px);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    /* Large impact */
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.hero-guarantee {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.check-icon {
    color: var(--success);
    font-weight: bold;
}

.separator {
    color: rgba(255, 255, 255, 0.1);
}

/* =========================================
   SOCIAL PROOF
   ========================================= */
.social-proof-section {
    padding: 2rem 0 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.social-proof-label {
    text-align: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 2rem;
}

.logos-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    opacity: 0.5;
}

.logo-item {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* =========================================
   PROBLEM SECTION
   ========================================= */
.problem-section {
    padding: 100px 0;
    background: var(--bg-darker);
}

.section-header {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    border: var(--glass-border);
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    /* Blue corporate color */
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1;
    color: var(--primary);
    /* Blue corporate color */
}

.stat-label {
    color: var(--text-muted);
    font-size: 1rem;
}

.section-title .highlight-problem {
    color: var(--secondary);
    /* Cyan corporate color */
}

/* =========================================
   SOLUTION SECTION
   ========================================= */
.solution-section {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--glass-bg);
    border: var(--glass-border);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon {
    font-size: 1.8rem;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* =========================================
   CTA SECTION (CONTACT)
   ========================================= */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--bg-dark), var(--bg-darker));
}

.cta-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 2 COLUMNS DESKTOP */
    gap: 5rem;
    align-items: center;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.cta-benefits {
    list-style: none;
}

.cta-benefits li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-main);
}

.cta-benefits li span {
    color: var(--success);
    font-weight: bold;
    background: rgba(16, 185, 129, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* Premium Form */
.premium-form {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-lg);
}

.form-header {
    margin-bottom: 2rem;
    text-align: center;
}

.form-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    margin-left: 0.5rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
    background: rgba(15, 23, 42, 0.9);
}

/* Custom Select Arrow */
.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '▼';
    font-size: 0.8rem;
    color: var(--text-muted);
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
}

.form-footer {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 1rem;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background: #020617;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-desc {
    color: var(--text-muted);
    margin-top: 1rem;
    font-size: 0.95rem;
}

.footer-links-group {
    display: flex;
    gap: 4rem;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.85rem;
}

/* =========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================= */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .cta-container {
        gap: 3rem;
    }

    .cta-title {
        font-size: 3rem;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .header-container {
        padding: 0 20px;
    }

    /* Navigation */
    .nav {
        display: none;
        /* Hidden by default, JS toggles it */
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--bg-dark);
        padding: 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .nav-list a {
        font-size: 1.2rem;
    }

    .mobile-menu-btn {
        display: flex;
    }

    /* Hero */
    .hero-section {
        padding-top: 120px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    /* Grids */
    .stats-grid,
    .features-grid,
    .cta-container,
    .footer-container,
    .footer-links-group {
        grid-template-columns: 1fr;
        flex-direction: column;
        gap: 3rem;
    }

    /* Adjustments */
    .cta-container {
        text-align: center;
    }

    .cta-benefits {
        display: inline-block;
        text-align: left;
    }

    .footer-brand {
        text-align: center;
        margin: 0 auto;
    }

    .footer-links-group {
        align-items: center;
        text-align: center;
    }

    .logos-grid {
        gap: 2rem;
    }

    .logo-item {
        font-size: 1rem;
    }
}

/* =========================================
   LEGAL PAGES
   ========================================= */
.legal-page {
    padding: 160px 0 100px;
    min-height: 80vh;
}

.legal-content {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    border: var(--glass-border);
    backdrop-filter: blur(10px);
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.last-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-content h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.legal-content p, 
.legal-content li {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-content a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.legal-content a:hover {
    border-bottom-color: var(--primary);
}

/* =========================================
   COOKIE BANNER
   ========================================= */
#cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(150%); /* Hidden by default */
    width: 90%;
    max-width: 600px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    z-index: 9999;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#cookie-banner.show {
    transform: translateX(-50%) translateY(0);
}

.cookie-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.cookie-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 1.5rem;
    }
    
    #cookie-banner {
        bottom: 1rem;
        padding: 1.5rem;
        flex-direction: column;
    }
    
    .cookie-actions {
        flex-direction: column;
    }
    
    .cookie-actions .btn {
        width: 100%;
    }
}