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

:root {
    --color-bg: #050505;
    --color-surface: #0a0a0a;
    --color-surface-hover: #121212;
    --color-text: #f0f0f0;
    --color-text-secondary: #a1a1aa;
    --color-text-light: #52525b;
    --color-border: #1f1f22;
    --color-border-hover: #3f3f46;
    --color-accent: #d4af37; /* muted gold */
    --font-serif: 'DM Serif Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --max-width: 1120px;
    --space-section: clamp(6rem, 12vw, 12rem);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background: var(--color-bg);
}

body {
    font-family: var(--font-sans);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    cursor: none; /* Hide default cursor */
}

::selection {
    background: rgba(212, 175, 55, 0.2);
    color: #fff;
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s;
    will-change: transform;
}

.custom-cursor.hovering {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 1);
    border-color: transparent;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Glowing background blobs */
.bg-glow {
    position: absolute;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.03) 0%, rgba(5, 5, 5, 0) 70%);
    top: -20vh;
    right: -20vw;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* ---- REVEAL ANIMATIONS ---- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ---- NAVBAR ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 2rem 0;
    transition: background 0.5s ease, padding 0.5s ease, backdrop-filter 0.5s ease;
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-text);
    text-decoration: none;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 101;
}

.nav-logo span {
    color: var(--color-accent);
}

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

.nav-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    transition: color 0.4s ease;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--color-text);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Gold CTA button in nav — the one conversion-focused addition */
.nav-links a.nav-cta {
    color: var(--color-accent);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 100px;
    padding: 0.6rem 1.4rem;
    background: rgba(212, 175, 55, 0.05);
    transition: background 0.4s, color 0.4s, border-color 0.4s;
}

.nav-links a.nav-cta::after {
    display: none;
}

.nav-links a.nav-cta:hover {
    background: var(--color-accent);
    color: #050505;
    border-color: var(--color-accent);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: none;
    padding: 4px;
    z-index: 101;
}

.nav-toggle span {
    width: 28px;
    height: 1.5px;
    background: var(--color-text);
    border-radius: 1px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- HERO ---- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 820px;
}

.hero-intro {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 2rem;
    display: inline-block;
    padding: 0.4em 1em;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 100px;
    background: rgba(212, 175, 55, 0.05);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    color: var(--color-text);
}

.line-mask {
    display: block;
    overflow: hidden;
    padding-bottom: 0.05em;
}

.line-text {
    display: block;
    transform: translateY(110%);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.line-text.visible {
    transform: translateY(0);
}

.line-mask:nth-child(2) .line-text { transition-delay: 0.1s; }
.line-mask:nth-child(3) .line-text { transition-delay: 0.2s; }

.hero-headline em {
    font-style: italic;
    color: var(--color-text-secondary);
    background: linear-gradient(120deg, #fff, #a1a1aa, #fff);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.hero-sub {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    max-width: 560px;
    font-weight: 300;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 3rem;
    align-items: center;
}

.hero-scroll {
    position: absolute;
    bottom: 3rem;
    right: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.hero-scroll span {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-light);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.scroll-line {
    width: 1px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-text);
    animation: scrollDown 2.5s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes scrollDown {
    0% { top: -100%; }
    50% { top: 100%; }
    100% { top: 100%; }
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 1rem 2.25rem;
    border-radius: 100px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    background: #e5c454;
    border-color: #e5c454;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
}

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

.btn-ghost:hover {
    color: var(--color-text);
    border-color: rgba(255, 255, 255, 0.4);
}

/* ---- SECTIONS ---- */
section {
    padding: var(--space-section) 0;
    position: relative;
    z-index: 1;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-label::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--color-border-hover);
}

section h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.section-intro {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 300;
    max-width: 620px;
    margin-top: 1.5rem;
}

/* Gradient hairline divider between sections */
.audit::before,
.services::before,
.why::before,
.process::before,
.results::before,
.faq::before,
.book::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

/* ---- AUDIT ---- */
.audit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.audit-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    transition: border-color 0.4s, transform 0.4s, box-shadow 0.4s;
}

.audit-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 40px rgba(212, 175, 55, 0.04);
}

.audit-step {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1.25rem;
}

.audit-card h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.audit-card p {
    color: var(--color-text-secondary);
    font-size: 0.98rem;
    line-height: 1.8;
    font-weight: 300;
}

.audit-cta {
    margin-top: 3.5rem;
    text-align: center;
}

/* ---- SERVICES ---- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.service-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    transition: border-color 0.4s, transform 0.4s, box-shadow 0.4s, background 0.4s;
}

.service-card:hover {
    border-color: var(--color-border-hover);
    background: var(--color-surface-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.service-card p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.75;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.service-roi {
    margin-top: auto;
    margin-bottom: 0 !important;
    padding-top: 1.25rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-accent) !important;
    font-size: 0.9rem !important;
    font-style: italic;
    font-family: var(--font-serif);
    letter-spacing: 0.01em;
}

/* ---- WHY (about layout, reused from portfolio) ---- */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 6rem;
    align-items: start;
}

.about-left {
    position: sticky;
    top: 150px;
}

.about-right p {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 2rem;
    font-weight: 300;
}

.about-right p strong {
    color: var(--color-text);
    font-weight: 500;
}

.about-tools {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--color-border);
}

.tools-label {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text) !important;
    margin-bottom: 2rem !important;
}

.tools-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tools-list span {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--color-border);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 0.4s, color 0.4s, transform 0.4s, background 0.4s, box-shadow 0.4s;
    font-weight: 400;
}

.tools-list span:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* ---- PROCESS ---- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem 2rem;
    margin-top: 4rem;
}

.process-number {
    font-size: 1rem;
    font-weight: 300;
    color: var(--color-accent);
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    display: block;
}

.process-step h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.process-step p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.75;
    font-weight: 300;
}

/* ---- RESULTS ---- */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.stat {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-surface);
    padding: 2.5rem 2rem;
    text-align: center;
}

.stat-value {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.75rem;
    color: var(--color-accent);
    line-height: 1.1;
    margin-bottom: 0.75rem;
}

.stat-label {
    display: block;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    font-weight: 300;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.testimonial-card {
    border: 1px dashed var(--color-border-hover);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.01);
}

.testimonial-quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

.testimonial-attribution {
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text-light);
}

.reviews-row {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.reviews-row a {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* ---- FAQ ---- */
.faq-list {
    max-width: 760px;
    margin-top: 4rem;
}

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

.faq-item summary {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--color-text);
    padding: 1.75rem 3rem 1.75rem 0;
    cursor: none;
    list-style: none;
    position: relative;
    transition: color 0.4s;
}

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

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 1.5rem;
    color: var(--color-accent);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

.faq-item p {
    color: var(--color-text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    font-weight: 300;
    padding: 0 3rem 1.75rem 0;
    max-width: 680px;
}

/* ---- BOOK / CONTACT ---- */
.book {
    padding: 10rem 0;
    overflow: hidden;
}

.contact-layout {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.book h2 {
    font-size: clamp(3rem, 7vw, 5rem);
    margin-bottom: 1.5rem;
}

.book .contact-layout > p {
    color: var(--color-text-secondary);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    font-weight: 300;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    font-weight: 500;
    color: #050505;
    text-decoration: none;
    padding: 1.1rem 2.75rem;
    border: 1px solid var(--color-accent);
    border-radius: 100px;
    background: var(--color-accent);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-link:hover {
    background: #e5c454;
    border-color: #e5c454;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
}

.book-alt {
    margin-top: 2.5rem;
    margin-bottom: 0 !important;
    font-size: 0.95rem !important;
    color: var(--color-text-light) !important;
}

.book-alt a {
    color: var(--color-text-secondary);
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.4s;
}

.book-alt a:hover {
    color: var(--color-text);
}

/* ---- FOOTER ---- */
.footer {
    padding: 3rem 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: var(--max-width);
    height: 1px;
    background: var(--color-border);
}

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

.footer-content p {
    color: var(--color-text-light);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-content a {
    color: var(--color-text-light);
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.4s;
    position: relative;
}

.footer-content a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--color-text);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s;
}

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

.footer-content a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* ---- REDUCED MOTION ---- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
    }

    .reveal,
    .line-text {
        opacity: 1 !important;
        transform: none !important;
    }

    .hero-headline em {
        animation: none;
        -webkit-text-fill-color: var(--color-text-secondary);
        background: none;
        color: var(--color-text);
    }

    .custom-cursor {
        display: none;
    }
    body {
        cursor: auto;
    }
    .faq-item summary {
        cursor: pointer;
    }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
    .audit-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .about-left {
        position: static;
    }
}

@media (max-width: 768px) {
    body {
        cursor: auto;
    }
    .custom-cursor {
        display: none;
    }
    .faq-item summary {
        cursor: pointer;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s ease;
    }

    .nav-links.active {
        opacity: 1;
        pointer-events: all;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .nav-links a.nav-cta {
        font-size: 1.1rem;
    }

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

    .hero-scroll {
        display: none;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta .btn {
        text-align: center;
    }

    .audit-grid,
    .services-grid,
    .stats-row,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

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

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

    .container {
        padding: 0 1.5rem;
    }

    .nav-container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    :root {
        --space-section: 6rem;
    }

    .hero-headline {
        font-size: 2.75rem;
    }

    .book h2 {
        font-size: 2.5rem;
    }

    .contact-link {
        font-size: 1rem;
        padding: 1rem 2rem;
    }
}
