/* ============================================================
   Exall Digital — design tokens

   Note: Google Fonts are loaded via <link rel="preconnect"> +
   <link rel="stylesheet"> in each page's <head>, not via @import
   here. @import blocks the browser from discovering the font
   request until after it has fetched and parsed this whole file —
   moving it into HTML lets the font connection start in parallel
   with the initial page fetch instead of serially after it.
   ============================================================ */

:root {
    /* Refined palette -- still purple/night-sky, less neon */
    --deep-space: #0a0a16;
    --nebula-purple: #16162c;
    --accent-purple: #7b6ff0;
    --accent-glow: rgba(123, 111, 240, 0.22);
    --text-primary: #eae8f2;
    --text-muted: #9795b3;
    --gradient-start: #7b6ff0;
    --gradient-end: #b48af5;
    --gradient: linear-gradient(135deg, #7b6ff0 0%, #b48af5 100%);
    --hairline: rgba(234, 232, 244, 0.12);
    --hairline-strong: rgba(234, 232, 244, 0.22);
    --signal: #e2a355; /* single warm accent, spent only on the orbit-thread + tiny marks */
    --panel: rgba(255, 255, 255, 0.03);
    --radius: 4px;
    --radius-lg: 6px;

    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--deep-space);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

a { color: inherit; }

/* ============================================================
   Background — quiet starfield, no purple nebula wash
   ============================================================ */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--deep-space);
}

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
}

.star {
    position: absolute;
    width: 1.5px;
    height: 1.5px;
    background: #cfcde6;
    border-radius: 50%;
    animation: twinkle var(--duration) ease-in-out infinite;
    opacity: 0;
}

@keyframes twinkle {
    0%, 100% { opacity: 0; transform: scale(0.6); }
    50% { opacity: var(--opacity); transform: scale(1); }
}

/* Shooting stars -- rare, one at a time, gone in just over a second.
   The point is to reward someone who happens to be looking, not to
   run a constant animation loop in the background. */
.shooting-star {
    position: absolute;
    top: var(--start-y);
    left: var(--start-x);
    width: var(--length);
    height: 1px;
    background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0));
    border-radius: 999px;
    opacity: 0;
    transform: rotate(var(--angle));
    transform-origin: left center;
    animation: shoot var(--shoot-duration) cubic-bezier(0.3, 0, 0.4, 1) forwards;
    pointer-events: none;
}

@keyframes shoot {
    0% { opacity: 0; transform: rotate(var(--angle)) translateX(0); }
    6% { opacity: 1; }
    75% { opacity: 0.6; }
    100% { opacity: 0; transform: rotate(var(--angle)) translateX(var(--travel)); }
}

@media (prefers-reduced-motion: reduce) {
    .shooting-star { display: none; }
}

/* ============================================================
   Navigation
   ============================================================ */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 22, 0.92);
    backdrop-filter: blur(10px);
    padding: 1.1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid var(--hairline);
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.01em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: opacity 0.2s ease;
}

.nav-logo:hover {
    opacity: 0.8;
}

.nav-logo-icon {
    height: 1.9rem;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.9rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.nav-toggle span {
    display: block;
    height: 1.5px;
    width: 100%;
    background: var(--text-primary);
    transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-cta {
    background: var(--gradient) !important;
    color: var(--deep-space) !important;
    padding: 0.5rem 1.1rem !important;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    transition: opacity 0.2s ease, transform 0.2s ease !important;
}

.nav-cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    color: var(--deep-space) !important;
}

.nav-cta::after { display: none !important; }

/* Marks whichever nav item matches the current page. Kept visually
   distinct from .nav-cta (above) so the real "Get Started" button
   is the only nav item that reads as a call to action. */
.nav-current {
    color: var(--text-primary) !important;
    border-bottom: 2px solid var(--accent-purple) !important;
}

.nav-current::after { display: none !important; }

/* ============================================================
   Hero — simple default (interior pages), overridden by
   .hero-home on the homepage for the asymmetric layout
   ============================================================ */
.hero {
    min-height: 62vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 9rem 2rem 4rem;
    position: relative;
}

.hero-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--signal);
    margin-bottom: 1.1rem;
    display: inline-block;
}

.hero h1 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2.2rem, 4.4vw, 3.4rem);
    line-height: 1.12;
    margin-bottom: 1.1rem;
    color: var(--text-primary);
    max-width: 20ch;
}

.hero p {
    font-size: clamp(1.02rem, 1.4vw, 1.15rem);
    color: var(--text-muted);
    max-width: 46ch;
    margin-bottom: 2.1rem;
}

.cta-button {
    background: var(--text-primary);
    color: var(--deep-space);
    padding: 0.85rem 1.7rem;
    border: none;
    border-radius: var(--radius);
    font-size: 0.98rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background: var(--accent-purple);
    color: white;
    transform: translateY(-1px);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---- Homepage hero: asymmetric two-column with orbit signature ---- */
.hero-home {
    min-height: 92vh;
    padding: 8.5rem 2rem 3rem;
    text-align: left;
    align-items: stretch;
    justify-content: center;
}

.hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.hero-copy { animation: fadeInUp 0.7s ease 0.1s both; }

.hero-copy h1 { max-width: 14ch; }
.hero-copy p { max-width: 42ch; }

.hero-copy .cta-row {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.hero-copy .cta-secondary {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: none;
    border-bottom: 1px solid var(--hairline-strong);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}

.hero-copy .cta-secondary:hover {
    color: var(--text-primary);
    border-color: var(--accent-purple);
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-visual svg { width: 100%; max-width: 420px; height: auto; }

/* ============================================================
   Fact strip (formerly an oversized, half-broken "stats" block)
   ============================================================ */
.stats {
    padding: 0 2rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stats-container {
    display: flex;
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
}

.stat-item {
    flex: 1;
    text-align: left;
    padding: 1.4rem 1.5rem;
    border-right: 1px solid var(--hairline);
}

.stat-item:last-child { border-right: none; }

.stat-number {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    background: none;
    -webkit-text-fill-color: currentColor;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

/* ============================================================
   Section framework
   ============================================================ */
.section {
    padding: 6.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3.2rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.section-header.align-left {
    text-align: left;
    margin-left: 0;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--signal);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    margin-bottom: 0.9rem;
    color: var(--text-primary);
    background: none;
    -webkit-text-fill-color: currentColor;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
}

/* ============================================================
   Cards — one consistent but quieter surface, distinct
   hover from the old lift+glow-on-everything
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: linear-gradient(145deg, var(--nebula-purple), var(--deep-space));
    border: 1px solid var(--hairline-strong);
    border-radius: var(--radius-lg);
    padding: 2.2rem 1.9rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(16px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    background: var(--nebula-purple);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    margin-bottom: 1.3rem;
    color: var(--signal);
}

.icon-svg {
    width: 1.3rem;
    height: 1.3rem;
}

.service-card h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.25rem;
    margin-bottom: 0.7rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Portfolio sample badge + excerpt */
.sample-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--signal);
    background: none;
    border: 1px solid rgba(226, 163, 85, 0.35);
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius);
    margin-bottom: 0.9rem;
}

.portfolio-excerpt {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--text-primary);
    border-left: 2px solid var(--hairline-strong);
    padding-left: 0.85rem;
    margin-top: 1rem;
    font-size: 0.98rem;
}

.portfolio-disclaimer {
    text-align: center;
    max-width: 700px;
    margin: 1.5rem auto 0;
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.7;
}

/* ============================================================
   Testimonials — same quiet-card language as Services/Portfolio,
   pull-quote treatment borrowed from .portfolio-excerpt
   ============================================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1px;
    background: var(--hairline);
    border: 1px solid var(--hairline);
    margin-top: 2rem;
}

.testimonial-card {
    background: var(--deep-space);
    padding: 2.2rem 1.9rem;
    display: flex;
    flex-direction: column;
    transition: background 0.25s ease;
    opacity: 0;
    transform: translateY(16px);
}

.testimonial-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card:hover {
    background: var(--nebula-purple);
}

.testimonial-quote {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-primary);
    border-left: 2px solid var(--hairline-strong);
    padding-left: 0.85rem;
    margin: 0 0 1.5rem;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-primary);
}

.testimonial-role {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ============================================================
   Pricing
   ============================================================ */
.pricing-toggle {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 3rem;
    border: 1px solid var(--hairline-strong);
    border-radius: var(--radius);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

.pricing-toggle-btn {
    padding: 0.65rem 1.4rem;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border-right: 1px solid var(--hairline-strong);
}

.pricing-toggle-btn:last-child { border-right: none; }

.pricing-toggle-btn.active {
    background: var(--text-primary);
    color: var(--deep-space);
}

.pricing-toggle-btn:hover:not(.active) {
    color: var(--text-primary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.pricing-card {
    background: linear-gradient(145deg, var(--nebula-purple), var(--deep-space));
    border: 1px solid var(--hairline-strong);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(16px);
}

.pricing-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.pricing-card.featured {
    border-color: var(--accent-purple);
    transform: none;
    position: relative;
}

.pricing-card.featured::before {
    content: "Most Booked";
    position: absolute;
    top: -0.7rem;
    left: 2.2rem;
    background: var(--deep-space);
    padding: 0 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-purple);
}

.pricing-card.featured.visible { transform: translateY(0); }

.pricing-card h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.3rem;
    margin-bottom: 0.9rem;
    color: var(--text-primary);
}

.price {
    font-family: var(--font-mono);
    font-size: 2.1rem;
    font-weight: 600;
    color: var(--text-primary);
    background: none;
    -webkit-text-fill-color: currentColor;
    margin-bottom: 1rem;
}

.pricing-features {
    list-style: none;
    margin: 1.4rem 0;
}

.pricing-features li {
    padding: 0.45rem 0;
    color: var(--text-muted);
    display: flex;
    align-items: baseline;
    font-size: 0.94rem;
    border-top: 1px solid var(--hairline);
}

.pricing-features li:first-child { border-top: none; }

.pricing-features li::before {
    content: "—";
    color: var(--accent-purple);
    margin-right: 0.6rem;
}

/* ============================================================
   About
   ============================================================ */
.about-section {
    padding: 6.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-container {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 4rem;
    align-items: start;
}

.about-visual { text-align: left; }

.about-image {
    width: 100%;
    max-width: 220px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border: 1px solid var(--hairline-strong);
    border-radius: var(--radius-lg);
    margin: 0;
}

.about-content h2 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.9rem, 3.2vw, 2.4rem);
    margin-bottom: 1.4rem;
    color: var(--text-primary);
    background: none;
    -webkit-text-fill-color: currentColor;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.8;
    max-width: 56ch;
}

.about-features {
    list-style: none;
    margin-top: 1.5rem;
}

.about-features li {
    padding: 0.55rem 0;
    color: var(--text-primary);
    display: flex;
    align-items: baseline;
    font-size: 0.95rem;
    border-top: 1px solid var(--hairline);
    max-width: 56ch;
}

.about-features li:first-child { border-top: none; }

.about-features li::before {
    content: "\2192";
    color: var(--signal);
    font-weight: 600;
    margin-right: 0.65rem;
}

/* ============================================================
   Software Spotlight — cross-promo card for QuoteForge Lite.
   Deliberately reuses the pricing-card surface + accent-purple
   border treatment so it reads as "featured", not as a service.
   ============================================================ */
.software-spotlight {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2.5rem;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(145deg, var(--nebula-purple), var(--deep-space));
    border: 1px solid var(--accent-purple);
    border-radius: var(--radius-lg);
    padding: 2.6rem;
}

.software-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.software-visual img {
    width: 130px;
    height: 130px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--hairline-strong);
    display: block;
}

.software-content h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.6rem;
    margin: 0.7rem 0 0.9rem;
    color: var(--text-primary);
}

.software-content p {
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 56ch;
    margin-bottom: 1rem;
}

.software-features {
    list-style: none;
    margin: 1.2rem 0 1.6rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.2rem 1.5rem;
}

.software-features li {
    padding: 0.4rem 0;
    color: var(--text-primary);
    font-size: 0.92rem;
    display: flex;
    align-items: baseline;
}

.software-features li::before {
    content: "—";
    color: var(--accent-purple);
    margin-right: 0.6rem;
    flex-shrink: 0;
}

.software-content .cta-row {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    flex-wrap: wrap;
}

.software-note {
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (max-width: 720px) {
    .software-spotlight {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem 1.6rem;
    }
    .software-visual img { width: 100px; height: 100px; }
    .software-features { grid-template-columns: 1fr; text-align: left; }
    .software-content .cta-row { justify-content: center; }
}

/* ============================================================
   Process — a single connected path instead of four
   identical numbered circles
   ============================================================ */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    border-top: 1px solid var(--hairline-strong);
}

.process-step {
    padding: 2rem 1.6rem 0;
    text-align: left;
    position: relative;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    border-right: 1px solid var(--hairline);
}

.process-step:last-child { border-right: none; }

.process-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.process-step::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--signal);
    transition: width 0.6s ease 0.15s;
}

.process-step.visible::before { width: 2.4rem; }

.step-number {
    width: auto;
    height: auto;
    background: none;
    border-radius: 0;
    display: block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0 0 1.2rem;
    padding-right: 1.6rem;
}

.process-step h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
    padding-right: 1.6rem;
}

.process-step p {
    color: var(--text-muted);
    line-height: 1.65;
    font-size: 0.92rem;
    padding-right: 1.6rem;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section {
    padding: 6.5rem 2rem;
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    background: none;
    border: none;
    border-bottom: 1px solid var(--hairline);
    border-radius: 0;
    margin-bottom: 0;
    overflow: hidden;
    transition: none;
    opacity: 0;
    transform: translateY(12px);
}

.faq-item.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.faq-item.active { border-color: var(--hairline-strong); }

.faq-question {
    padding: 1.4rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.08rem;
    transition: color 0.2s;
    gap: 1rem;
}

.faq-question:hover { color: var(--accent-purple); }

.faq-question:focus-visible {
    outline: 2px solid var(--accent-purple);
    outline-offset: 4px;
    color: var(--accent-purple);
}

.faq-toggle {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--text-muted);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item.active .faq-toggle { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer { max-height: 260px; }

.faq-answer p {
    padding: 0 0 1.4rem;
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ============================================================
   Add-ons
   ============================================================ */
.addons-section {
    padding: 6.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.addons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1px;
    background: var(--hairline);
    border: 1px solid var(--hairline);
}

.addon-card {
    background: var(--deep-space);
    border: none;
    border-radius: 0;
    padding: 1.9rem;
    text-align: left;
    transition: background 0.25s ease;
    opacity: 0;
    transform: translateY(16px);
}

.addon-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.addon-card:hover { background: var(--nebula-purple); }

.addon-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    margin-bottom: 1rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--signal);
    border: 1px solid var(--hairline-strong);
    border-radius: var(--radius);
}

.addon-card h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.addon-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 1rem;
}

.addon-price {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    background: none;
    -webkit-text-fill-color: currentColor;
}

/* ============================================================
   Comparison table
   ============================================================ */
.comparison-table {
    width: 100%;
    overflow-x: auto;
    border-radius: 0;
    border-collapse: collapse;
    opacity: 0;
    transform: translateY(16px);
}

.comparison-table.visible {
    opacity: 1;
    transform: translateY(0);
}

.comparison-table-header {
    display: flex;
    background: none;
    border-bottom: 1px solid var(--hairline-strong);
}

.col-name, .col-price {
    padding: 1rem 1.4rem;
    text-align: left;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
}

.col-name { width: 30%; color: var(--text-muted); }
.col-price { width: 23%; color: var(--text-primary); text-align: center; }

.comparison-table-body {
    background: none;
    border: none;
}

.comparison-table-row {
    display: flex;
    border-bottom: 1px solid var(--hairline);
}

.comparison-table-row:last-child { border-bottom: none; }

.row-name {
    padding: 0.9rem 1.4rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.row-value {
    padding: 0.9rem 1.4rem;
    text-align: center;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.92rem;
}

/* ============================================================
   CTA banner (used inline on pricing/faq/blog pages)
   ============================================================ */
.cta-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* ============================================================
   Contact
   ============================================================ */
.contact-section {
    padding: 6.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-container {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.9rem, 3vw, 2.4rem);
    margin-bottom: 1rem;
    color: var(--text-primary);
    background: none;
    -webkit-text-fill-color: currentColor;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
    max-width: 42ch;
}

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

.contact-item {
    display: flex;
    align-items: baseline;
    gap: 0.9rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-item-icon {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--signal);
}

/* Form */
.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--panel);
    border: 1px solid var(--hairline-strong);
    border-radius: var(--radius);
    padding: 0.75rem 0.9rem;
    color: var(--text-primary);
    font-size: 0.94rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

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

/* The select box itself picks up --text-primary on --panel above, which
   looks fine because --panel is a near-transparent tint over the page's
   dark background. But the dropdown list of <option>s renders in the
   browser's native popup layer, which ignores that transparency and
   falls back to an opaque white background in most browsers -- leaving
   --text-primary's near-white text unreadable on white. Options need an
   explicit, opaque background so the text color has real contrast. */
.form-group select option {
    background: var(--nebula-purple);
    color: var(--text-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.error {
    color: #e0796f;
    font-size: 0.78rem;
    min-height: 1.2em;
}

.form-status {
    font-size: 0.88rem;
    margin-top: 0.9rem;
    text-align: center;
    min-height: 1.2em;
}

.form-status.success { color: #7bd88f; }
.form-status.error { color: #e0796f; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.7rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--deep-space);
}

.btn-primary:hover {
    background: var(--accent-purple);
    color: white;
    transform: translateY(-1px);
}

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

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

/* ============================================================
   Footer
   ============================================================ */
footer {
    background: var(--deep-space);
    border-top: 1px solid var(--hairline);
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1rem;
    line-height: 1.6;
    font-size: 0.92rem;
    max-width: 32ch;
}

.footer-social {
    display: flex;
    gap: 0.9rem;
    margin-top: 1.2rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--hairline-strong);
    border-radius: var(--radius);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.footer-social a:hover {
    border-color: var(--accent-purple);
    color: var(--text-primary);
}

.footer-col h4 {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }

.footer-col ul li a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
    opacity: 0.85;
}

.footer-col ul li a:hover { color: var(--accent-purple); opacity: 1; }

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--hairline);
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* ============================================================
   Scroll reveal
   ============================================================ */
.scroll-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.scroll-reveal.visible { opacity: 1; transform: translateY(0); }

.fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
    .footer-container { grid-template-columns: 1fr 1fr; }

    .about-container { grid-template-columns: 1fr; text-align: left; }

    .contact-container { grid-template-columns: 1fr; }

    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-copy { text-align: center; }
    .hero-copy h1, .hero-copy p { max-width: none; margin-left: auto; margin-right: auto; }
    .hero-copy .cta-row { justify-content: center; }
    .hero-visual { order: -1; max-width: 280px; margin: 0 auto 1rem; }

    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .process-step { border-bottom: 1px solid var(--hairline); padding-bottom: 1.6rem; }
    .process-step:nth-child(2) { border-right: none; }
    .process-step:nth-child(4) { border-right: none; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        position: fixed;
        top: 0;
        right: -100%;
        width: min(75vw, 300px);
        height: 100vh;
        background: rgba(10, 10, 22, 0.98);
        border-left: 1px solid var(--hairline);
        padding: 6rem 2rem 2rem;
        gap: 1.4rem;
        transition: right 0.3s ease;
        z-index: 1050;
    }

    .nav-links.active { right: 0; }

    .hero { padding: 6.5rem 1.25rem 3rem; }
    .hero-home { padding: 6.5rem 1.25rem 2rem; }

    .section { padding: 4rem 1.25rem; }

    .stats-container { flex-wrap: wrap; }
    .stat-item { flex: 1 1 50%; border-bottom: 1px solid var(--hairline); }

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

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

    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

    .process-steps { grid-template-columns: 1fr; }
    .process-step { border-right: none !important; }

    .services-grid, .addons-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Easter Egg: "The Orbit" reveal modal
   ============================================================ */
.easter-egg-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 22, 0.85);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 1.5rem;
}

.easter-egg-overlay.visible { opacity: 1; }

.easter-egg-modal {
    position: relative;
    background: var(--nebula-purple);
    border: 1px solid var(--hairline-strong);
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow: auto;
    text-align: center;
    transform: scale(0.96);
    transition: transform 0.3s ease;
}

.easter-egg-overlay.visible .easter-egg-modal { transform: scale(1); }

.easter-egg-modal h2 {
    font-family: var(--font-display);
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    font-size: 1.4rem;
    font-weight: 500;
}

.easter-egg-game-frame {
    width: 800px;
    max-width: 100%;
    margin: 0 auto;
    overflow-x: auto;
}

.easter-egg-game-frame iframe {
    display: block;
    width: 800px;
    height: 600px;
    max-width: none;
    border: none;
    border-radius: 4px;
}

.easter-egg-close {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 1;
}

.easter-egg-close:hover { color: var(--text-primary); }
