/* ============================================
   EXCELMEDIAUK 2.0 — RESEND-INSPIRED STYLE
   Clean. Minimal. Professional.
   ============================================ */

/* === VARIABLES === */
:root {
    --bg: #000000;
    --bg-secondary: #0a0a0a;
    --bg-card: #111111;
    --bg-card-hover: #191919;
    --text: #ededed;
    --text-secondary: #a1a1a1;
    --text-muted: #666666;
    --accent: #ffffff;
    --gold: #c9a961;
    --gold-soft: #d4b87a;
    --gold-deep: #8a7340;
    --gold-glow: rgba(201, 169, 97, 0.18);
    --border: rgba(255,255,255,0.06);
    --border-hover: rgba(255,255,255,0.12);
    --border-gold: rgba(201, 169, 97, 0.35);
    /* Haugen IT brand blue */
    --blue: #0919A4;
    --blue-soft: #3849E6;
    --blue-bright: #5263FF;
    --blue-glow: rgba(82, 99, 255, 0.28);
    --border-blue: rgba(82, 99, 255, 0.35);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --transition: 0.3s ease;
    --transition-fast: 0.15s ease;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Syne', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Syne', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* === GOLD SHINE TEXT === */
.shine-text {
    background: linear-gradient(120deg, #f3dca0 0%, #c9a961 38%, #f3dca0 60%, #8a7340 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline;
    animation: shineGold 6s linear infinite;
}

@keyframes shineGold {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* === RESET === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #333 #000;
}

html::-webkit-scrollbar { width: 6px; }
html::-webkit-scrollbar-track { background: #000; }
html::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }

body {
    font-family: var(--font-primary);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

/* Resend-style ambient background */
.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140%;
    height: 60%;
    background: radial-gradient(ellipse at center bottom, rgba(30,28,26,0.8) 0%, rgba(18,16,14,0.4) 35%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 30%;
    width: 50%;
    height: 50%;
    background: radial-gradient(ellipse at center, rgba(60,55,48,0.15) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
    filter: blur(60px);
}

a { text-decoration: none; color: inherit; }
button, input, textarea, select { font-family: inherit; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === DISABLE V1 EFFECTS === */
.noise-overlay { display: none; }
.hero-gradient-orb { display: none; }
.section-bg-canvas { display: none; }

/* === NAVIGATION === */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 0 24px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    background: transparent;
    transition: background 0.3s ease;
}

.nav.scrolled {
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav-logo {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: opacity var(--transition-fast);
}

.nav-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-logo:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.nav-links a:hover { color: var(--text); }

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.nav-login {
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.nav-login:hover { color: var(--text); }

.nav-cta-btn {
    padding: 8px 18px;
    font-size: 0.8125rem;
    border-radius: 100px;
    border: 1px solid rgba(201, 169, 97, 0.4);
    background: transparent;
    color: var(--gold-soft);
    font-weight: 600;
    transition: all var(--transition-fast);
}

.nav-cta-btn:hover {
    background: rgba(201, 169, 97, 0.08);
    border-color: var(--gold);
    color: #f3dca0;
}

/* Nav Dropdowns */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--text-muted);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 0;
    transition: color var(--transition-fast);
}

.nav-dropdown-trigger svg {
    transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-trigger {
    color: var(--gold-soft);
}

.nav-dropdown:hover .nav-dropdown-trigger svg {
    transform: rotate(180deg);
    color: var(--gold);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    min-width: 300px;
    background: linear-gradient(180deg, rgba(18,16,12,0.96) 0%, rgba(10,9,7,0.96) 100%);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border: 1px solid rgba(201, 169, 97, 0.18);
    border-radius: var(--radius);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(6px) scale(0.98);
    transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.22s ease;
    pointer-events: none;
    z-index: 100;
    box-shadow:
        0 24px 48px -12px rgba(0,0,0,0.7),
        0 0 0 1px rgba(0,0,0,0.4),
        0 0 36px -8px rgba(201, 169, 97, 0.18),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

.nav-dropdown-menu::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 24px;
    right: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(201,169,97,0.6) 50%, transparent 100%);
    pointer-events: none;
}

/* Invisible bridge so the mouse can travel from trigger to dropdown */
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -16px;
    left: 0;
    width: 100%;
    height: 16px;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
    pointer-events: auto;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast), transform var(--transition-fast);
    position: relative;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 0;
    background: linear-gradient(180deg, var(--gold-soft), var(--gold));
    border-radius: 2px;
    transition: height 0.2s ease;
}

.dropdown-item:hover {
    background: linear-gradient(90deg, rgba(201,169,97,0.08) 0%, rgba(201,169,97,0.02) 100%);
}

.dropdown-item:hover::before {
    height: 60%;
}

.dropdown-item:hover .dropdown-icon {
    border-color: rgba(201, 169, 97, 0.4);
    color: var(--gold-soft);
    background: linear-gradient(135deg, rgba(201,169,97,0.12) 0%, rgba(201,169,97,0.03) 100%);
    box-shadow: 0 0 18px -4px rgba(201,169,97,0.35);
}

.dropdown-item:hover .dropdown-title {
    color: var(--gold-soft);
}

.dropdown-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    border: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
    color: rgba(200,195,180,0.55);
    transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.dropdown-title {
    font-size: 0.8625rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 3px;
    letter-spacing: -0.005em;
    transition: color var(--transition-fast);
}

.dropdown-desc {
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 24px;
    height: 1.5px;
    background: var(--text);
    transition: var(--transition);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu.active { opacity: 1; visibility: visible; }

.mobile-menu-links {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-link {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    transition-delay: calc(var(--i) * 0.05s);
}

.mobile-menu.active .mobile-link { opacity: 1; transform: translateY(0); }
.mobile-link:hover { color: var(--text-muted); }

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    outline: none;
    cursor: pointer;
}

.btn::before { display: none; }

.btn-primary {
    background: linear-gradient(135deg, #f3dca0 0%, var(--gold) 50%, var(--gold-deep) 100%);
    color: #1a1408;
    border: 1px solid rgba(243, 220, 160, 0.5);
    box-shadow: 0 8px 24px -8px rgba(201, 169, 97, 0.55), inset 0 1px 0 rgba(255,255,255,0.35);
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px -6px rgba(201, 169, 97, 0.7), inset 0 1px 0 rgba(255,255,255,0.45);
    border-color: rgba(243, 220, 160, 0.8);
}

.btn-outline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--border-hover);
    color: var(--text);
}

.btn-full { width: 100%; justify-content: center; }
.magnetic { transition: transform 0.2s ease; }

/* === HERO === */
.hero {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 24px 56px;
    overflow: hidden;
}

.hero-split {
    display: grid;
    grid-template-columns: 0.6fr 2fr;
    align-items: center;
    gap: 24px;
    position: relative;
}

.hero-text {
    text-align: left;
    position: relative;
    z-index: 2;
    padding-left: 0;
    margin-left: -40px;
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Light beam from top-right corner, angled diagonally down-left */
.hero-visual::before {
    content: '';
    position: absolute;
    top: -250px;
    right: -150px;
    width: 500px;
    height: 900px;
    background: linear-gradient(
        225deg,
        rgba(255,255,255,0.10) 0%,
        rgba(255,255,255,0.04) 18%,
        rgba(255,255,255,0.01) 35%,
        transparent 55%
    );
    transform: rotate(-10deg);
    transform-origin: top right;
    pointer-events: none;
    z-index: 3;
    filter: blur(25px);
}

.hero-visual::after {
    content: '';
    position: absolute;
    top: -180px;
    right: -80px;
    width: 200px;
    height: 700px;
    background: linear-gradient(
        225deg,
        rgba(255,255,255,0.07) 0%,
        rgba(255,255,255,0.025) 25%,
        transparent 50%
    );
    transform: rotate(-10deg);
    transform-origin: top right;
    pointer-events: none;
    z-index: 3;
    filter: blur(8px);
}

.hero-visual #hero-3d {
    width: 100%;
    max-width: 1400px;
    aspect-ratio: 1;
    margin-left: 120px;
}

.hero-visual #hero-3d canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.hero-gradient-fade {
    position: relative;
    height: 120px;
    margin-top: -120px;
    background: linear-gradient(to bottom, transparent, var(--bg));
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    max-width: 780px;
    text-align: center;
    position: relative;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 20px;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    background: linear-gradient(to bottom, #ffffff 0%, #ffffff 60%, rgba(255,255,255,0.55) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-line { display: block; }
.title-word { display: inline-block; margin-right: 0.15em; }

.gradient-text {
    background: linear-gradient(to right, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-avail {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--gold-soft);
    letter-spacing: 0.08em;
    margin-bottom: 16px;
    text-transform: uppercase;
    padding: 0;
    border: none;
    background: none;
    box-shadow: none;
}

.hero-avail-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse-dot 2s ease-in-out infinite;
    flex-shrink: 0;
}

.hero-sub {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0 0 28px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.hero-btn.primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    background: linear-gradient(135deg, #e8cf8d 0%, var(--gold) 50%, var(--gold-deep) 100%);
    border: 1px solid rgba(201, 169, 97, 0.6);
    color: #1a1408;
    transition: all var(--transition-fast);
    box-shadow:
        0 8px 24px -8px rgba(201, 169, 97, 0.55),
        inset 0 1px 0 rgba(255,255,255,0.35);
    letter-spacing: 0.01em;
}

.hero-btn.primary:hover {
    transform: translateY(-1px);
    box-shadow:
        0 12px 28px -6px rgba(201, 169, 97, 0.65),
        inset 0 1px 0 rgba(255,255,255,0.45);
    border-color: rgba(243, 220, 160, 0.8);
}

.hero-btn.secondary {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.hero-btn.secondary:hover {
    color: var(--text);
}

/* Stats rail — right column with 3D matte bar slide-ins */
.hero-stats-rail {
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 4;
}

.stat-bar {
    padding: 18px 28px;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    /* 3D perspective tilt */
    transform: perspective(600px) rotateY(-4deg) translateX(80px);
    opacity: 0;
    animation: statBarSlide 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        0 4px 20px rgba(0,0,0,0.4);
}

/* Matte surface sheen */
.stat-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.stat-bar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.02));
    pointer-events: none;
}

.stat-bar:nth-child(1) { animation-delay: 0.5s; }
.stat-bar:nth-child(2) { animation-delay: 0.75s; }
.stat-bar:nth-child(3) { animation-delay: 1.0s; }

@keyframes statBarSlide {
    to {
        opacity: 1;
        transform: perspective(600px) rotateY(-4deg) translateX(0);
    }
}

.stat-bar .stat-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}

.stat-bar .stat-prefix,
.stat-bar .stat-suffix {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.stat-bar .stat-label {
    display: block;
    font-size: 0.6875rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.hero-stat { text-align: center; }

.hero-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}

.hero-stat-number { font-variant-numeric: tabular-nums; }
.hero-stat-prefix, .hero-stat-suffix { font-weight: 400; color: var(--text-muted); }

.hero-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.hero-stat-divider {
    width: 1px;
    height: 32px;
    background: var(--border);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: var(--border);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    animation: scrollDown 2.5s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { top: -100%; }
    100% { top: 100%; }
}

.hero-scroll-indicator span {
    font-size: 0.625rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* === REVEAL ANIMATIONS === */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    transition-delay: var(--delay, 0s);
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === SECTION STYLING === */
.section-header {
    text-align: center;
    margin-bottom: 28px;
}

.section-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-soft);
    margin-bottom: 14px;
}

.section-title {
    font-family: var(--font-primary);
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
}

/* === PARTNERS === */
.sponsors-section {
    padding: 32px 0 28px;
    border-top: 1px solid var(--border);
    position: relative;
}

.partners-reveal {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.partners-line { display: none; }

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.partners-reveal.revealed .partner-card {
    opacity: 1;
    clip-path: none;
}

.partner-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: border-color var(--transition-fast), transform 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.partner-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.partner-card img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}

.partner-card img[src$=".svg"] {
    opacity: 0.7;
}

.partner-card img[src$=".png"] {
    filter: brightness(0) invert(1);
    opacity: 0.7;
}

.partner-card span {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
    transition: color var(--transition-fast);
}

.partner-card:hover span { color: var(--text-secondary); }
.partner-card:hover img { opacity: 1; }

/* === TRUST BADGES === */
.trust-badges-section {
    padding: 28px 0 40px;
    border-bottom: 1px solid var(--border);
}

.trust-label {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.trust-badge svg { opacity: 0.4; }
.trust-badge span { font-size: 0.8125rem; font-weight: 500; }
.trust-badge:hover { color: var(--text-secondary); }
.trust-badge:hover svg { opacity: 0.6; }

/* === SERVICES === */
.services {
    padding: 48px 0;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.service-card {
    background: var(--bg);
    padding: 44px 36px;
    position: relative;
    transition: background var(--transition);
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0.3) 100%);
    transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover {
    background: var(--bg-card);
    transform: none;
    box-shadow: none;
}

.service-card:hover::after {
    width: 100%;
}

.service-card::before { display: none; }

.service-num {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(201, 169, 97, 0.35);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.06em;
    transition: color var(--transition);
}

.service-card:hover .service-num {
    color: var(--gold-soft);
}

.service-number {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    position: static;
    background: none;
    -webkit-text-fill-color: var(--text-muted);
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: transparent;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    border-color: var(--border-hover);
    color: var(--text);
    background: rgba(255,255,255,0.03);
    transform: none;
}

.service-card h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.service-card p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.service-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.service-tags span {
    padding: 3px 10px;
    border-radius: 100px;
    border: 1px solid var(--border);
    font-size: 0.6875rem;
    color: var(--text-muted);
    transition: border-color var(--transition-fast);
}

.service-card:hover .service-tags span { border-color: var(--border-hover); }
.service-arrow { display: none; }

/* === PORTFOLIO === */
.portfolio {
    padding: 48px 0 40px;
    position: relative;
}

.portfolio-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pf-card {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
    text-decoration: none;
    color: inherit;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.pf-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.pf-card:nth-child(even) {
    direction: rtl;
}
.pf-card:nth-child(even) > * {
    direction: ltr;
}

.pf-card-img {
    position: relative;
    overflow: hidden;
    min-height: 300px;
}

.pf-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.pf-card:hover .pf-card-img img {
    transform: scale(1.04);
}

.pf-card-img.pf-dark-bg {
    background: #000;
}

.pf-card-img .pf-contain {
    object-fit: contain;
    padding: 32px;
}

.pf-card-content {
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pf-badge {
    display: inline-block;
    width: fit-content;
    padding: 4px 12px;
    border-radius: 6px;
    background: rgba(200,200,210,0.08);
    border: 1px solid rgba(200,200,210,0.2);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: rgba(220,220,230,0.85);
    margin-bottom: 16px;
}

.pf-card-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}

.pf-card-content p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin: 0;
}

.pf-stats {
    display: flex;
    gap: 32px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.pf-stat {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.pf-stat-val {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(120deg, #f3dca0 0%, #c9a961 50%, #8a7340 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.pf-stat-lbl {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .pf-card {
        grid-template-columns: 1fr;
    }
    .pf-card:nth-child(even) {
        direction: ltr;
    }
    .pf-card-img {
        min-height: 220px;
    }
    .pf-card-content {
        padding: 28px 24px;
    }
}

/* === TEXT REVEAL === */
.text-reveal-section {
    padding: 48px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.big-text-reveal {
    font-size: clamp(1.75rem, 4.5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    letter-spacing: -0.03em;
}

.reveal-word {
    display: inline-block;
    margin-right: 0.18em;
    opacity: 0.12;
    transition: opacity 0.5s ease;
    transition-delay: calc(var(--i) * 0.04s);
}

.reveal-word.visible { opacity: 1; }

/* === PROCESS === */
.process {
    padding: 48px 0;
    background: var(--bg-secondary);
    position: relative;
}

.process-timeline {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
}

.process-line {
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--border);
}

.process-line-fill {
    width: 100%;
    height: 0%;
    background: #fff;
    transition: height 0.3s linear;
}

.process-step {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    margin-bottom: 32px;
    position: relative;
}

.process-step:last-child { margin-bottom: 0; }

.process-step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
    z-index: 1;
}

.process-step-number span {
    font-weight: 600;
    font-size: 0.8125rem;
    color: var(--text-muted);
    transition: color var(--transition);
}

.process-step.active .process-step-number {
    border-color: #fff;
    background: #fff;
}

.process-step.active .process-step-number span { color: #000; }

.process-step-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 6px;
    padding-top: 4px;
    letter-spacing: -0.01em;
}

.process-step-content p {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* === RESULTS === */
.results {
    padding: 48px 0;
    background: var(--bg);
    position: relative;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
    perspective: 800px;
}

.result-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 32px 28px;
    transition: border-color var(--transition), box-shadow var(--transition), transform 0.35s cubic-bezier(.22,.68,0,.71);
    overflow: hidden;
    transform-style: preserve-3d;
    will-change: transform;
}

.result-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

.result-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    transform: translateZ(30px);
    transition: transform 0.35s cubic-bezier(.22,.68,0,.71);
}

.chart-wrap {
    display: flex;
    gap: 8px;
    transform: translateZ(10px);
    transition: transform 0.35s cubic-bezier(.22,.68,0,.71);
}

.result-metric-val {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    background: linear-gradient(135deg, #f3dca0 0%, var(--gold) 50%, #8a7340 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 24px rgba(201, 169, 97, 0.18);
}

.result-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 4px;
    letter-spacing: 0.01em;
}

.result-badge {
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    flex-shrink: 0;
    margin-top: 8px;
}

.result-badge-green {
    background: rgba(200,200,210,0.1);
    border: 1px solid rgba(200,200,210,0.25);
    color: rgba(220,220,230,0.85);
}

.result-badge-blue {
    background: rgba(200,200,210,0.1);
    border: 1px solid rgba(200,200,210,0.25);
    color: rgba(220,220,230,0.85);
}

.result-desc {
    font-size: 0.825rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0 0 24px;
}

/* Chart */
.chart-y-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 0.6rem;
    font-weight: 500;
    color: rgba(255,255,255,0.25);
    padding: 0 0 20px;
    min-width: 36px;
    text-align: right;
}

.chart-area {
    flex: 1;
    min-width: 0;
}

.chart-svg {
    width: 100%;
    height: 200px;
    display: block;
}

.chart-grid {
    stroke: rgba(255,255,255,0.06);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
}

.chart-fill {
    fill: rgba(200,200,220,0.08);
}

.chart-fill-blue {
    fill: rgba(200,200,220,0.08);
}

.chart-line {
    fill: none;
    stroke: rgba(210,210,225,0.7);
    stroke-width: 2.5;
    vector-effect: non-scaling-stroke;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.chart-line-blue {
    stroke: rgba(210,210,225,0.7);
}

.chart-dots circle {
    fill: rgba(220,220,235,0.85);
}

.chart-dots-blue circle {
    fill: rgba(220,220,235,0.85);
}

.chart-x-axis {
    display: flex;
    justify-content: space-between;
    font-size: 0.6rem;
    font-weight: 500;
    color: rgba(255,255,255,0.25);
    margin-top: 8px;
    padding: 0 0 0 0;
}

/* Old result styles kept for compat */
.result-banner { display: none; }
.result-body { padding: 28px 32px 32px; }
.result-client { display: none; }
.result-metric { display: none; }
.result-bars { display: none; }
.result-tag { display: none; }

/* === CONTACT === */
.contact {
    padding: 56px 0 64px;
    border-top: 1px solid var(--border);
    position: relative;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-info .section-title {
    text-align: left;
    font-size: 2.8rem;
    line-height: 1.15;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
}

.contact-info .section-tag { text-align: left; margin-bottom: 16px; }

.contact-info > p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 380px;
}

.contact-details { display: flex; flex-direction: column; gap: 14px; }

.contact-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.contact-detail svg { color: rgba(255,255,255,0.35); flex-shrink: 0; }

.contact-socials { display: flex; gap: 10px; margin-top: 28px; }

.contact-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--border);
    color: var(--text-muted);
    transition: var(--transition);
}

.contact-social-link svg { width: 18px; height: 18px; }
.contact-social-link:hover { border-color: var(--border-hover); color: var(--text); background: rgba(255,255,255,0.04); }

.contact-trust {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.trust-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: rgba(200,200,215,0.65);
}

.trust-val {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
}

.trust-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 1px;
}

.contact-availability {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(200,200,215,0.6);
}

.avail-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse-dot 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

.form-note {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 36px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.75rem; font-weight: 600; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.05em; }

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.03);
    color: var(--text);
    font-size: 0.875rem;
    transition: border-color var(--transition-fast), background var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.05);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.2);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    color-scheme: dark;
}

.form-group select option {
    background: #1a1a1e;
    color: #e0e0e0;
    padding: 8px;
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #f3dca0 0%, var(--gold) 50%, var(--gold-deep) 100%);
    color: #1a1408;
    border: 1px solid rgba(243, 220, 160, 0.55);
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 4px;
    box-shadow: 0 10px 28px -8px rgba(201, 169, 97, 0.55), inset 0 1px 0 rgba(255,255,255,0.35);
    letter-spacing: 0.01em;
}

.submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 34px -6px rgba(201, 169, 97, 0.7), inset 0 1px 0 rgba(255,255,255,0.45);
    border-color: rgba(243, 220, 160, 0.85);
}

/* === CTA SECTION === */
.cta-section {
    padding: 56px 0;
    background: var(--bg-secondary);
}

.cta-block {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.03em;
    line-height: 1.3;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    margin-bottom: 24px;
}

.cta-actions .btn-primary {
    padding: 16px 40px;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 8px;
    letter-spacing: -0.01em;
}

.cta-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.underline-accent {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
    text-decoration-color: var(--gold);
    color: var(--gold-soft);
}

/* === MARQUEE === */
.marquee-section {
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    background: var(--bg);
}

.marquee { overflow: hidden; white-space: nowrap; }

.marquee-content {
    display: inline-flex;
    gap: 32px;
    animation: marqueeScroll 40s linear infinite;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.marquee-content span { flex-shrink: 0; }
.marquee-dot { color: var(--text-muted) !important; font-size: 0.6em; }

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* === FOOTER === */
.footer {
    padding: 60px 0 32px;
    border-top: 1px solid var(--border);
    background: var(--bg);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand { max-width: 280px; }

.footer-logo {
    font-family: var(--font-primary);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.footer-col { display: flex; flex-direction: column; gap: 10px; }

.footer-col h4 {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.footer-col a {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-col a:hover { color: var(--text); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom span { font-size: 0.75rem; color: var(--text-muted); }

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.footer-legal a:hover { color: var(--text); }

.page-footer {
    padding: 32px 0;
    border-top: 1px solid var(--border);
}

.page-footer p {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
}

/* === SIDE PANEL === */
.side-panel-trigger {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 998;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.side-panel-trigger span {
    display: block;
    width: 16px;
    height: 1.5px;
    background: var(--text-muted);
    border-radius: 1px;
    transition: var(--transition);
}

.side-panel-trigger:hover { border-color: var(--border-hover); }
.side-panel-trigger:hover span { background: var(--text); }

.side-panel-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1099;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.side-panel-overlay.active { opacity: 1; visibility: visible; }

.side-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    max-width: 90vw;
    height: 100%;
    background: #0a0a0a;
    border-left: 1px solid var(--border);
    z-index: 1100;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

.side-panel.active { transform: translateX(0); }

.side-panel-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.side-panel-close:hover { border-color: var(--border-hover); color: var(--text); }

.side-panel-content {
    padding: 72px 32px 32px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.side-panel-header { margin-bottom: 48px; }

.side-panel-header .logo-text,
.side-panel-header .logo-accent,
.side-panel-header .logo-uk { font-size: 1.05rem; }

.side-panel-nav { display: flex; flex-direction: column; flex: 1; }

.side-panel-link {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 12px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.side-panel-link:first-child { border-top: 1px solid var(--border); }
.side-panel-link:hover { padding-left: 4px; }

.side-panel-link-number { font-size: 0.6875rem; font-weight: 500; color: var(--text-muted); letter-spacing: 0.05em; }

.side-panel-link-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
    transition: color var(--transition-fast);
}

.side-panel-link:hover .side-panel-link-text { color: var(--text-secondary); }

.side-panel-link-sub { width: 100%; font-size: 0.75rem; color: var(--text-muted); }

.side-panel-footer { margin-top: auto; padding-top: 32px; }
.side-panel-footer p { font-size: 0.75rem; color: var(--text-muted); }

/* === INTRO LOADER === */
.intro-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999;
    background: #000;
    overflow: hidden;
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.intro-loader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.intro-loader.hidden {
    display: none;
}

.intro-loader .intro-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 25% center;
    opacity: 0;
    animation: introVideoIn 1.5s 0.2s ease forwards;
    /* Prevent native controls / play button on mobile */
    pointer-events: none;
}

.intro-loader .intro-video::-webkit-media-controls {
    display: none !important;
}

.intro-loader .intro-video::-webkit-media-controls-start-playback-button {
    display: none !important;
}

@keyframes introVideoIn {
    to { opacity: 1; }
}

.intro-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.15) 100%);
    z-index: 1;
}

.intro-content {
    text-align: center;
    max-width: 640px;
    padding: 0 24px;
}

.intro-line {
    font-family: 'Inter', sans-serif;
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    margin: 0;
}

.intro-line-1 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.3;
    animation: introLineIn 0.8s 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.intro-line-2 {
    font-size: clamp(0.95rem, 1.8vw, 1.125rem);
    font-weight: 400;
    color: rgba(255,255,255,0.6);
    margin-top: 12px;
    line-height: 1.6;
    animation: introLineIn 0.8s 1.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.intro-line-3 {
    font-size: clamp(1.1rem, 2.2vw, 1.5rem);
    font-weight: 700;
    margin-top: 24px;
    letter-spacing: -0.02em;
    animation: introLineIn 0.8s 2.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes introLineIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.intro-skip {
    position: absolute;
    bottom: 32px;
    right: 32px;
    z-index: 2;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.6);
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0;
    animation: introSkipIn 0.5s 2.8s ease forwards;
    transition: background 0.25s, color 0.25s;
}

.intro-skip:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

@keyframes introSkipIn {
    to { opacity: 1; }
}

/* === VIDEO SHOWCASE (OBJ-style) === */
.showcase {
    padding: 48px 0 32px;
}

.showcase-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 36px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.showcase-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.showcase-row.reverse {
    grid-template-columns: 1fr 1.2fr;
}

.showcase-row.reverse .showcase-video-side {
    order: 2;
}

.showcase-row.reverse .showcase-text-side {
    order: 1;
}

.showcase-video-side {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 40px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.06);
}

.showcase-video-side video {
    width: 100%;
    display: block;
    border-radius: 12px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.showcase-text-side {
    padding: 20px 0;
}

.showcase-text-side h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.showcase-text-side p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 420px;
}

.showcase-source {
    display: inline-block;
    margin-top: 16px;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: color 0.25s;
}

.showcase-source:hover {
    color: #fff;
}

/* === PROCESS STEP (used in #process) === */
.process-step .step-number {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(201,169,97,0.14) 0%, rgba(201,169,97,0.03) 100%);
    border: 1px solid rgba(201, 169, 97, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--gold-soft);
    letter-spacing: 0.04em;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 0 22px -8px rgba(201,169,97,0.4);
    transition: all var(--transition);
}

.process-step:hover .step-number {
    border-color: rgba(243, 220, 160, 0.6);
    color: #f3dca0;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 0 28px -6px rgba(201,169,97,0.6);
}

.process-step .step-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 6px;
    padding-top: 6px;
    letter-spacing: -0.01em;
}

.process-step .step-content p {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 520px;
}

/* === PARTNERS MARQUEE === */
.partners {
    padding: 28px 0 24px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    position: relative;
    background: var(--bg);
}

.partners-marquee {
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.partners-track {
    display: flex;
    gap: 14px;
    width: max-content;
    animation: partnersMarquee 38s linear infinite;
}

.partners:hover .partners-track {
    animation-play-state: paused;
}

@keyframes partnersMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.partners-track .partner-card { flex-shrink: 0; }

/* === SHOWCASE COMPACT GRID === */
.showcase-compact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.showcase-tile {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
    transition: border-color var(--transition), transform var(--transition);
}

.showcase-tile:hover {
    border-color: rgba(201, 169, 97, 0.3);
    transform: translateY(-2px);
}

.showcase-tile-wide {
    grid-column: 1 / -1;
    flex-direction: row;
}

.showcase-tile-wide .showcase-tile-media {
    flex: 1.4;
    min-height: 220px;
}

.showcase-tile-dashboard {
    aspect-ratio: auto !important;
    min-height: 640px !important;
    background: radial-gradient(ellipse at 30% 0%, rgba(201,169,97,0.05) 0%, transparent 60%), linear-gradient(180deg, #0a0a0c 0%, #050506 100%);
    padding: 16px;
    display: flex;
}

/* === FAKE INTERACTIVE DASHBOARD (PRO) === */
.fake-dashboard {
    flex: 1;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 12px;
    background: linear-gradient(180deg, rgba(20,18,22,0.9) 0%, rgba(8,7,9,0.95) 100%);
    border: 1px solid rgba(201, 169, 97, 0.18);
    border-radius: 16px;
    padding: 16px;
    color: var(--text);
    font-size: 0.85rem;
    box-shadow:
        0 40px 80px -30px rgba(0,0,0,0.8),
        inset 0 1px 0 rgba(255,255,255,0.04);
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(10px);
}

.fake-dashboard::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(201,169,97,0.5) 50%, transparent 100%);
    z-index: 1;
}

.fake-dashboard::after {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, rgba(201,169,97,0.08) 0%, transparent 30%, transparent 70%, rgba(201,169,97,0.05) 100%);
    border-radius: 16px;
    pointer-events: none;
    mix-blend-mode: overlay;
}

/* Header */
.fd-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.fd-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.fd-logo {
    width: 28px; height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(201,169,97,0.18) 0%, rgba(201,169,97,0.04) 100%);
    border: 1px solid rgba(201,169,97,0.35);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 14px -2px rgba(201,169,97,0.3), inset 0 1px 0 rgba(255,255,255,0.05);
    overflow: hidden;
    flex-shrink: 0;
}

.fd-logo img {
    width: 86%;
    height: 86%;
    object-fit: contain;
    display: block;
}

.fd-brand-name { font-size: 0.95rem; color: var(--text); }
.fd-brand-sub { color: var(--text-muted); font-weight: 500; font-size: 0.78rem; margin-left: 2px; }

.fd-header-right {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.fd-live {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 0.72rem;
    color: var(--text-muted);
    background: rgba(110,231,183,0.06);
    border: 1px solid rgba(110,231,183,0.18);
    padding: 5px 11px;
    border-radius: 999px;
    letter-spacing: 0.02em;
}
.fd-live span#fdLive { color: #6ee7b7; font-weight: 700; font-variant-numeric: tabular-nums; }

.fd-live-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: #6ee7b7;
    box-shadow: 0 0 8px rgba(110,231,183,0.7);
    animation: fdPulse 1.6s ease-in-out infinite;
}

.fd-range {
    display: inline-flex;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 999px;
    padding: 3px;
}

.fd-range-btn,
.fd-toggle-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 5px 11px;
    border-radius: 999px;
    cursor: pointer;
    letter-spacing: 0.02em;
    transition: color 0.2s ease, background 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
}

.fd-range-btn:hover,
.fd-toggle-btn:hover { color: var(--text); }

.fd-range-btn.is-active,
.fd-toggle-btn.is-active {
    background: linear-gradient(180deg, rgba(201,169,97,0.22), rgba(201,169,97,0.1));
    color: var(--gold-soft);
    box-shadow: inset 0 0 0 1px rgba(201,169,97,0.35);
}

.fd-toggle-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }

/* KPIs */
.fd-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.fd-kpi {
    background: linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0) 100%);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 11px 13px 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
    color: var(--gold-soft);
}

.fd-kpi:hover {
    border-color: rgba(201,169,97,0.4);
    transform: translateY(-2px);
    background: linear-gradient(180deg, rgba(201,169,97,0.05) 0%, rgba(255,255,255,0) 100%);
}

.fd-kpi-top {
    display: flex; justify-content: space-between; align-items: center;
    gap: 6px;
    min-width: 0;
}

.fd-kpi-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    flex: 1 1 auto;
}

.fd-kpi-value {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fd-kpi-delta {
    font-size: 0.68rem;
    font-weight: 700;
    color: #6ee7b7;
    background: rgba(110,231,183,0.08);
    padding: 1px 6px;
    border-radius: 4px;
    flex-shrink: 0;
    white-space: nowrap;
}
.fd-kpi-delta.is-down { color: #fca5a5; background: rgba(252,165,165,0.08); }

.fd-spark {
    width: 100%;
    height: 22px;
    margin-top: 2px;
    color: var(--gold);
    overflow: visible;
}
.fd-kpi[data-metric="conversions"] .fd-spark { color: #6ee7b7; }
.fd-kpi[data-metric="revenue"] .fd-spark { color: #7dd3fc; }
.fd-kpi[data-metric="bounce"] .fd-spark { color: #fca5a5; }

/* Main row: chart + side */
.fd-main {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 10px;
    min-height: 220px;
}

.fd-panel {
    background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0) 100%);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
    position: relative;
}

.fd-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.fd-panel-title { font-size: 0.78rem; font-weight: 700; color: var(--text); letter-spacing: 0.01em; }
.fd-panel-sub { font-size: 0.66rem; color: var(--text-muted); display: inline-flex; align-items: center; gap: 5px; }

/* Area chart */
.fd-chart {
    background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0) 100%);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 220px;
}

.fd-chart-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.fd-chart-title { font-size: 0.82rem; font-weight: 700; display: block; }
.fd-chart-sub { font-size: 0.66rem; color: var(--text-muted); display: block; margin-top: 1px; }

.fd-chart-toggle {
    display: inline-flex;
    gap: 2px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 999px;
    padding: 2px;
}

.fd-chart-body {
    position: relative;
    flex: 1;
    min-height: 160px;
}

.fd-area-chart {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}

.fd-grid-y line {
    stroke: rgba(255,255,255,0.04);
    stroke-width: 1;
    stroke-dasharray: 2 4;
}

.fd-area {
    transition: d 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.fd-line {
    transition: d 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    filter: drop-shadow(0 2px 6px rgba(201,169,97,0.25));
}

.fd-dots circle {
    fill: var(--fd-color, #c9a961);
    stroke: #0a0a0a;
    stroke-width: 2;
    transition: cx 0.6s cubic-bezier(0.22, 1, 0.36, 1), cy 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.fd-tooltip {
    position: absolute;
    pointer-events: none;
    background: linear-gradient(180deg, #1a1517 0%, #0d0a0c 100%);
    border: 1px solid rgba(201,169,97,0.3);
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 0.72rem;
    color: var(--text);
    white-space: nowrap;
    transform: translate(-50%, -110%);
    opacity: 0;
    transition: opacity 0.18s ease;
    z-index: 4;
    box-shadow: 0 8px 24px -6px rgba(0,0,0,0.7);
}
.fd-tooltip.is-visible { opacity: 1; }
.fd-tooltip-label { color: var(--text-muted); font-size: 0.65rem; display: block; }
.fd-tooltip-val { color: var(--gold-soft); font-weight: 700; font-variant-numeric: tabular-nums; }

.fd-axis-x {
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    display: flex;
    justify-content: space-between;
    font-size: 0.6rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    padding: 0 2px;
}

/* Side: donut sources */
.fd-side {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.fd-sources { flex: 1; }

.fd-donut-wrap {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 12px;
    align-items: center;
}

.fd-donut {
    width: 90px;
    height: 90px;
    transform: rotate(-90deg);
}
.fd-donut-seg {
    transition: stroke-dasharray 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.fd-donut-center-num,
.fd-donut-center-lbl {
    fill: var(--text);
    transform: rotate(90deg);
    transform-origin: 21px 21px;
}
.fd-donut-center-num { font-size: 6px; font-weight: 700; }
.fd-donut-center-lbl { font-size: 3.2px; fill: var(--text-muted); letter-spacing: 0.1em; }

.fd-source-list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 6px;
}
.fd-source-list li {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.72rem;
    color: var(--text-secondary);
}
.fd-source-list b {
    margin-left: auto;
    color: var(--text);
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    font-size: 0.74rem;
}
.fd-src-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }

/* Bottom: pages + activity */
.fd-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.fd-pages-list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column;
    gap: 5px;
}

.fd-page-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    font-size: 0.72rem;
    color: var(--text-secondary);
    position: relative;
    overflow: hidden;
}
.fd-page-bar {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(201,169,97,0.14) 0%, rgba(201,169,97,0.02) 100%);
    border-radius: 4px;
    width: 0%;
    transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.fd-page-name { z-index: 1; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.68rem; color: var(--text); }
.fd-page-val { z-index: 1; color: var(--gold-soft); font-weight: 700; font-variant-numeric: tabular-nums; font-size: 0.7rem; }

.fd-activity-list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column;
    gap: 6px;
    max-height: 130px;
    overflow: hidden;
    position: relative;
}
.fd-activity-list::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 24px;
    background: linear-gradient(180deg, transparent, rgba(8,7,9,0.95));
    pointer-events: none;
}

.fd-activity-item {
    display: grid;
    grid-template-columns: 22px 1fr auto;
    align-items: center;
    gap: 9px;
    font-size: 0.7rem;
    color: var(--text-secondary);
    padding: 4px 0;
    animation: fdSlideIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.fd-activity-icon {
    width: 22px; height: 22px;
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(201,169,97,0.1);
    color: var(--gold-soft);
}
.fd-activity-icon.is-conv { background: rgba(110,231,183,0.1); color: #6ee7b7; }
.fd-activity-icon.is-pay { background: rgba(125,211,252,0.1); color: #7dd3fc; }
.fd-activity-text strong { color: var(--text); font-weight: 700; }
.fd-activity-time { color: var(--text-muted); font-size: 0.62rem; font-variant-numeric: tabular-nums; }

@keyframes fdSlideIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.fd-foot-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: #6ee7b7;
    box-shadow: 0 0 6px rgba(110,231,183,0.6);
    display: inline-block;
    animation: fdPulse 1.6s ease-in-out infinite;
}

@keyframes fdPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

@media (max-width: 900px) {
    .showcase-tile-dashboard { min-height: 720px !important; padding: 12px; }
    .fd-main { grid-template-columns: 1fr; }
    .fd-bottom { grid-template-columns: 1fr; }
    .fd-kpis { grid-template-columns: repeat(2, 1fr); }
    .fd-header-right { flex-direction: column-reverse; align-items: flex-end; gap: 8px; }
}

@media (max-width: 600px) {
    .fake-dashboard { padding: 12px; gap: 10px; font-size: 0.8rem; }
    .fd-kpi { padding: 9px 10px 5px; }
    .fd-kpi-value { font-size: 1.1rem; }
    .fd-kpi-label { font-size: 0.58rem; }
    .fd-kpi-delta { font-size: 0.62rem; }
    .fd-range-btn, .fd-toggle-btn { padding: 4px 8px; font-size: 0.66rem; }
    .fd-axis-x { font-size: 0.55rem; }
    .fd-donut-wrap { grid-template-columns: 70px 1fr; }
    .fd-donut { width: 70px; height: 70px; }
    .showcase-tile-dashboard { min-height: 880px !important; }
}

.showcase-tile-wide .showcase-tile-text {
    flex: 1;
    border-top: none;
    border-left: 1px solid var(--border);
}

.showcase-tile-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #000;
    overflow: hidden;
}

.showcase-tile-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.showcase-tile-text {
    padding: 22px 24px 24px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.showcase-tile-text h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.showcase-tile-text p {
    font-size: 0.8625rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0 0 10px;
    max-width: none;
}

.showcase-tile-text strong { color: var(--gold-soft); font-weight: 600; }

/* === SERVICES / PROCESS GRID (no-pin, scroll-reveal) === */
.services-pinned {
    padding: 96px 0;
    position: relative;
    height: auto;
}

.process.services-pinned {
    background: var(--bg-secondary);
    padding: 96px 0;
}

.services-pin-wrap {
    position: relative;
    height: auto;
    display: block;
    overflow: visible;
    padding: 0;
}

.services-pin-wrap .section-header {
    margin-bottom: 48px;
}

.services-stack {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.process.services-pinned .services-stack {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1200px;
    gap: 18px;
}

/* Frames become transparent containers — cards flow into the grid */
.service-frame {
    display: contents;
}

.service-stack-card {
    position: relative;
    background:
        radial-gradient(120% 80% at 100% 0%, rgba(201,169,97,0.07) 0%, transparent 55%),
        linear-gradient(180deg, #131110 0%, #0a0908 100%);
    border: 1px solid rgba(201, 169, 97, 0.18);
    border-radius: var(--radius);
    padding: 30px 28px 28px;
    display: flex;
    flex-direction: column;
    box-shadow:
        0 30px 60px -20px rgba(0,0,0,0.55),
        inset 0 1px 0 rgba(255,255,255,0.04);
    transition: border-color 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
    opacity: 0;
    transform: translateY(28px);
    will-change: transform, opacity;
}

.service-stack-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.service-stack-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(201,169,97,0.6) 50%, transparent 100%);
    opacity: 0.7;
    transition: opacity 0.4s ease;
}

.service-stack-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(201,169,97,0.55) 0%, rgba(201,169,97,0) 50%, rgba(201,169,97,0.35) 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-stack-card:hover {
    border-color: rgba(201, 169, 97, 0.55);
    transform: translateY(-6px);
    box-shadow:
        0 40px 80px -20px rgba(0,0,0,0.7),
        0 0 0 1px rgba(201,169,97,0.15),
        inset 0 1px 0 rgba(255,255,255,0.06);
}

.service-stack-card:hover::before { opacity: 1; }
.service-stack-card:hover::after { opacity: 1; }

.service-stack-card .service-num {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--gold-soft);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.08em;
    opacity: 0.7;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.service-stack-card:hover .service-num {
    opacity: 1;
    color: var(--gold);
}

.service-stack-card .service-icon {
    width: 52px;
    height: 52px;
    border-radius: 13px;
    background: linear-gradient(135deg, rgba(201,169,97,0.18) 0%, rgba(201,169,97,0.04) 100%);
    border: 1px solid rgba(201, 169, 97, 0.32);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--gold-soft);
    position: relative;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), background 0.45s ease, border-color 0.45s ease, color 0.45s ease, box-shadow 0.45s ease;
}

.service-stack-card .service-icon::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 18px;
    background: radial-gradient(circle, rgba(201,169,97,0.35) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.45s ease;
    z-index: -1;
}

.service-stack-card:hover .service-icon {
    transform: scale(1.08) rotate(-2deg);
    background: linear-gradient(135deg, rgba(201,169,97,0.32) 0%, rgba(201,169,97,0.1) 100%);
    border-color: rgba(201, 169, 97, 0.6);
    color: var(--gold);
    box-shadow: 0 12px 30px -10px rgba(201,169,97,0.45);
}

.service-stack-card:hover .service-icon::after { opacity: 1; }

.service-stack-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
    color: var(--text);
}

.service-stack-card p {
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin: 0 0 16px;
}

.service-points {
    list-style: none;
    padding: 12px 0 0;
    margin: auto 0 0;
    border-top: 1px solid rgba(201, 169, 97, 0.12);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.service-points li {
    position: relative;
    padding-left: 20px;
    font-size: 0.795rem;
    color: var(--text-muted);
    line-height: 1.55;
    transition: color 0.3s ease;
}

.service-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 10px;
    height: 1px;
    background: var(--gold);
    transition: width 0.35s ease, background 0.35s ease;
}

.service-stack-card:hover .service-points li { color: var(--text-secondary); }
.service-stack-card:hover .service-points li::before { width: 14px; background: var(--gold-soft); }

.process-stack-card { padding-top: 44px; }
.process-stack-card h3 { font-size: 1.05rem; }
.process-stack-card p { font-size: 0.82rem; }

.services-progress { display: none; }

.services-progress {
    max-width: 720px;
    margin: 28px auto 0;
    width: 100%;
    height: 2px;
    background: rgba(255,255,255,0.06);
    border-radius: 999px;
    overflow: hidden;
}

.services-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--gold-deep), var(--gold), #f3dca0);
    border-radius: 999px;
    transition: width 0.3s ease-out;
}

/* === PORTFOLIO PREMIUM === */
.portfolio-premium {
    padding: 56px 0 48px;
}

.portfolio-intro {
    text-align: center;
    margin-bottom: 36px;
}

.portfolio-divider {
    display: flex;
    justify-content: center;
    margin: 14px 0 14px;
}

.portfolio-divider-line {
    display: block;
    height: 1px;
    width: 0;
    background: linear-gradient(90deg, transparent 0%, var(--gold-soft) 20%, var(--gold) 50%, var(--gold-soft) 80%, transparent 100%);
    transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.portfolio-intro.revealed .portfolio-divider-line {
    width: 280px;
}

.portfolio-compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.pf-tile {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: border-color var(--transition), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.7s ease, box-shadow var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.pf-tile.revealed {
    opacity: 1;
    transform: translateY(0);
}

.pf-tile:hover {
    border-color: rgba(201, 169, 97, 0.4);
    box-shadow: 0 18px 40px -16px rgba(201, 169, 97, 0.22), 0 18px 40px -20px rgba(0,0,0,0.6);
}

.pf-tile.revealed:hover {
    transform: translateY(-3px);
}

.pf-tile-img {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.pf-tile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.pf-tile:hover .pf-tile-img img { transform: scale(1.04); }
.pf-tile-img.pf-dark-bg { background: #000; }
.pf-tile-img .pf-contain { object-fit: contain; padding: 24px; }

.pf-tile-body { padding: 18px 20px 20px; }

.pf-tile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.pf-tile-head h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0;
}

.pf-tile-body p {
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--text-secondary);
    margin: 0 0 12px;
}

.pf-tile-stats {
    display: flex;
    gap: 18px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    align-items: baseline;
}

.pf-tile-stats b {
    background: linear-gradient(120deg, #f3dca0 0%, var(--gold) 50%, #8a7340 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-weight: 700;
    margin-right: 5px;
    letter-spacing: -0.01em;
    font-size: 1rem;
    text-transform: none;
}

@media (max-width: 900px) {
    .showcase-compact-grid { grid-template-columns: 1fr; }
    .showcase-tile-wide { flex-direction: column; }
    .showcase-tile-wide .showcase-tile-text { border-left: none; border-top: 1px solid var(--border); }
    .portfolio-compact { grid-template-columns: 1fr; }
    .services-pinned { padding: 56px 0; }
    .services-stack { grid-template-columns: 1fr 1fr; gap: 14px; }
    .process.services-pinned .services-stack { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
    .services-stack,
    .process.services-pinned .services-stack { grid-template-columns: 1fr; }
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .results-grid { grid-template-columns: 1fr; }
    .contact-wrapper { grid-template-columns: 1fr; gap: 48px; }
    .contact-info .section-title { font-size: 2rem; }
    .showcase-row,
    .showcase-row.reverse { grid-template-columns: 1fr; gap: 32px; }
    .showcase-row.reverse .showcase-video-side,
    .showcase-row.reverse .showcase-text-side { order: unset; }
}

@media (max-width: 768px) {
    .nav { padding: 0 16px; }
    .nav-links, .nav-right { display: none; }
    .hamburger { display: flex; }
    .hero { padding: 120px 24px 80px; }
    .hero-split { grid-template-columns: 1fr; text-align: center; }
    .hero-text { text-align: center; }
    .hero-text .hero-buttons { justify-content: center; }
    .hero-visual { margin-top: -20px; max-width: 400px; margin-left: auto; margin-right: auto; }
    .hero-stats-rail { position: static; transform: none; flex-direction: row; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
    .stat-bar { transform: perspective(600px) rotateY(0deg) translateX(40px); }
    @keyframes statBarSlide { to { opacity: 1; transform: perspective(600px) rotateY(0deg) translateX(0); } }
    .hero-title { font-size: clamp(2.2rem, 9vw, 3.5rem); }
    .services-grid { grid-template-columns: 1fr; }
    .results-grid { grid-template-columns: 1fr; }
    .cta-title { font-size: 1.5rem; }
    .footer-top { flex-direction: column; gap: 32px; }
    .footer-grid { flex-direction: column; gap: 32px; }
    .footer-links-group { gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .form-row { grid-template-columns: 1fr; }
    .big-text-reveal { font-size: clamp(1.5rem, 6vw, 2.2rem); }
    .side-panel-trigger { display: none; }
    .partners-grid { gap: 8px; }
    .partner-card { padding: 8px 14px; gap: 8px; }
    .partner-card img { width: 22px; height: 22px; }
    .partner-card span { font-size: 0.75rem; }
    .intro-video-wrap { width: 90vw; }
    .showcase { padding: 80px 0; }
    .showcase-row { padding: 48px 0; gap: 24px; }
    .showcase-text-side h3 { font-size: 1.25rem; }
    .showcase-text-side p { font-size: 0.9rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .section-title { font-size: 1.6rem; }
    .marquee-content { font-size: 0.6875rem; }
}


/* ============================================
   MOBILE-FRIENDLY POLISH (global safety net)
   Appended pass that hardens layouts on phones
   without overriding existing mobile rules.
   ============================================ */

/* Prevent any element from horizontally overflowing the viewport */
html, body { max-width: 100%; overflow-x: hidden; }

/* Fluid media: never blow past their parent on small screens.
   Exclude intro-video / showcase videos that need full-cover sizing. */
img, iframe, canvas { max-width: 100%; height: auto; }
video:not(.intro-video):not(.showcase-video):not(.bg-video) { max-width: 100%; }

/* Touch-friendly tap targets */
@media (max-width: 768px) {
    a.btn, button.btn, .nav-cta-btn, .nav-login,
    .product-btn, .pkg-buy, .checkout-submit {
        min-height: 44px;
        line-height: 1.2;
    }

    /* Container side padding */
    .container { padding-left: 18px; padding-right: 18px; }

    /* Section padding compression */
    section { padding-left: 0; padding-right: 0; }
    .services-pinned, .process.services-pinned { padding: 56px 0; }
    .portfolio-premium { padding: 48px 0 36px; }

    /* Hero readability */
    .hero-title { letter-spacing: -0.02em; }
    .hero-subtitle, .page-subtitle { font-size: 0.95rem; line-height: 1.55; }

    /* Intro overlay text */
    .intro-content { padding: 0 24px; }
    .intro-line { font-size: clamp(1rem, 4.4vw, 1.3rem) !important; line-height: 1.45; }

    /* Navigation: keep logo + hamburger only */
    .nav { gap: 12px; }
    .nav-logo-img { width: 32px; height: 32px; }

    /* Section headings */
    .section-tag { font-size: 0.7rem; }
    .section-title { font-size: clamp(1.4rem, 5.6vw, 1.9rem); line-height: 1.18; }
    .section-subtitle { font-size: 0.9rem; }

    /* CTA block */
    .cta-buttons { flex-direction: column; align-items: stretch; gap: 10px; width: 100%; }
    .cta-buttons .btn { width: 100%; justify-content: center; }

    /* Stats / metrics rails */
    .stat-bar { font-size: 0.78rem; padding: 8px 12px; }

    /* Marquees keep moving but smaller */
    .marquee, .marquee-track { gap: 28px; }
}

/* Very small phones */
@media (max-width: 420px) {
    .container { padding-left: 14px; padding-right: 14px; }
    .nav { padding: 0 12px; }
    .hero { padding: 110px 16px 64px; }
    .hero-title { font-size: clamp(1.85rem, 8.5vw, 2.2rem); }
    .section-title { font-size: 1.45rem; }
    .cta-title { font-size: 1.3rem; }
    .footer { padding-left: 14px; padding-right: 14px; }
}

/* Reduce-motion respects */
@media (prefers-reduced-motion: reduce) {
    .intro-loader, .intro-video, .stat-bar { transition: none !important; animation: none !important; }
}
