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

:root {
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-card: #111111;
    --bg-card-hover: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a1a1a6;
    --text-tertiary: #6e6e73;
    --accent: #8B5CF6;
    --accent-hover: #7C3AED;
    --gradient-start: #818CF8;
    --gradient-end: #A855F7;
    --border: #2d2d2d;
    --key-bg: #1d1d1f;
    --key-border: #3d3d3f;
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.1rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.btn-nav {
    background: var(--accent);
    color: var(--text-primary) !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
}

.btn-nav:hover {
    background: var(--accent-hover);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
    scroll-snap-align: start;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--text-primary);
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    width: fit-content;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(41, 151, 255, 0.3);
}

.price-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.95rem;
}

.platform-info {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.app-window {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 450px;
}

.window-controls {
    display: flex;
    gap: 8px;
    padding: 16px 20px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}

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

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

.keyboard-demo {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
    min-height: 280px;
}

.demo-cursor {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent);
    pointer-events: none;
    transition: transform 0.05s ease-out;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.key-row {
    display: flex;
    gap: 8px;
}

.key {
    width: 56px;
    height: 56px;
    background: var(--key-bg);
    border: 1px solid var(--key-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.1s;
    cursor: pointer;
    user-select: none;
}

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

.key.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--text-primary);
    transform: scale(0.95);
    box-shadow: 0 0 20px rgba(41, 151, 255, 0.5);
}

.spacebar {
    width: 200px;
    font-size: 0.9rem;
}

.spacebar-row {
    margin-top: 8px;
}

.demo-hint {
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

/* Video Demo Section */
.video-demo {
    padding: 120px 24px;
    max-width: 1000px;
    margin: 0 auto;
    scroll-snap-align: start;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(139, 92, 246, 0.2);
    border: 1px solid var(--border);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Features Section */
.features {
    padding: 120px 24px;
    max-width: 1200px;
    margin: 0 auto;
    scroll-snap-align: start;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    transition: transform 0.3s, border-color 0.3s;
}

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

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--text-primary);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* How It Works */
.how-it-works {
    padding: 120px 24px;
    background: var(--bg-secondary);
    scroll-snap-align: start;
}

.steps {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-secondary);
}

/* Showcase */
.showcase {
    padding: 120px 24px;
    max-width: 1200px;
    margin: 0 auto;
    scroll-snap-align: start;
}

.settings-showcase {
    padding: 120px 24px;
    background: var(--bg-secondary);
    scroll-snap-align: start;
}

.settings-showcase .showcase-content {
    max-width: 1200px;
    margin: 0 auto;
}

.settings-image {
    max-width: 500px;
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.showcase-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.showcase-text {
    flex: 1;
}

.showcase-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.showcase-text > p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 32px;
    line-height: 1.7;
}

.showcase-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.showcase-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
}

.showcase-list svg {
    width: 20px;
    height: 20px;
    color: var(--gradient-end);
}

.showcase-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.menubar-mockup {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    position: relative;
}

.menubar-items {
    display: flex;
    justify-content: flex-end;
    padding: 8px 12px;
    background: linear-gradient(180deg, #3a3a3c, #2d2d2f);
    border-radius: 8px;
    margin-bottom: 12px;
}

.menubar-icon {
    width: 22px;
    height: 22px;
    color: var(--text-secondary);
}

.menubar-icon.active {
    color: var(--accent);
}

.menubar-icon svg {
    width: 100%;
    height: 100%;
}

.menubar-dropdown {
    background: var(--bg-card-hover);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 6px 0;
    min-width: 180px;
}

.dropdown-item {
    padding: 8px 16px;
    font-size: 0.9rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-item .checkmark {
    color: var(--accent);
    font-weight: bold;
}

.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 6px 0;
}

/* FAQ Section */
.faq {
    padding: 120px 24px;
    max-width: 1200px;
    margin: 0 auto;
    scroll-snap-align: start;
}

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

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    transition: transform 0.3s, border-color 0.3s;
}

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

.faq-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
    line-height: 1.4;
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Pricing */
.pricing {
    padding: 120px 24px;
    background: var(--bg-secondary);
    display: flex;
    justify-content: center;
    scroll-snap-align: start;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px;
    max-width: 420px;
    width: 100%;
    text-align: center;
}

.pricing-header {
    margin-bottom: 32px;
}

.pricing-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.pricing-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-subtitle {
    color: var(--text-secondary);
}

.pricing-amount {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 32px;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 8px;
    color: var(--text-secondary);
}

.price {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1;
}

.cents {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 8px;
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
}

.pricing-features svg {
    width: 20px;
    height: 20px;
    color: var(--gradient-end);
    flex-shrink: 0;
}

.btn-purchase {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--text-primary);
    text-decoration: none;
    padding: 18px 32px;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-purchase:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(41, 151, 255, 0.3);
}

.btn-purchase svg {
    width: 22px;
    height: 22px;
}

.pricing-note {
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

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

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.footer-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.footer-copyright {
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-cta {
        align-items: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .showcase-content {
        flex-direction: column;
        text-align: center;
    }

    .showcase-list {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .faq-item h3 {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .nav-links a:not(.btn-nav) {
        display: none;
    }

    .keyboard-demo {
        padding: 24px;
    }

    .key {
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }

    .spacebar {
        width: 160px;
        font-size: 0.8rem;
    }
}
