:root {
    --bg-color: #0f111a;
    --text-color: #f8f9fa;
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --secondary-bg: #1e2130;
    --border-color: #2e344a;
    --font-mono: "Fira Code", "JetBrains Mono", "Roboto Mono", Menlo, Consolas, monospace;
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

h2.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
    color: #a1a1aa;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    text-align: center;
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.btn.primary {
    background-color: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
}

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

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

.btn.secondary:hover {
    background-color: #2a2e42;
}

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

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

.btn.beta-btn {
    background-color: transparent;
    color: #a1a1aa;
    border: 1px solid #52525b;
    cursor: default;
    user-select: none;
}

/* Header */
header {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background-color: rgba(15, 17, 26, 0.9);
    backdrop-filter: blur(8px);
    z-index: 100;
}

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

.logo {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.header-logo {
    width: 38px;
    height: 38px;
    border-radius: 8px;
}

.hero-logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.hero-logo {
    width: 120px;
    height: 120px;
    border-radius: 18px;
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav a:not(.btn) {
    color: #a1a1aa;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

nav a:not(.btn):hover {
    color: var(--text-color);
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    text-align: center;
}

.hero-inner {
    max-width: 800px;
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.hero-image {
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.hero-image img {
    width: 100%;
    display: block;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background-color: var(--secondary-bg);
}

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

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

.feature-card h3 {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Showcase Section */
.showcase {
    padding: 6rem 0;
}

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

.showcase-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.showcase-text img {
    width: 100%;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Pricing Section */
.pricing {
    padding: 6rem 0;
    background-color: var(--secondary-bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background-color: var(--bg-color);
    padding: 2.5rem 2rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border-color: var(--primary-color);
    position: relative;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured::before {
    content: "Most Popular";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-family: var(--font-mono);
}

.pricing-card h3 {
    font-family: var(--font-mono);
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1;
}

.period {
    font-size: 1rem;
    color: #a1a1aa;
    font-weight: 400;
}

.billing {
    font-size: 0.9rem;
    margin-bottom: 2rem;
    margin-top: 0.5rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.feature-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 1rem;
    color: #d4d4d8;
    font-size: 0.95rem;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-family: var(--font-mono);
}

.pricing-card .btn {
    width: 100%;
}

.cad-note {
    text-align: center;
    font-size: 0.75rem;
    color: #52525b;
    margin-top: 0.6rem;
    margin-bottom: 0;
}

.annual-savings {
    text-align: center;
    margin-top: 2.5rem;
    margin-bottom: 0;
    font-size: 1.1rem;
    color: #d4d4d8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo {
    font-family: var(--font-mono);
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #a1a1aa;
    text-decoration: none;
    font-size: 0.9rem;
}

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

.copyright {
    font-size: 0.85rem;
    margin: 0;
}

/* Lightbox */
.zoomable {
    cursor: zoom-in;
}

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.open {
    display: flex;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 0.5rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s, background-color 0.2s;
}

.lightbox-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
}

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

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

.faq-item:first-child {
    border-top: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-color);
    font-family: var(--font-mono);
    font-size: 0.95rem;
    text-align: left;
    padding: 1.5rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    line-height: 1.4;
    transition: color 0.2s;
}

.faq-question:hover {
    color: #d4d4d8;
}

.faq-icon {
    font-size: 1.25rem;
    font-weight: 300;
    flex-shrink: 0;
    line-height: 1;
    transition: transform 0.25s ease;
    color: #a1a1aa;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}

.faq-item.open .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer > p {
    overflow: hidden;
    margin: 0;
    padding-bottom: 0;
    transition: padding-bottom 0.3s ease;
}

.faq-item.open .faq-answer > p {
    padding-bottom: 1.75rem;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .hero-ctas {
        flex-direction: column;
    }
    
    .showcase-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    nav {
        display: none; /* simple mobile approach */
    }
    
    .pricing-card.featured {
        transform: none;
    }
}
