/* Variables */
:root {
    --bg: #0a0a1a;
    --bg-alt: #2e3842;
    --text: #e2e8f0;
    --text-dim: #94a3b8;
    --border: #1e293b;
    --primary: #00d4ff;
    --secondary: #a855f7;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
section { min-height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; padding: 6rem 2rem; }

/* Parallax */
.parallax-container { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.stars-layer { position: absolute; inset: 0; height: 120%; background: radial-gradient(2px 2px at 20% 30%, white, transparent), radial-gradient(2px 2px at 60% 70%, white, transparent), radial-gradient(1px 1px at 50% 50%, white, transparent), radial-gradient(1px 1px at 80% 10%, white, transparent); background-size: 200px 200px, 300px 300px, 150px 150px, 250px 250px; animation: stars 60s linear infinite; }
.nebula-layer { position: absolute; inset: -10%; background: radial-gradient(ellipse at 20% 50%, rgba(139, 92, 246, 0.15), transparent 50%), radial-gradient(ellipse at 80% 30%, rgba(0, 212, 255, 0.1), transparent 50%); animation: nebula 80s ease-in-out infinite; }
@keyframes stars { to { transform: translateY(-200px); } }
@keyframes nebula { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(20px, -20px) scale(1.05); } }

/* Nav */
.navbar { position: fixed; top: 1.5rem; left: 50%; transform: translateX(-50%); width: calc(100% - 3rem); max-width: 1200px; display: flex; align-items: center; justify-content: space-between; padding: 1rem 2rem; background: rgba(10, 10, 26, 0.7); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 999px; z-index: 1000; transition: all 0.3s var(--ease); }
.navbar:hover { background: rgba(10, 10, 26, 0.85); border-color: rgba(0, 212, 255, 0.3); }
.logo-text { font-family: 'Share Tech Mono', monospace; font-size: 1.25rem; font-weight: 700; background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: 2px; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { font-size: 0.95rem; font-weight: 500; color: var(--text-dim); transition: color 0.2s; }
.nav-links a:hover { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.lang-toggle { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px; padding: 0.5rem 1rem; color: var(--text); font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.lang-toggle:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--primary); }
.nav-cta { padding: 0.6rem 1.5rem; background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: 999px; font-size: 0.9rem; font-weight: 600; transition: all 0.2s; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(0, 212, 255, 0.3); }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; padding: 4rem 2rem; }
.hero-content { max-width: 900px; animation: fadeInUp 1s var(--ease); }
.title-main { display: block; font-size: clamp(2.5rem, 8vw, 5rem); font-weight: 700; line-height: 1.1; background: linear-gradient(135deg, #fff, var(--primary)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 0.5rem; letter-spacing: -2px; }
.title-sub { display: block; font-family: 'Share Tech Mono', monospace; font-size: clamp(1rem, 3vw, 1.5rem); color: var(--text-dim); letter-spacing: 4px; }
.hero-description { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--text-dim); margin: 2rem 0 4rem; }
.hero-buttons { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 3rem; animation: float 3s ease-in-out infinite; }
.scroll-indicator { width: 2px; height: 60px; background: linear-gradient(to bottom, var(--primary), transparent); border-radius: 2px; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 1rem 2rem; font-size: 1rem; font-weight: 600; border-radius: 12px; transition: all 0.2s var(--ease); cursor: pointer; border: none; }
.btn-icon { width: 20px; height: 20px; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0, 212, 255, 0.5); }
.btn-secondary { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); color: var(--text); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--primary); }
.btn-large { padding: 1.2rem 2.5rem; font-size: 1.1rem; }

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; width: 100%; }
.section-title { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; text-align: center; margin-bottom: 1rem; background: linear-gradient(135deg, #fff, var(--primary)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.section-subtitle { font-size: clamp(1rem, 2vw, 1.2rem); text-align: center; color: var(--text-dim); margin-bottom: 4rem; }

/* About */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 4rem; }
.about-card { padding: 2.5rem 2rem; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 20px; backdrop-filter: blur(10px); transition: all 0.3s var(--ease); }
.about-card:hover { background: rgba(255, 255, 255, 0.05); border-color: rgba(0, 212, 255, 0.3); transform: translateY(-8px); box-shadow: 0 10px 40px rgba(0, 212, 255, 0.2); }
.card-icon { width: 60px; height: 60px; margin: 0 auto 1.5rem; padding: 15px; background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.card-icon svg { width: 30px; height: 30px; stroke: white; }
.card-title { font-size: 1.4rem; font-weight: 600; margin-bottom: 1rem; text-align: center; }
.card-description { color: var(--text-dim); text-align: center; }

/* Screenshots */
.feature-showcase { margin-top: 6rem; }
.showcase-item { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-bottom: 8rem; }
.showcase-item.reverse { direction: rtl; }
.showcase-item.reverse > * { direction: ltr; }
.showcase-image { position: relative; border-radius: 24px; overflow: hidden; background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(168, 85, 247, 0.1)); padding: 2rem; }
.showcase-image img { width: 100%; height: auto; border-radius: 16px; }
.showcase-video { width: 100%; height: auto; border-radius: 16px; display: block; }
.showcase-content { padding: 2rem; }
.showcase-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.3; margin-bottom: 1.5rem; display: flex; flex-direction: column; }
.showcase-title .gradient-text { background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.showcase-desc { font-size: 1.1rem; color: var(--text-dim); line-height: 1.8; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 4rem; }
.feature-item { padding: 2rem; background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 16px; transition: all 0.3s var(--ease); }
.feature-item:hover { background: rgba(255, 255, 255, 0.04); border-color: rgba(168, 85, 247, 0.3); transform: translateY(-5px); }
.feature-number { font-family: 'Share Tech Mono', monospace; font-size: 3rem; font-weight: 700; background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 1rem; opacity: 0.7; }
.feature-title { font-size: 1.4rem; font-weight: 600; margin-bottom: 1rem; }
.feature-desc { color: var(--text-dim); }

/* Pricing */
.pricing-table-wrapper { overflow-x: auto; margin-top: 4rem; border-radius: 16px; background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.05); }
.pricing-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.pricing-table thead th { padding: 1.5rem 1rem; text-align: center; font-weight: 600; border-bottom: 2px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.03); white-space: nowrap; }
.pricing-table thead th.feature-col { text-align: left; min-width: 180px; font-weight: 700; }
.pricing-table thead th.highlight { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; }
.pricing-table thead th small { display: block; font-size: 0.8rem; font-weight: 400; color: var(--text-dim); margin-top: 0.25rem; }
.pricing-table thead th.highlight small { color: rgba(255, 255, 255, 0.8); }
.pricing-table tbody td { padding: 1rem; text-align: center; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.pricing-table tbody td:first-child { text-align: left; font-weight: 500; }
.pricing-table tbody tr:hover td { background: rgba(255, 255, 255, 0.02); }
.pricing-table tbody tr.category-row td { background: rgba(255, 255, 255, 0.05); font-weight: 600; text-align: left; padding: 0.75rem 1rem; border-top: 2px solid rgba(255, 255, 255, 0.1); }
.pricing-table tbody tr.action-row td { padding: 1.5rem 1rem; background: rgba(255, 255, 255, 0.02); border-top: 2px solid rgba(255, 255, 255, 0.1); }
.btn-table { display: inline-block; padding: 0.6rem 1.5rem; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px; font-size: 0.85rem; font-weight: 600; color: var(--text); transition: all 0.2s var(--ease); }
.btn-table:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--primary); transform: translateY(-2px); }
.btn-table.btn-primary { background: linear-gradient(135deg, var(--primary), var(--secondary)); border-color: transparent; color: white; }
.btn-table.btn-primary:hover { box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3); }

/* CTA */
.cta { text-align: center; }
.cta-title { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; margin-bottom: 1rem; }
.cta-description { font-size: 1.2rem; color: var(--text-dim); margin-bottom: 4rem; }
.cta-buttons { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }

/* Footer */
.footer { background: rgba(0, 0, 0, 0.3); border-top: 1px solid rgba(255, 255, 255, 0.05); padding: 4rem 0 2rem; scroll-snap-align: end; min-height: auto; }
.footer-content { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; margin-bottom: 2rem; }
.footer-title { font-family: 'Share Tech Mono', monospace; font-size: 1.5rem; margin-bottom: 0.5rem; letter-spacing: 2px; }
.footer-tagline { color: var(--text-dim); font-size: 0.95rem; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-column h4 { font-size: 1.1rem; margin-bottom: 1rem; color: var(--primary); }
.footer-column ul { list-style: none; }
.footer-column li { margin-bottom: 0.5rem; }
.footer-column a { color: var(--text-dim); transition: color 0.2s; }
.footer-column a:hover { color: var(--primary); }
.footer-bottom { padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.05); text-align: center; color: var(--text-dim); font-size: 0.9rem; }

/* Responsive */
@media (max-width: 1024px) {
    .showcase-item { grid-template-columns: 1fr; gap: 3rem; }
    .showcase-item.reverse { direction: ltr; }
    .showcase-content { padding: 1rem; }
    .pricing-table { font-size: 0.85rem; }
    .pricing-table thead th { padding: 1rem 0.5rem; }
    .pricing-table tbody td { padding: 0.75rem 0.5rem; }
}

@media (max-width: 768px) {
    /* 导航栏 */
    .navbar { top: 1rem; width: calc(100% - 2rem); padding: 0.75rem 1.5rem; }
    .nav-links { display: none; }
    .logo-text { font-size: 1rem; }
    .lang-toggle { padding: 0.4rem 0.8rem; font-size: 0.75rem; }
    .nav-cta { padding: 0.5rem 1rem; font-size: 0.8rem; }
    
    /* Hero 区块 */
    .hero { padding: 6rem 1.5rem 4rem; min-height: 90vh; }
    .title-main { letter-spacing: -1px; }
    .title-sub { letter-spacing: 2px; }
    .hero-description { margin: 1.5rem 0 3rem; }
    .hero-buttons, .cta-buttons { flex-direction: column; align-items: stretch; gap: 1rem; }
    .btn { width: 100%; max-width: 100%; justify-content: center; padding: 1rem 1.5rem; }
    .hero-scroll { display: none; }
    
    /* Section 间距 */
    section { padding: 4rem 1.5rem; min-height: auto; }
    .container { padding: 0 1rem; }
    .section-title { margin-bottom: 0.75rem; }
    .section-subtitle { margin-bottom: 2.5rem; }
    
    /* About 卡片 */
    .about-grid { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2rem; }
    .about-card { padding: 2rem 1.5rem; }
    .card-icon { width: 50px; height: 50px; margin-bottom: 1rem; }
    .card-title { font-size: 1.2rem; }
    .card-description { font-size: 0.95rem; }
    
    /* Screenshots */
    .feature-showcase { margin-top: 3rem; }
    .showcase-item { grid-template-columns: 1fr; gap: 2rem; margin-bottom: 4rem; direction: ltr; }
    .showcase-item.reverse { direction: ltr; }
    .showcase-item.reverse > * { direction: ltr; }
    .showcase-image { padding: 1rem; }
    .showcase-content { padding: 0; }
    .showcase-title { font-size: clamp(1.5rem, 5vw, 2rem); margin-bottom: 1rem; }
    .showcase-desc { font-size: 0.95rem; line-height: 1.6; }
    
    /* Features */
    .features-grid { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2rem; }
    .feature-item { padding: 1.5rem; }
    .feature-number { font-size: 2.5rem; }
    .feature-title { font-size: 1.2rem; }
    .feature-desc { font-size: 0.9rem; }
    
    /* Pricing 表格 */
    .pricing-table-wrapper { margin-top: 2rem; border-radius: 12px; }
    .pricing-table { font-size: 0.75rem; }
    .pricing-table thead th { padding: 0.75rem 0.25rem; font-size: 0.7rem; }
    .pricing-table thead th.feature-col { min-width: 100px; font-size: 0.75rem; }
    .pricing-table thead th small { font-size: 0.65rem; }
    .pricing-table tbody td { padding: 0.5rem 0.25rem; font-size: 0.75rem; }
    .pricing-table tbody tr.category-row td { padding: 0.5rem 0.25rem; font-size: 0.8rem; }
    .pricing-table tbody tr.action-row td { padding: 1rem 0.25rem; }
    .btn-table { padding: 0.5rem 0.75rem; font-size: 0.7rem; }
    
    /* CTA */
    .cta-description { font-size: 1rem; margin-bottom: 2.5rem; }
    
    /* Footer */
    .footer { padding: 3rem 0 1.5rem; }
    .footer-content { grid-template-columns: 1fr; gap: 2rem; }
    .footer-title { font-size: 1.25rem; }
    .footer-tagline { font-size: 0.85rem; }
    .footer-links { grid-template-columns: 1fr; gap: 1.5rem; }
    .footer-column h4 { font-size: 1rem; margin-bottom: 0.75rem; }
    .footer-column li { margin-bottom: 0.4rem; font-size: 0.9rem; }
    .footer-bottom { padding-top: 1.5rem; font-size: 0.8rem; }
}

@media (max-width: 480px) {
    /* 超小屏幕优化 */
    .navbar { padding: 0.6rem 1rem; }
    .logo-text { font-size: 0.9rem; letter-spacing: 1px; }
    .nav-actions { gap: 0.5rem; }
    .lang-toggle { padding: 0.35rem 0.6rem; font-size: 0.7rem; }
    .nav-cta { padding: 0.4rem 0.8rem; font-size: 0.75rem; }
    
    .hero { padding: 5rem 1rem 3rem; }
    .about-card { padding: 1.5rem 1rem; }
    .showcase-image { padding: 0.75rem; }
    .feature-item { padding: 1.25rem; }
    
    /* 表格横向滚动提示 */
    .pricing-table-wrapper::after {
        content: '← 左右滑动查看更多 →';
        display: block;
        text-align: center;
        padding: 0.75rem;
        font-size: 0.7rem;
        color: var(--text-dim);
        background: rgba(255, 255, 255, 0.02);
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
}

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