/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #3478F6;
    --primary-dark: #2560D4;
    --dark: #1a1a2e;
    --text: #333;
    --text-light: #666;
    --bg: #ffffff;
    --bg-light: #f7f8fc;
    --bg-alt: #eef2ff;
    --border: #e0e0e0;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(52, 120, 246, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

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

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

/* === Navbar === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 1000;
    padding: 12px 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
}

.nav-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

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

.nav-links a {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.3s;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--dark);
    color: #fff;
}

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

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

.btn-secondary:hover {
    background: var(--bg-alt);
    color: var(--dark);
    transform: translateY(-2px);
}

.btn-white {
    background: #fff;
    color: var(--dark);
}

.btn-white:hover {
    background: #f0f0f0;
    color: var(--dark);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateY(-2px);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.3s forwards;
    opacity: 0;
}

/* === Hero === */
.hero {
    padding: 140px 0 100px;
    background: linear-gradient(160deg, #f7f8fc 0%, #eef2ff 40%, #e8eeff 70%, #f0f4ff 100%);
    overflow: hidden;
    position: relative;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
    filter: blur(80px);
}

.hero-shape-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(52, 120, 246, 0.2) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: heroFloat 8s ease-in-out infinite;
}

.hero-shape-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    bottom: -80px;
    left: -80px;
    animation: heroFloat 10s ease-in-out infinite reverse;
}

.hero-shape-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(52, 120, 246, 0.1) 0%, transparent 70%);
    top: 40%;
    left: 50%;
    animation: heroFloat 12s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -20px) scale(1.05); }
    66% { transform: translate(-15px, 15px) scale(0.95); }
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(52, 120, 246, 0.08);
    border: 1px solid rgba(52, 120, 246, 0.15);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease forwards;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-text h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.12;
    color: var(--dark);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease 0.1s forwards;
    opacity: 0;
    letter-spacing: -0.02em;
}

.highlight {
    color: var(--primary);
    background: linear-gradient(135deg, #3478F6, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 36px;
    animation: fadeInUp 0.6s ease 0.2s forwards;
    opacity: 0;
}

.hero-languages {
    margin-top: 24px;
    animation: fadeInUp 0.6s ease 0.4s forwards;
    opacity: 0;
}

.lang-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.lang-label::before {
    content: '';
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3Cpath d='M12 2a15.3 15.3 0 014 10 15.3 15.3 0 01-4 10 15.3 15.3 0 01-4-10 15.3 15.3 0 014-10z'/%3E%3C/svg%3E") no-repeat center;
}

.hero-image {
    flex-shrink: 0;
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

.hero-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(52, 120, 246, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 0.3; }
}

.app-icon-hero {
    width: 280px;
    height: 280px;
    border-radius: 56px;
    box-shadow: 0 20px 60px rgba(52, 120, 246, 0.25), 0 8px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}

.app-icon-hero:hover {
    transform: scale(1.05) rotate(-2deg);
}

.hero-floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 10px 16px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dark);
    white-space: nowrap;
    z-index: 2;
}

.hero-float-1 {
    top: 20px;
    right: -60px;
    animation: floatCard 4s ease-in-out infinite;
    animation-delay: 0s;
}

.hero-float-2 {
    bottom: 40px;
    left: -70px;
    animation: floatCard 4s ease-in-out infinite;
    animation-delay: 1.3s;
}

.hero-float-3 {
    top: 50%;
    right: -80px;
    transform: translateY(-50%);
    animation: floatCard 4s ease-in-out infinite;
    animation-delay: 2.6s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-supported-apps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    animation: fadeInUp 0.8s ease 0.5s forwards;
    opacity: 0;
}

.supported-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.supported-icons {
    display: flex;
    align-items: center;
    gap: 6px;
}

.supported-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: default;
    backdrop-filter: blur(4px);
}

.supported-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: #fff;
}

/* === Screenshots === */
.screenshots {
    padding: 100px 0;
    background: var(--bg);
    overflow: hidden;
}

.screenshots-carousel {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 20px 0 40px;
    scrollbar-width: none;
}

.screenshots-carousel::-webkit-scrollbar {
    display: none;
}

.screenshot-item {
    flex: 0 0 auto;
    scroll-snap-align: center;
}

.screenshot-item img {
    width: 260px;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s;
}

.screenshot-item img:hover {
    transform: scale(1.03);
}

/* === Section Titles === */
.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
    text-align: center;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 60px;
}

/* === Features === */
.features {
    padding: 100px 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    background: #fff;
    padding: 36px 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-alt);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* === How It Works === */
.how-it-works {
    padding: 100px 0;
    background: var(--bg);
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
}

.step {
    text-align: center;
    max-width: 280px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.step p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.step-arrow {
    color: var(--border);
    margin-top: 18px;
    flex-shrink: 0;
}

/* === Who It's For === */
.who-its-for {
    padding: 100px 0;
    background: var(--bg-light);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.audience-card {
    background: #fff;
    padding: 32px 24px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.audience-card:hover {
    transform: translateY(-4px);
}

.audience-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--primary);
}

.audience-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.audience-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* === Languages === */
.languages {
    padding: 80px 0;
    background: var(--bg);
}

.languages-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.lang-tag {
    background: var(--bg-alt);
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s;
}

.lang-tag:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

/* === Key Features === */
.key-features {
    padding: 80px 0;
    background: var(--bg-light);
}

.key-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    font-size: 1rem;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li svg {
    flex-shrink: 0;
}

/* === CTA === */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, #1a5dd4 100%);
    text-align: center;
    color: #fff;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta .hero-buttons {
    justify-content: center;
    animation: none;
    opacity: 1;
}

/* === Footer === */
.footer {
    background: var(--dark);
    color: #fff;
    padding: 60px 0 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.footer-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
}

.footer-name {
    font-size: 1.2rem;
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

.footer-brand p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links-group {
    display: flex;
    gap: 60px;
}

.footer-links h4 {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* === Legal Pages === */
.legal-page {
    padding: 120px 0 80px;
    background: var(--bg-light);
}

.legal-container {
    max-width: 800px;
}

.legal-page h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}

.legal-updated {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 40px;
}

.legal-content h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin-top: 36px;
    margin-bottom: 12px;
}

.legal-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin-top: 20px;
    margin-bottom: 8px;
}

.legal-content p {
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.7;
}

.legal-content ul {
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-content li {
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.7;
}

.legal-content a {
    color: var(--primary);
    font-weight: 500;
}

/* === Responsive === */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .audience-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .app-icon-hero {
        width: 220px;
        height: 220px;
        border-radius: 44px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.active {
        display: flex;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-text h1 {
        font-size: 2.4rem;
    }

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

    .hero-buttons {
        justify-content: center;
    }

    .app-icon-hero {
        width: 180px;
        height: 180px;
        border-radius: 36px;
    }

    .hero-glow {
        width: 220px;
        height: 220px;
    }

    .hero-floating-card {
        display: none;
    }

    .hero-supported-apps {
        justify-content: center;
        flex-wrap: wrap;
    }

    .supported-icons {
        flex-wrap: wrap;
        justify-content: center;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        flex-direction: column;
        align-items: center;
    }

    .step-arrow {
        transform: rotate(90deg);
        margin: 0;
    }

    .audience-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .key-features-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .cta h2 {
        font-size: 1.8rem;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-links-group {
        flex-wrap: wrap;
        gap: 32px;
    }

    .screenshot-item img {
        width: 220px;
    }

    .legal-page h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .screenshot-item img {
        width: 200px;
    }

    .footer-links-group {
        flex-direction: column;
        gap: 24px;
    }
}

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

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}
