:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #8b5cf6;
    --accent-color: #06b6d4;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-dark: #111827;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 0 0 1px rgba(0,0,0,0.02);
    --shadow-md: 0 2px 6px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.04);
    --shadow-lg: 0 8px 18px -4px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.04);
    --shadow-xl: 0 16px 32px -8px rgba(0,0,0,0.12), 0 4px 8px -4px rgba(0,0,0,0.06);
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;
    --gradient-primary: linear-gradient(125deg, var(--primary-color), var(--secondary-color) 55%, var(--primary-color));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

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

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.25rem;
}

.nav-logo {
    width: 32px;
    height: 32px;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-cta {
    background: var(--gradient-primary);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-1px);
}

.nav-mobile {
    display: none;
}

.mobile-menu-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    margin-top: 70px;
    padding: 96px 0 88px;
    background: linear-gradient(180deg,#f8fafc 0%,#eef2f7 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    margin-bottom: 60px;
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.08;
    margin-bottom: 22px;
    letter-spacing: -0.5px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 42px;
    line-height: 1.65;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.1;
    transition: background .3s ease, box-shadow .3s ease, transform .3s ease;
    border: 1px solid rgba(99,102,241,0.2);
    backdrop-filter: saturate(180%) blur(8px);
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: #fff;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.hero-demo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.demo-shortcut {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.key {
    background: var(--bg-secondary);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
}

.demo-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Hero Visual */
.hero-visual {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 400px;
}

.spotlight-demo {
    position: relative;
    width: 100%;
    height: 100%;
}

.demo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

.demo-container {
    width: 100%;
}

.demo-input {
    margin-bottom: 15px;
}

.demo-input input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    background: white;
}

.demo-results {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.demo-result {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.demo-result.active {
    background: var(--primary-color);
    color: white;
}

.demo-result:not(.active):hover {
    background: var(--bg-secondary);
}

.result-icon {
    font-size: 1.2rem;
}

.result-text {
    font-weight: 600;
    font-family: 'SF Mono', Monaco, monospace;
}

.result-desc {
    margin-left: auto;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--bg-primary);
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card { padding: 34px 30px 36px; }

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* How It Works */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

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

.commands-showcase {
    background: white;
    padding: 34px 32px 38px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.commands-showcase h3 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--text-primary);
}

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

.command-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.command-item code {
    font-family: 'SF Mono', Monaco, monospace;
    font-weight: 600;
    color: var(--primary-color);
    background: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
}

.command-item span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: var(--bg-primary);
}

/* Use Cases */
.use-cases {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.use-case-card {
    position: relative;
    background: white;
    padding: 28px 22px 46px;
    border-radius: 18px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: all 0.35s cubic-bezier(.4,0,.2,1);
    overflow: hidden;
}

.use-case-card:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(139,92,246,0.08));
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
}

.use-case-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99,102,241,0.4);
}

.use-case-card:hover:before {
    opacity: 1;
}

.use-case-icon {
    font-size: 2rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 12px -2px rgba(99,102,241,.4);
}

.use-case-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 4px 0 0;
}

.use-case-card p {
    color: var(--text-secondary);
    font-size: .95rem;
    line-height: 1.6;
    flex-grow: 1;
}

.use-case-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.use-case-examples code {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 6px 10px;
    border-radius: 6px;
    font-size: .75rem;
    font-weight: 600;
    font-family: 'SF Mono', Monaco, monospace;
    color: var(--primary-color);
    letter-spacing: .25px;
}

.use-case-tag {
    position: absolute;
    bottom: 14px;
    right: 16px;
    background: var(--gradient-accent);
    color: #fff;
    padding: 6px 14px;
    font-size: .65rem;
    letter-spacing: .5px;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(6,182,212,0.35);
}

.use-cases-footer {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.use-cases-footer p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 1rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    background: white;
    padding: 26px 24px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    text-align: center;
}

.stars {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial p {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.7;
}

.author {
    font-weight: 600;
    color: var(--text-primary);
}

/* Support Section */
.support {
    padding: 100px 0;
    background: var(--bg-secondary);
}

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

.support-text ul {
    list-style: none;
    margin-top: 20px;
}

.support-text li {
    padding: 8px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 25px;
}

.support-text li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.support-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.support-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    justify-content: center;
}

.support-btn img {
    width: 24px;
    height: 24px;
}

.support-btn.venmo {
    background: #3D95CE;
    color: white;
}

.support-btn.paypal {
    background: #0070BA;
    color: white;
}

.support-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Download Section */
.download {
    padding: 100px 0;
    background: var(--bg-dark);
    color: white;
    text-align: center;
}

.download-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.download-content p {
    font-size: 1.2rem;
    color: #9ca3af;
    margin-bottom: 40px;
}

.download-cta {
    margin-bottom: 30px;
}

.download-note {
    font-size: 0.9rem;
    color: #6b7280;
    margin-top: 15px !important;
}

.version-info {
    font-size: 0.9rem;
    color: #6b7280;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

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

.footer-logo {
    width: 32px;
    height: 32px;
}

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

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #374151;
}

.footer-bottom p {
    color: #6b7280;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: var(--bg-primary);
}

.faq-items {
    max-width: 900px;
    margin: 0 auto 50px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.faq-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: border-color .3s ease, box-shadow .3s ease;
}

.faq-item[open] {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    font-size: 1.05rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:after {
    content: '+';
    margin-left: auto;
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 1;
    color: var(--primary-color);
    transition: transform .35s ease;
}

.faq-item[open] summary:after {
    transform: rotate(45deg);
}

.faq-body {
    padding: 0 24px 26px 24px;
    border-top: 1px solid var(--border-color);
    animation: fadeIn .4s ease;
}

.faq-body p, .faq-body li {
    color: var(--text-secondary);
    font-size: .95rem;
    line-height: 1.65;
}

.faq-body code {
    background: var(--bg-secondary);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: .8rem;
    font-family: 'SF Mono', Monaco, monospace;
    font-weight: 600;
    color: var(--primary-color);
}

.faq-body ol, .faq-body ul {
    margin: 10px 0 15px 20px;
}

.faq-footer {
    text-align: center;
    font-size: .95rem;
}

.faq-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.faq-footer a:hover {
    text-decoration: underline;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Command Creation Guide */
.commands-guide {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.command-guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 20px;
    margin-bottom: 40px;
}

.command-guide-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 28px 26px 30px;
    box-shadow: var(--shadow-sm);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: box-shadow .35s ease, transform .35s ease, border-color .35s ease;
}

.command-guide-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: rgba(99,102,241,0.4);
}

.command-guide-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0 0 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.command-guide-card p, .command-guide-card li {
    font-size: .9rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

.command-guide-card ul {
    margin-left: 18px;
}

.code-block {
    background: #0f172a;
    color: #e2e8f0;
    font-family: 'SF Mono', Monaco, monospace;
    font-size: .75rem;
    padding: 12px 14px;
    border-radius: 10px;
    line-height: 1.5;
    box-shadow: 0 2px 6px rgba(0,0,0,0.35);
    border: 1px solid #1e293b;
    overflow-x: auto;
}

.code-block code { background: transparent; padding: 0; color: inherit; }

.command-guide-card code:not(.code-block code) {
    background: var(--bg-secondary);
    padding: 3px 6px;
    border-radius: 5px;
    font-size: .7rem;
    font-weight: 600;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
}

.best-practices li { margin-bottom: 6px; }

.command-guide-footer {
    text-align: center;
    font-size: .95rem;
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-mobile {
        display: block;
    }
    
    .hero {
        padding: 60px 0;
        text-align: center;
    }
    
    .hero-visual {
        position: static;
        transform: none;
        width: 100%;
        height: auto;
        margin-top: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .commands-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .support-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .demo-overlay {
        width: 100%;
        max-width: 350px;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.testimonial,
.step {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}
