/* --- CSS Variables & Design System --- */
:root {
    --primary: #4F46E5;
    --primary-hover: #4338CA;
    --secondary: #10B981;
    --bg-dark: #0F172A;
    --bg-dark-card: #1E293B;
    --text-light: #F8FAFC;
    --text-muted: #94A3B8;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    --font-main: 'Outfit', sans-serif;
    
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-secondary {
    background-color: var(--bg-dark-card);
    color: var(--text-light);
    border: 1px solid var(--glass-border);
}

.btn-large {
    padding: 14px 28px;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-light);
}

.nav-actions {
    display: flex;
    gap: 15px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 120px auto 60px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 80vh;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(79, 70, 229, 0.1);
    color: #a855f7;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--text-light);
}

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

/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 24px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transform: perspective(1000px) rotateY(-15deg);
    transition: var(--transition);
}

.glass-card:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.05);
}

/* Common Utilities */
.section {
    padding: 100px 20px;
}
.bg-secondary {
    background-color: var(--bg-dark-card);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
}
.text-center {
    text-center: center;
}
.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

/* Platforms Grid */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.platform-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}
.platform-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}
.platform-card i {
    color: var(--primary);
    font-size: 1.5rem;
}

/* Features/Benefits Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}
.feature-card {
    background: var(--bg-dark);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.icon-box i {
    font-size: 24px;
    color: var(--primary);
}
.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}
.feature-card p {
    color: var(--text-muted);
}

/* Process Steps */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
}
.step-box {
    background: var(--bg-dark-card);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    position: relative;
    z-index: 1;
}
.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: -1;
}
.step-box h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}
.step-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}
.testimonial-card {
    transform: none;
}
.testimonial-card:hover {
    transform: translateY(-5px);
}
.stars {
    color: #F59E0B;
    margin-bottom: 15px;
}
.testimonial-card p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
}
.author {
    font-weight: 600;
    color: var(--primary);
}

/* Footer */
.footer {
    background: #0B1120;
    padding-top: 80px;
}
.footer-cta {
    max-width: 600px;
    margin: 0 auto 80px;
}
.footer-cta h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}
.footer-cta p {
    color: var(--text-muted);
    margin-bottom: 30px;
}
.footer-bottom {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--glass-border);
}
.footer-brand p {
    color: var(--text-muted);
    margin-top: 15px;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links a {
    color: var(--text-muted);
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--primary);
}
.footer-social {
    display: flex;
    gap: 15px;
}
.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--primary);
    color: white;
}
.copyright {
    padding: 30px 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 1200px) {
    .container, .hero, .nav-container {
        padding: 0 20px;
    }
}

@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        margin-top: 100px;
        gap: 40px;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    .hero-content p {
        margin: 0 auto 40px;
        max-width: 100%;
    }
    .hero-cta, .hero-stats {
        justify-content: center;
    }
    .hero-image {
        display: none; /* Hide complex glass card on mobile for better performance/look */
    }
    .nav-links, .nav-actions {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    
    /* Mobile Menu Styles */
    .navbar.mobile-active {
        background: var(--bg-dark);
        height: auto;
    }
    .navbar.mobile-active .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        padding: 20px 30px;
        gap: 20px;
        text-align: center;
        z-index: 99;
    }
    .navbar.mobile-active .nav-actions {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 215px); /* This is still a bit of a magic number but better */
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        padding: 0 30px 30px;
        gap: 15px;
        border-bottom: 1px solid var(--glass-border);
        z-index: 98;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 20px;
    }
    .section-title {
        font-size: 2rem;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    .hero-cta .btn {
        width: 100%;
    }
    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
    }
    .stat-item {
        flex: 1;
        min-width: 120px;
    }
    .platforms-grid {
        grid-template-columns: 1fr 1fr;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .platforms-grid {
        grid-template-columns: 1fr;
    }
    .stat-item h3 {
        font-size: 1.5rem;
    }
}

/* Auth Utilities */
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 25px 0;
    color: var(--text-muted);
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--glass-border);
}

.auth-divider span {
    padding: 0 15px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-google {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px;
    background: white;
    color: #1f2937;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-main);
}

.btn-google:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.btn-google img {
    width: 20px;
    height: 20px;
}
