@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,300..900;1,300..900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* Custom Scrollbar Styles for premium editorial look */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #080b24;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 139, 31, 0.24);
    border-radius: 100px;
    border: 3px solid #080b24;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 139, 31, 0.62);
}

:root {
    /* Base Colors (Bold Black & Bone-White Theme) */
    --bg-dark: #10163f;
    --bg-card: #151d4f;
    --bg-card-hover: #1b2460;
    --border-color: rgba(255, 141, 31, 0.28);
    --border-color-hover: rgba(255, 141, 31, 0.58);
    
    /* Text Colors */
    --text-primary: #fff7ea;
    --text-secondary: #d9dced;
    --text-muted: #9aa0c3;

    /* Theme Accents (Default: Bone-White) */
    --accent-color: #ff8d1f;
    --accent-color-rgb: 255, 141, 31;
    --accent-blue: #20286f;
    --accent-gradient: #ff8d1f;
    --accent-glow: rgba(255, 141, 31, 0.2);

    /* Child Company Specific Accents (Monochrome Bone offsets) */
    --keyson-color: #ff8d1f;
    --keyson-gradient: #ff8d1f;
    --keyson-glow: rgba(255, 141, 31, 0.18);

    /* Practice Events Accent - Ivory White */
    --events-color: #ff8d1f;
    --events-gradient: #ff8d1f;
    --events-glow: rgba(255, 141, 31, 0.16);

    /* Practice Jobs Accent - Light Bone */
    --jobs-color: #d9dced;
    --jobs-gradient: #d9dced;
    --jobs-glow: rgba(32, 40, 111, 0.22);

    /* Practice Digital Accent - Soft Ivory */
    --digital-color: #fff7ea;
    --digital-gradient: #fff7ea;
    --digital-glow: rgba(255, 141, 31, 0.18);

    /* Font Weights & UI Settings */
    --font-heading: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius-sm: 12px;
    --border-radius-md: 20px;
    --border-radius-lg: 32px;
}

/* Global Reset & Base Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: clip;
    max-width: 100vw;
    line-height: 1.6;
    background-image: none;
}

html {
    overflow-x: clip;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
    border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Background elements removed for pure flat black layout */

/* Typography & Layout Elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
    font-weight: 700;
}

h1 em, h2 em, h3 em, 
h1 .serif-text, h2 .serif-text, h3 .serif-text,
.serif-text {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.02em;
}

.section-tag {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    color: var(--accent-color);
    display: inline-block;
    margin-bottom: 12px;
    position: relative;
}

.glow-tag {
    background: linear-gradient(90deg, #ff8d1f, #ffb366);
    color: #10163f;
    padding: 6px 16px;
    border-radius: 100px;
    box-shadow: 0 0 20px rgba(255, 141, 31, 0.4);
    font-weight: 800;
    -webkit-text-fill-color: #10163f;
    letter-spacing: 0.2em;
    border: 1px solid rgba(255,255,255,0.4);
}

.section-title {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
                letter-spacing 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.section-title.active {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: -0.01em;
}

.section-desc {
    color: var(--text-secondary);
    max-width: 600px;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.gradient-text {
    background: linear-gradient(90deg, #fff7ea 0%, #f7c184 48%, #d9dced 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #f7c184;
    transition: background var(--transition-normal);
}

/* Header & Glass Navigation Bar */
.site-header {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(-120%);
    width: 90%;
    max-width: 1200px;
    z-index: 100;
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.site-header::before {
    content: '';
    position: absolute;
    top: -24px;
    left: 50%;
    width: 100vw;
    height: 126px;
    transform: translateX(-50%);
    background: #10163f;
    border-bottom: 1px solid rgba(255, 139, 31, 0.12);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: -1;
}

/* Shown state — triggered by scroll */
.site-header.nav-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.site-header.nav-visible::before {
    opacity: 1;
}

.nav-container {
    background: #121947;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    padding: 16px 32px;
    border-radius: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.7),
                0 0 28px rgba(32, 40, 111, 0.18),
                inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: var(--transition-normal);
}

.nav-container.scrolled {
    padding: 12px 24px;
    background: #121947;
    border-color: rgba(255, 139, 31, 0.22);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.site-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.brand-logo:hover .site-logo {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: var(--transition-fast);
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--accent-gradient);
    color: #10163f;
    padding: 10px 24px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px var(--accent-glow);
    transition: var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-glow);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 72px 0 96px;
    z-index: 2;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: rgba(255, 141, 31, 0.03);
    opacity: 1;
}

.hero-section::after {
    content: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content.centered {
    position: relative;
    max-width: 1060px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-content.centered .hero-title {
    font-size: clamp(5rem, 8.5vw, 8rem);
    line-height: 1;
    margin-bottom: 36px;
    font-weight: 800;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.hero-content.centered .title-line {
    display: block;
    overflow: hidden;
    padding-bottom: 6px;
}

.hero-content.centered .title-line .word {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
    animation: slide-up-word 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-content.centered .title-line:nth-child(1) .word:nth-child(1) { animation-delay: 0.2s; }
.hero-content.centered .title-line:nth-child(1) .word:nth-child(2) { animation-delay: 0.35s; }
.hero-content.centered .title-line:nth-child(2) .word:nth-child(1) { animation-delay: 0.5s; }
.hero-content.centered .title-line:nth-child(2) .word:nth-child(2) { animation-delay: 0.65s; }

@keyframes slide-up-word {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slide-down-badge {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content.centered .hero-desc {
    font-size: 1.38rem;
    color: var(--text-secondary);
    margin-bottom: 42px;
    max-width: 760px;
    line-height: 1.6;
    text-align: center;
    opacity: 0;
    transform: translateY(15px);
    animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.8s;
}

.hero-content.centered .hero-btns {
    display: flex;
    gap: 22px;
    justify-content: center;
    opacity: 0;
    transform: translateY(15px);
    animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.95s;
}

@keyframes fade-in-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bold Monochromatic Buttons */
.btn-primary {
    position: relative;
    background: #ff8d1f;
    color: #10163f;
    padding: 18px 42px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    border: 1.5px solid rgba(255, 139, 31, 0.78);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.btn-primary span, .btn-primary svg {
    position: relative;
    z-index: 2;
}

.btn-primary:hover {
    background: var(--accent-color);
    color: #080817;
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(255, 139, 31, 0.24);
}

.btn-secondary {
    background: transparent;
    border: 1.5px solid rgba(216, 221, 255, 0.28);
    color: var(--text-primary);
    padding: 18px 42px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary:hover {
    border-color: rgba(255, 139, 31, 0.8);
    color: #fff2dc;
    transform: translateY(-2px);
}

/* ============================================================
   BRANDS SECTION — Scroll-driven one-at-a-time card reveal
   ============================================================ */
.brands-section {
    position: relative;
    z-index: 2;
    /* No padding — scroll wrapper handles height */
}

/* Tall scroll area — creates the scroll distance (100vh per card) */
.brands-scroll-wrapper {
    position: relative;
    height: 300vh;
}

/* Sticky viewport — stays pinned while user scrolls through wrapper */
.brands-sticky-viewport {
    position: sticky;
    top: 0;
    height: 100vh;
    background: #10163f;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* No padding here — container inside handles margins */
}

/* Inner container: same constraints as .container on rest of site */
.brands-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* width/max-width inherited from .container */
    padding-top: 90px;   /* clear the fixed nav */
    padding-bottom: 28px;
    gap: 0;
}

/* Header inside sticky viewport */
.brands-header-row {
    text-align: left;
    margin-bottom: 32px;
    flex-shrink: 0;
}

.brands-title {
    font-size: 2.6rem;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}

.brands-sub-desc {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.28);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    margin-top: 4px;
}

/* Card stage — fills remaining space inside the container */
.brands-card-stage {
    position: relative;
    width: 100%;
    height: 300px;           /* fixed height */
    overflow: hidden;        /* CRITICAL: clip off-screen cards */
    flex-shrink: 0;
    margin-bottom: 20px;
    border-radius: 24px;     /* match card border-radius so clip is clean */
}

/* ---- BRAND CARD BASE (scroll-driven mode) ---- */
.brand-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #151d4f;
    border: 1px solid rgba(255, 141, 31, 0.32);
    border-radius: 24px;
    padding: 36px 44px;
    overflow: hidden;
    cursor: pointer;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    /* Default: fully hidden BELOW the card-stage (clipped by overflow:hidden) */
    opacity: 0;
    transform: translateY(105%);
    pointer-events: none;
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s ease,
                background 0.4s ease;
    will-change: opacity, transform;
    box-shadow: 0 2px 0 rgba(255, 141, 31, 0.12),
                0 24px 64px -20px rgba(4, 7, 28, 0.72);
}

/* Active card — slides into view */
.brand-card.card-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    z-index: 3;
}

/* Past card — slides UP and out (clipped above) */
.brand-card.card-past {
    opacity: 0;
    transform: translateY(-105%);
    pointer-events: none;
    z-index: 1;
}

/* Card hover state */
.brand-card:hover {
    border-color: rgba(255, 141, 31, 0.58);
    background: #1b2460;
    box-shadow: 0 2px 0 rgba(255, 141, 31, 0.18),
                0 32px 72px -20px rgba(4, 7, 28, 0.78),
                0 0 0 1px rgba(255, 141, 31, 0.08);
    transform: translateY(-2px);
}

/* Active (clicked) card highlight */
.brand-card.active {
    border-color: rgba(255, 141, 31, 0.62);
    background: #1b2460;
}

/* Card Number Badge & Top Accent Line */
.card-watermark { display: none; }

.brand-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: rgba(255, 141, 31, 0.42);
    pointer-events: none;
    z-index: 2;
}

.brand-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: rgba(255, 141, 31, 0.035);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

.brand-card:hover::after {
    opacity: 1;
}

/* Number badge (top-right corner) */
.card-number-badge {
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: rgba(255, 141, 31, 0.42);
    font-family: var(--font-heading);
    text-transform: uppercase;
    pointer-events: none;
    z-index: 5;
    transition: color 0.4s ease;
}

.brand-card:hover .card-number-badge,
.brand-card.card-active .card-number-badge {
    color: rgba(255, 141, 31, 0.82);
}

/* Card inner layout */
.card-inner-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 44px;
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.card-left-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    position: relative;
    z-index: 1;
}

.card-right-col {
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(255, 141, 31, 0.16);
    padding-left: 44px;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.features-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 141, 31, 0.72);
    margin-bottom: 16px;
    display: block;
}

/* ---- PROGRESS BAR ---- */
.brands-progress-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    flex-shrink: 0;
    /* Align left, same as header text */
}

/* brands-title override: always visible (skip scroll-reveal fade-in) */
.brands-title.section-title {
    opacity: 1 !important;
    transform: none !important;
    letter-spacing: -0.03em !important;
}

.bp-dot {
    width: 28px;
    height: 2px;
    background: rgba(217, 220, 237, 0.22);
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: width 0.4s ease, background 0.4s ease;
    padding: 0;
    outline: none;
}

.bp-dot.active {
    width: 48px;
    background: #ff8d1f;
}

.bp-dot:hover {
    background: rgba(255, 141, 31, 0.62);
}

.bp-counter {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: rgba(217, 220, 237, 0.52);
    font-family: var(--font-heading);
    margin-left: 6px;
}

.bp-sep {
    color: rgba(217, 220, 237, 0.22);
}

/* ---- ID-specific stacking (old sticky, now unused — reset) ---- */
#card-events, #card-jobs, #card-digital {
    top: 0;
    z-index: 2;
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 141, 31, 0.1);
    border: 1px solid rgba(255, 141, 31, 0.34);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: var(--transition-normal);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.brand-card:hover .card-icon {
    background: #ff8d1f;
    border-color: #ff8d1f;
    transform: scale(1.08);
    color: #10163f;
    box-shadow: 0 0 0 6px rgba(255, 141, 31, 0.08), 0 8px 20px rgba(4, 7, 28, 0.42);
}

.brand-card.active .card-icon {
    background: rgba(255, 141, 31, 0.12);
    border-color: rgba(255, 141, 31, 0.42);
    box-shadow: 0 0 0 6px rgba(255, 141, 31, 0.08);
}

.card-title {
    font-size: 1.55rem;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    color: var(--text-primary);
}

.card-desc {
    color: rgba(217, 220, 237, 0.78);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    position: relative;
    z-index: 1;
}

/* Bullet list in cards */
.card-features {
    list-style: none;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: rgba(217, 220, 237, 0.82);
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 141, 31, 0.12);
}

.card-features li:last-child {
    border-bottom: none;
}

.card-features li svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: #ff8d1f;
    stroke-width: 2.5;
}

.card-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ff8d1f;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: var(--transition-fast);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 141, 31, 0.36);
    padding-bottom: 4px;
    width: fit-content;
}

.card-cta-link svg {
    transition: var(--transition-fast);
}

.brand-card:hover .card-cta-link {
    color: #fff7ea;
    border-bottom-color: rgba(255, 141, 31, 0.72);
}

.brand-card:hover .card-cta-link svg {
    transform: translateX(4px);
}

/* Expanded Showcase Block */
.showcase-block {
    margin-top: 40px;
    background: #151d4f;
    border: 1px solid rgba(255, 141, 31, 0.28);
    border-radius: 24px;
    padding: 50px;
    display: none;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    animation: fade-slide-in 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 60px rgba(4, 7, 28, 0.42);
}

.showcase-block.active {
    display: grid;
}

.showcase-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.showcase-badge {
    align-self: flex-start;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #ff8d1f;
    color: #10163f;
    margin-bottom: 20px;
}

.showcase-title {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.showcase-desc {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.showcase-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    font-family: var(--font-heading);
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.showcase-visual {
    background: rgba(255, 141, 31, 0.045);
    border: 1px dashed var(--border-color);
    border-radius: var(--border-radius-sm);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Service Tags */
.service-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 90%;
    padding: 30px;
}

.service-card {
    background: #1b2460;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-normal);
}

.service-card:hover {
    background: #202a70;
    border-color: var(--border-color-hover);
    transform: translateY(-2px);
}

.service-card svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.service-card span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* About / Philosophy Section */
.about-section {
    position: relative;
    padding: 60px 0 100px;
    z-index: 2;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 30px 60px rgba(4, 7, 28, 0.42);
}

.vertical-browser-demo {
    position: relative;
    min-height: 430px;
    padding: 64px 40px 88px;
    background: #151d4f;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vertical-browser-demo::before,
.vertical-browser-demo::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.vertical-browser-demo::before {
    width: 260px;
    height: 260px;
    border: 1px dashed rgba(255, 141, 31, 0.22);
    animation: rotate-orbit 34s linear infinite;
}

.vertical-browser-demo::after {
    top: 22px;
    right: 36px;
    width: 16px;
    height: 16px;
    background: var(--accent-color);
    animation: demo-pulse 2.4s ease-in-out infinite;
}

.browser-frame {
    position: relative;
    z-index: 2;
    width: min(100%, 440px);
    min-height: 255px;
    background: #10163f;
    border: 1px solid rgba(255, 141, 31, 0.24);
    border-radius: 14px;
    padding: 18px 20px;
    box-shadow: 0 28px 60px rgba(4, 7, 28, 0.5);
    overflow: hidden;
}

.browser-topbar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}

.browser-topbar span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(217, 220, 237, 0.48);
    flex-shrink: 0;
}

.browser-url {
    flex: 1;
    min-height: 28px;
    margin-left: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #1b2460;
    color: var(--text-secondary);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.browser-page {
    position: absolute;
    inset: 56px 20px 20px;
    opacity: 0;
    transform: translateY(18px) scale(0.98);
    animation: page-cycle 9s ease-in-out infinite;
}

.page-events { animation-delay: 0s; }
.page-jobs { animation-delay: 3s; }
.page-digital { animation-delay: 6s; }

.page-kicker {
    color: var(--accent-color);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.page-title {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.5vw, 1.7rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 16px;
}

.page-bar,
.code-line {
    height: 10px;
    border-radius: 999px;
    background: var(--accent-color);
    width: 68%;
    margin-bottom: 10px;
}

.page-bar-wide {
    width: 88%;
}

.page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 24px;
}

.page-grid span,
.candidate-row,
.deploy-pill {
    background: #1b2460;
    border: 1px solid rgba(255, 141, 31, 0.22);
    border-radius: 10px;
}

.page-grid span {
    height: 56px;
}

.candidate-row {
    width: 78%;
    max-width: 100%;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.candidate-row b {
    color: var(--accent-color);
    font-size: 1.8rem;
    line-height: 1;
}

.candidate-row span {
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 0.85rem;
}

.code-line {
    width: 82%;
}

.code-line.short {
    width: 52%;
    background: #d9dced;
}

.deploy-pill {
    display: inline-flex;
    margin-top: 12px;
    padding: 9px 16px;
    color: var(--accent-color);
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.browser-progress {
    position: absolute;
    z-index: 3;
    bottom: 70px;
    right: 40px;
    display: flex;
    gap: 8px;
}

.browser-progress span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(217, 220, 237, 0.34);
    animation: progress-cycle 9s ease-in-out infinite;
}

.browser-progress span:nth-child(2) { animation-delay: 3s; }
.browser-progress span:nth-child(3) { animation-delay: 6s; }

@keyframes page-cycle {
    0%, 6% {
        opacity: 0;
        transform: translateY(18px) scale(0.98);
    }
    12%, 27% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    33%, 100% {
        opacity: 0;
        transform: translateY(-12px) scale(0.99);
    }
}

@keyframes progress-cycle {
    0%, 8%, 34%, 100% {
        width: 8px;
        background: rgba(217, 220, 237, 0.34);
    }
    12%, 28% {
        width: 28px;
        background: var(--accent-color);
    }
}

@keyframes demo-pulse {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.25);
    }
}

.about-img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0.85) contrast(1.1);
    transition: var(--transition-slow);
}

.about-image-wrapper:hover .about-img {
    transform: scale(1.03);
}

.about-overlay-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: #151d4f;
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(4, 7, 28, 0.36);
}

.badge-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    color: var(--accent-color);
}

.badge-txt {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.3;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.pillar-item {
    background: #151d4f;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 24px;
    transition: var(--transition-normal);
}

.pillar-item:hover {
    background: #1b2460;
    border-color: var(--border-color-hover);
}

.pillar-icon-wrap {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: 12px;
    background: rgba(255, 141, 31, 0.12);
    border: 1px solid rgba(255, 141, 31, 0.28);
    color: var(--accent-color);
}

.pillar-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.pillar-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Contact Section */
.contact-section {
    position: relative;
    padding: 100px 0 120px;
    z-index: 2;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 60px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 30px 70px rgba(4, 7, 28, 0.42),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 100px;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-details {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.info-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    background: #1b2460;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    transition: var(--transition-normal);
    margin-top: 2px;
}

.info-item:hover .info-icon {
    background: var(--accent-color);
    color: #10163f;
    box-shadow: 0 0 15px var(--accent-glow);
}

.info-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-text h4 {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0;
}

.info-text p {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
    margin: 0;
}

/* Premium Form Elements */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    position: relative;
    display: flex;
    flex-direction: column;
}

.form-input {
    background: #1b2460;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 18px 24px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: all var(--transition-normal);
    box-shadow: inset 0 2px 4px rgba(4, 7, 28, 0.24);
}

.form-input:focus {
    border-color: var(--accent-color);
    background: #202a70;
    box-shadow: 0 0 20px rgba(var(--accent-color-rgb), 0.05),
                inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.form-label {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.95rem;
    pointer-events: none;
    transition: var(--transition-normal);
}

.form-group textarea ~ .form-label {
    top: 24px;
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
    top: -10px;
    left: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-color);
    background: var(--bg-dark);
    padding: 2px 8px;
    border-radius: 4px;
}

/* Submit Button & Animations */
.submit-btn {
    align-self: flex-start;
    background: var(--accent-gradient);
    color: #10163f;
    padding: 16px 40px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 10px 25px var(--accent-glow);
    transition: var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px var(--accent-glow);
}

/* Footer Section */
.site-footer {
    position: relative;
    background: #121947;
    border-top: 1px solid var(--border-color);
    padding: 60px 0 40px;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 16px;
    max-width: 320px;
    font-size: 0.95rem;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(3px);
    display: inline-block;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Animations */
@keyframes rotate-orbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.6; }
}

@keyframes fade-slide-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
                letter-spacing 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-up {
    transform: translateY(40px) scale(0.98);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered Delay classes */
.stagger-1 { transition-delay: 0.15s; }
.stagger-2 { transition-delay: 0.3s; }
.stagger-3 { transition-delay: 0.45s; }
.stagger-4 { transition-delay: 0.6s; }

/* Responsive Styling */
@media (max-width: 1024px) {
    .hero-grid, .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .about-visual {
        order: -1;
    }
    .about-content {
        order: 2;
    }
    .about-section {
        padding: 100px 0;
    }
    .hero-visual {
        order: -1;
        height: 380px;
    }
    .showcase-block {
        grid-template-columns: 1fr;
        padding: 30px;
    }
    .showcase-visual {
        height: 300px;
    }
}

/* Old brands mobile block removed — handled by comprehensive mobile section below */

@media (max-width: 768px) {
    .site-header {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: none;
        z-index: 1000;
        transform: translateY(-120%) !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    .site-header.nav-visible {
        transform: translateY(0) !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    .nav-container {
        border-radius: 0;
        border-width: 0 0 1px 0;
        padding: 16px 20px;
    }
    .nav-menu {
        display: none; /* Fallback for hamburger */
    }
    .nav-cta {
        display: block !important;
    }
    .mobile-menu-toggle {
        display: none !important;
    }
    .hero-section {
        min-height: 100vh;
        padding: 92px 0 70px;
    }
    .hero-content.centered .hero-title {
        font-size: 3.35rem;
        line-height: 0.98;
    }
    .hero-content.centered .hero-desc {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    .hero-content.centered .hero-btns {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
    }
    .btn-primary,
    .btn-secondary {
        justify-content: center;
        width: 100%;
        padding: 15px 24px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .contact-card {
        padding: 30px;
    }
    .about-section {
        padding: 80px 0;
    }
    .about-grid {
        gap: 40px;
    }
    .vertical-browser-demo {
        min-height: 360px;
        padding: 32px 20px 76px;
    }
    .browser-frame {
        width: 100%;
        min-height: 240px;
    }
    .browser-page {
        inset: 52px 16px 16px;
    }
    .page-title {
        font-size: 1.35rem;
    }
    .page-grid span {
        height: 44px;
    }
    .browser-progress {
        right: 24px;
        bottom: 56px;
    }
    .about-overlay-badge {
        left: 16px;
        right: 16px;
        bottom: 16px;
        padding: 14px;
    }
    .pillars-grid,
    .about-cards-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        gap: 32px;
    }
}

/* Custom Cursor styles */
.custom-cursor {
    width: 6px;
    height: 6px;
    background-color: var(--accent-color);
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: background-color 0.3s ease;
}

.custom-cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(244, 242, 233, 0.25);
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.08s ease-out, background-color 0.3s ease, border-color 0.3s ease;
}

/* Cursor Hover State */
.custom-cursor-follower.cursor-hover {
    transform: translate(-50%, -50%) scale(1.6);
    background-color: rgba(244, 242, 233, 0.1);
    border-color: var(--accent-color);
    mix-blend-mode: difference;
}

/* Hide default cursor on desktop when custom cursor is active */
@media (min-width: 901px) {
    body, a, button, select, textarea, input, .brand-card {
        cursor: none !important;
    }
}
/* On mobile, completely hide custom cursors */
@media (max-width: 900px) {
    .custom-cursor, .custom-cursor-follower {
        display: none !important;
    }
}

/* Typewriter Title Styles */
.typewriter-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    position: relative;
    min-height: 0;
}

.typewriter-container br {
    display: none;
}

.static-line {
    display: block;
    line-height: 0.9;
    margin-bottom: 0;
    font-weight: 500;
}

.hero-k {
    font-family: var(--font-serif);
    font-style: normal;
    font-weight: 600;
    font-size: 1.08em;
    background: linear-gradient(165deg, #ff8d1f 0%, #f7c184 45%, #fff7ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--accent-color);
    display: inline-block;
    margin-right: -0.03em;
    padding-right: 0.02em;
}

.tagline-row {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    line-height: 0.92;
}

.typewriter-line {
    display: inline-block;
    font-weight: 800;
    line-height: 0.92;
    font-size: 0.58em;
}

.typewriter-caret {
    font-weight: 300;
    color: var(--accent-color);
    animation: caret-blink 0.8s steps(2, start) infinite;
    margin-left: 2px;
    display: inline-block;
    font-size: 0.58em;
}

@keyframes caret-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}



/* Showcase Premium Mockups styling */
.mockup-container {
    width: 100%;
    height: 100%;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* Events Mockup: Luxury Timeline & Stage seating */
.events-mockup {
    width: 100%;
    max-width: 420px;
    background: #151d4f;
    border: 1px solid rgba(255, 141, 31, 0.28);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(4, 7, 28, 0.38);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 141, 31, 0.16);
    padding-bottom: 12px;
}

.mockup-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.mockup-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 100px;
    background: rgba(255, 141, 31, 0.08);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}

.timeline-event {
    display: flex;
    gap: 16px;
    position: relative;
}

.timeline-event:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 49px;
    top: 24px;
    bottom: -16px;
    width: 1px;
    background: rgba(255, 141, 31, 0.22);
}

.event-time {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-color);
    width: 50px;
    text-align: right;
}

.event-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-color);
    margin-top: 4px;
    z-index: 2;
    box-shadow: 0 0 8px var(--accent-color);
}

.event-details {
    flex-grow: 1;
}

.event-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.event-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Jobs Mockup: High-end executive matching profile card */
.jobs-mockup {
    width: 100%;
    max-width: 380px;
    background: #151d4f;
    border: 1px solid rgba(255, 141, 31, 0.28);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(4, 7, 28, 0.38);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.candidate-profile {
    display: flex;
    align-items: center;
    gap: 16px;
}

.candidate-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--accent-color);
    background: rgba(255, 141, 31, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--accent-color);
}

.candidate-info-block {
    flex-grow: 1;
}

.candidate-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.candidate-role {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.match-score-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1b2460;
    border: 1px solid rgba(255, 141, 31, 0.16);
    border-radius: 12px;
    padding: 12px 16px;
}

.match-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.match-score {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent-color);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 100px;
    background: #1b2460;
    border: 1px solid rgba(255, 141, 31, 0.18);
    color: var(--text-secondary);
}

/* Digital Mockup: Developer Console & Interactive Chart */
.digital-mockup {
    width: 100%;
    max-width: 420px;
    background: #151d4f;
    border: 1px solid rgba(255, 141, 31, 0.28);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(4, 7, 28, 0.38);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.console-dots {
    display: flex;
    gap: 6px;
    margin-bottom: 4px;
}

.console-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 141, 31, 0.42);
}

.console-code {
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--text-secondary);
    background: #10163f;
    border: 1px solid rgba(255, 141, 31, 0.16);
    border-radius: 8px;
    padding: 12px;
    white-space: pre-wrap;
    word-break: break-all;
}

.code-keyword { color: var(--accent-color); font-weight: bold; }
.code-string { color: var(--text-muted); }

.metrics-bar-chart {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.chart-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chart-label {
    font-size: 0.7rem;
    width: 80px;
    color: var(--text-muted);
}

.chart-bar-container {
    flex-grow: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(244, 242, 233, 0.05);
}

.chart-bar {
    height: 100%;
    background: var(--accent-color);
    border-radius: 4px;
    width: 0;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 3D Parallax POP-OUT Effect on Cards */
.brand-card .card-inner-grid {
    transform-style: preserve-3d;
}

.brand-card .card-left-col {
    transform-style: preserve-3d;
}

.brand-card .card-icon {
    transform: translateZ(40px) scale(1);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s, color 0.4s;
}

.brand-card:hover .card-icon {
    transform: translateZ(60px) scale(1.05) rotate(5deg);
}

.brand-card .card-title {
    transform: translateZ(30px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-card:hover .card-title {
    transform: translateZ(45px);
}

.brand-card .card-desc {
    transform: translateZ(15px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-card:hover .card-desc {
    transform: translateZ(25px);
}

.brand-card .card-cta-link {
    transform: translateZ(35px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-card:hover .card-cta-link {
    transform: translateZ(50px);
}

.brand-card .card-watermark {
    transform: translateZ(-20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s;
}

.brand-card:hover .card-watermark {
    transform: translateZ(-10px) translateY(5px);
}

.brand-card .card-right-col {
    transform: translateZ(25px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-card:hover .card-right-col {
    transform: translateZ(35px);
}


/* 3D Isometric Showcase mockups floating transitions */
.events-mockup, .jobs-mockup, .digital-mockup {
    transform-style: preserve-3d;
    transform: perspective(1200px) rotateX(15deg) rotateY(-20deg) rotateZ(5deg);
    animation: mockup-float 6s ease-in-out infinite;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.8s;
    box-shadow: -15px 25px 50px rgba(0, 0, 0, 0.8), 
                inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.events-mockup:hover, .jobs-mockup:hover, .digital-mockup:hover {
    transform: perspective(1200px) rotateX(10deg) rotateY(-15deg) rotateZ(3deg) translate3d(5px, -15px, 20px);
    box-shadow: -25px 40px 70px rgba(0, 0, 0, 0.95), 
                inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

@keyframes mockup-float {
    0%, 100% {
        transform: perspective(1200px) rotateX(15deg) rotateY(-20deg) rotateZ(5deg) translateY(0);
    }
    50% {
        transform: perspective(1200px) rotateX(15deg) rotateY(-20deg) rotateZ(5deg) translateY(-12px);
    }
}

/* About Cards Grid */
.about-content {
    width: 100%;
    min-width: 0;
}

.about-cards-grid {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 40px;
    text-align: left;
}

.about-card {
    background: rgba(21, 29, 79, 0.45);
    border: 1px solid rgba(255, 141, 31, 0.15);
    border-radius: 20px;
    padding: 32px 28px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
    min-width: 0;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, #ff8d1f, transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.about-card:hover {
    transform: translateY(-8px);
    background: rgba(30, 40, 100, 0.6);
    border-color: rgba(255, 141, 31, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 
                0 0 20px rgba(255, 141, 31, 0.15);
}

.about-card:hover::before {
    opacity: 1;
}

.blog-section {
    position: relative;
    z-index: 2;
    padding: 0 0 100px;
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 36px;
}

.blog-header .section-title {
    margin-bottom: 0;
}

.blog-controls {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.blog-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 2px 0 10px;
}

.blog-track {
    display: flex;
    gap: 24px;
    width: max-content;
    will-change: transform;
    transform: translateX(0);
}

.blog-card {
    flex: 0 0 min(365px, calc(100vw - 48px));
    background: rgba(21, 29, 79, 0.72);
    border: 1px solid rgba(255, 141, 31, 0.18);
    border-radius: 20px;
    padding: 14px 14px 26px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 20px 50px rgba(4, 7, 28, 0.28);
    transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 141, 31, 0.42);
    background: rgba(27, 36, 96, 0.78);
}

.blog-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(255, 141, 31, 0.18);
    background: #10163f;
    display: block;
    margin-bottom: 4px;
}

.blog-category {
    color: var(--accent-color);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.blog-title {
    color: var(--text-primary);
    font-size: 1.28rem;
    line-height: 1.25;
    letter-spacing: 0;
    margin: 0;
}

.blog-desc {
    color: var(--text-secondary);
    font-size: 0.94rem;
    line-height: 1.65;
    margin: 0;
}

.blog-link {
    color: var(--accent-color);
    font-weight: 800;
    font-size: 0.9rem;
    text-decoration: none;
    margin-top: auto;
}

.blog-arrow {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 141, 31, 0.38);
    background: rgba(16, 22, 63, 0.92);
    color: var(--accent-color);
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 14px 34px rgba(4, 7, 28, 0.38);
    transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.blog-arrow:hover {
    background: #1b2460;
    border-color: rgba(255, 141, 31, 0.72);
    transform: translateY(-2px);
}

.ac-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 141, 31, 0.1);
    color: #ff8d1f;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 141, 31, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.ac-title {
    font-size: 1.45rem;
    color: #fff7ea;
    margin: 0;
}

.ac-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 900px) {
    .about-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .about-cards-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 901px) {
    .about-grid {
        align-items: stretch;
    }

    .about-content {
        width: 100%;
        max-width: none;
    }

    .about-cards-grid {
        width: 100%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }
}

/* Privacy Policy Page */
.policy-page {
    position: relative;
    z-index: 2;
}

.policy-hero {
    padding: 180px 0 70px;
    text-align: center;
    background:
        radial-gradient(circle at 50% 22%, rgba(255, 141, 31, 0.12), transparent 32%),
        linear-gradient(180deg, rgba(21, 29, 79, 0.55), transparent);
}

.policy-title {
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 0.95;
    margin-bottom: 22px;
}

.policy-intro {
    max-width: 720px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1.08rem;
}

.policy-updated {
    margin-top: 20px;
    color: var(--accent-color);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.policy-content-section {
    padding: 0 0 130px;
}

.policy-card {
    max-width: 980px;
    margin: 0 auto;
    padding: 44px;
    border: 1px solid rgba(255, 141, 31, 0.26);
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(255, 247, 234, 0.055), transparent 24%),
        rgba(21, 29, 79, 0.72);
    box-shadow: 0 28px 70px rgba(4, 7, 28, 0.34);
}

.policy-block {
    padding: 28px 0;
    border-bottom: 1px solid rgba(255, 247, 234, 0.09);
}

.policy-block:first-child {
    padding-top: 0;
}

.policy-block:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.policy-block h2 {
    margin-bottom: 10px;
    color: var(--text-primary);
    font-size: 1.35rem;
    letter-spacing: 0;
}

.policy-block p {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.75;
}

.policy-block a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 700;
}

@media (max-width: 768px) {
    .policy-hero {
        padding: 140px 0 50px;
        text-align: left;
    }

    .policy-card {
        padding: 26px;
        border-radius: 18px;
    }

    .policy-content-section {
        padding-bottom: 90px;
    }
}

/* =========================================================
   COMPREHENSIVE MOBILE RESPONSIVENESS FIXES
   ========================================================= */
@media (max-width: 900px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: clip !important;
    }

    .reveal-left,
    .reveal-right {
        transform: translateX(0) !important;
    }

    .site-header {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: none;
        z-index: 1000;
        transform: translateY(-120%) !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    .site-header.nav-visible {
        transform: translateY(0) !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    .nav-container {
        border-radius: 0;
        padding: 15px 20px;
        width: 100%;
        border: none;
    }
    
    /* 1. Typography & Global Spacing */
    .hero-content.centered .hero-title {
        font-size: clamp(3rem, 11vw, 5rem) !important;
        line-height: 1.1;
    }
    .typewriter-line, .typewriter-caret {
        font-size: 0.7em !important;
    }
    .section-title {
        font-size: clamp(1.8rem, 8vw, 2.2rem) !important;
        word-wrap: break-word;
    }
    .hero-section {
        padding: 80px 0 40px !important;
        min-height: auto !important;
    }
    .brands-inner {
        padding-top: 40px !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }
    .about-section, .contact-section {
        padding: 40px 0 !important;
    }

    /* 2. Header / Nav */
    .nav-container {
        padding: 12px 16px !important;
    }
    .site-logo {
        height: 32px !important;
    }
    .nav-cta {
        padding: 8px 18px !important;
        font-size: 0.85rem !important;
    }

    /* 3. Brands Section — Mobile: disable sticky scroll, show as normal stacked cards */
    .brands-scroll-wrapper {
        height: 300vh !important;
        min-height: 2400px !important;
    }
    .brands-sticky-viewport {
        position: sticky !important;
        top: 0 !important;
        height: 100svh !important;
        min-height: 720px !important;
        justify-content: flex-start !important;
        overflow: hidden !important;
    }
    .brands-inner {
        padding-top: 84px !important;
        padding-bottom: 24px !important;
        height: 100%;
        justify-content: flex-start !important;
    }
    .brands-card-stage {
        position: relative !important;
        height: min(560px, calc(100svh - 230px)) !important;
        min-height: 470px !important;
        display: block !important;
        overflow: hidden !important;
        margin-bottom: 0 !important;
        border-radius: 18px !important;
    }
    .brand-card {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        opacity: 0 !important;
        transform: translateY(105%) !important;
        padding: 24px 18px !important;
        display: flex !important;
        pointer-events: none !important;
        overflow-y: auto !important;
    }
    /* Force all cards visible on mobile */
    .brand-card.card-active {
        opacity: 1 !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
    }
    .brand-card.card-past {
        opacity: 0 !important;
        transform: translateY(-105%) !important;
        pointer-events: none !important;
    }
    .card-title {
        font-size: 1.4rem !important;
        margin-top: 10px !important;
        margin-bottom: 8px !important;
    }
    .card-desc {
        font-size: 0.9rem !important;
        margin-bottom: 12px !important;
        line-height: 1.4 !important;
    }
    .card-inner-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .card-right-col {
        border-left: none !important;
        border-top: 1px solid rgba(255, 141, 31, 0.16) !important;
        padding-left: 0 !important;
        padding-top: 16px !important;
        justify-content: flex-start !important;
    }
    .card-icon {
        width: 36px !important;
        height: 36px !important;
    }
    .card-icon svg {
        width: 20px !important;
        height: 20px !important;
    }
    .card-features li {
        font-size: 0.85rem !important;
        margin-bottom: 8px !important;
    }

    /* 4. About & Contact Grids */
    .about-grid, .pillars-grid, .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .about-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .about-card {
        padding: 22px 18px !important;
    }
    .blog-section {
        padding: 0 0 50px !important;
    }
    .blog-header {
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 10px !important;
        margin-bottom: 22px !important;
    }
    .blog-controls {
        align-self: flex-end !important;
    }
    .blog-track {
        gap: 16px !important;
    }
    .blog-card {
        flex-basis: calc(100vw - 48px) !important;
        padding: 12px 12px 22px !important;
        border-radius: 16px !important;
    }
    .blog-image {
        border-radius: 12px !important;
    }
    .blog-arrow {
        width: 40px !important;
        height: 40px !important;
    }
    .form-row {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
    
    /* 5. Browser Demo fixes */
    .browser-frame {
        width: 100% !important;
    }
    .browser-url {
        font-size: 0.65rem !important;
    }
    .page-title {
        font-size: 1.25rem !important;
    }
    .candidate-row {
        width: 100% !important;
    }
    
    /* 6. Footer fixes */
    .site-footer {
        padding: 40px 0 20px !important;
    }
    .footer-grid {
        gap: 25px !important;
        margin-bottom: 30px !important;
    }
    .footer-brand p {
        margin-top: 10px !important;
        font-size: 0.85rem !important;
    }
    .footer-title {
        margin-bottom: 12px !important;
        font-size: 1rem !important;
    }
    .footer-links {
        gap: 8px !important;
    }
    .footer-links a {
        font-size: 0.85rem !important;
    }
}

@media (max-width: 480px) {
    .hero-content.centered .hero-title {
        font-size: clamp(2.8rem, 12vw, 3.5rem) !important;
    }
    .typewriter-line, .typewriter-caret {
        font-size: 0.75em !important;
    }
    .hero-btns {
        flex-direction: column !important;
        width: 100% !important;
    }
    .btn-primary, .btn-secondary, .card-cta-link {
        width: 100% !important;
        max-width: 100% !important;
        justify-content: center !important;
        white-space: normal !important;
        text-align: center !important;
    }
}
