/* ===================================
   生声念念官网 - 样式表
   =================================== */

/* CSS Variables */
:root {
    /* Colors - Warm & Child-friendly */
    --color-primary: #FF6B6B;
    --color-primary-dark: #EE5A5A;
    --color-secondary: #4ECDC4;
    --color-accent: #FFE66D;
    --color-warm: #FFF5F5;
    
    /* Neutrals */
    --color-text: #2D3436;
    --color-text-light: #636E72;
    --color-text-muted: #B2BEC3;
    --color-white: #FFFFFF;
    --color-gray-100: #F8F9FA;
    --color-gray-200: #E9ECEF;
    --color-gray-300: #DEE2E6;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    --gradient-secondary: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%);
    --gradient-warm: linear-gradient(180deg, #FFF5F5 0%, #FFEEE5 100%);
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-width: 1200px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 9999px;
}

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

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

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

html.i18n-pending body {
    opacity: 0;
}

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

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

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
}

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

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

/* ===================================
   Header
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

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

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 16px;
}

.lang-btn {
    border: 1px solid var(--color-primary);
    background: transparent;
    color: var(--color-primary);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lang-btn.active,
.lang-btn:hover {
    background: var(--color-primary);
    color: #fff;
}

.nav-link {
    font-weight: 500;
    color: var(--color-text-light);
    transition: color var(--transition-fast);
    position: relative;
}

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

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

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

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all var(--transition-fast);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: var(--gradient-warm);
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 24px;
    line-height: 1.2;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-card {
    position: relative;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: var(--color-text);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-xl);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--color-white);
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.app-screenshot {
    text-align: center;
}

.voice-wave {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 30px;
    height: 60px;
}

.voice-wave span {
    width: 8px;
    height: 20px;
    background: var(--color-primary);
    border-radius: 4px;
    animation: wave 1s ease-in-out infinite;
}

.voice-wave span:nth-child(1) { animation-delay: 0s; }
.voice-wave span:nth-child(2) { animation-delay: 0.1s; }
.voice-wave span:nth-child(3) { animation-delay: 0.2s; }
.voice-wave span:nth-child(4) { animation-delay: 0.3s; }
.voice-wave span:nth-child(5) { animation-delay: 0.4s; }

@keyframes wave {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(2.5); }
}

.story-text {
    font-size: 1.1rem;
    color: var(--color-text);
    padding: 16px;
    background: var(--color-gray-100);
    border-radius: var(--radius-md);
}

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

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--color-primary);
    top: -100px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--color-secondary);
    bottom: -50px;
    left: -50px;
    animation: float 15s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--color-accent);
    top: 50%;
    left: 30%;
    animation: float 18s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(20px, -20px); }
    50% { transform: translate(0, -40px); }
    75% { transform: translate(-20px, -20px); }
}

/* ===================================
   Section Common Styles
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

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

/* ===================================
   Features Section
   =================================== */
.features {
    padding: var(--section-padding);
    background: var(--color-white);
}

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

.feature-card {
    padding: 40px 30px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-gray-200);
    transition: all var(--transition-normal);
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    color: var(--color-primary);
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-desc {
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ===================================
   How It Works Section
   =================================== */
.how-it-works {
    padding: var(--section-padding);
    background: var(--color-gray-100);
}

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

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 280px;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    color: var(--color-white);
    font-size: 2rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

.step-content {
    padding: 0 20px;
}

.step-title {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

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

.step-connector {
    width: 80px;
    height: 2px;
    background: var(--color-gray-300);
    margin-top: -60px;
}

/* ===================================
   Showcase Section
   =================================== */
.showcase {
    padding: var(--section-padding);
    background: var(--color-white);
}

.showcase-video-card {
    background: var(--color-gray-100);
    border-radius: var(--radius-xl);
    padding: 24px;
    margin-bottom: 30px;
    border: 1px solid var(--color-gray-200);
}

.showcase-video-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 14px;
}

.showcase-video-header h3 {
    margin: 0;
    font-size: 1.25rem;
}

.showcase-video-header span {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.showcase-video-compact {
    max-width: 360px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.showcase-video-compact img {
    width: 100%;
    display: block;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-gray-200);
    box-shadow: var(--shadow-sm);
    aspect-ratio: 9 / 19;
    object-fit: cover;
}

.showcase-video-inline {
    width: 100%;
    display: block;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-gray-200);
    background: #000;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 9 / 19;
    object-fit: cover;
}

.showcase-video-tip {
    margin-top: 10px;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.showcase-card {
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-gray-200);
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.showcase-card img {
    width: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 9 / 19;
}

.showcase-card figcaption {
    padding: 10px 12px;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.showcase-image {
    cursor: zoom-in;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.showcase-card::after {
    content: attr(data-zoom-tip);
    position: absolute;
    left: 12px;
    top: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    color: var(--color-white);
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.showcase-card:hover::after,
.showcase-card:focus-within::after {
    opacity: 1;
    transform: translateY(0);
}

.showcase-card:hover .showcase-image,
.showcase-card:focus-within .showcase-image {
    transform: scale(1.02);
    filter: saturate(1.05);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1200;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 12, 12, 0.6);
    backdrop-filter: blur(6px);
}

.lightbox-content {
    position: relative;
    z-index: 1;
    max-width: min(90vw, 560px);
    max-height: 88vh;
    background: var(--color-white);
    border-radius: 20px;
    padding: 16px 16px 20px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    display: grid;
    gap: 12px;
    justify-items: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 16px;
    object-fit: contain;
    background: #0b0b0b;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transform-origin: center center;
    transition: transform 0.15s ease;
    cursor: zoom-in;
}

.lightbox-image.is-zoomed {
    cursor: zoom-out;
}

.lightbox-caption {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-text-light);
    text-align: center;
}

.lightbox-close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.65);
    color: var(--color-white);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
}

body.lightbox-open {
    overflow: hidden;
}

/* ===================================
   Scenarios Section
   =================================== */
.scenarios {
    padding: var(--section-padding);
    background: var(--color-gray-100);
}

.scenario-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.scenario-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--color-gray-200);
    box-shadow: var(--shadow-sm);
}

.scenario-tag {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.75rem;
    border-radius: 999px;
    background: var(--color-secondary);
    color: var(--color-primary);
    margin-bottom: 12px;
}

.scenario-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.scenario-card p {
    color: var(--color-text-light);
    line-height: 1.7;
    margin: 0;
}

/* ===================================
   FAQ Section
   =================================== */
.faq {
    padding: var(--section-padding);
    background: var(--color-white);
}

.faq-list {
    max-width: 920px;
    margin: 0 auto;
    display: grid;
    gap: 14px;
}

.faq-item {
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-gray-200);
    background: var(--color-gray-100);
    padding: 16px 20px;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--color-text);
}

.faq-item p {
    margin: 10px 0 0;
    color: var(--color-text-light);
}

/* ===================================
   Download Section
   =================================== */
.download {
    padding: var(--section-padding);
    background: var(--gradient-primary);
    color: var(--color-white);
}

.download-content {
    text-align: center;
}

.download-title {
    font-size: 2.5rem;
    color: var(--color-white);
    margin-bottom: 16px;
}

.download-desc {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 10px;
}

.download-platform-tip {
    font-size: 0.95rem;
    opacity: 0.85;
    margin-bottom: 32px;
}

.download-switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.16);
    border-radius: 999px;
}

.download-switch-btn {
    border: 0;
    padding: 8px 14px;
    border-radius: 999px;
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.download-switch-btn:hover {
    background: rgba(255, 255, 255, 0.18);
}

.download-switch-btn.active {
    background: var(--color-white);
    color: var(--color-text);
    box-shadow: var(--shadow-sm);
}

.download-options {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--color-white);
    color: var(--color-text);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.download-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.download-btn.platform-recommended {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}

.download-btn.is-hidden {
    display: none;
}

.download-btn svg {
    width: 32px;
    height: 32px;
}

.btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.btn-text small {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

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

.qr-placeholder {
    width: 150px;
    height: 150px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 0.875rem;
    text-align: center;
    margin-bottom: 12px;
}

.qr-desc {
    opacity: 0.8;
}

/* ===================================
   About Section
   =================================== */
.about {
    padding: var(--section-padding);
    background: var(--color-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-title {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.about-desc {
    color: var(--color-text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
}

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

.about-illustration {
    display: flex;
    justify-content: center;
}

.about-illustration svg {
    width: 300px;
    height: 300px;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    padding: var(--section-padding);
    background: var(--color-gray-100);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--color-text-light);
}

.contact-item svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.contact-form {
    background: var(--color-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--color-text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--color-text);
    color: var(--color-white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    display: block;
}

.footer-desc {
    opacity: 0.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    color: var(--color-white);
    margin-bottom: 20px;
    font-size: 1rem;
}

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

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.footer-column a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.social-links a:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    opacity: 0.6;
    font-size: 0.875rem;
}

.footer-bottom p {
    margin: 4px 0;
}

.footer-icp a {
    color: rgba(255, 255, 255, 0.5);
    transition: opacity var(--transition-fast);
}

.footer-icp a:hover {
    opacity: 1;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .showcase-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .scenario-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-stats {
        justify-content: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        box-shadow: var(--shadow-md);
        transform: translateY(-150%);
        transition: transform var(--transition-normal);
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-toggle {
        display: flex;
    }

    .lang-switch {
        display: none;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }

    .showcase-video-header {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .scenario-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step-connector {
        display: none;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .download-options {
        flex-direction: column;
        align-items: center;
    }

    .download-switch {
        display: flex;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .phone-mockup {
        width: 240px;
        height: 480px;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }

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

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .hero-cta,
    .download-options,
    .contact-form {
        display: none;
    }
}

/* Download Button Disabled State */
.download-btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.download-btn.disabled svg {
    opacity: 0.5;
}

.download-note {
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    margin-top: 16px;
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 40px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-tip {
    color: var(--color-text-light);
    font-size: 16px;
}

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