:root {
    --primary: #0D6EFD;
    --primary-dark: #0A58CA;
    --primary-light: #CFE2FF;
    --secondary: #6610F2;
    --background: #F4F7FB;
    --surface: #FFFFFF;
    --text-primary: #111827;
    --text-secondary: #6B7280;
    --border: #E5E7EB;
    --success: #10B981;
    --error: #EF4444;
    --hero-gradient: linear-gradient(135deg, #0D6EFD 0%, #6610F2 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(13, 110, 253, 0.18);
    --shadow-lg: 0 20px 40px rgba(102, 16, 242, 0.15);
    
    /* Typography */
    --font-main: 'Inter', sans-serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

img {
    max-width: 100%;
    display: block;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
}

p {
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: white;
    color: var(--primary);
    border: 1.5px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

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

.btn-light:hover {
    background-color: var(--background);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-img {
    height: 40px;
    width: auto;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    position: relative;
    padding-top: 140px;
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: float 10s infinite alternate;
}

.glow-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--primary-light);
}

.glow-2 {
    bottom: 20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(102, 16, 242, 0.15);
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 64px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    animation: fadeUp 0.8s ease-out forwards;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 56px;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.hero-title span {
    background: var(--hero-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat strong {
    font-size: 24px;
    color: var(--text-primary);
    font-weight: 800;
}

.stat span {
    font-size: 14px;
    color: var(--text-secondary);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    animation: fadeLeft 1s ease-out forwards;
}

.mobile-mockup {
    position: relative;
    width: 320px;
    height: 650px;
    background: var(--surface);
    border-radius: 40px;
    box-shadow: var(--shadow-lg);
    border: 12px solid #1f2937;
    overflow: hidden;
    transform: rotate(-5deg);
    transition: transform 0.5s ease;
}

.mobile-mockup:hover {
    transform: rotate(0deg) translateY(-10px);
}

.notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #1f2937;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    z-index: 10;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-header h2 {
    font-size: 36px;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
}

.bg-light {
    background-color: var(--surface);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--surface);
    padding: 32px;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

/* Animated Gallery */
.gallery-marquee {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    padding: 20px 0 60px 0;
}

.gallery-track {
    display: inline-block;
    animation: scroll-left 40s linear infinite;
}

.gallery-track:hover {
    animation-play-state: paused;
}

.gallery-img {
    display: inline-block;
    height: 350px;
    width: auto;
    margin: 0 16px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* CTA Section */
.cta {
    background: var(--hero-gradient);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.cta-content h2 {
    color: white;
    font-size: 40px;
    margin-bottom: 16px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    margin-bottom: 40px;
}

/* Footer */
.footer {
    background: var(--surface);
    padding: 80px 0 24px;
    border-top: 1px solid var(--border);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 64px;
}

.footer-brand {
    grid-column: span 2;
}

.footer-brand p {
    margin-top: 16px;
    max-width: 300px;
}

.contact-info {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-secondary);
}

.contact-info a {
    color: var(--primary);
    font-weight: 500;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: var(--primary-dark);
}

.link-group h4 {
    margin-bottom: 24px;
    font-size: 16px;
}

.link-group a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 12px;
    transition: color 0.3s;
}

.link-group a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

/* Legal Pages Wrapper */
.legal-page {
    padding-top: 140px;
    padding-bottom: 80px;
}
.legal-content {
    background: var(--surface);
    padding: 48px;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.legal-content h1 {
    font-size: 40px;
    margin-bottom: 16px;
}
.legal-content .updated {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 500;
}
.legal-content h2 {
    font-size: 24px;
    margin-top: 32px;
    margin-bottom: 16px;
}
.legal-content h3 {
    font-size: 20px;
    margin-top: 24px;
    margin-bottom: 12px;
}
.legal-content p, .legal-content ul {
    margin-bottom: 16px;
    font-size: 16px;
}
.legal-content ul {
    padding-left: 24px;
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 16px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 24px;
    background: none;
    border: none;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-main);
}

.faq-icon {
    font-size: 24px;
    color: var(--primary);
    font-weight: 400;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 24px 24px 24px;
}

/* Animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeLeft {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }

    .hero-title {
        font-size: 48px;
    }

    .gallery-img {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .legal-content {
        padding: 24px;
    }
}
