/* ============================================
   搜狗输入法 - 全新现代化设计系统
   ============================================ */

/* CSS Variables */
:root {
    --primary: #4f46e5;
    --primary-light: #6366f1;
    --primary-dark: #4338ca;
    --accent: #7c3aed;
    --accent-light: #a78bfa;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-card: #ffffff;
    --text: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*,
*::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: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   Navbar
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid var(--border-light);
}

.nav-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.logo-icon svg {
    width: 22px;
    height: 22px;
    color: white;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    transition: all var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
    background: rgba(79, 70, 229, 0.06);
}

.nav-links a.active {
    color: var(--primary);
    background: rgba(79, 70, 229, 0.08);
    font-weight: 600;
}

.nav-cta {
    background: linear-gradient(135deg, var(--primary), var(--accent)) !important;
    color: #fff !important;
    padding: 10px 24px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.45) !important;
    background: linear-gradient(135deg, var(--primary), var(--accent)) !important;
    color: #fff !important;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 32px 100px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
}

.hero-gradient-1 {
    width: 700px;
    height: 700px;
    background: var(--primary);
    top: -200px;
    right: -150px;
    animation: heroFloat1 20s ease-in-out infinite;
}

.hero-gradient-2 {
    width: 600px;
    height: 600px;
    background: var(--accent);
    bottom: -250px;
    left: -100px;
    animation: heroFloat2 25s ease-in-out infinite;
}

.hero-gradient-3 {
    width: 400px;
    height: 400px;
    background: #38bdf8;
    top: 50%;
    left: 40%;
    animation: heroFloat3 18s ease-in-out infinite;
}

@keyframes heroFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(60px, -40px) scale(1.05); }
    66% { transform: translate(-30px, 20px) scale(0.95); }
}

@keyframes heroFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-50px, 30px) scale(1.08); }
    66% { transform: translate(40px, -20px) scale(0.92); }
}

@keyframes heroFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-40px, -30px) scale(1.06); }
}

.hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(79, 70, 229, 0.06);
    border: 1px solid rgba(79, 70, 229, 0.12);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 28px;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.hero-content h1 {
    font-size: 58px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    color: var(--text);
}

.hero-content h1 .highlight {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 19px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-stats-row {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border-light);
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
}

.hero-stat-num {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.hero-stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.input-demo-wrapper {
    position: relative;
}

.input-mockup {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px 28px 24px;
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0, 0, 0, 0.03);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 360px;
}

.input-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-dots {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mockup-dots span:nth-child(1) { background: #ef4444; }
.mockup-dots span:nth-child(2) { background: #f59e0b; }
.mockup-dots span:nth-child(3) { background: #22c55e; }

.mockup-input-area {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 14px 18px;
    margin-bottom: 16px;
    border: 1px solid var(--border-light);
}

.mockup-input-text {
    font-size: 18px;
    color: var(--text);
    font-weight: 500;
}

.mockup-cursor {
    display: inline-block;
    width: 2px;
    height: 20px;
    background: var(--primary);
    margin-left: 2px;
    vertical-align: middle;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.mockup-candidates {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.mockup-candidate {
    padding: 8px 18px;
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
    border: 1px solid transparent;
}

.mockup-candidate:hover {
    border-color: var(--border);
    color: var(--text);
}

.mockup-candidate.active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.mockup-float-tag {
    position: absolute;
    padding: 10px 18px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    animation: floatTag 3s ease-in-out infinite;
}

.mockup-float-tag.tag-1 {
    top: -20px;
    right: -50px;
}

.mockup-float-tag.tag-2 {
    bottom: -15px;
    left: -60px;
    animation-delay: 1s;
}

.mockup-float-tag.tag-3 {
    top: 30%;
    right: -70px;
    animation-delay: 2s;
}

@keyframes floatTag {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.45);
}

.btn-secondary {
    background: var(--bg);
    color: var(--text);
    border: 1.5px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(79, 70, 229, 0.03);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 17px;
}

.btn-xl {
    padding: 20px 48px;
    font-size: 18px;
}

/* ============================================
   Trust Bar (Logo strip)
   ============================================ */
.trust-bar {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px 60px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.trust-bar-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
    font-weight: 500;
}

.trust-bar-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
    opacity: 0.6;
}

.trust-logo {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: -0.01em;
}

/* ============================================
   Stats Section
   ============================================ */
.stats-section {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 50%, var(--bg) 100%);
    padding: 100px 32px;
    position: relative;
}

.stats-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.stat-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.03), rgba(124, 58, 237, 0.03));
    opacity: 0;
    transition: opacity var(--transition);
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 70, 229, 0.08);
}

.stat-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.stat-number {
    font-size: 40px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.03em;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

/* ============================================
   Features Section
   ============================================ */
.features-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 120px 32px;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 72px;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-desc {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    padding: 36px 32px;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    transition: all var(--transition);
    position: relative;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-icon-box {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon-box.purple { background: rgba(124, 58, 237, 0.08); color: #7c3aed; }
.feature-icon-box.blue { background: rgba(37, 99, 235, 0.08); color: #2563eb; }
.feature-icon-box.green { background: rgba(5, 150, 105, 0.08); color: #059669; }
.feature-icon-box.orange { background: rgba(234, 88, 12, 0.08); color: #ea580c; }
.feature-icon-box.pink { background: rgba(219, 39, 119, 0.08); color: #db2777; }
.feature-icon-box.cyan { background: rgba(6, 182, 212, 0.08); color: #06b6d4; }

.feature-icon-box svg {
    width: 28px;
    height: 28px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   Input Methods Section
   ============================================ */
.methods-section {
    background: var(--bg-alt);
    padding: 120px 32px;
}

.methods-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.method-card {
    text-align: center;
    padding: 32px 16px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: all var(--transition);
    cursor: pointer;
}

.method-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(79, 70, 229, 0.2);
}

.method-icon-circle {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.06), rgba(124, 58, 237, 0.06));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.method-card:hover .method-icon-circle {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(124, 58, 237, 0.12));
    transform: scale(1.05);
}

.method-icon-circle svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.method-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.method-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    padding: 120px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.03), rgba(124, 58, 237, 0.03), rgba(56, 189, 248, 0.03));
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--bg-alt);
    border-top: 1px solid var(--border-light);
    padding: 48px 32px;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    font-weight: 700;
    font-size: 16px;
    color: var(--text);
}

.footer-copy {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-tagline {
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================
   Download Page
   ============================================ */
.download-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 32px 80px;
    position: relative;
    overflow: hidden;
}

.download-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.dl-gradient-1 {
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--primary);
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.08;
    top: -100px;
    right: -100px;
    animation: heroFloat1 20s infinite;
}

.dl-gradient-2 {
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--accent);
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.07;
    bottom: -150px;
    left: -100px;
    animation: heroFloat2 25s infinite;
}

.download-card {
    position: relative;
    z-index: 2;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 56px 48px;
    text-align: center;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-xl);
    max-width: 480px;
    width: 100%;
}

.dl-app-icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 40px rgba(79, 70, 229, 0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.dl-app-icon svg {
    width: 48px;
    height: 48px;
    color: white;
}

.download-card h1 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.dl-tagline {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 36px;
}

.dl-info {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 32px;
    text-align: left;
}

.dl-info-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

.dl-info-row + .dl-info-row {
    border-top: 1px solid var(--border-light);
}

.dl-info-label {
    color: var(--text-muted);
}

.dl-info-value {
    font-weight: 600;
    color: var(--text);
}

.btn-download {
    width: 100%;
}

.dl-platforms {
    margin-top: 28px;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.dl-platform-badge {
    padding: 6px 16px;
    background: var(--bg-alt);
    border-radius: var(--radius-full);
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--transition);
}

.back-link svg {
    width: 18px;
    height: 18px;
}

.back-link:hover {
    color: var(--primary);
}

/* ============================================
   404 Error Page
   ============================================ */
.error-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 140px 32px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.error-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.error-bg-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    animation: errorPulse 4s ease-in-out infinite;
}

.error-bg-circle.c1 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.error-bg-circle.c2 {
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 0.5s;
}

.error-bg-circle.c3 {
    width: 500px;
    height: 500px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 1s;
}

@keyframes errorPulse {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(0.95); }
    50% { opacity: 0.1; transform: translate(-50%, -50%) scale(1.05); }
}

.error-visual {
    position: relative;
    margin-bottom: 32px;
    z-index: 2;
}

.error-number {
    font-size: 140px;
    font-weight: 900;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.error-visual h1 {
    font-size: 28px;
    font-weight: 700;
    margin-top: 8px;
}

.error-visual p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-top: 12px;
    line-height: 1.6;
}

.error-actions {
    margin-top: 40px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* ============================================
   Animations
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        order: 1;
    }
    
    .hero-visual {
        order: 0;
    }
    
    .hero-stats-row {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-content h1 {
        font-size: 46px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .methods-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stats-inner {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .input-mockup {
        min-width: auto;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 100px 32px 32px;
        gap: 4px;
        box-shadow: var(--shadow-xl);
        transition: right var(--transition);
        z-index: 999;
    }
    
    .nav-links.open {
        right: 0;
    }
    
    .nav-links a {
        width: 100%;
        padding: 14px 18px;
        border-radius: var(--radius);
    }
    
    .nav-links .nav-cta {
        margin-top: 8px;
        text-align: center;
    }
    
    .mobile-menu-btn {
        display: flex;
        position: relative;
        z-index: 1001;
    }
    
    .hero-content h1 {
        font-size: 38px;
    }
    
    .hero-desc {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .methods-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-inner {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .download-card {
        padding: 40px 28px;
    }
    
    .cta-content h2 {
        font-size: 32px;
    }
    
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-stats-row {
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 32px;
    }
    
    .stats-inner {
        grid-template-columns: 1fr;
    }
    
    .methods-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-stats-row {
        flex-direction: column;
        gap: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .error-number {
        font-size: 100px;
    }
}