/* ==========================================================================
   CTR STUDIO - PREMIUM DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

/* --- Font Family Integration --- */
@font-face {
    font-family: 'Neue Montreal';
    src: url('assets/fonts/NeueMontreal-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Montreal';
    src: url('assets/fonts/NeueMontreal-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Montreal';
    src: url('assets/fonts/NeueMontreal-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Montreal';
    src: url('assets/fonts/NeueMontreal-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* --- Core Variables --- */
:root {
    --bg-dark: #ffffff;
    --bg-card: #f5f5f7;
    --bg-card-hover: #eaeaea;
    --border-color: rgba(0, 0, 0, 0.06);
    --border-glow: rgba(0, 0, 0, 0.06);
    --header-bg: rgba(255, 255, 255, 0.8);
    
    --primary: #1d1d1f;
    --primary-gradient: linear-gradient(135deg, #1d1d1f 0%, #3a3a3c 100%);
    --text-primary: #1d1d1f;
    --text-secondary: #515154;
    --text-muted: #86868b;
    --btn-text: #ffffff;
    
    --font-sans: 'Neue Montreal', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s ease;
    
    --container-width: 1240px;
    --header-height: 48px;

    /* Typographic Responsive Variables */
    --font-size-hero: 4rem;
    --font-size-section: 2.8rem;
    --font-size-lead: 1.2rem;
    --font-size-body: 0.95rem;
    --section-padding: 12.5rem;
}

/* --- Dark Theme Overrides --- */
body.dark-theme {
    --bg-dark: #000000;
    --bg-card: #121212;
    --bg-card-hover: #1c1c1e;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(255, 255, 255, 0.08);
    --header-bg: rgba(0, 0, 0, 0.8);
    
    --primary: #ffffff;
    --primary-gradient: linear-gradient(135deg, #ffffff 0%, #eaeaea 100%);
    --text-primary: #ffffff;
    --text-secondary: #a1a1a6;
    --text-muted: #86868b;
    --btn-text: #1d1d1f;
}

/* --- Editorial Layout Utilities (Aesop & Nothing) --- */
.editorial-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: background-color 0.4s ease, color 0.4s ease;
}

.editorial-section.theme-dark {
    background-color: #000000;
    color: #ffffff;
}

.editorial-section.theme-grey {
    background-color: #f5f5f7;
    color: #1d1d1f;
}

.minimal-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.theme-dark .minimal-label {
    color: #86868b;
}

.hero-editorial-title {
    font-family: var(--font-sans);
    font-size: var(--font-size-hero);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: var(--text-primary);
    margin: 1.5rem 0 2rem 0;
}

.hero-editorial-subtitle {
    font-size: var(--font-size-section);
    font-weight: 400;
    line-height: 1.25;
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    letter-spacing: -0.02em;
}

.hero-editorial-lead {
    font-size: var(--font-size-lead);
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 660px;
    margin-bottom: 4rem;
}

.theme-dark .hero-editorial-title {
    color: #ffffff;
}

.theme-dark .hero-editorial-subtitle {
    color: #86868b;
}

.theme-dark .hero-editorial-lead {
    color: #86868b;
}

.hero-section-pad {
    padding-top: calc(var(--header-height) + 3.2rem) !important;
    padding-bottom: 5.5rem !important;
    min-height: auto !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.hero-section-pad .hero-editorial-title:first-child,
.hero-section-pad .reveal > .hero-editorial-title:first-child {
    margin-top: 0 !important;
}

.banner-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.disciplines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.discipline-card {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    transition: border-color 0.3s ease;
}

.discipline-number {
    font-size: 0.75rem;
    font-weight: 600;
    color: #86868b;
    display: block;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.discipline-title {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
    color: #ffffff;
}

.discipline-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #86868b;
    margin: 0;
}

.case-study-item {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 5rem;
}

.case-study-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: start;
}

@media (max-width: 991px) {
    .case-study-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* ==========================================================================
   Apple-Style Hero Video Card Frame (Wide & High Clarity)
   ========================================================================== */
.hero-wide-container {
    width: 100%;
    max-width: 98vw;
    margin: 0 auto;
    padding: 0 1vw;
}

.apple-hero-video-card {
    position: relative;
    width: 100%;
    margin-bottom: 4.5rem;
    border-radius: 28px;
    overflow: hidden;
    background: #000000;
    box-shadow: 0 35px 90px -25px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.08);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-hero-video-card:hover {
    transform: scale(1.004);
    box-shadow: 0 45px 110px -25px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.apple-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    max-height: 880px;
    background: #000000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apple-video-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 1; /* 100% Natural video clarity */
}

/* Apple Floating Sound Control */
.apple-video-sound-btn {
    position: absolute;
    bottom: 2rem;
    right: 2.2rem;
    z-index: 15;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(18, 18, 20, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
}

.apple-video-sound-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.45);
}

.apple-video-sound-btn:active {
    transform: scale(0.92);
}

.apple-video-sound-btn svg {
    width: 22px;
    height: 22px;
    stroke-width: 2;
    transition: transform 0.2s ease;
}

.apple-video-sound-btn .sound-tooltip {
    position: absolute;
    right: 62px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.35rem 0.8rem;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    transform: translateX(6px);
}

.apple-video-sound-btn:hover .sound-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .apple-hero-video-card {
        border-radius: 18px;
        margin-bottom: 3.5rem;
    }
    .apple-video-sound-btn {
        bottom: 1.2rem;
        right: 1.2rem;
        width: 42px;
        height: 42px;
    }
    .apple-video-sound-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* ==========================================================================
   Apple-Style Editorial 2-Column Split Grid & Square Image Cards
   ========================================================================== */
.editorial-split-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 5rem;
    align-items: center;
    width: 100%;
}

.editorial-split-grid.reverse {
    grid-template-columns: 0.85fr 1.15fr;
}

.apple-square-image-card {
    position: relative;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1 / 1;
    border-radius: 26px;
    overflow: hidden;
    background: #000000;
    box-shadow: 0 30px 75px -20px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.08);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    margin: 0 auto;
}

.theme-dark .apple-square-image-card {
    box-shadow: 0 35px 85px -20px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.apple-square-image-card:hover {
    transform: scale(1.025);
    box-shadow: 0 45px 100px -25px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.apple-square-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-square-image-card:hover img {
    transform: scale(1.04);
}

@media (max-width: 991px) {
    .editorial-split-grid,
    .editorial-split-grid.reverse {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    .editorial-split-grid.reverse .apple-square-image-card {
        order: -1;
    }
    .apple-square-image-card {
        max-width: 400px;
        border-radius: 20px;
    }
}

.asymmetric-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 6rem;
    align-items: flex-start;
}

@media (max-width: 991px) {
    .asymmetric-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
    line-height: 1.75;
    opacity: 0;
    transform: translateY(12px);
    animation: page-entrance 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes page-entrance {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    background: none;
    border: none;
    outline: none;
    color: inherit;
}

/* --- Layout Utilities --- */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6rem;
    align-items: center;
}

@media (max-width: 991px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* --- Badges & Custom Typography --- */
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 100px;
    margin-bottom: 2rem;
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    font-size: var(--font-size-section);
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
}

.section-subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 6rem;
}

.lead-text {
    font-size: var(--font-size-lead);
    color: var(--text-primary);
    font-weight: 400;
    margin-bottom: 2rem;
    line-height: 1.65;
}

.body-text {
    font-size: var(--font-size-body);
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    max-width: 600px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.6rem;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--btn-bg, var(--primary));
    color: var(--btn-text, var(--bg-dark));
    border-color: var(--btn-bg, var(--primary));
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.btn-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.btn-primary:disabled {
    background: var(--text-muted);
    border-color: var(--text-muted);
    color: var(--bg-dark);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.btn-secondary {
    border-color: var(--primary);
    background: transparent;
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--border-color);
    border-color: var(--primary);
    transform: translateY(-1px);
}

.btn-large {
    padding: 1.1rem 2.5rem;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
}

/* --- Header Section --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 76px;
    display: flex;
    align-items: center;
    z-index: 100;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    height: 52px;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100% !important;
    max-width: none !important;
    padding: 0 60px !important;
    margin: 0 !important;
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 32px !important;
    }
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    height: 84px;
    width: auto;
    display: block;
    margin: -8px 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled .logo {
    height: 64px;
}

.site-footer .logo {
    height: 130px;
    margin: 0 0 0 -15px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-primary);
}

.logo-subtext {
    font-size: 0.7rem;
    font-weight: 300;
    color: var(--text-secondary);
    display: block;
    margin-top: -3px;
    letter-spacing: 0.4em;
}

.main-nav {
    margin-left: auto;
}

.main-nav ul {
    display: flex;
    gap: 2.8rem;
    align-items: center;
}

.nav-link {
    font-size: 0.82rem;
    font-weight: 400;
    color: #86868b;
    letter-spacing: 0.02em;
    transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: #000000;
}

/* Outlined pill button for Start a Conversation */
.main-nav ul li:last-child a.nav-link {
    font-size: 0.8rem;
    font-weight: 500;
    color: #1d1d1f;
    border: 1px solid rgba(0, 0, 0, 0.15);
    padding: 0.45rem 1.15rem;
    border-radius: 16px;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.main-nav ul li:last-child a.nav-link:hover,
.main-nav ul li:last-child a.nav-link.active {
    background: #1d1d1f;
    color: #ffffff !important;
    border-color: #1d1d1f;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
}

.mobile-nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-fast);
}

@media (max-width: 991px) {
    .main-nav {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .site-header #header-cta-btn {
        display: none;
    }
}

/* --- Mobile Navigation Menu Overlay --- */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    text-align: center;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.mobile-link {
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.mobile-link:hover {
    color: var(--primary);
}

.mobile-btn-cta {
    margin-top: 1rem;
}

.mobile-nav-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    padding-top: calc(var(--header-height) + 6rem);
    padding-bottom: 10rem;
    min-height: 95vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -15%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.01) 50%, rgba(0,0,0,0) 100%);
    z-index: 1;
    pointer-events: none;
    filter: blur(100px);
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center;
    z-index: 2;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black, transparent);
}

.hero-container {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 3;
}

@media (max-width: 991px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 2rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
}

.hero-content {
    max-width: 620px;
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
}

@media (max-width: 576px) {
    .hero-headline {
        font-size: 2.75rem;
    }
}

.hero-subheadline {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
}

@media (max-width: 576px) {
    .hero-actions {
        flex-direction: column;
        gap: 0.8rem;
    }
}

/* --- Hero Dashboard Visual Mockup --- */
.dashboard-mockup {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: relative;
}

.dashboard-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    z-index: 4;
}

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.dash-dots {
    display: flex;
    gap: 0.4rem;
}

.dash-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff5f56;
}

.dash-dots span:nth-child(2) { background: #ffffff; }
.dash-dots span:nth-child(3) { background: #1d1d1f; }

.dash-title {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.dash-badge {
    font-size: 0.65rem;
    background: rgba(0, 0, 0, 0.04);
    color: var(--primary);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.dash-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.dash-card {
    background: #f3f4f6;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.8rem;
}

.card-label {
    font-size: 0.65rem;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 0.4rem;
}

.card-value {
    font-size: 1.15rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.2rem;
}

.card-trend {
    font-size: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.card-trend.upward {
    color: var(--primary);
}

.dash-graph {
    background: #f9fafb;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid rgba(0,0,0,0.03);
}

.graph-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
}

.graph-legend {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.graph-legend .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.graph-legend .dot.orange { background: var(--primary); }
.graph-legend .dot.grey { background: var(--text-muted); }

.graph-bars {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 100px;
    padding: 0 0.5rem;
}

.graph-bar-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    width: 20%;
}

.graph-bar-group .bar {
    width: 8px;
    border-radius: 4px;
    transition: height 1s ease-in-out;
}

.bar-grey {
    background: var(--text-muted);
    opacity: 0.3;
}

.bar-orange {
    background: var(--primary-gradient);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.bar-label {
    font-size: 0.6rem;
    color: var(--text-muted);
}

/* --- Trust Indicator Marquee --- */
.trust-marquee {
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: #f9fafb;
    overflow: hidden;
}

.marquee-title {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 1.2rem;
}

.marquee-wrapper {
    display: flex;
    width: 100%;
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    gap: 6rem;
    animation: marquee 25s linear infinite;
    align-items: center;
}

.marquee-track span {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: rgba(0, 0, 0, 0.35);
    transition: var(--transition-fast);
}

.marquee-track span:hover {
    color: var(--primary);
}

.marquee-track .dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- About Section --- */
.about-section {
    padding: 10rem 0;
}

.about-visual {
    position: relative;
}

.glow-box {
    background: linear-gradient(135deg, rgba(0,0,0,0.02) 0%, rgba(255,255,255,0.05) 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.glow-inner {
    position: relative;
    z-index: 2;
}

.logo-watermark {
    font-size: 8rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.02);
    position: absolute;
    bottom: -2rem;
    right: -1rem;
    z-index: 1;
    pointer-events: none;
    letter-spacing: -0.05em;
}

.quote-text {
    font-size: 1.6rem;
    line-height: 1.4;
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.quote-author {
    font-size: 0.85rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.about-bullets {
    margin-top: 2.5rem;
    display: grid;
    gap: 1.5rem;
}

.bullet-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.bullet-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #f3f4f6;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.bullet-item h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.bullet-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* --- Sectors Section --- */
.sectors-section {
    padding: 10rem 0;
    border-top: 1px solid var(--border-color);
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2.5rem;
}

@media (max-width: 576px) {
    .sectors-grid {
        grid-template-columns: 1fr;
    }
}

.sector-item {
    background: #f9fafb;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-fast);
}

.sector-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.sector-icon {
    color: var(--primary);
    display: flex;
    align-items: center;
}

.sector-item h4 {
    font-size: 0.95rem;
    font-weight: 500;
}

.secondary-sectors {
    margin-top: 2.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Criteria Card */
.partner-criteria-card {
    background: #f9fafb;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    position: relative;
}

.partner-criteria-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.partner-criteria-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2.2rem;
}

.criteria-list {
    display: grid;
    gap: 1.8rem;
}

.criteria-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.criteria-item i {
    width: 22px;
    height: 22px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.criteria-item h5 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.criteria-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* --- Why CTR Section --- */
.why-section {
    padding: 10rem 0;
    border-top: 1px solid var(--border-color);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1200px) {
    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}

.why-card {
    background: #f9fafb;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.why-card:hover {
    transform: translateY(-5px);
    background: #f3f4f6;
    border-color: rgba(255,255,255,0.15);
}

.why-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin: 0 auto 1.5rem auto;
}

.why-card h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.why-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* --- Interactive Fit Matcher --- */
.matcher-section {
    padding: 10rem 0;
    border-top: 1px solid var(--border-color);
    background: radial-gradient(circle at 90% 90%, rgba(0, 0, 0, 0.01) 0%, transparent 60%);
}

.matcher-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 4rem;
    box-shadow: 0 15px 50px rgba(0,0,0,0.06);
    backdrop-filter: blur(10px);
}

.matcher-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3.5rem auto;
}

.matcher-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.matcher-header p {
    font-size: 1rem;
    color: var(--text-secondary);
}

.matcher-content {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 6rem;
    align-items: center;
}

@media (max-width: 991px) {
    .matcher-wrapper {
        padding: 2.5rem;
    }
    .matcher-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.matcher-form {
    display: grid;
    gap: 2rem;
}

.form-group {
    display: grid;
    gap: 0.8rem;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

.matcher-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

@media (max-width: 576px) {
    .matcher-options-grid {
        grid-template-columns: 1fr;
    }
}

.match-opt-btn {
    border: 1px solid var(--border-color);
    background: #f9fafb;
    padding: 0.9rem 1.2rem;
    border-radius: 8px;
    font-size: 0.85rem;
    text-align: left;
    cursor: pointer;
    transition: var(--transition-fast);
}

.match-opt-btn:hover {
    background: #f3f4f6;
    border-color: rgba(255, 255, 255, 0.15);
}

.match-opt-btn.active {
    background: rgba(0, 0, 0, 0.04);
    border-color: var(--primary);
    color: var(--text-primary);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.04);
}



/* --- Final Call to Action --- */
.cta-section {
    position: relative;
    padding: 8rem 0;
    text-align: center;
    overflow: hidden;
    background: #f9fafb;
    border-top: 1px solid var(--border-color);
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.02) 0%, transparent 50%, rgba(0,0,0,0) 100%);
    z-index: 1;
    filter: blur(80px);
    pointer-events: none;
}

.cta-container {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3.25rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
}

@media (max-width: 576px) {
    .cta-title {
        font-size: 2.5rem;
    }
}

.cta-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.75;
}

/* --- Premium Editorial Footer --- */
.site-footer {
    background-color: var(--bg-dark);
    border-top: 1px solid var(--border-color);
    padding: 8rem 0 4rem 0;
    transition: background-color 0.4s ease;
}

.footer-container {
    width: 100% !important;
    max-width: none !important;
    padding: 0 60px !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

@media (max-width: 768px) {
    .footer-container {
        padding: 0 32px !important;
        gap: 4rem;
    }
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 4rem;
}

.footer-brand {
    max-width: 320px;
}

.footer-brand .logo {
    height: 72px;
    width: auto;
    margin-left: -8px;
    margin-bottom: 1.5rem;
    display: block;
}

.footer-statement {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
    font-weight: 400;
}

.footer-nav-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2rem;
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }
    .footer-nav-group {
        align-items: flex-start;
        width: 100%;
    }
}

.footer-main-links {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.footer-main-links a {
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
    transition: var(--transition-fast);
}

.footer-main-links a:hover {
    color: var(--primary);
}

.footer-contact-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-contact-links a {
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.02em;
    transition: var(--transition-fast);
}

.footer-contact-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 2.5rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-copyright {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.footer-legal-links {
    display: flex;
    gap: 2rem;
}

.footer-legal-links a {
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.footer-legal-links a:hover {
    color: var(--primary);
}



.booking-form {
    display: grid;
    gap: 1.5rem;
    transition: var(--transition-smooth);
}

.booking-form.hide {
    display: none;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.booking-form .form-group label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    display: block;
}

.booking-form input, .booking-form select, .booking-form textarea {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.booking-form select option {
    background: var(--bg-dark);
    color: var(--text-primary);
}

.booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus {
    border-color: var(--primary);
    background: var(--bg-dark);
}



/* --- Scroll Reveal Animations & Premium Motion Reveals --- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(8px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
                filter 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity, filter;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.img-reveal {
    opacity: 0;
    transform: scale(1.03);
    filter: blur(10px);
    transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1.4s cubic-bezier(0.16, 1, 0.3, 1),
                filter 1.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity, filter;
}

.img-reveal.revealed {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
}

.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.3s;
}

/* ==========================================================================
   APPLE SPECS STYLE OVERLAYS (SUB NAV, SPECS TABLE,dividers)
   ========================================================================== */

/* --- Sticky Specs Subheader --- */
.specs-subheader {
    position: sticky;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 90;
    transition: var(--transition-smooth);
    padding: 0.9rem 0;
}

.specs-subheader-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.specs-subheader-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.specs-switcher {
    display: flex;
    background: #f5f5f7;
    padding: 2px;
    border-radius: 100px;
    border: 1px solid var(--border-color);
}

.switcher-tab {
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.4rem 1.2rem;
    border-radius: 100px;
    cursor: pointer;
    border: none;
    color: #86868b;
    background: none;
    transition: var(--transition-fast);
}

.switcher-tab:hover {
    color: #1d1d1f;
}

.switcher-tab.active {
    background: var(--primary); /* orange */
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

/* --- Apple Specs Layout (Growth Specs & Approach) --- */
.specs-section {
    padding: 9rem 0;
    border-top: 1px solid var(--border-color);
    background: #ffffff;
}

.specs-header {
    text-align: left;
    margin-bottom: 5rem;
}

.font-large {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.specs-table {
    width: 100%;
    margin-top: 1rem;
}

.spec-row {
    display: grid;
    grid-template-columns: 28% 72%;
    gap: 4rem;
    padding: 4.5rem 0;
    border-top: 1px solid var(--border-color);
    align-items: flex-start;
}

.spec-row:last-child {
    border-bottom: 1px solid var(--border-color);
}

.spec-label {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1d1d1f;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.spec-value {
    width: 100%;
}

.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.spec-value h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.spec-value p {
    font-size: 1.05rem;
    color: #86868b;
    line-height: 1.6;
    margin-bottom: 1.8rem;
    max-width: 680px;
}

.spec-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
    margin-top: 1.2rem;
}

.spec-list li {
    font-size: 0.95rem;
    color: #1d1d1f;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.spec-list li i {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

/* Approach custom alignments under specs style */
.approach-section {
    padding: 9rem 0;
    border-top: 1px solid var(--border-color);
    background: #ffffff;
}

.step-deliverable {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary);
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
}

/* Scroll margin offset for sticky header + subnav */
section[id], #about, #services, #sectors, #approach, #why-ctr, #matcher {
    scroll-margin-top: 140px !important;
}

@media (max-width: 768px) {
    .spec-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 3rem 0;
    }
    
    .spec-label {
        font-size: 1.25rem;
        font-weight: 700;
    }
    
    .spec-value h3 {
        font-size: 1.25rem;
    }
    
    .spec-list {
        grid-template-columns: 1fr;
    }
    
    .specs-subheader-title {
        font-size: 0.95rem;
    }
    
    section[id], #about, #services, #sectors, #approach, #why-ctr, #matcher {
        scroll-margin-top: 120px !important;
    }
}

/* --- Apple Homepage Showcase Banners & Bento Grids --- */
.apple-banner {
    position: relative;
    width: 100%;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 8rem;
    background: #ffffff;
    color: #1d1d1f;
    overflow: hidden;
    text-align: center;
    border-bottom: 12px solid #ffffff;
}

.apple-banner.theme-dark {
    background: #000000;
    color: #f5f5f7;
}

.apple-banner.theme-grey {
    background: #f5f5f7;
    color: #1d1d1f;
}

.banner-title {
    font-size: 3.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.4rem;
    line-height: 1.1;
}

.banner-tagline {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: -0.015em;
    margin-bottom: 0.8rem;
    color: #1d1d1f;
}

.theme-dark .banner-tagline {
    color: #f5f5f7;
}

.banner-sub {
    font-size: 1rem;
    color: #86868b;
    margin-bottom: 1.5rem;
    max-width: 500px;
}

.banner-links {
    display: flex;
    gap: 1.8rem;
    margin-bottom: 3.5rem;
    z-index: 10;
}

.apple-link {
    color: #1d1d1f;
    font-size: 1.05rem;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    text-decoration: none;
    transition: var(--transition-fast);
}

.apple-link:hover {
    text-decoration: underline;
}

.apple-link::after {
    content: " 〉";
    font-size: 0.7rem;
    font-weight: 600;
}

/* Bento promo grids */
.apple-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    padding: 0 0.75rem 0.75rem 0.75rem;
    background: #ffffff;
}

.apple-card {
    position: relative;
    min-height: 500px;
    background: #f5f5f7;
    color: #1d1d1f;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 3.5rem;
    overflow: hidden;
    text-align: center;
}

.apple-card.theme-dark {
    background: #000000;
    color: #ffffff;
}

.card-title {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    margin-bottom: 0.4rem;
}

.card-tagline {
    font-size: 1.1rem;
    font-weight: 400;
    color: #86868b;
    margin-bottom: 1rem;
    max-width: 320px;
}

.card-links {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    z-index: 10;
}

@media (max-width: 768px) {
    .apple-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 0 0.75rem 0.75rem 0.75rem;
    }
    .apple-card {
        min-height: 450px;
    }
    .banner-title {
        font-size: 2.5rem;
    }
    .banner-tagline {
        font-size: 1.2rem;
    }
}

/* --- Premium Animations & Interactive Scroll Effects --- */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: #1d1d1f;
    z-index: 1001;
    transition: width 0.1s ease-out;
}

/* Entrance fade-in slides */
.entrance-fadeInUp {
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.entrance-fadeInDown {
    animation: fadeInDown 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll reveal class */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* 3D context for bento cards */
.apple-card {
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s cubic-bezier(0.16, 1, 0.3, 1), background 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.apple-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    border-color: rgba(0,0,0,0.04);
}

/* Focus-out Sibling Cards Grid Blur */
@media (min-width: 769px) {
    .apple-grid:hover .apple-card {
        opacity: 0.65;
        transform: scale(0.96);
        filter: blur(1.5px);
    }
    .apple-grid:hover .apple-card:hover {
        opacity: 1;
        transform: scale(1.02) translateY(-6px);
        filter: blur(0);
        background: rgba(245, 245, 247, 0.95);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
        border-color: rgba(0, 0, 0, 0.15);
        z-index: 2;
    }
    .apple-grid:hover .apple-card.theme-dark:hover {
        background: rgba(10, 10, 10, 0.95);
    }
}

/* --- Bento Card Interactive Visuals --- */
.bento-visual {
    width: 100%;
    margin-top: auto;
    padding: 1.5rem 2rem 0 2rem;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 180px;
    overflow: hidden;
}

/* Strategy Chart */
.mini-chart-svg {
    width: 80%;
    height: auto;
    overflow: visible;
}

.chart-line-bg {
    stroke-dasharray: 4;
}

.chart-line-active {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: drawChart 2.5s cubic-bezier(0.16, 1, 0.3, 1) forwards infinite;
}

@keyframes drawChart {
    to {
        stroke-dashoffset: 0;
    }
}

.chart-label {
    font-size: 0.65rem;
    font-weight: 700;
    fill: #1d1d1f;
    font-family: var(--font-sans);
}

/* Creative Ads Panel */
.creative-visual {
    display: flex;
    gap: 0.8rem;
    align-items: flex-end;
}

.ad-mockup-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 16px;
    padding: 0.6rem;
    width: 90px;
    height: 120px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transform: translateY(20px);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.ad-mockup-card.winner {
    border-color: #1d1d1f;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
    transform: translateY(0);
}

.ad-img-placeholder {
    width: 100%;
    height: 70px;
    border-radius: 8px;
    background: #eaeaea;
}

.theme-dark .ad-img-placeholder {
    background: #1d1d1f;
}

.ad-score {
    font-size: 0.65rem;
    font-weight: 600;
    color: #86868b;
    text-align: center;
}

.winner .ad-score {
    color: #1d1d1f;
    font-weight: 700;
}

.apple-card:hover .ad-mockup-card:not(.winner) {
    transform: translateY(10px);
}

/* Conversion Phone Mock */
.phone-mockup {
    background: #1d1d1f;
    border: 3px solid #3a3a3c;
    border-radius: 20px 20px 0 0;
    width: 140px;
    height: 150px;
    padding: 0.5rem 0.5rem 0 0.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.phone-screen {
    background: #ffffff;
    border-radius: 14px 14px 0 0;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 0.6rem;
    color: #1d1d1f;
    text-align: left;
}

.checkout-header {
    font-size: 0.65rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #f5f5f7;
    padding-bottom: 0.3rem;
}

.checkout-item {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    margin-bottom: 0.8rem;
}

.item-square {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background: #1d1d1f;
    opacity: 0.85;
}

.item-details {
    display: flex;
    flex-direction: column;
}

.item-title {
    font-size: 0.45rem;
    font-weight: 600;
}

.item-price {
    font-size: 0.45rem;
    color: #86868b;
}

.checkout-btn {
    background: #000000;
    color: #ffffff;
    border-radius: 30px;
    text-align: center;
    padding: 0.4rem;
    font-size: 0.55rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition-fast);
}

.checkout-btn .btn-spinner {
    display: none;
    width: 10px;
    height: 10px;
    border: 2px solid #ffffff;
    border-top-color: transparent;
    border-radius: 50%;
    margin: 0 auto;
    animation: spin 0.6s linear infinite;
}

.checkout-btn .btn-success {
    display: none;
    color: #1d1d1f;
    font-weight: 700;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Hover checkout trigger triggers checkout animation */
.apple-card:hover .checkout-btn {
    background: #1d1d1f;
}

/* Retention Cohort Rows */
.cohort-matrix {
    width: 80%;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    text-align: left;
    padding-bottom: 1rem;
}

.cohort-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.cohort-month {
    font-size: 0.65rem;
    font-weight: 700;
    width: 24px;
    color: #86868b;
}

.cohort-bar {
    background: #1d1d1f;
    height: 14px;
    border-radius: 4px;
    font-size: 0.55rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    padding-left: 0.5rem;
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
    width: 0%;
}

.cohort-bar-1 { --target-width: 100%; }
.cohort-bar-2 { --target-width: 78%; }
.cohort-bar-3 { --target-width: 62%; }
.cohort-bar-4 { --target-width: 54%; }

.reveal.active .cohort-bar-1 { width: 100%; }
.reveal.active .cohort-bar-2 { width: 78%; }
.reveal.active .cohort-bar-3 { width: 62%; }
.reveal.active .cohort-bar-4 { width: 54%; }

/* --- Growth Infrastructure Section --- */
.infra-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    width: 100%;
}

.infra-card {
    background: rgba(245, 245, 247, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    padding: 40px 35px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    text-align: left;
    display: flex;
    flex-direction: column;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform;
}

@media (min-width: 991px) {
    .infra-grid:hover .infra-card {
        opacity: 0.6;
        transform: scale(0.94);
        filter: blur(1.2px);
    }
    .infra-grid:hover .infra-card:hover {
        opacity: 1;
        transform: scale(1.04) translateY(-5px);
        filter: blur(0);
        background: rgba(255, 255, 255, 0.85);
        z-index: 2;
    }
}

.infra-card:nth-child(1):hover {
    border-color: #1d1d1f;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}
.infra-card:nth-child(2):hover {
    border-color: #515154;
    box-shadow: 0 15px 35px rgba(81, 81, 84, 0.12);
}
.infra-card:nth-child(3):hover {
    border-color: #1d1d1f;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}
.infra-card:nth-child(4):hover {
    border-color: #1d1d1f;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.infra-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    animation: float-icon-infra 4s infinite ease-in-out;
}

.infra-card:hover .infra-icon {
    animation-play-state: paused;
    transform: scale(1.15) translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

@keyframes float-icon-infra {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0px); }
}

.infra-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 600;
    color: #1d1d1f;
}

.infra-card p {
    font-size: 0.9rem;
    color: #515154;
    line-height: 1.6;
    margin-bottom: 25px;
}

.infra-benchmark {
    font-size: 0.72rem;
    color: #86868b;
    font-weight: 700;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 18px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}






/* Dark theme link overrides for monochrome contrast safety */
.theme-dark .apple-link {
    color: #ffffff;
}
.theme-dark .apple-link::after {
    color: #ffffff;
}

/* Typing cursor animation */
.typing-cursor::after {
    content: '|';
    display: inline-block;
    margin-left: 2px;
    animation: cursor-flash 0.8s infinite steps(2, start);
    font-weight: 200;
    color: inherit;
}

@keyframes cursor-flash {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}



/* Scroll-Scrub Text Ink-Fill */
.scrub-word {
    color: var(--text-muted);
    transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
    margin-right: 5px;
    will-change: color;
}

.scrub-word.filled {
    color: var(--text-primary);
}

.theme-dark .scrub-word {
    color: rgba(255, 255, 255, 0.3) !important;
}

.theme-dark .scrub-word.filled {
    color: #ffffff !important;
}

/* FAQ Accordion Styling */
.faq-accordion {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.faq-trigger {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    text-align: left;
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    cursor: pointer;
    transition: var(--transition-fast);
}

.faq-trigger:hover {
    color: var(--text-muted);
}

.faq-trigger svg {
    width: 16px;
    height: 16px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--text-muted);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), margin-top 0.4s ease;
    margin-top: 0;
}

.faq-content p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

.faq-item.active .faq-trigger svg {
    transform: rotate(180deg);
    color: var(--text-primary);
}

.faq-item.active .faq-content {
    max-height: 200px;
    margin-top: 1rem;
}

/* Floating Image/SVG Link Preview */
.floating-preview {
    position: fixed;
    width: 130px;
    height: 90px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    pointer-events: none;
    z-index: 1000;
    opacity: 0;
    transform: translate(-50%, -120%) scale(0.85);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.dark-theme .floating-preview {
    background: rgba(18, 18, 18, 0.98);
}

.floating-preview.active {
    opacity: 1;
    transform: translate(-50%, -120%) scale(1);
}

.floating-preview svg {
    width: 80%;
    height: 80%;
}

.infra-card {
    will-change: transform, opacity;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease, border-color 0.4s ease;
}

.btn, .trigger-booking {
    transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

/* Minimal Glassmorphism Background Mesh */
.glass-bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -10;
    overflow: hidden;
    pointer-events: none;
    background: var(--bg-dark);
}

.glass-mesh-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.02);
    filter: blur(100px);
}

body.dark-theme .glass-mesh-circle {
    background: rgba(255, 255, 255, 0.015);
}

.glass-bg-mesh .circle-1 {
    top: -10%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    animation: glassDrift 28s infinite alternate ease-in-out;
}

.glass-bg-mesh .circle-2 {
    bottom: -15%;
    right: -10%;
    width: 70vw;
    height: 70vw;
    animation: glassDrift 35s infinite alternate-reverse ease-in-out;
}

.glass-mesh-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(80px);
    -webkit-backdrop-filter: blur(80px);
}

body.dark-theme .glass-mesh-overlay {
    background: rgba(18, 18, 18, 0.5);
}

@keyframes glassDrift {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(10%, 12%) scale(1.15);
    }
}

/* ==========================================================================
   GLOBAL RESPONSIVE DESIGN SYSTEM OVERRIDES
   ========================================================================== */

@media (max-width: 1200px) {
    :root {
        --font-size-hero: 3.6rem;
        --font-size-section: 2.5rem;
        --section-padding: 11rem;
    }
}

@media (max-width: 991px) {
    :root {
        --font-size-hero: 3rem;
        --font-size-section: 2.1rem;
        --font-size-lead: 1.15rem;
        --section-padding: 9rem;
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-hero: 2.4rem;
        --font-size-section: 1.8rem;
        --font-size-lead: 1.1rem;
        --font-size-body: 0.9rem;
        --section-padding: 7.5rem;
    }
}

@media (max-width: 480px) {
    :root {
        --font-size-hero: 2.0rem;
        --font-size-section: 1.55rem;
        --section-padding: 6rem;
    }
    
    .btn, button, a.nav-link, a.mobile-link {
        min-height: 44px;
    }
}

/* Viewport Overflow & Media Elements Responsive Reset */
html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

img, svg {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   PREMIUM MICRO-INTERACTIONS DESIGN SYSTEM
   ========================================================================== */

/* 1. Active Navigation Indicator & Link Underline Draw Removed */

/* 2. Arrow & Send Icon Slide Interaction */
.btn i, .btn svg {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
    display: inline-block;
}

.btn:hover i[data-lucide="arrow-right"], 
.btn:hover svg[data-lucide="arrow-right"] {
    transform: translateX(4px);
}

.btn:hover i[data-lucide="send"], 
.btn:hover svg[data-lucide="send"] {
    transform: translate(2px, -2px);
}

/* 3. Floating Form Labels for stark input fields (Scoped to .booking-form) */
.booking-form .form-group {
    position: relative;
    padding-top: 1.6rem !important;
    margin-bottom: 1.8rem;
}

.booking-form .form-group label {
    position: absolute;
    top: 2.4rem;
    left: 0;
    font-size: 1.05rem;
    color: var(--text-muted);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
}

/* Hide placeholders when input is not focused */
.booking-form .form-group input::placeholder, 
.booking-form .form-group textarea::placeholder {
    color: transparent !important;
    transition: color 0.25s ease;
}

/* Show placeholders when input is focused */
.booking-form .form-group input:focus::placeholder, 
.booking-form .form-group textarea:focus::placeholder {
    color: var(--text-muted) !important;
}

/* Floating Label Trigger State */
.booking-form .form-group input:focus ~ label,
.booking-form .form-group textarea:focus ~ label,
.booking-form .form-group input:not(:placeholder-shown) ~ label,
.booking-form .form-group textarea:not(:placeholder-shown) ~ label {
    top: 0 !important;
    font-size: 0.72rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    color: var(--text-muted) !important;
    font-weight: 600 !important;
}

.booking-form input, .booking-form textarea {
    border: none !important;
    border-bottom: 1px solid var(--border-color) !important;
    padding: 0.8rem 0 !important;
    font-size: 1.05rem !important;
    background: transparent !important;
    border-radius: 0 !important;
    transition: border-bottom-color 0.3s ease !important;
}

.booking-form input:focus, .booking-form textarea:focus {
    border-bottom-color: var(--primary) !important;
}

/* ==========================================================================
   Growth Systems Compatibility Matcher UI
   ========================================================================== */
.matcher-section {
    background: #fbfbfd;
    padding: 8rem 0;
}

.matcher-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 32px;
    padding: 4rem 3.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.theme-dark .matcher-wrapper {
    background: #121214;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.matcher-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.matcher-content {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.matcher-step-group {
    margin-bottom: 2.2rem;
}

.matcher-step-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 0.85rem;
    letter-spacing: -0.01em;
}

.theme-dark .matcher-step-label {
    color: #ffffff;
}

.matcher-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.match-opt-btn {
    background: #f5f5f7;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 12px;
    padding: 0.9rem 1.1rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: #515154;
    text-align: left;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    line-height: 1.35;
}

.match-opt-btn:hover {
    background: #e8e8ed;
    color: #1d1d1f;
    transform: translateY(-1px);
}

.match-opt-btn.active {
    background: #1d1d1f;
    color: #ffffff;
    border-color: #1d1d1f;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.theme-dark .match-opt-btn {
    background: #1c1c1e;
    color: #a1a1a6;
    border-color: rgba(255, 255, 255, 0.05);
}

.theme-dark .match-opt-btn:hover {
    background: #2c2c2e;
    color: #ffffff;
}

.theme-dark .match-opt-btn.active {
    background: #ffffff;
    color: #1d1d1f;
    border-color: #ffffff;
    box-shadow: 0 4px 18px rgba(255, 255, 255, 0.15);
}

.matcher-result-card {
    background: #f5f5f7;
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.theme-dark .matcher-result-card {
    background: #1a1a1d;
    border-color: rgba(255, 255, 255, 0.06);
}

.compatibility-dial {
    position: relative !important;
    width: 140px !important;
    height: 140px !important;
    margin: 0 auto 1.5rem auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.dial-svg {
    width: 140px !important;
    height: 140px !important;
    transform: rotate(-90deg) !important;
    display: block !important;
}

.dial-bg {
    fill: none;
    stroke: #e1e1e6;
    stroke-width: 8;
}

.theme-dark .dial-bg {
    stroke: #2c2c2e;
}

.dial-fill {
    fill: none;
    stroke: #1d1d1f;
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.theme-dark .dial-fill {
    stroke: #ffffff;
}

.dial-text {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    transform: none !important;
    pointer-events: none !important;
}

.dial-percent {
    font-size: 1.85rem !important;
    font-weight: 700 !important;
    color: #1d1d1f !important;
    line-height: 1.1 !important;
    letter-spacing: -0.02em !important;
    display: block !important;
    margin: 0 !important;
}

.theme-dark .dial-percent {
    color: #ffffff !important;
}

.dial-label {
    font-size: 0.65rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    color: #86868b !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    display: block !important;
    margin-top: 4px !important;
}

.result-status {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 0.6rem;
}

.theme-dark .result-status {
    color: #ffffff;
}

.result-details {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #515154;
    margin-bottom: 1.8rem;
}

.theme-dark .result-details {
    color: #86868b;
}

@media (max-width: 991px) {
    .matcher-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .matcher-wrapper {
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .matcher-options-grid {
        grid-template-columns: 1fr;
    }
}

/* 4. Smart Navigation Behaviour (Hide on Scroll Down, Reveal on Scroll Up) */
.site-header {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                background-color 0.4s ease, 
                border-color 0.4s ease !important;
}

.site-header.header-hidden {
    transform: translateY(-101%);
}

/* 5. Custom Cursor Elements */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--text-primary);
    pointer-events: none;
    z-index: 9999999;
    margin-left: -3px;
    margin-top: -3px;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                height 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    will-change: transform;
}

body:hover .custom-cursor {
    opacity: 1;
}

.custom-cursor.cursor-hover {
    width: 18px;
    height: 18px;
    margin-left: -9px;
    margin-top: -9px;
    background-color: transparent;
    border: 1px solid var(--text-primary);
}

@media (max-width: 1024px) {
    .custom-cursor {
        display: none !important;
    }
}









