:root {
    --primary-color: #459EE9;
    --primary-dark: #3A84C9;
    --secondary-color: #459EE9;
    --bg-primary: #121212;
    --bg-secondary: #1E1E1E;
    --bg-tertiary: #2A2A2A;
    --text-primary: #FFFFFF;
    --text-secondary: #B0B0B0;
    --text-light: #FFFFFF;
    --border-color: #333333;
    --gradient-1: linear-gradient(135deg, #5AADE9 0%, #459EE9 100%);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --shadow-xl: 0 25px 50px rgba(0,0,0,0.15);
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --button-transition: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark mode is always on */
body {
    --primary-color: #459EE9;
    --primary-dark: #3A84C9;
    --bg-primary: #121212;
    --bg-secondary: #1E1E1E;
    --bg-tertiary: #2A2A2A;
    --text-primary: #FFFFFF;
    --text-secondary: #B0B0B0;
    --border-color: #333333;
    --gradient-1: linear-gradient(135deg, #5AADE9 0%, #459EE9 100%);
}

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

html {
    background-color: #000000;
}

body {
    font-family: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    background: linear-gradient(180deg,
        #000000 0%,
        #000000 15%,
        #0a0a0a 25%,
        #141414 35%,
        #1e1e1e 45%,
        #282828 55%,
        #323232 65%,
        #3c3c3c 75%,
        #464646 85%,
        #505050 95%,
        #505050 100%);
    min-height: 100vh;
    overflow-x: hidden;
    transition: all 0.3s ease;
    position: relative;
    opacity: 0;
}


body.loaded {
    opacity: 1;
    transition: opacity 0.4s ease;
}

/* Grain Effect - Scrolls with page */
.grain-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 150 150' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='1'/%3E%3C/svg%3E");
    background-size: 150px 150px;
    background-repeat: repeat;
    mix-blend-mode: screen;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(18, 18, 18, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.25rem;
}

.nav-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.brand-chinese {
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.brand-english {
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.2s ease;
}

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

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

.cta-button {
    background: linear-gradient(135deg, var(--primary-color) 0%, #3a7bc8 100%);
    color: white !important;
    padding: 0.625rem 1.75rem;
    border-radius: 8px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.025em;
    box-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.07),
        0 1px 1px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 2px 8px rgba(69, 158, 233, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: inherit;
    transform: scale(0.1);
    z-index: -1;
}

.cta-button:hover {
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.1),
        0 1px 2px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.15) inset,
        0 4px 12px rgba(69, 158, 233, 0.25);
    color: #000000 !important;
}

.cta-button:hover::before {
    opacity: 1;
    transform: scale(1);
}

.cta-button:active {
    box-shadow: 
        0 1px 1px rgba(0, 0, 0, 0.07),
        0 1px 1px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 1px 4px rgba(69, 158, 233, 0.1);
}


.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: relative;
    width: 30px;
    height: 24px;
}

.nav-toggle span {
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle span:nth-child(1) {
    top: 0;
}

.nav-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.nav-toggle span:nth-child(3) {
    bottom: 0;
}

.nav-toggle.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    overflow: visible;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
    overflow: visible;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}


.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    padding: 0 20px;
    margin: 0 -20px;
    filter: drop-shadow(0 0 20px rgba(69, 158, 233, 0.2));
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    padding: 0.875rem 2.25rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: 0.025em;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid transparent;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 8px 24px rgba(69, 158, 233, 0.25);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: inherit;
    transform: scale(0.1);
    z-index: -1;
}

.btn-primary:hover {
    box-shadow: 0 12px 32px rgba(69, 158, 233, 0.35);
    color: #000000;
}

.btn-primary:hover::before {
    opacity: 1;
    transform: scale(1);
}

.btn-primary:active {
    box-shadow: 0 4px 16px rgba(69, 158, 233, 0.25);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--text-primary);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: inherit;
    transform: scale(0.1);
    z-index: -1;
}

.btn-secondary:hover {
    color: #000000;
    border-color: white;
}

.btn-secondary:hover::before {
    opacity: 1;
    transform: scale(1);
}

.btn-secondary:active {
    transform: translateY(-1px);
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 0 40px rgba(69, 158, 233, 0.5);
}

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

/* App Showcase */
.app-showcase {
    text-align: center;
    position: relative;
}


.hero-video {
    width: 400px;
    height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 0 40px rgba(69, 158, 233, 0.1));
}

/* Demo Section */
.demo-section {
    padding: 100px 0;
    background: transparent;
    position: relative;
    z-index: 2;
}

/* Desktop demo layout */
.desktop-demo {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-top: 60px;
    align-items: center;
    perspective: 1000px;
}

.mobile-demo {
    display: none;
}

.demo-item {
    text-align: center;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.85) translateZ(0);
    position: relative;
}

.demo-item.active {
    transform: scale(1.15) translateZ(50px);
    z-index: 10;
}

.demo-item .iphone-frame {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.6;
    filter: brightness(0.6) contrast(0.9);
}

.demo-item.active .iphone-frame {
    opacity: 1;
    filter: brightness(1) contrast(1);
    box-shadow: 
        0 0 0 2px #2a2a2a,
        0 0 0 4px #1a1a1a,
        0 30px 60px rgba(0,0,0,0.7),
        0 0 100px rgba(69, 158, 233, 0.1);
}

.demo-item h3 {
    margin: 20px 0 10px;
    color: var(--text-primary);
    font-size: 1.5rem;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.4;
    transform: translateY(5px);
}

.demo-item.active h3 {
    opacity: 1;
    transform: translateY(0);
    color: var(--primary-color);
}

.demo-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.3;
    transform: translateY(5px);
}

.demo-item.active p {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile demo layout */
.demo-container {
    margin-top: 60px;
}

.demo-phone {
    position: relative;
}

.demo-progress {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.progress-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.progress-dot.active {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.demo-text-mobile {
    margin-top: 40px;
    position: relative;
    min-height: 100px;
}

.demo-description {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    text-align: center;
}

.demo-description.active {
    opacity: 1;
}

.demo-description h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.demo-description p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

.demo-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.demo-video.active {
    opacity: 1;
}

/* Hide GIFs on desktop by default */
.demo-gif-element {
    display: none !important;
}

/* iPhone Frame for Videos */
.iphone-frame {
    width: 300px;
    height: 640px;
    margin: 0 auto 20px;
    background: #1a1a1a;
    border-radius: 35px;
    padding: 10px;
    box-shadow: 
        0 0 0 2px #2a2a2a,
        0 0 0 4px #1a1a1a,
        0 20px 40px rgba(0,0,0,0.5);
    position: relative;
    transform-style: preserve-3d;
}

.iphone-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 25px;
    background: #1a1a1a;
    border-radius: 0 0 15px 15px;
}

.iphone-frame video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 25px;
    background: #000;
}

.video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #0a0a0a;
    border-radius: 25px;
    color: #666;
    text-align: center;
    font-size: 14px;
}

.video-fallback .fallback-icon {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.6;
}

.video-fallback p {
    margin: 0;
    color: #666;
}

/* Hide fallback when video loads */
.iphone-frame video:not([src=""]) ~ .video-fallback {
    display: none;
}


/* Features Section */
.features {
    padding: 80px 0;
    background: transparent;
    position: relative;
    z-index: 2;
}

/* Comparison Table */
.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 3rem;
    border-radius: var(--border-radius-lg);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    table-layout: fixed;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    width: 30%;
}

.comparison-table th:not(:first-child),
.comparison-table td:not(:first-child) {
    width: 17.5%;
}

.comparison-table th,
.comparison-table td {
    padding: 1.25rem 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-table thead tr {
    background: rgba(255, 255, 255, 0.05);
}

.comparison-table th {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.875rem;
    letter-spacing: 0.02em;
}

.comparison-table th.highlight {
    background: rgba(69, 158, 233, 0.15);
    color: var(--primary-color);
    font-weight: 700;
}

.comparison-table tbody tr {
    transition: background 0.2s ease;
}

.comparison-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.comparison-table td.feature-name {
    text-align: left;
    font-weight: 500;
    color: var(--text-primary);
    padding-left: 1.5rem;
}

.comparison-table td.highlight {
    background: rgba(69, 158, 233, 0.08);
    font-weight: 600;
}

.comparison-table .check {
    color: #4CAF50;
    font-size: 1.2rem;
    font-weight: bold;
}

.comparison-table .cross {
    color: #f44336;
    font-size: 1.2rem;
    font-weight: bold;
}

.comparison-table .partial {
    color: #FF9800;
    font-size: 1.2rem;
    font-weight: bold;
}

.comparison-table .price-row td {
    border-bottom: none;
    font-weight: 600;
}

.comparison-table .price-free {
    color: #4CAF50;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .comparison-table {
        font-size: 0.85rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.8rem 0.5rem;
    }
    
    .comparison-table td.feature-name {
        font-size: 0.8rem;
    }
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
    text-align: center;
}

.feature-card {
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(69, 158, 233, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    display: flex;
    justify-content: center;
    filter: drop-shadow(0 0 20px rgba(69, 158, 233, 0.3));
}

.feature-icon svg {
    width: 48px;
    height: 48px;
    stroke-width: 2;
    transition: none;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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


/* Import Features */
.import-features {
    padding: 80px 0 120px;
    background: transparent;
}

.import-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.import-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    padding: 3rem 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.import-card {
    position: relative;
    overflow: hidden;
}


.import-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}


.import-icon {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    display: flex;
    justify-content: center;
}

.import-icon svg {
    width: 48px;
    height: 48px;
    stroke-width: 2;
    transition: none;
}

.import-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: transparent;
    position: relative;
    z-index: 2;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

/* Center single testimonial - using a more compatible approach */
.testimonials-grid {
    justify-content: center;
}

.testimonials-grid .testimonial:only-child {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
}

.testimonial {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial {
    position: relative;
    overflow: hidden;
}

.testimonial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 30%, rgba(69, 158, 233, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.testimonial:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.testimonial:hover::before {
    opacity: 1;
}

.stars {
    margin-bottom: 1rem;
    display: flex;
    gap: 4px;
    justify-content: center;
}

.stars svg {
    color: var(--primary-color);
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 0 8px rgba(69, 158, 233, 0.6));
}

.testimonial p {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Download Section */
.download {
    padding: 100px 0;
    text-align: center;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.import-features {
    background: transparent;
}

.download {
    background: #000000;
    position: relative;
    overflow: hidden;
}

.download::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle at center, 
                rgba(255, 255, 255, 0.15) 0%, 
                rgba(255, 255, 255, 0.10) 15%,
                rgba(255, 255, 255, 0.06) 30%,
                rgba(255, 255, 255, 0.03) 50%,
                rgba(255, 255, 255, 0.01) 70%,
                transparent 90%);
    pointer-events: none;
}

.download::before {
    content: '';
    position: absolute;
    top: -30%;
    left: 10%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, 
                rgba(255, 255, 255, 0.15) 0%, 
                rgba(255, 255, 255, 0.08) 30%,
                transparent 70%);
    filter: blur(60px);
    animation: pulse 4s ease-in-out infinite;
}

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

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

.download-title {
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
}

.download-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 3rem;
}

.download-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.download-btn {
    display: inline-block;
    height: 60px;
}


.download-btn img {
    height: 60px;
    transition: transform 0.3s ease;
}

.download-btn.android img {
    height: 80px;
    margin: -10px 0;
}

.download-btn:hover img {
    opacity: 0.9;
}

.download-features {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.download-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 500;
}


/* Footer */
.footer {
    background: #0A0A0A;
    color: #FFFFFF;
    padding: 60px 0 20px;
    position: relative;
    z-index: 2;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-brand .brand-english {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    margin-top: 0.5rem;
}

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

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-links .social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links .social-link svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.footer-links .social-link:hover svg {
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
}

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

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

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

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

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

@keyframes slideInRotate {
    from {
        opacity: 0;
        transform: translateY(50px) rotate(-5deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotate(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Animation Classes */
.animate-fade-in-up {
    animation: fadeInUp 0.4s ease-out forwards;
    opacity: 0;
}

.animate-fade-in-down {
    animation: fadeInDown 0.4s ease-out forwards;
    opacity: 0;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.4s ease-out forwards;
    opacity: 0;
}

.animate-fade-in-right {
    animation: fadeInRight 0.4s ease-out forwards;
    opacity: 0;
}

.animate-scale-in {
    animation: scaleIn 0.4s ease-out forwards;
    opacity: 0;
}

.animate-slide-rotate {
    animation: slideInRotate 0.5s ease-out forwards;
    opacity: 0;
}

/* Stagger Delays */
.delay-100 { animation-delay: 0.05s; }
.delay-200 { animation-delay: 0.1s; }
.delay-300 { animation-delay: 0.15s; }
.delay-400 { animation-delay: 0.2s; }
.delay-500 { animation-delay: 0.25s; }
.delay-600 { animation-delay: 0.3s; }

/* Scroll Animation Classes */
.scroll-animate {
    opacity: 0;
    transition: all 0.4s ease-out;
}

.scroll-animate.in-view {
    opacity: 1;
}

.scroll-fade-up {
    transform: translateY(50px);
}

.scroll-fade-up.in-view {
    transform: translateY(0);
}

.scroll-fade-left {
    transform: translateX(-50px);
}

.scroll-fade-left.in-view {
    transform: translateX(0);
}

.scroll-fade-right {
    transform: translateX(50px);
}

.scroll-fade-right.in-view {
    transform: translateX(0);
}

.scroll-scale {
    opacity: 0;
}

.scroll-scale.in-view {
    opacity: 1;
}

/* Hero Animation Enhancements */
.hero-title {
    position: relative;
    overflow: hidden;
}

.hero-title::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(69, 158, 233, 0.3), transparent);
    animation: shimmer 3s infinite;
    animation-delay: 2s;
}


/* Interactive Card Effects */
.card-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(69, 158, 233, 0.2) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
    transform: translate(-50%, -50%);
}

.feature-card:hover .card-glow,
.testimonial:hover .card-glow,
.import-card:hover .card-glow {
    opacity: 1;
}



/* Free Highlight */
.free-highlight {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1rem;
    margin-top: 0.5rem;
    font-family: 'Geist', 'Inter', sans-serif;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .practice-features,
    .import-options,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    /* General mobile improvements */
    body {
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    section {
        padding: 3rem 0;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    /* Mobile button improvements */
    .hero-buttons {
        display: flex;
        gap: 0.75rem;
        width: 100%;
        max-width: 400px;
        margin: 0 auto 2rem;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
        flex: 1;
        min-width: 0;
        white-space: nowrap;
    }
    
    /* Improve hero section on mobile */
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.875rem;
    }
    
    /* Show GIFs on mobile, hide videos */
    .demo-video-element {
        display: none !important;
    }
    
    .demo-gif-element {
        display: block !important;
    }
    
    .demo-gif-element.active {
        opacity: 1;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        background-color: var(--bg-primary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 1.5rem;
        border-top: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        padding: 0.5rem 1rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    /* Hide hero stats on mobile for cleaner look */
    .hero-stats {
        display: none;
    }
    
    /* Mobile phone showcase adjustments */
    .demo-item {
        transform: scale(1) translateZ(0);
        filter: brightness(1);
        opacity: 1;
    }
    
    .demo-item.active {
        transform: scale(1) translateZ(0);
    }
    
    .demo-item::before {
        display: none;
    }
    
    /* Hide testimonials section on mobile */
    .testimonials {
        display: none;
    }
    
    /* Hide import features section on mobile */
    .import-features {
        display: none;
    }
    
    /* Simplify hero description on mobile */
    .hero-description {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    /* Make section titles smaller */
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .practice-features,
    .import-options,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
    
    .desktop-demo {
        display: none;
    }
    
    .mobile-demo {
        display: block;
    }
    
    .demo-text-mobile {
        padding: 0 20px;
    }
    
    .iphone-frame {
        width: 260px;
        height: 560px;
    }
    
    /* Simplify comparison table on mobile */
    .comparison-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .comparison-table {
        font-size: 0.8rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem;
        font-size: 0.75rem;
    }
    
    /* Hide less important columns in comparison table */
    .comparison-table th:nth-child(4),
    .comparison-table td:nth-child(4),
    .comparison-table th:nth-child(5),
    .comparison-table td:nth-child(5),
    .comparison-table th:nth-child(6),
    .comparison-table td:nth-child(6) {
        display: none;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* Simplify download features on mobile */
    .download-features {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .download-feature {
        font-size: 0.9rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* Mobile improvements for other sections */
    .download-content {
        padding: 2rem 1rem;
    }
    
    .download-title {
        font-size: 1.75rem;
    }
    
    .download-subtitle {
        font-size: 1rem;
    }
    
    .download-features {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        font-size: 0.875rem;
    }
    
    /* Improve demo section on mobile */
    .demo-container {
        padding: 0;
    }
    
    .iphone-frame {
        width: 250px;
        height: 530px;
    }
    
    /* Improve comparison table on mobile */
    .comparison-table-wrapper {
        margin-top: 2rem;
    }
    
    /* Import cards on mobile */
    .import-options {
        gap: 1.5rem;
    }
    
    .import-card {
        padding: 1.5rem;
    }
}

/* Extra small devices (phones in portrait) */
@media (max-width: 480px) {
    .hero-buttons {
        gap: 0.5rem;
    }
    
    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.8125rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .download-features {
        grid-template-columns: 1fr;
    }
}