/* ========================================
   PROOFREADER LANDING PAGE STYLES
   Brand Colors & Design System
======================================== */

:root {
    /* Primary Brand Colors */
    --primary-purple: #6F42CE;
    --primary-dark: #5732A3;
    --primary-light: #EFE7FC;
    --accent-purple: #905FE6;
    --selected-chip: #8152D8;

    /* Pro/Premium Colors (Orange) */
    --pro-orange: #DF7C12;
    --pro-stars: #F69314;
    --pro-light: #F4CC86;
    --pro-dark-button: #D9720D;
    --pro-underline: #FFC311;

    /* Semantic Colors */
    --critical-alert: #EA2C55;
    --critical-light: #F99998;
    --success-green: #139451;
    --thesaurus-purple: #6F42CE;

    /* Background & Gradient Colors */
    --bg-light: #FFFFFF;
    --bg-secondary: #FEF7FF;
    --gradient-top: #FFFFFF;
    --gradient-middle: #FBF8FE;
    --gradient-bottom: #F5EFFD;

    /* Dark Mode Colors */
    --dark-bg-primary: #232323;
    --dark-bg-secondary: #1C1C1E;
    --dark-lavender: #C89EFF;
    --dark-orange: #FFA726;
    --dark-border: #38383A;

    /* Typography */
    --font-primary: 'Lato', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;

    /* Spacing */
    --section-padding: 80px;
    --container-max: 1200px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows - More sophisticated, multi-layered */
    --shadow-sm: 0 1px 2px rgba(111, 66, 206, 0.05), 0 1px 4px rgba(111, 66, 206, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(111, 66, 206, 0.1), 0 2px 4px -1px rgba(111, 66, 206, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(111, 66, 206, 0.1), 0 4px 6px -2px rgba(111, 66, 206, 0.05);
    --shadow-card: 0 20px 25px -5px rgba(111, 66, 206, 0.05), 0 10px 10px -5px rgba(111, 66, 206, 0.02);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* ========================================
   RESET & BASE STYLES
======================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    background: var(--bg-light);
    overflow-x: hidden;
    letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.25;
    color: #1A1A1A;
    letter-spacing: -0.01em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

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

/* ========================================
   UTILITIES
======================================== */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.text-gradient-orange {
    background: linear-gradient(135deg, var(--pro-orange) 0%, var(--pro-stars) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   BUTTONS
======================================== */

.btn {
    display: inline-flex;
    align-items: center;
  justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 15px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-medium);
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--primary-purple);
    color: white;
    box-shadow: 0 4px 12px rgba(111, 66, 206, 0.2);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(111, 66, 206, 0.3);
}

.btn-orange {
    background: linear-gradient(135deg, var(--pro-orange) 0%, var(--pro-dark-button) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(223, 124, 18, 0.2);
}

.btn-orange:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(223, 124, 18, 0.3);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

/* ========================================
   NAVIGATION
======================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-medium);
}

.nav-scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 14px 32px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    cursor: pointer;
}

.nav-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px; /* iOS app icon style rounded corners */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-title {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 20px;
    background: linear-gradient(90deg, #6F42CE 0%, #7B4FD6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
  display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 14px;
    color: #555555;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-purple);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary-purple);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 100;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--primary-purple);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger to X animation */
.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ========================================
   HERO SECTION
======================================== */

.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 72px; /* Account for fixed navbar */
    background: linear-gradient(180deg, var(--gradient-top) 0%, var(--gradient-middle) 50%, var(--gradient-bottom) 100%);
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(111, 66, 206, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(144, 95, 230, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

/* Animated floating orbs */
.hero-orbs {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(111, 66, 206, 0.15) 0%, rgba(144, 95, 230, 0.1) 100%);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(223, 124, 18, 0.08) 0%, rgba(246, 147, 20, 0.05) 100%);
    bottom: 10%;
    left: -50px;
    animation-delay: -7s;
    animation-duration: 25s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, rgba(111, 66, 206, 0.1) 0%, rgba(129, 82, 216, 0.08) 100%);
    top: 40%;
    right: 10%;
    animation-delay: -14s;
    animation-duration: 22s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.05);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    75% {
        transform: translate(20px, 10px) scale(1.02);
    }
}

.hero-gradient-blur {
    position: absolute;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(111, 66, 206, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    padding: 60px 0 100px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 4px 4px 4px 12px;
    background: #FFFFFF;
    border: 1px solid rgba(111, 66, 206, 0.1);
    border-radius: 100px;
    box-shadow: 0 4px 12px rgba(111, 66, 206, 0.05);
    margin-bottom: 32px;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
}

.badge-new {
    background: linear-gradient(135deg, var(--pro-orange) 0%, var(--pro-stars) 100%);
    color: white;
    box-shadow: 0 2px 6px rgba(223, 124, 18, 0.2);
}

.badge-text {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 14px;
    color: #4A4A4A;
    padding-right: 8px;
}

.hero-title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: #1A1A1A;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: #555;
    max-width: 600px;
    margin: 0 auto 40px;
    letter-spacing: -0.01em;
    font-weight: 450;
}

.hero-subtitle strong {
    color: var(--primary-purple);
    font-weight: 700;
}

.hero-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.store-badge img {
    height: 52px;
    width: auto;
    transition: var(--transition-medium);
}

.store-badge:hover img {
    transform: scale(1.05);
}

.store-badge-large img {
    height: 60px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-stars {
    font-size: 14px;
    color: var(--pro-stars);
    letter-spacing: 2px;
    line-height: 1;
}

.stat-value {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 22px;
    color: var(--primary-purple);
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    color: #888888;
    font-weight: 700;
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 32px;
    background: #F0F0F0;
}

/* ========================================
   SECTION STYLES
======================================== */

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-block;
    padding: 6px 14px;
    background: #F4EFFF;
    color: var(--primary-purple);
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 900;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: #666666;
    max-width: 520px;
    margin: 0 auto;
}

/* ========================================
   FEATURES SECTION
======================================== */

.features {
    padding: var(--section-padding) 0;
    background: white;
}

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

.feature-card {
    position: relative;
    padding: 32px;
    background: white;
    border: 1px solid rgba(111, 66, 206, 0.08);
    border-radius: var(--radius-lg);
    transition: all var(--transition-medium);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: rgba(111, 66, 206, 0.2);
}

.feature-card-pro {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFFBF5 100%);
    border-color: rgba(223, 124, 18, 0.15);
}

.feature-card-pro:hover {
    border-color: rgba(223, 124, 18, 0.3);
}

.pro-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 3px 10px;
    background: linear-gradient(135deg, var(--pro-orange) 0%, var(--pro-stars) 100%);
    color: white;
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 9px;
    letter-spacing: 0.05em;
    border-radius: 4px;
}

.free-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 3px 10px;
    background: var(--primary-purple);
    color: white;
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 9px;
    letter-spacing: 0.05em;
    border-radius: 4px;
}

.feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F8F5FF;
    border-radius: 12px;
    margin-bottom: 24px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary-purple);
}

.feature-card-pro .feature-icon {
    background: #FFF7EB;
}

.feature-card-pro .feature-icon svg {
    stroke: var(--pro-orange);
}

.feature-icon-vocab svg {
    stroke: var(--pro-orange);
    fill: none;
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1A1A1A;
}

.feature-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #6A6A6A;
}

/* ========================================
   AI KEYBOARD SECTION
======================================== */

.keyboard-section {
    position: relative;
    padding: var(--section-padding) 0;
    background: #120A1D;
    overflow: hidden;
}

.keyboard-section .container {
    padding-left: 48px;
    padding-right: 48px;
}

.keyboard-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 30%, rgba(111, 66, 206, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(223, 124, 18, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.keyboard-content {
    position: relative;
    z-index: 1;
}

.keyboard-text {
    max-width: 640px;
}

.new-feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    background: rgba(223, 124, 18, 0.1);
    border: 1px solid rgba(223, 124, 18, 0.2);
    border-radius: 6px;
    margin-bottom: 24px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--pro-orange);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.new-feature-badge span:last-child {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--pro-orange);
}

.keyboard-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
}

.keyboard-subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.keyboard-subtitle strong {
    color: var(--pro-orange);
}

.keyboard-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.keyboard-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.keyboard-feature-icon {
    width: 48px;
  height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(223, 124, 18, 0.1);
    border-radius: 12px;
    flex-shrink: 0;
}

.keyboard-feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--pro-orange);
}

.keyboard-feature-content h4 {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 18px;
    color: white;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.keyboard-feature-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

/* ========================================
   REVIEWS SECTION
======================================== */

.reviews-section {
    padding: var(--section-padding) 0;
    background: #FEF7FF; /* Light branded background */
}

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

.review-card {
    padding: 32px;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(111, 66, 206, 0.05);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-medium);
}

.review-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.review-stars {
    font-size: 14px;
    color: var(--pro-stars);
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.review-text {
    font-size: 16px;
    line-height: 1.7;
    color: #4A4A4A;
    margin-bottom: 24px;
    position: relative;
}

.review-text::before {
    content: '“';
    position: absolute;
    top: -10px;
    left: -15px;
    font-size: 40px;
    color: rgba(111, 66, 206, 0.1);
    font-family: serif;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light) 0%, #E8DDF9 100%);
    color: var(--primary-purple);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 14px;
    border-radius: 50%;
}

.review-info {
    display: flex;
    flex-direction: column;
}

.review-name {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 15px;
    color: #1A1A1A;
}

.review-source {
    font-size: 13px;
    color: #8A8A8A;
}

/* ========================================
   FAQ SECTION
======================================== */

.faq-section {
    padding: var(--section-padding) 0;
    background: #FFFFFF;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border: 1px solid rgba(111, 66, 206, 0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(111, 66, 206, 0.2);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.faq-question span {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 17px;
    color: #1A1A1A;
}

.faq-question svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary-purple);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #FBF8FE;
}

.faq-answer p {
    padding: 0 24px 24px;
    font-size: 15px;
    color: #666666;
    line-height: 1.6;
}

/* Active state for FAQ */
.faq-item.active {
    border-color: rgba(111, 66, 206, 0.2);
    box-shadow: var(--shadow-md);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 300px; /* Large enough to fit content */
}

@media (max-width: 768px) {
    .faq-question {
        padding: 16px 20px;
    }
    
    .faq-question span {
        font-size: 16px;
    }
}

/* ========================================
   PRIVACY SECTION
======================================== */

.privacy-section {
    padding: 32px 0;
    background: white;
}

.privacy-card {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 32px 40px;
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(19, 148, 81, 0.15);
    box-shadow: var(--shadow-sm);
}

.privacy-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F0FAF5;
    border-radius: 50%;
    flex-shrink: 0;
}

.privacy-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--success-green);
}

.privacy-content {
    flex: 1;
}

.privacy-title {
    font-size: 22px;
    font-weight: 800;
    color: #1A1A1A;
    margin-bottom: 4px;
}

.privacy-text {
    font-size: 15px;
    line-height: 1.6;
    color: #666666;
}

.privacy-text strong {
    color: #333333;
    font-weight: 700;
}

.privacy-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 14px;
    color: var(--primary-purple);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.privacy-link:hover {
    color: var(--primary-dark);
}

.privacy-link svg {
    transition: var(--transition-fast);
}

.privacy-link:hover svg {
    transform: translateX(4px);
}

/* ========================================
   DOWNLOAD SECTION
======================================== */

.download-section {
    position: relative;
    padding: var(--section-padding) 0 100px;
    background: linear-gradient(180deg, white 0%, var(--gradient-bottom) 100%);
    overflow: hidden;
}

.download-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
    background-image: 
        radial-gradient(circle at 50% 100%, rgba(111, 66, 206, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.download-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.download-title {
    font-size: clamp(36px, 5vw, 48px);
    font-weight: 800;
    color: #1A1A1A;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.download-subtitle {
    font-size: 18px;
    color: #6A6A6A;
    max-width: 500px;
    margin: 0 auto 40px;
}

.download-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.download-note {
    font-size: 14px;
    color: #555555;
    font-weight: 600;
}

/* ========================================
   FOOTER
======================================== */

.footer {
    background: #FFFFFF;
    padding: 60px 0 40px;
    border-top: 1px solid #F5F5F5;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.footer-brand {
    display: flex;
  align-items: center;
    gap: 10px;
}

.footer-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.footer-title {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 18px;
    background: linear-gradient(90deg, #6F42CE 0%, #7B4FD6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-nav {
    display: flex;
    gap: 24px;
}

.footer-link {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 13px;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-link:hover {
    color: var(--primary-purple);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
    border-top: 1px solid #F0F0F0;
}

.footer-copyright {
    font-size: 13px;
    color: #999999;
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-divider {
    color: #e0e0e0;
}

.footer-company-link {
    display: inline-block;
    font-weight: 600;
    color: #6B6B6B;
    text-decoration: none;
    border-bottom: 1px solid rgba(111, 66, 206, 0.25);
    padding-bottom: 1px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-company-link:hover {
    color: #5F3FB8;
    border-color: rgba(95, 63, 184, 0.45);
}

@media (max-width: 576px) {
    .footer-copyright {
        flex-direction: column;
        gap: 4px;
    }
    
    .footer-divider {
        display: none;
    }
}

/* ========================================
   ANIMATIONS
======================================== */

.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE STYLES
======================================== */

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

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: white;
        padding: 16px 24px 24px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 16px 16px;
        gap: 8px;
    }

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

    .nav-links .nav-link {
        padding: 12px 0;
        font-size: 16px;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-links .nav-link:last-of-type {
        border-bottom: none;
    }

    .nav-links .btn {
        margin-top: 8px;
        width: 100%;
        text-align: center;
    }

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

    .hero-content {
        padding: 60px 0 80px;
    }

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

    .hero-subtitle {
        font-size: 16px;
    }

    .keyboard-section .container {
  padding-left: 32px;
  padding-right: 32px;
}

    .hero-stats {
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        display: flex;
        flex-direction: column;
    }

    .feature-card-free {
        order: -1;
    }

    .feature-card {
        padding: 24px;
    }

    .keyboard-title {
        font-size: 36px;
    }

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

    .privacy-card {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }

    .privacy-link {
        white-space: normal;
        justify-content: center;
        text-align: center;
    }

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

    .footer-nav {
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

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

    .store-badge img {
        height: auto;
        width: 160px;
    }

    .store-badge-large img {
        height: auto;
        width: 180px;
    }

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

    .keyboard-feature {
        flex-direction: column;
  text-align: center;
        align-items: center;
    }
}

/* ========================================
   DARK MODE SUPPORT (prefers-color-scheme)
======================================== */

@media (prefers-color-scheme: dark) {
    :root {
        --bg-light: var(--dark-bg-primary);
        --bg-secondary: var(--dark-bg-secondary);
    }

    /* Dark mode styles can be expanded here if needed */
}

/* ========================================
   REDUCED MOTION (Accessibility)
======================================== */

@media (prefers-reduced-motion: reduce) {
    .orb {
        animation: none;
    }
    
    .animate-on-scroll {
        transition: none;
        opacity: 1;
        transform: none;
    }
    
    .animate-fade-in,
    .animate-fade-in-up {
        animation: none;
        opacity: 1;
    }
}
