* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { height: 100%; overflow-x: hidden; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 14px; line-height: 1.6; transition: background 0.2s, color 0.2s; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; font-size: inherit; cursor: pointer; }
::selection { background: var(--primary); color: #fff; }

.container { max-width: 960px; margin: 0 auto; padding: 0 24px; }

.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.header .container { display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; max-width: 960px; margin: 0 auto; }
.header-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; color: var(--text); text-decoration: none; }
.header-logo img { width: 28px; height: 28px; }
.header-nav { display: flex; align-items: center; gap: 16px; }
.header-nav a { font-size: 13px; color: var(--text-muted); transition: color 0.15s; }
.header-nav a:hover { color: var(--text); text-decoration: none; }
.theme-btn { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--text-muted); transition: background 0.15s, color 0.15s; }
.theme-btn:hover { background: var(--surface-hover); color: var(--text); }

.hero { padding: 160px 0 80px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: var(--gradient-hero); pointer-events: none; z-index: 0; }
.hero::after { content: ''; position: absolute; inset: 0; background: var(--pattern-dots); background-size: 24px 24px; opacity: 0.4; pointer-events: none; z-index: 0; }
.hero .container { position: relative; z-index: 1; }
.hero-icon { margin-bottom: 24px; display: inline-block; position: relative; }
.hero-icon img { width: 80px; height: 80px; border-radius: 18px; box-shadow: 0 0 50px var(--primary-glow), 0 0 100px var(--primary-glow); transition: box-shadow 0.3s; }
.hero-icon:hover img { box-shadow: 0 0 70px var(--primary-glow), 0 0 140px var(--primary-glow); }
.hero h1 { font-size: 52px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 12px; background: linear-gradient(135deg, var(--text) 0%, var(--primary) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { font-size: 18px; color: var(--text-muted); margin-bottom: 36px; max-width: 540px; margin-left: auto; margin-right: auto; }
.hero-cta { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 60px; }
.hero-screenshot { position: relative; z-index: 1; }
.hero-screenshot img { max-width: 100%; width: 800px; height: auto; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,0.18); border: 1px solid var(--border); transition: transform 0.3s, box-shadow 0.3s; }
.hero-screenshot img:hover { transform: translateY(-4px); box-shadow: 0 28px 72px rgba(0,0,0,0.22); }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: 10px; font-size: 14px; font-weight: 600; border: none; text-decoration: none; transition: all 0.2s; position: relative; overflow: hidden; }
.btn-primary { background: linear-gradient(135deg, var(--primary), #818cf8); color: #fff; box-shadow: 0 4px 14px var(--primary-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px var(--primary-glow); text-decoration: none; }
.btn-secondary { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--surface-hover); text-decoration: none; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }

.section-divider { display: block; width: 0; height: 1px; margin: 0 auto; background: linear-gradient(90deg, transparent, var(--border), transparent); }
section:not(:first-of-type) { position: relative; }
section:not(:first-of-type)::before { content: ''; display: block; width: 60px; height: 1px; margin: 0 auto 0; background: linear-gradient(90deg, transparent, var(--border) 30%, var(--border) 70%, transparent); }

.stats { padding: 60px 0 40px; position: relative; }
.stats .container { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-value { font-size: 32px; font-weight: 800; color: var(--primary); letter-spacing: -0.02em; }
.stat-label { font-size: 12px; color: var(--text-dim); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.06em; }

.features { padding: 80px 0; }
.features h2 { text-align: center; font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.section-subtitle { text-align: center; font-size: 14px; color: var(--text-dim); margin-bottom: 48px; max-width: 480px; margin-left: auto; margin-right: auto; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { padding: 28px 24px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.08); border-color: var(--primary-glow); }
.feature-card .feature-icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); margin-bottom: 16px; }
.feature-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.feature-card p { font-size: 13px; color: var(--text-muted); }

.providers { padding: 80px 0; }
.providers h2 { text-align: center; font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.providers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.provider-card { padding: 32px 24px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); text-align: center; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.provider-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
.provider-card.deepseek:hover { border-color: rgba(79,70,229,0.4); }
.provider-card.opencode-go:hover { border-color: rgba(16,185,129,0.4); }
.provider-card.opencode-zen:hover { border-color: rgba(139,92,246,0.4); }
.provider-icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 14px; margin-bottom: 16px; font-size: 24px; }
.provider-card.deepseek .provider-icon { background: rgba(79,70,229,0.1); color: #4f46e5; }
.provider-card.opencode-go .provider-icon { background: rgba(16,185,129,0.1); color: #10b981; }
.provider-card.opencode-zen .provider-icon { background: rgba(139,92,246,0.1); color: #8b5cf6; }
.provider-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.provider-card p { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.provider-badge { display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.provider-badge.green { background: rgba(16,185,129,0.1); color: #10b981; }
.provider-badge.purple { background: rgba(139,92,246,0.1); color: #8b5cf6; }
.provider-badge.blue { background: rgba(79,70,229,0.1); color: #4f46e5; }

.skills { padding: 80px 0; }
.skills h2 { text-align: center; font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.skill-card { padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); display: flex; gap: 16px; align-items: flex-start; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.skill-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.08); border-color: var(--accent-glow); }
.skill-card .skill-icon { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }
.skill-card h3 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.skill-card p { font-size: 12px; color: var(--text-muted); }
.skills-cta { text-align: center; margin-top: 32px; }

.tech-stack { padding: 60px 0; }
.tech-stack h2 { text-align: center; font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.tech-pills { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 32px; }
.tech-pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 20px; border: 1px solid var(--border); background: var(--surface); font-size: 13px; color: var(--text-muted); transition: all 0.2s; }
.tech-pill:hover { color: var(--text); border-color: var(--primary-glow); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.04); }
.tech-pill svg { width: 16px; height: 16px; color: var(--primary); }

.screenshots { padding: 80px 0; }
.screenshots h2 { text-align: center; font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.screenshots-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.screenshot-item { cursor: pointer; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: transform 0.25s, box-shadow 0.25s; }
.screenshot-item:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.screenshot-item img { width: 100%; height: auto; display: block; }
.screenshot-caption { display: block; padding: 10px 12px; font-size: 12px; color: var(--text-dim); text-align: center; background: var(--surface); }

.lightbox { display: none; position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,0.85); backdrop-filter: blur(8px); align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.lightbox-close { position: absolute; top: 24px; right: 24px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); background: rgba(0,0,0,0.5); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.lightbox-close:hover { background: rgba(255,255,255,0.15); }

.faq { padding: 80px 0; }
.faq h2 { text-align: center; font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.faq-list { max-width: 680px; margin: 32px auto 0; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-lg); margin-bottom: 10px; background: var(--surface); overflow: hidden; transition: border-color 0.2s; }
.faq-item:hover { border-color: var(--primary-glow); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: none; border: none; color: var(--text); font-size: 14px; font-weight: 600; text-align: left; cursor: pointer; }
.faq-question svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--text-dim); transition: transform 0.25s; }
.faq-item.open .faq-question svg { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-item.open .faq-answer { max-height: 200px; }
.faq-answer p { padding: 0 20px 16px; font-size: 13px; color: var(--text-muted); line-height: 1.7; }

.install { padding: 80px 0; text-align: center; }
.install h2 { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.step { padding: 28px 24px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); transition: transform 0.25s, box-shadow 0.25s; }
.step:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), #818cf8); color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.step h3 { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--text-muted); }

.platforms { display: flex; gap: 12px; justify-content: center; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }
.platform-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 20px; font-size: 12px; background: var(--surface); color: var(--text-muted); border: 1px solid var(--border); }
.platform-badge.coming { opacity: 0.5; }

.footer { padding: 40px 0; border-top: 1px solid var(--border); text-align: center; font-size: 12px; color: var(--text-dim); }
.footer a { color: var(--text-muted); }
.footer a:hover { color: var(--text); }

.anim-section { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.anim-section.visible { opacity: 1; transform: translateY(0); }

@keyframes breathe {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 16px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .features-grid, .providers-grid, .skills-grid, .steps { grid-template-columns: 1fr; }
  .screenshots-gallery { grid-template-columns: 1fr; }
  .stats .container { gap: 24px; }
  .stat-value { font-size: 24px; }
  .faq-list { padding: 0 16px; }
}
