:root {
    --bg: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a25;
    --text: #e4e4e7;
    --text-muted: #71717a;
    --accent: #22c55e;
    --accent-dim: #16a34a;
    --border: #27272a;
    --gradient: linear-gradient(135deg, #22c55e 0%, #06b6d4 100%);
}

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

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* Nav */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10,10,15,0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

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

.nav-logo {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--accent); }

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

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}

.lang-toggle {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
}

.lang-toggle:hover { border-color: var(--accent); color: var(--accent); }

/* Hero */
.hero {
    text-align: center;
    padding: 120px 24px 80px;
    background: radial-gradient(ellipse at 50% 0%, rgba(34,197,94,0.08) 0%, transparent 60%);
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    border: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.notice-banner {
    display: block;
    padding: 10px 20px;
    border-radius: 8px;
    background: rgba(234,179,8,0.1);
    border: 1px solid rgba(234,179,8,0.3);
    font-size: 13px;
    color: #facc15;
    margin-bottom: 24px;
    line-height: 1.6;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: fit-content;
}

.notice-banner a {
    color: var(--accent);
    text-decoration: underline;
}

.notice-banner a:hover {
    color: var(--accent-dim);
}

.hero h1 {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 16px;
}

.accent { color: var(--accent); }

.hero-subtitle {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.hero-desc {
    max-width: 640px;
    margin: 0 auto 32px;
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: #000;
}

.btn-primary:hover { background: var(--accent-dim); transform: translateY(-1px); }

.btn-secondary {
    background: var(--bg-card);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover { background: var(--bg-card-hover); border-color: var(--accent); }

/* Screenshot */
.hero-screenshot { max-width: 900px; margin: 0 auto; }

.screenshot-img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

/* Features */
.features {
    padding: 100px 24px;
}

.features h2, .terminal-section h2, .multiwindow-section h2, .download-section h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-desc {
    text-align: center;
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(34,197,94,0.1);
}

.feature-icon { font-size: 32px; margin-bottom: 16px; }

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* AI Section */
.ai-section {
    padding: 100px 24px;
    background: linear-gradient(180deg, transparent 0%, rgba(34,197,94,0.03) 50%, transparent 100%);
}

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

.ai-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    background: rgba(34,197,94,0.15);
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.ai-text h2 {
    text-align: left;
    font-size: 32px;
    margin-bottom: 16px;
}

.ai-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.ai-features {
    list-style: none;
    margin-bottom: 24px;
}

.ai-features li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
    color: var(--text-muted);
}

.ai-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.ai-code {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    overflow-x: auto;
}

.ai-code pre {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    line-height: 1.7;
    color: var(--text-muted);
}

.ai-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.diagram-box {
    padding: 20px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    width: 220px;
}

.ai-box { background: rgba(99,102,241,0.15); border: 1px solid rgba(99,102,241,0.3); color: #818cf8; }
.app-box { background: rgba(34,197,94,0.15); border: 1px solid rgba(34,197,94,0.3); color: var(--accent); }
.device-box { background: rgba(234,179,8,0.15); border: 1px solid rgba(234,179,8,0.3); color: #facc15; }

.diagram-arrow {
    font-size: 13px;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
}

/* Multi-window */
.multiwindow-section {
    padding: 100px 24px;
}

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

.mw-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
}

.mw-icon { font-size: 40px; margin-bottom: 16px; }

.mw-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.mw-card p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Download */
.download-section {
    padding: 100px 24px;
    background: linear-gradient(180deg, transparent 0%, rgba(34,197,94,0.03) 50%, transparent 100%);
}

.download-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.download-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
}

.dl-icon { font-size: 40px; margin-bottom: 16px; }
.dl-icon img { width: 48px; height: 48px; }
.download-card h3 { font-size: 20px; margin-bottom: 8px; }
.download-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }

.build-from-source {
    text-align: center;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.build-from-source p { font-size: 14px; color: var(--text-muted); margin-bottom: 12px; }

.build-from-source pre {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: var(--accent);
    text-align: left;
}

/* Community */
.community-section {
    padding: 60px 24px;
}

.community-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.community-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    transition: all 0.3s;
}

.community-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.community-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.community-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.community-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.6;
}

/* Coffee */
.coffee-section {
    padding: 48px 24px;
    border-top: 1px solid var(--border);
}

.coffee-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    max-width: 600px;
    margin: 0 auto;
}

.coffee-text {
    text-align: center;
}

.coffee-text h2 {
    font-size: 20px;
    margin-bottom: 6px;
}

.coffee-text p {
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 1.6;
}

.coffee-methods {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.coffee-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.coffee-qr {
    width: 180px;
    height: 180px;
    border-radius: 12px;
    border: 1px solid var(--border);
    object-fit: cover;
}

.coffee-method span {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.coffee-visual {
    display: none;
}

/* Footer */
.footer {
    padding: 60px 24px 32px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -1px;
}

.footer-brand p {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--accent); }

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .nav-links {
        display: none;
        position: fixed;
        top: 48px;
        left: 0;
        right: 0;
        background: rgba(10,10,15,0.98);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 16px 24px;
        gap: 12px;
        align-items: flex-start;
        z-index: 99;
    }

    .nav-links.open { display: flex; }

    .nav-links a { font-size: 15px; padding: 4px 0; }
    .lang-toggle { align-self: flex-start; }

    .hero { padding: 80px 16px 40px; }
    .hero h1 { font-size: 36px; letter-spacing: -1px; }
    .hero-subtitle { font-size: 16px; }
    .hero-desc { font-size: 14px; padding: 0 8px; }
    .hero-buttons { gap: 12px; }
    .btn { padding: 12px 20px; font-size: 14px; }
    .hero-screenshot { margin-top: 32px; }

    .features { padding: 60px 16px; }
    .features h2, .terminal-section h2, .multiwindow-section h2, .download-section h2 { font-size: 24px; }
    .section-desc { font-size: 14px; margin-bottom: 40px; }
    .features-grid { grid-template-columns: 1fr; gap: 12px; }
    .feature-card { padding: 20px; }

    .ai-section { padding: 60px 16px; }
    .ai-content { grid-template-columns: 1fr; gap: 32px; }
    .ai-text h2 { font-size: 22px; text-align: center; }
    .ai-text p { font-size: 14px; text-align: center; }
    .ai-features li { font-size: 13px; }
    .ai-code { font-size: 11px; }
    .ai-visual { display: none; }

    .community-section { padding: 40px 16px; }
    .community-content { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .community-card { padding: 20px; }

    .multiwindow-section { padding: 60px 16px; }
    .mw-grid { grid-template-columns: 1fr; gap: 12px; }
    .mw-card { padding: 24px; }

    .download-section { padding: 60px 16px; }
    .download-cards { grid-template-columns: 1fr; max-width: 320px; margin-left: auto; margin-right: auto; }
    .download-card { padding: 24px; }
    .build-from-source { padding: 16px; }
    .build-from-source pre { font-size: 11px; overflow-x: auto; }

    .coffee-section { padding: 32px 16px; }
    .coffee-content { flex-direction: column; text-align: center; }
    .coffee-text h2 { text-align: center; }
    .coffee-methods { justify-content: center; }
    .coffee-qr { width: 150px; height: 150px; }

    .footer { padding: 40px 16px 24px; }
    .footer-content { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; flex-wrap: wrap; gap: 16px; }
    .footer-bottom { font-size: 12px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 28px; }
    .nav-links { gap: 8px; }
    .nav-links a { font-size: 11px; }
    .lang-toggle { padding: 3px 8px; font-size: 12px; }
    .hero-badge { font-size: 11px; padding: 4px 12px; }
    .notice-banner { font-size: 12px; padding: 8px 14px; }
}
