/* Rare Render v10.2 | Professional & Trustworthy Staging */

:root {
    --bg-main: #060606;
    --bg-surface: #0B0B0D;
    --bg-glass: rgba(18, 18, 22, 0.7);
    --border-glass: rgba(255, 255, 255, 0.08);
    --text-primary: #FFFFFF;
    --text-secondary: #A1A1A6;
    --text-muted: #888888;
    --accent: #10B981;
    --accent-glow: rgba(16, 185, 129, 0.1);
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    --container-max: 1100px;
    --section-gap: 140px;
}

/* Base Reset & Dynamics */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -webkit-appearance: none;
    appearance: none;
}

img {
    max-width: 100%;
    height: auto;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Animation */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 1000;
}

.bg-blobs {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    filter: blur(140px);
    opacity: 0.15;
}

.blob {
    position: absolute;
    width: 70vw;
    height: 70vw;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    animation: drift 25s infinite alternate;
}

@keyframes drift {
    from {
        transform: translate(-15%, -15%) scale(1);
    }

    to {
        transform: translate(15%, 15%) scale(1.1);
    }
}

/* Typography */
h1 {
    font-size: clamp(64px, 12vw, 130px);
    /* Massive scale */
    font-weight: 800;
    /* Heavier weight */
    line-height: 0.95;
    /* Tighter leading */
    letter-spacing: -0.04em;
    margin-bottom: 40px;
    text-align: center;
    background: linear-gradient(to bottom, #fff 40%, rgba(255, 255, 255, 0.5));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    /* Subtle gradient text for depth */
}

h2 {
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 40px;
}

.title-serif {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
    -webkit-text-fill-color: var(--accent);
    /* Override the H1 gradient */
}

/* The Label System - Refined for Professional Trust */
.label-caps {
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 24px;
    display: block;
    letter-spacing: 0.02em;
}

/* Layout */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
}

section {
    padding: var(--section-gap) 0;
    position: relative;
}

/* Diversified Grid System */
.evidence-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 60px 40px;
    align-items: center;
}

/* The Pillar Content */
.pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 80px;
}

.pillar {
    position: relative;
    padding: 48px 32px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.pillar:hover {
    transform: translateY(-10px);
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

.pillar h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #fff;
}

.pillar p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Evidence */
.evidence-stack {
    display: flex;
    flex-direction: column;
    gap: 140px;
}

.evidence-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

/* Components */
.surgical-slider {
    position: relative;
    width: 100%;
    height: 60vh;
    border-radius: 40px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    background: #000;
}

.slider-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    clip-path: inset(0 50% 0 0);
}

.slider-overlay img,
.slider-after {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #fff;
    z-index: 4;
}

.slider-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    font-weight: 900;
}

/* Navigation */
nav {
    padding: 24px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

nav.scrolled {
    background: rgba(6, 6, 6, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 14px 0;
    border-bottom: 1px solid var(--border-glass);
}

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

.logo {
    font-weight: 900;
    letter-spacing: 0.2em;
    font-size: 15px;
    text-decoration: none;
    color: #fff;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: 0.3s;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

.nav-links a.active {
    border-bottom: 2px solid var(--accent);
    padding-bottom: 4px;
}

@media (max-width: 1024px) {
    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 10px;
    }
}

@media (max-width: 850px) {
    nav {
        padding: 16px 0;
    }

    .nav-links {
        display: none;
        /* Hide on mobile for now to prevent double menu, they can use the sticky contact bar or footer */
    }

    /* Or keep a simplified version */
    .nav-links-mobile {
        display: none;
    }
}


/* Primary Button */
.btn-premium {
    display: inline-flex;
    align-items: center;
    padding: 22px 64px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 100px;
    font-size: 17px;
    box-shadow: 0 25px 50px -15px var(--accent-glow);
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-premium:hover {
    transform: translateY(-5px);
    background: #11d191;
    box-shadow: 0 30px 60px -12px rgba(16, 185, 129, 0.25);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 18px 48px;
    background: transparent;
    border: 1px solid var(--border-glass);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 100px;
    font-size: 15px;
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.02);
}

/* Unified Footer */
.mega-footer {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border-glass);
    padding: 80px 0 40px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
}

.footer-column h5 {
    color: #fff;
    margin-bottom: 24px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    transition: 0.3s;
}

.footer-column ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.4;
    font-size: 10px;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

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

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

/* Mobile Optimization */
@media (max-width: 1024px) {
    :root {
        --section-gap: 80px;
    }

    .pillar-grid,
    .evidence-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 48px;
    }

    .surgical-slider {
        height: 45vh;
        border-radius: 24px;
    }
}

/* Sticky Contact Bar */
.sticky-contact-bar {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    display: flex;
    gap: 12px;
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    padding: 8px;
    border-radius: 100px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    animation: barReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes barReveal {
    from {
        transform: translate(-50%, 100px);
        opacity: 0;
    }

    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

.sticky-contact-bar a {
    text-decoration: none;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 12px 24px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-contact-bar a.btn-call {
    background: rgba(255, 255, 255, 0.05);
}

.sticky-contact-bar a.btn-call:hover {
    background: rgba(255, 255, 255, 0.1);
}

.sticky-contact-bar a.btn-email {
    background: var(--accent);
}

.sticky-contact-bar a.btn-email:hover {
    background: #11d191;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--accent-glow);
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 80px;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 32px;
    padding: 50px 32px;
    text-align: center;
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-12px);
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.04);
}

.pricing-card.featured {
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.03);
}

.pricing-card.featured::after {
    content: "MOST POPULAR";
    position: absolute;
    top: 24px;
    right: -32px;
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    padding: 8px 40px;
    transform: rotate(45deg);
    letter-spacing: 0.1em;
}

.price-value {
    font-size: 64px;
    font-weight: 700;
    color: #fff;
    margin: 24px 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
}

.price-value span {
    font-size: 24px;
    margin-top: 12px;
    color: var(--text-secondary);
}

.pricing-card h4 {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    margin: 40px 0;
    text-align: left;
}

.pricing-features li {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-features li::before {
    content: "✓";
    color: var(--accent);
    font-weight: 900;
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Container Spacing */
    .container {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    /* Hero Overrides */
    .hero-btns {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
        /* Prevent them from getting weirdly wide on tablets */
        margin-left: auto;
        margin-right: auto;
        gap: 16px !important;
    }

    .hero-btns a {
        width: 100%;
        justify-content: center;
        padding: 18px 24px;
        /* Slightly tighter padding for mobile */
    }

    /* Mobile Grid Overrides */
    .col-span-7,
    .col-span-5,
    .col-offset-right,
    .col-span-6,
    .col-span-12 {
        grid-column: 1 / -1 !important;
        margin-top: 40px !important;
    }

    .evidence-item {
        display: flex;
        flex-direction: column;
    }

    .hero-section {
        padding-top: 140px !important;
    }

    /* Mobile Nav */
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex !important;
    }
}

/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 3001;
    position: relative;
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-overlay a {
    font-size: 24px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.hero-btns {
    display: flex;
    gap: 24px;
    justify-content: center;
    align-items: center;
}


/* Landing Page Specific Components */
.hero-section {
    text-align: center;
    padding-top: 200px;
}

.hero-subheadline {
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: clamp(20px, 4vw, 24px);
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 400;
    text-align: center;
}

.problem-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
    display: grid;
    gap: 20px;
}

.problem-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: clamp(18px, 3vw, 22px);
    color: var(--text-secondary);
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.problem-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(16, 185, 129, 0.2);
    transform: translateX(10px);
}

.problem-icon {
    color: var(--accent);
    flex-shrink: 0;
}

.simplicity-block {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(6, 6, 6, 0) 100%);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.simplicity-block::after {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    z-index: -1;
    opacity: 0.5;
}

.risk-relief-section {
    text-align: center;
    padding: 160px 40px;
    border-top: 1px solid var(--border-glass);
}

.risk-relief-title {
    font-size: clamp(32px, 5vw, 64px);
    margin-bottom: 32px;
}

.risk-relief-text {
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 64px;
    font-size: clamp(18px, 3vw, 24px);
    line-height: 1.6;
}

/* Grid & Layout Utilities */
.col-span-7 {
    grid-column: span 7;
}

.col-span-5 {
    grid-column: span 5;
}

.col-offset-right {
    grid-column: 5 / span 8;
    margin-top: 40px;
}

.col-span-6 {
    grid-column: span 6;
    margin-top: 40px;
}

.col-span-12 {
    grid-column: span 12;
    margin-top: 100px;
    text-align: center;
}

@media (max-width: 768px) {
    .simplicity-block {
        padding: 80px 0;
    }

    .problem-item {
        padding: 16px;
    }

    .hero-section {
        padding-top: 140px;
    }
}