:root {
    --black: #000000;
    --gray-900: #0a0a0a;
    --gray-800: #141414;
    --gray-700: #1f1f1f;
    --gray-600: #2a2a2a;
    --gray-500: #4d4d4d;
    --gray-400: #666666;
    --gray-300: #999999;
    --gray-200: #b3b3b3;
    --gray-100: #e6e6e6;
    --white: #ffffff;
    --accent: #00ff88;
    --accent-dim: #00cc6a;
}

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

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--black);
    color: var(--gray-100);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-800);
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -0.02em;
    display: inline-flex;
    align-items: center;
}

.brand-logo {
    display: block;
    width: auto;
    height: 2.25rem;
    max-width: 100%;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    color: var(--gray-200);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: var(--white);
}

.nav-cta {
    background: var(--white);
    color: var(--black) !important;
    padding: 0.625rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.nav-cta:hover {
    background: var(--gray-100);
}

/* Mobile menu toggle (hamburger) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 110;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: transform 0.3s, opacity 0.3s;
}

.mobile-menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
    padding: 10rem 2rem 6rem;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 5rem;
    align-items: start;
}

.hero-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-300);
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-accent {
    color: var(--accent);
}

.hero-strike {
    text-decoration: line-through;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 4px;
    color: var(--gray-300);
}

.hero-body strong {
    color: var(--white);
}

.hero-microcopy {
    font-size: 0.8125rem;
    color: var(--gray-400);
    margin-top: -2rem;
    margin-bottom: 3rem;
    font-weight: 500;
}

.hero-body {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--gray-300);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--white);
    color: var(--black);
    padding: 1rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    min-height: 44px;
}

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

.btn-ghost {
    background: transparent;
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid var(--gray-700);
    display: inline-flex;
    align-items: center;
    transition: all 0.2s;
    min-height: 44px;
}

.btn-ghost:hover {
    border-color: var(--gray-600);
    background: var(--gray-900);
}

.hero-proof {
    display: flex;
    gap: 3rem;
}

.proof-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.proof-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
}

.proof-label {
    font-size: 0.875rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.hero-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.price-card {
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: 12px;
    padding: 1.5rem;
    transition: border-color 0.3s;
}

.price-card:hover {
    border-color: var(--gray-700);
}

.price-card.featured {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.03) 0%, rgba(0, 255, 136, 0) 100%);
}

.price-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.price-model {
    font-weight: 600;
    color: var(--white);
    font-size: 1rem;
}

.price-provider {
    font-size: 0.75rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.price-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.price-label {
    font-size: 0.6875rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 0.375rem;
}

.price-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
}

.price-value.striked {
    text-decoration: line-through;
    color: var(--gray-500);
}

.price-savings {
    text-align: right;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
}

/* Pricing Section */
.pricing {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-400);
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.section-sub {
    font-size: 1.0625rem;
    color: var(--gray-300);
    max-width: 560px;
    margin: -2rem 0 3rem;
    line-height: 1.7;
}

.cta-microcopy {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--gray-400);
    font-weight: 500;
}

.pricing-table-container {
    overflow-x: auto;
    border: 1px solid var(--gray-800);
    border-radius: 12px;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--gray-900);
}

.pricing-table thead {
    background: var(--black);
    border-bottom: 1px solid var(--gray-800);
}

.pricing-table th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-400);
    font-weight: 700;
}

.pricing-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--gray-800);
    color: var(--gray-200);
    font-size: 0.9375rem;
}

.pricing-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.pricing-table tbody tr:last-child td {
    border-bottom: none;
}

.pricing-table .highlight {
    color: var(--white);
    font-weight: 600;
}

.provider-tag {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    background: var(--gray-800);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-300);
}

.savings-tag {
    color: var(--accent);
    font-weight: 600;
}

/* Features */
.features {
    padding: 6rem 2rem;
    background: var(--gray-900);
    border-top: 1px solid var(--gray-800);
    border-bottom: 1px solid var(--gray-800);
}

.features-layout {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 5rem;
}

.features-sidebar {
    position: sticky;
    top: 120px;
}

.features-intro {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--gray-300);
    margin-top: 1.5rem;
}

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

.feature {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-icon {
    font-size: 2rem;
    line-height: 1;
}

.feature h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
}

.feature p {
    color: var(--gray-300);
    line-height: 1.6;
}

/* Code Example */
.code-example {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.code-header {
    margin-bottom: 3rem;
}

.code-wrapper {
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: 12px;
    overflow: hidden;
}

.code-tabs {
    display: flex;
    gap: 0;
    background: var(--black);
    border-bottom: 1px solid var(--gray-800);
}

.code-tab {
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    color: var(--gray-400);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    min-height: 44px;
}

.code-tab:hover {
    color: var(--gray-200);
}

.code-tab.active {
    color: var(--white);
    border-bottom-color: var(--accent);
}

.code-content {
    display: none;
}

.code-content.active {
    display: block;
}

.code-content pre {
    padding: 2rem;
    overflow-x: auto;
    margin: 0;
}

.code-content code {
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--gray-200);
}

/* Reviews */
.reviews {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid var(--gray-800);
}

.reviews-head {
    margin-bottom: 3.5rem;
}

.reviews-head .section-title {
    margin-bottom: 1.5rem;
}

.reviews-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.reviews-rating .stars {
    color: var(--accent);
    font-size: 1.25rem;
    letter-spacing: 2px;
}

.rating-text {
    color: var(--gray-300);
    font-size: 0.9375rem;
}

.rating-text strong {
    color: var(--white);
}

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

.review-card {
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: 12px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s, transform 0.3s;
}

.review-card:hover {
    border-color: var(--gray-700);
    transform: translateY(-3px);
}

.review-stars {
    color: var(--accent);
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.review-body {
    color: var(--gray-200);
    line-height: 1.7;
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
    flex: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-700);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.8125rem;
    flex-shrink: 0;
}

.review-name {
    font-weight: 600;
    color: var(--white);
    font-size: 0.9375rem;
}

.review-role {
    color: var(--gray-400);
    font-size: 0.8125rem;
}

/* CTA */
.cta {
    padding: 8rem 2rem;
    text-align: center;
}

.cta-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cta-content p {
    font-size: 1.25rem;
    color: var(--gray-300);
    margin-bottom: 2.5rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Contact page */
.contact {
    padding: 9rem 2rem 5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.contact-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.contact-intro {
    font-size: 1.125rem;
    color: var(--gray-300);
    line-height: 1.7;
    max-width: 460px;
    margin-bottom: 2.5rem;
}

.contact-intro strong {
    color: var(--white);
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-channel {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: 12px;
    text-decoration: none;
    transition: border-color 0.2s;
}

a.contact-channel:hover {
    border-color: var(--accent);
}

.channel-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--gray-800);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.channel-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-400);
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.channel-value {
    font-size: 1rem;
    color: var(--white);
    font-weight: 500;
}

.contact-form {
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: 16px;
    padding: 2rem;
}

.form-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.75rem;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.field {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
}

.field label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-200);
    margin-bottom: 0.5rem;
}

.field input,
.field select,
.field textarea {
    background: var(--black);
    border: 1px solid var(--gray-700);
    border-radius: 8px;
    padding: 0.75rem 0.875rem;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    transition: border-color 0.2s;
    min-height: 44px;
    width: 100%;
}

.field textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.6;
}

.field input::placeholder,
.field textarea::placeholder {
    color: var(--gray-500);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-submit {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
}

.form-note {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--gray-400);
    margin-top: 1rem;
}

/* Footer */
.footer {
    padding: 4rem 2rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid var(--gray-800);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-logo .brand-logo {
    height: 2rem;
}

.footer-col p {
    color: var(--gray-400);
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-400);
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-col a {
    display: block;
    color: var(--gray-300);
    text-decoration: none;
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* Mobile Responsive */
@media (max-width: 980px) {
    /* Centered logo with hamburger on the right */
    .nav-inner {
        display: grid;
        grid-template-columns: 44px 1fr 44px;
        align-items: center;
        padding: 0.875rem 1rem;
    }

    .logo {
        grid-column: 2;
        text-align: center;
        justify-self: center;
    }

    .mobile-menu-toggle {
        display: flex;
        grid-column: 3;
        justify-self: end;
    }

    /* Slide-down mobile menu */
    .nav-menu {
        display: flex;
        flex-direction: column;
        gap: 0;
        position: fixed;
        top: 69px;
        left: 0;
        right: 0;
        background: var(--black);
        border-bottom: 1px solid var(--gray-800);
        padding: 0.5rem 0 1rem;
        transform: translateY(-110%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease;
        z-index: 99;
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-menu a {
        padding: 0.875rem 1.5rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        font-size: 1.0625rem;
        border-bottom: 1px solid var(--gray-900);
    }

    .nav-menu .nav-cta {
        margin: 1rem 1.5rem 0;
        justify-content: center;
        border-bottom: none;
        border-radius: 6px;
    }

    .hero {
        padding: 7rem 1.5rem 4rem;
    }

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

    /* Headline first on mobile — price cards after */
    .hero-right {
        order: 1;
    }

    .features-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .features-sidebar {
        position: static;
    }

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

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

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

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

@media (max-width: 640px) {
    .nav-inner {
        padding: 0.75rem 1rem;
    }

    .logo {
        font-size: 1.375rem;
    }

    .pricing,
    .features,
    .code-example,
    .reviews,
    .cta {
        padding: 4rem 1.5rem;
    }

    .contact {
        padding: 6rem 1.5rem 4rem;
    }

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

    .field-row {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-ghost {
        width: 100%;
        justify-content: center;
    }

    .hero-proof {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .proof-item {
        flex: 1;
        min-width: 120px;
    }

    .price-comparison {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-actions .btn-primary,
    .cta-actions .btn-ghost {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 380px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .proof-number {
        font-size: 1.75rem;
    }

    .logo .brand-logo {
        height: 1.75rem;
    }
}
