:root {
    --bg-color: #0d0d0f;
    /* Slightly deeper than zinc-950 */
    --card-bg: #18181b;
    /* zinc-900 */
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    /* zinc-400 */
    --accent: #8b5cf6;
    /* violet-500 */
    --accent-hover: #7c3aed;
    /* violet-600 */
    --border: #27272a;
    /* zinc-800 */
    --glow: rgba(139, 92, 246, 0.15);
}

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

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

.container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.header {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.125rem;
}

.logo img {
    width: 28px;
    height: 28px;
}

/* Typography */
h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

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

.text-gradient {
    background: linear-gradient(to right, #a78bfa, #c4b5fd);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.lead {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: rgba(139, 92, 246, 0.1);
    color: #a78bfa;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--text-primary);
    color: var(--bg-color);
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #e4e4e7;
    transform: translateY(-1px);
}

.btn-sm {
    background-color: var(--card-bg);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    font-size: 0.875rem;
}

.btn-sm:hover {
    background-color: var(--border);
}

.cta-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.sub-cta {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Hero Image & Glow */
.image-wrapper {
    position: relative;
    border-radius: 12px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    background: var(--card-bg);
    border: 1px solid var(--border);
}

.image-wrapper img {
    display: block;
    width: 100%;
    border-radius: 12px;
    position: relative;
    z-index: 10;
}

.glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, var(--glow) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

/* Features */
.features {
    padding: 4rem 0;
    background: linear-gradient(to bottom, var(--bg-color), #0f0f11);
}

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

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    transition: border-color 0.2s;
}

.feature-card:hover {
    border-color: #3f3f46;
}

.icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* How it Works */
.how-it-works {
    padding: 6rem 0;
    text-align: center;
}

.section-header {
    margin-bottom: 4rem;
}

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

.step-number {
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-weight: 700;
}

/* Demo & Infographic Section */
.demo-section {
    padding: 4rem 0;
    text-align: center;
}

.infographic-wrapper {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
}

.infographic-wrapper img {
    width: 100%;
    display: block;
}

.demo-video {
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
    aspect-ratio: 16 / 9;
    background: #000;
}

.demo-video iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border);
    margin-top: 4rem;
}

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

.brand {
    display: flex;
    gap: 1rem;
    align-items: center;
    font-weight: 600;
}

.copyright {
    font-weight: 400;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.links {
    display: flex;
    gap: 2rem;
}

.links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

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

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .cta-group {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }

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

    .lead {
        margin-left: auto;
        margin-right: auto;
    }

    .content-grid,
    .privacy-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

a:focus,
button:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Logo Link */
a.logo {
    text-decoration: none;
    color: inherit;
}

/* Content Sections */
.content-section {
    padding: 4rem 0;
}

.content-section h2 {
    margin-bottom: 1.5rem;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.content-block ul {
    margin-top: 1rem;
    padding-left: 1.25rem;
    color: var(--text-secondary);
}

.content-block li {
    margin-bottom: 0.5rem;
}

/* Privacy Grid */
.privacy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.privacy-item {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border);
}

.privacy-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

/* Compatibility List */
.compat-list {
    list-style: none;
    padding: 0;
}

.compat-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
}

.compat-list li:last-child {
    border-bottom: none;
}

.compat-list strong {
    color: var(--text-primary);
}

/* Troubleshooting */
.troubleshooting {
    margin-top: 3rem;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
}

.troubleshooting h3 {
    margin-bottom: 1rem;
}

.troubleshooting ul {
    padding-left: 1.25rem;
    color: var(--text-secondary);
}

.troubleshooting li {
    margin-bottom: 0.5rem;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: linear-gradient(to bottom, var(--bg-color), #0f0f11);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

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

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item summary {
    padding: 1.25rem 0;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-primary);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    padding-bottom: 1.25rem;
}

.faq-item a {
    color: var(--accent);
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    text-align: center;
    background: linear-gradient(to bottom, #0f0f11, var(--bg-color));
}

.cta-section h2 {
    margin-bottom: 0.75rem;
}

.cta-section p {
    margin-bottom: 2rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Footer link styling */
.copyright a {
    color: var(--text-secondary);
    text-decoration: none;
}

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