:root {
    --bg: #0d1117;
    --bg-card: #161b22;
    --text: #e6edf3;
    --text-muted: #8b949e;
    --accent: #7c3aed;
    --accent-hover: #6d28d9;
    --border: #30363d;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

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

/* Hero */
.hero {
    text-align: center;
    padding: 80px 0 40px;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.tagline {
    font-size: 1.4rem;
    color: var(--text);
    margin-bottom: 8px;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s;
}

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

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

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

.btn-secondary:hover {
    border-color: var(--text-muted);
}

.btn-large {
    padding: 14px 40px;
    font-size: 1.1rem;
}

/* Menu Bar Demo */
.demo {
    padding: 40px 0 60px;
}

.menubar-mockup {
    max-width: 520px;
    margin: 0 auto;
    position: relative;
}

.menubar-top {
    background: rgba(30, 30, 30, 0.95);
    border-radius: 10px 10px 0 0;
    padding: 0;
    backdrop-filter: blur(20px);
}

.menubar-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 16px;
    font-size: 13px;
    color: #fff;
}

.apple-logo::before {
    content: "";
    font-size: 15px;
}

.menubar-right-section {
    display: flex;
    gap: 16px;
    align-items: center;
}

.menubar-noidleclaude {
    font-size: 13px;
    font-weight: 500;
}

.menubar-noidleclaude.blink {
    animation: blink-yellow 1s infinite;
}

@keyframes blink-yellow {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0.4; }
}

.menubar-icons {
    font-size: 12px;
    color: #aaa;
}

.menubar-dropdown {
    background: rgba(40, 40, 40, 0.98);
    border-radius: 0 0 10px 10px;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 8px 0;
    backdrop-filter: blur(20px);
}

.dropdown-banner {
    padding: 6px 16px;
    font-size: 12px;
    color: #aaa;
}

.dropdown-divider {
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 4px 0;
}

.dropdown-session {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    font-size: 13px;
    cursor: default;
    transition: background 0.15s;
}

.dropdown-session:hover {
    background: rgba(124, 58, 237, 0.3);
    border-radius: 4px;
}

.session-emoji {
    font-size: 14px;
    width: 20px;
    text-align: center;
}

.session-info {
    display: flex;
    gap: 6px;
}

.session-name {
    font-weight: 500;
    color: #fff;
}

.session-state {
    color: #888;
}

.dropdown-preview {
    padding: 2px 16px 4px 44px;
    font-size: 11px;
    font-family: "SF Mono", "Menlo", monospace;
    color: #666;
}

.dropdown-item {
    padding: 6px 16px;
    font-size: 13px;
    color: #aaa;
    cursor: default;
}

.dropdown-item:hover {
    background: rgba(124, 58, 237, 0.3);
    border-radius: 4px;
    color: #fff;
}

.demo-caption {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 24px;
}

/* How it works */
.how-it-works {
    padding: 60px 0;
    text-align: center;
}

.how-it-works h2 {
    font-size: 2rem;
    margin-bottom: 48px;
}

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

.step { text-align: center; }

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.step h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.step p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* States Demo */
.states-demo {
    padding: 60px 0;
}

.states-demo h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 48px;
}

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

.state-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    text-align: center;
}

.state-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.state-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.state-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.state-example {
    background: rgba(0,0,0,0.3);
    border-radius: 6px;
    padding: 8px 12px;
    font-family: "SF Mono", "Menlo", monospace;
    font-size: 12px;
    color: #ccc;
}

.state-working { border-top: 3px solid #22c55e; }
.state-waiting { border-top: 3px solid #eab308; }
.state-idle { border-top: 3px solid #ef4444; }

/* Features */
.features {
    padding: 60px 0;
}

.features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 48px;
}

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

.feature {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.feature h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.feature p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Preferences Mockup */
.prefs-demo {
    padding: 60px 0;
}

.prefs-demo h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 48px;
}

.prefs-mockup {
    max-width: 380px;
    margin: 0 auto;
    background: #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #333;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.prefs-titlebar {
    background: #2a2a2a;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.prefs-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.prefs-title {
    flex: 1;
    text-align: center;
    font-size: 13px;
    color: #ccc;
    font-weight: 500;
    margin-right: 50px;
}

.prefs-tabs {
    display: flex;
    border-bottom: 1px solid #333;
}

.prefs-tab {
    flex: 1;
    text-align: center;
    padding: 8px 0;
    font-size: 12px;
    color: #888;
    cursor: default;
}

.prefs-tab.active {
    color: #fff;
    border-bottom: 2px solid var(--accent);
}

.prefs-body {
    padding: 16px;
}

.prefs-section {
    margin-bottom: 16px;
}

.prefs-label {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    font-weight: 600;
}

.prefs-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    font-size: 13px;
    color: #ccc;
}

.prefs-key {
    background: #333;
    padding: 2px 10px;
    border-radius: 4px;
    font-family: "SF Mono", "Menlo", monospace;
    font-size: 12px;
    color: #fff;
    border: 1px solid #444;
}

.prefs-select {
    background: #333;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 12px;
    color: #fff;
    border: 1px solid #444;
}

.prefs-value {
    color: var(--accent);
    font-weight: 500;
}

.prefs-slider {
    width: 100px;
    height: 4px;
    background: #333;
    border-radius: 2px;
    overflow: hidden;
}

.prefs-slider-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
}

.prefs-checkbox {
    width: 14px;
    height: 14px;
    border: 1px solid #555;
    border-radius: 3px;
    display: inline-block;
}

.prefs-checkbox.checked {
    background: var(--accent);
    border-color: var(--accent);
    position: relative;
}

.prefs-checkbox.checked::after {
    content: "✓";
    color: white;
    font-size: 10px;
    position: absolute;
    top: -1px;
    left: 2px;
}

/* Pricing */
.pricing {
    padding: 60px 0;
    text-align: center;
}

.pricing h2 {
    font-size: 2rem;
    margin-bottom: 32px;
}

.price-card {
    background: var(--bg-card);
    border: 1px solid var(--accent);
    border-radius: 16px;
    padding: 40px;
    max-width: 400px;
    margin: 0 auto;
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.1);
}

.price {
    font-size: 3.5rem;
    font-weight: 700;
}

.price-label {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.price-features {
    list-style: none;
    margin-bottom: 28px;
    text-align: left;
}

.price-features li {
    padding: 6px 0;
    color: var(--text-muted);
}

.price-features li::before {
    content: "✓ ";
    color: var(--accent);
}

.price-note {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.price-note a {
    color: var(--accent);
}

/* FAQ */
.faq {
    padding: 60px 0;
}

.faq h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 32px;
}

.faq-list {
    max-width: 640px;
    margin: 0 auto;
}

.faq-list details {
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    list-style: none;
}

.faq-list summary::before {
    content: "+ ";
    color: var(--accent);
}

.faq-list details[open] summary::before {
    content: "- ";
}

.faq-list details p {
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Requirements */
.requirements {
    padding: 40px 0;
    text-align: center;
}

.requirements h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.requirements ul {
    list-style: none;
    color: var(--text-muted);
}

.requirements li {
    padding: 4px 0;
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

footer a {
    color: var(--text-muted);
    text-decoration: none;
}

footer a:hover {
    color: var(--text);
}

footer p + p {
    margin-top: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .tagline { font-size: 1.1rem; }
    .features-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .states-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; align-items: center; }
    .menubar-mockup { max-width: 100%; }
}
