/* Live Motion Global Animations */
@keyframes float-slow {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

@keyframes float-medium {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-12px) rotate(-1deg);
    }
}

@keyframes pulse-load {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.04);
    }
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes drift {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(10px);
    }
}

.motion-float {
    animation: float-slow 6s ease-in-out infinite;
}

.motion-float-reverse {
    animation: float-slow 7s ease-in-out infinite reverse;
}

.motion-float-medium {
    animation: float-medium 5s ease-in-out infinite;
}

.motion-pulse {
    animation: pulse-load 3s ease-in-out infinite;
}

.motion-drift {
    animation: drift 8s ease-in-out infinite;
}

.motion-spin {
    animation: spin-slow 20s linear infinite;
}

/* Enhanced Interactive Utilities */
.premium-hover {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.premium-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.15) !important;
}

:root {
    --bg-main: #050505;
    --bg-card: #111111;
    --bg-card-hover: #161616;
    --border-color: #262626;
    --primary-text: #ffffff;
    --secondary-text: #9ca3af;
    --accent-btn: #ffffff;
    --accent-text: #ffffff;

    /* Vibrant Color Palette */
    --accent-purple: #a855f7;
    --accent-cyan: #06b6d4;
    --accent-orange: #f97316;
    --accent-pink: #ec4899;
    --accent-green: #10b981;
    --accent-yellow: #fbbf24;

    --font-main: 'Plus Jakarta Sans', sans-serif;
    --font-heading: 'Outfit', sans-serif;

    --radius-card: 16px;
    --radius-pill: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    /* Fallback background */
    color: var(--primary-text);
    font-family: var(--font-main);
    line-height: 1.5;
    overflow-x: hidden;
}

/* Background Grid Pattern */
.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -2;
    pointer-events: none;
    transition: transform 0.1s ease-out;
    will-change: transform, mask-image, -webkit-mask-image;
}

/* Global Background Video */
.video-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -10;
    /* Behind everything */
}

.video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    /* Much more visible */
    filter: grayscale(40%) contrast(1.1);
    /* Richer colors */
    transition: transform 0.2s ease-out;
    will-change: transform;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(5, 5, 5, 0.4) 0%, rgba(5, 5, 5, 0.8) 100%);
    z-index: 1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s;
}

ul {
    list-style: none;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 1.25rem;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #fff;
    color: #000;
    font-weight: 900;
    border-radius: 6px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--secondary-text);
    font-size: 0.9rem;
    font-weight: 500;
}

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

.nav-links a.active {
    color: var(--primary-text) !important;
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--primary-text);
}

.btn-light {
    background: #fff;
    color: #000;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-light i {
    font-size: 0.8rem;
}

.btn-light:hover {
    background: #e5e5e5;
}

/* PURE CSS HAMBURGER LINES */
.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 44px;
    height: 44px;
    padding: 12px 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    z-index: 200;
}

.nav-toggle .line {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
    transform-origin: left;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Animation to X state */
.nav-toggle.open .line:nth-child(1) {
    transform: rotate(45deg);
}

.nav-toggle.open .line:nth-child(2) {
    opacity: 0;
    width: 0;
}

.nav-toggle.open .line:nth-child(3) {
    transform: rotate(-45deg);
}

.mobile-menu-btn {
    display: none;
}

/* Hero */

/* Hero */
.hero {
    padding-top: 140px;
    padding-bottom: 4rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    letter-spacing: -0.02em;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(180deg, #fff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--secondary-text);
    margin-bottom: 3rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.input-group-wrapper {
    display: inline-block;
    text-align: left;
}

.input-label {
    font-size: 0.8rem;
    color: var(--secondary-text);
    margin-bottom: 0.5rem;
    margin-left: 0.25rem;
}

.email-capture {
    background: #1a1a1a;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    width: 320px;
}

.input-icon {
    color: var(--secondary-text);
    margin: 0 0.75rem;
}

.email-capture input {
    background: transparent;
    border: none;
    color: #fff;
    width: 100%;
    outline: none;
    font-size: 0.95rem;
}

.btn-arrow {
    background: #fff;
    border: none;
    color: #000;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
}

.input-hint {
    margin-top: 0.75rem;
    color: #444;
    font-size: 0.75rem !important;
}

.text-center {
    text-align: center;
}

/* Bento Layout */
.bento-section {
    padding-bottom: 4rem;
}

.bento-grid-complex {
    display: grid;
    grid-template-columns: 320px 1fr 320px;
    /* Matched to Modall Proportions */
    gap: 1.25rem;
    height: 520px;
    /* Fixed height container for that locked-in grid look */
}

/* Generic Card Styles */
.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    overflow: hidden;
    position: relative;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.bento-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: var(--bg-card-hover);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Col 1: Explained Card */
.explained-card {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    background: linear-gradient(145deg, #161616, #0a0a0a);
}

.card-top-icon {
    margin-bottom: auto;
}

.f-icon {
    font-size: 2rem;
    font-weight: 800;
    color: #222;
    /* faint background icon look */
}

.card-content-bottom h3 {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    font-weight: 600;
}

.wave-lines {
    display: flex;
    gap: 4px;
    height: 40px;
    align-items: flex-end;
    margin-bottom: 1.5rem;
    opacity: 0.4;
}

.wave-lines span {
    width: 4px;
    background: #fff;
    border-radius: 4px;
    animation: wave 1.2s infinite ease-in-out;
}

.wave-lines span:nth-child(1) {
    height: 20%;
    animation-delay: 0s;
}

.wave-lines span:nth-child(2) {
    height: 100%;
    animation-delay: 0.2s;
}

.wave-lines span:nth-child(3) {
    height: 60%;
    animation-delay: 0.4s;
}

.wave-lines span:nth-child(4) {
    height: 80%;
    animation-delay: 0.1s;
}

.wave-lines span:nth-child(5) {
    height: 40%;
    animation-delay: 0.3s;
}

@keyframes wave {

    0%,
    100% {
        height: 20%;
    }

    50% {
        height: 100%;
    }
}

.play-pill {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    padding: 0.6rem 1rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.85rem;
    width: 100%;
    justify-content: space-between;
}

.play-pill .time {
    opacity: 0.5;
    font-size: 0.8rem;
}

.play-pill:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Col 2: Center Cluster */
.center-cluster {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.feature-pills-col {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pill-card {
    border-radius: var(--radius-pill);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    /* evenly distribute height */
    background: #0f0f0f;
}

.pill-icon {
    width: 36px;
    height: 36px;
    background: #1a1a1a;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.pill-text h4 {
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.pill-text p {
    font-size: 0.7rem;
    color: #666;
}

.cluster-right-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.orbit-card {
    flex: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    text-align: center;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    overflow: hidden;
}

.orbit-visual {
    width: 280px;
    height: 280px;
    position: relative;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.orbit-ring {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.ring-1 {
    width: 100%;
    height: 100%;
}

.ring-2 {
    width: 70%;
    height: 70%;
    border-style: dashed;
}

.ring-3 {
    width: 40%;
    height: 40%;
    border-color: rgba(255, 255, 255, 0.1);
}

.orbit-center-logo {
    width: 50px;
    height: 50px;
    background: #fff;
    color: #000;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.25rem;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.orbit-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 38px;
    height: 38px;
    margin-top: -19px;
    margin-left: -19px;
    background: #0a0a0a;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 5;
    cursor: pointer;
    will-change: transform;
}

.orbit-item:hover {
    border-color: #fff;
    transform: scale(1.2) !important;
    background: #111;
    z-index: 15;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* Animations - Distributed Rotation */
.orbit-visual .orbit-item {
    animation: orbitRotate linear infinite;
}

/* Outer Orbit (8 items) */
.item-1 {
    --angle: 0deg;
    --dist: var(--orbit-outer, 120px);
    animation-duration: 25s;
}

.item-2 {
    --angle: 45deg;
    --dist: var(--orbit-outer, 120px);
    animation-duration: 25s;
}

.item-3 {
    --angle: 90deg;
    --dist: var(--orbit-outer, 120px);
    animation-duration: 25s;
}

.item-4 {
    --angle: 135deg;
    --dist: var(--orbit-outer, 120px);
    animation-duration: 25s;
}

.item-5 {
    --angle: 180deg;
    --dist: var(--orbit-outer, 120px);
    animation-duration: 25s;
}

.item-6 {
    --angle: 225deg;
    --dist: var(--orbit-outer, 120px);
    animation-duration: 25s;
}

.item-7 {
    --angle: 270deg;
    --dist: var(--orbit-outer, 120px);
    animation-duration: 25s;
}

.item-8 {
    --angle: 315deg;
    --dist: var(--orbit-outer, 120px);
    animation-duration: 25s;
}

/* Inner Orbit (4 items) */
.item-9 {
    --angle: 0deg;
    --dist: var(--orbit-inner, 85px);
    animation-duration: 18s;
    animation-direction: reverse;
}

.item-10 {
    --angle: 90deg;
    --dist: var(--orbit-inner, 85px);
    animation-duration: 18s;
    animation-direction: reverse;
}

.item-11 {
    --angle: 180deg;
    --dist: var(--orbit-inner, 85px);
    animation-duration: 18s;
    animation-direction: reverse;
}

.item-12 {
    --angle: 270deg;
    --dist: var(--orbit-inner, 85px);
    animation-duration: 18s;
    animation-direction: reverse;
}

@keyframes orbitRotate {
    from {
        transform: rotate(var(--angle)) translateX(var(--dist)) rotate(calc(-1 * var(--angle)));
    }

    to {
        transform: rotate(calc(var(--angle) + 360deg)) translateX(var(--dist)) rotate(calc(-1 * (var(--angle) + 360deg)));
    }
}

.orbit-caption {
    font-size: 0.9rem;
    color: var(--secondary-text);
    margin-top: auto;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.toggle-card {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, #111 0%, #080808 100%);
}

.toggle-text h4 {
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.toggle-text p {
    font-size: 0.7rem;
    color: #666;
}

.toggle-switch-ui {
    width: 44px;
    height: 24px;
    background: #333;
    border-radius: 20px;
    position: relative;
    padding: 2px;
}

.toggle-switch-ui.active {
    background: #fff;
}

.toggle-switch-ui .knob {
    width: 20px;
    height: 20px;
    background: #000;
    border-radius: 50%;
    position: absolute;
    right: 2px;
}

/* Col 3: Analytics */
.analytics-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.analytics-header h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.analytics-header p {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.4;
}

.chart-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gauge-chart {
    width: 140px;
    height: 70px;
    background: #222;
    border-top-left-radius: 100px;
    border-top-right-radius: 100px;
    position: relative;
    overflow: hidden;
}

.gauge-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    transform-origin: bottom center;
    transform: rotate(0deg);
    /* animate via js typically, here static */
    border-top-left-radius: 100px;
    border-top-right-radius: 100px;
    clip-path: polygon(50% 100%, 0 100%, 0 0, 100% 0, 100% 100%);
}

.gauge-cover {
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    top: 20px;
    background: var(--bg-card);
    /* matches card bg */
    border-top-left-radius: 100px;
    border-top-right-radius: 100px;
    z-index: 2;
}

.analytics-footer {
    margin-top: auto;
}

.analytics-footer p {
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.analytics-footer span {
    font-size: 0.7rem;
    color: #666;
}

/* --- Results Page (Showcase) Styles --- */

.results-hero {
    padding-top: 200px;
    padding-bottom: 6rem;
    text-align: center;
}

.results-hero .impact-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.8rem;
    color: #fff;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 600;
}

.results-hero .impact-badge span {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: pulse 2s infinite;
}

.massive-title {
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.04em;
    margin-bottom: 2rem;
    background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, 0.4) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Impact Grid */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 1.5rem;
    padding-bottom: 8rem;
}

.impact-card {
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.impact-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
}

.impact-card.large {
    grid-column: span 8;
    grid-row: span 2;
}

.impact-card.small {
    grid-column: span 4;
}

.impact-card.medium {
    grid-column: span 6;
}

.impact-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.card-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.95) 0%, transparent 100%);
}

.card-overlay-content h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card-overlay-content p {
    color: var(--secondary-text);
    font-size: 0.95rem;
}

/* Metric Tickers */
.metric-row {
    display: flex;
    gap: 3rem;
    margin-top: 1.5rem;
}

.metric-item .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: #fff;
}

.metric-item .label {
    font-size: 0.75rem;
    color: #444;
    text-transform: uppercase;
    font-weight: 600;
}

/* Fast Navigation Footer */
.fast-cta {
    text-align: center;
    padding: 8rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.fast-cta h2 {
    font-size: 3.5rem;
    margin-bottom: 3rem;
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.btn-impact {
    padding: 1.2rem 2.5rem;
    background: #fff;
    color: #000;
    font-weight: 800;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 1rem;
    transition: all 0.3s;
}

.btn-impact:hover {
    transform: scale(1.05);
    background: #f0f0f0;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.btn-outline {
    padding: 1.2rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-weight: 700;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: transparent;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #fff;
}

@media (max-width: 992px) {
    .impact-grid {
        display: flex;
        flex-direction: column;
    }

    .massive-title {
        font-size: 4rem;
    }
}

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Page Hero (Services/About) */
.page-hero {
    padding-top: 160px;
    padding-bottom: 4rem;
    text-align: center;
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    letter-spacing: -0.02em;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(180deg, #fff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-hero .badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--secondary-text);
    display: inline-block;
    margin-bottom: 1.5rem;
}

/* Service & Project Cards (inherit bento look) */
.service-card,
.about-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    padding: 2rem;
    transition: 0.3s;
    overflow: hidden;
}

.service-card:hover,
.project-card:hover {
    border-color: #444;
    transform: translateY(-5px);
}

.icon-box {
    width: 48px;
    height: 48px;
    background: #1a1a1a;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    color: #fff;
    border: 1px solid var(--border-color);
}

.service-card h3 {
    margin-bottom: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
}

.service-card p {
    color: var(--secondary-text);
    font-size: 0.9rem;
}

/* Project Specific */


.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay i {
    font-size: 2rem;
    color: white;
}

.tags span {
    display: inline-block;
    font-size: 0.75rem;
    background: #1a1a1a;
    padding: 0.2rem 0.8rem;
    border-radius: 50px;
    margin-right: 0.5rem;
    margin-top: 1rem;
    border: 1px solid var(--border-color);
    color: var(--secondary-text);
}


/* Case Studies - Project Cards */
.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    overflow: hidden;
    transition: 0.3s;
}

.project-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.project-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    /* Better for dashboard screenshots */
    overflow: hidden;
    background: #000;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.project-tag {
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.project-content p {
    color: var(--secondary-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-stats {
    display: flex;
    gap: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-item strong {
    font-size: 1.5rem;
    color: #fff;
    font-family: var(--font-heading);
}

.stat-item span {
    font-size: 0.85rem;
    color: var(--secondary-text);
}

/* Testimonial Cards */
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    padding: 2rem;
    transition: 0.3s;
}

.testimonial-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 0.25rem;
}

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

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-text);
    font-size: 1.25rem;
}

.testimonial-author strong {
    display: block;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    display: block;
    color: var(--secondary-text);
    font-size: 0.85rem;
}

/* Stat Cards */
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: 0.3s;
}

.stat-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 1.5rem;
    color: #fff;
}

.stat-card h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--secondary-text);
    font-size: 0.95rem;
}

/* Orbit Services Section */
.contact-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-item i {
    width: 40px;
    height: 40px;
    background: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--secondary-text);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    background: #0a0a0a;
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: white;
    font-family: inherit;
}

.contact-form input:focus,
textarea:focus {
    outline: none;
    border-color: #fff;
}

.btn-primary,
.btn-outline {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: #fff;
    color: #000;
    border: 1px solid #fff;
}

.btn-primary:hover {
    background: transparent;
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: #fff;
}

/* About Section */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.visual-box {
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
    height: 400px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.xp-badge {
    background: #000;
    padding: 1rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    font-size: 1.5rem;
    font-weight: 300;
}

.xp-badge .bold {
    font-weight: 800;
}

.section-header {
    margin-bottom: 3rem;
}

/* Responsive adjustments for new elements */
@media (max-width: 768px) {

    .grid-2,
    .grid-3,
    .contact-wrapper,
    .split-layout {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        padding: 1.5rem;
        gap: 2rem;
    }

    .page-hero {
        padding-top: 120px;
    }
}

/* End Secondary Styles */

/* Premium Footer */
.site-footer {
    border-top: 1px solid var(--border-color);
    background: #080808;
    /* Slightly lighter than main bg for separation */
    padding-top: 5rem;
    padding-bottom: 2rem;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.brand-desc {
    color: var(--secondary-text);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 300px;
}

.social-links-minimal {
    display: flex;
    gap: 1rem;
}

.social-links-minimal a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-text);
    border: 1px solid var(--border-color);
    transition: 0.3s;
}

.social-links-minimal a:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
    transform: translateY(-3px);
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-nav a {
    color: var(--secondary-text);
    font-size: 0.95rem;
    transition: 0.2s;
    display: inline-block;
}

.footer-nav a:hover {
    color: #fff;
    transform: translateX(3px);
}

.footer-newsletter p {
    color: var(--secondary-text);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.footer-form .input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.footer-form input {
    width: 100%;
    background: #111;
    border: 1px solid var(--border-color);
    padding: 0.8rem 1rem;
    /* Space for button */
    padding-right: 3.5rem;
    border-radius: 12px;
    color: #fff;
    transition: 0.3s;
}

.footer-form input:focus {
    border-color: #fff;
    outline: none;
    background: #161616;
}

.footer-form button {
    position: absolute;
    right: 6px;
    top: 6px;
    bottom: 6px;
    width: 36px;
    background: #333;
    border: none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-form button:hover {
    background: #fff;
    color: #000;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #555;
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: #555;
}

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


/* Viral Card Styling */
.viral-card {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
    cursor: pointer;
}

.viral-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 255, 255, 0.05);
}

.viral-card .btn-impact {
    transition: all 0.3s ease;
}

.viral-card:hover .btn-impact {
    background: #fff !important;
    color: #000 !important;
    transform: scale(1.05);
}

.viral-card img,
.viral-card video {
    transition: transform 0.6s ease;
}

.viral-card:hover img,
.viral-card:hover video {
    transform: scale(1.1);
}

/* Timeline / Process Section */
.timeline-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.timeline-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

/* Hexagon Image */
.hexagon-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.05));
    transition: transform 0.5s ease;
}

.hexagon-wrapper:hover {
    transform: scale(1.02);
}

.hexagon-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    background: #1a1a1a;
}

/* Timeline Steps */
.timeline-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}

/* Dashed Line Connector */
.timeline-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    /* Aligns with icon center */
    left: 10%;
    right: 10%;
    height: 2px;
    background-image: linear-gradient(90deg, var(--border-color) 50%, transparent 50%);
    background-size: 10px 1px;
    z-index: 0;
}

.timeline-step {
    position: relative;
    z-index: 1;
    text-align: center;
    background: transparent;
    /* No card bg here, just text */
}

.step-icon-box {
    width: 80px;
    height: 80px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    transition: 0.3s;
}

.timeline-step:hover .step-icon-box {
    border-color: #fff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    background: #161616;
}

.step-title {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--secondary-text);
    line-height: 1.6;
}

/* Responsive Timeline */
@media (max-width: 900px) {
    .timeline-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .timeline-steps::before {
        display: none;
        /* Hide horizontal line on mobile */
    }

    .timeline-steps::after {
        /* Vertical line for mobile */
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 2px;
        background-image: linear-gradient(180deg, var(--border-color) 50%, transparent 50%);
        background-size: 1px 10px;
        transform: translateX(-50%);
        z-index: 0;
        opacity: 0.3;
    }

    .timeline-step {
        background: var(--bg-card);
        padding: 2rem;
        border-radius: var(--radius-card);
        border: 1px solid var(--border-color);
    }
}

/* Orbit Services Section */
.orbit-section {
    position: relative;
    padding: 8rem 0;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 900px;
}

.orbit-container {
    position: relative;
    width: 750px;
    height: 750px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Rotating Rings */
.orbit-ring-outer {
    position: absolute;
    width: 700px;
    height: 700px;
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: spin 80s linear infinite;
    z-index: 0;
}

.orbit-ring-inner {
    position: absolute;
    width: 450px;
    height: 450px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    z-index: 0;
}

/* Central Hub */
.orbit-hub {
    position: relative;
    z-index: 2;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle at center, #1a1a1a, #050505);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.8), inset 0 0 30px rgba(255, 255, 255, 0.03);
    animation: hub-pulse 5s ease-in-out infinite;
}

.orbit-hub h3 {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: linear-gradient(180deg, #ffffff, #9ca3af);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

.orbit-hub span {
    font-size: 0.85rem;
    color: var(--secondary-text);
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Orbit Items */
.orbit-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 160px;
    height: 120px;
    margin-top: -60px;
    margin-left: -80px;
    text-align: center;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.orbit-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #111111, #0a0a0a);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.orbit-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #9ca3af;
    line-height: 1.3;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.orbit-item:hover .orbit-icon {
    background: linear-gradient(135deg, #ffffff, #e5e5e5);
    color: #000;
    transform: translateY(-8px) scale(1.15);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.15);
    border-color: #fff;
}

.orbit-item:hover .orbit-label {
    color: #ffffff;
    transform: translateY(-2px);
}

/* Positioning - 6 Items evenly spaced */
.orbit-item:nth-child(4) {
    transform: rotate(0deg) translate(330px) rotate(0deg);
}

.orbit-item:nth-child(5) {
    transform: rotate(60deg) translate(330px) rotate(-60deg);
}

.orbit-item:nth-child(6) {
    transform: rotate(120deg) translate(330px) rotate(-120deg);
}

.orbit-item:nth-child(7) {
    transform: rotate(180deg) translate(330px) rotate(-180deg);
}

.orbit-item:nth-child(8) {
    transform: rotate(240deg) translate(330px) rotate(-240deg);
}

.orbit-item:nth-child(9) {
    transform: rotate(300deg) translate(330px) rotate(-300deg);
}

/* Top Left */

/* Animations */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes hub-pulse {
    0% {
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
        border-color: var(--border-color);
    }

    50% {
        box-shadow: 0 0 70px rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.3);
    }

    100% {
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
        border-color: var(--border-color);
    }
}

/* Responsive Orbit */
@media (max-width: 900px) {
    .orbit-section {
        height: auto;
        min-height: auto;
        padding: 4rem 0;
    }

    .orbit-container {
        width: 100%;
        height: auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .orbit-ring-outer,
    .orbit-ring-inner,
    .orbit-hub {
        display: none;
    }

    .orbit-item {
        position: relative;
        top: auto;
        left: auto;
        margin: 0;
        transform: none !important;
        width: 100%;
        height: auto;
        flex-direction: row;
        justify-content: flex-start;
        gap: 1.5rem;
        background: var(--bg-card);
        padding: 1.5rem;
        border-radius: var(--radius-card);
        border: 1px solid var(--border-color);
        text-align: left;
    }

    .orbit-icon {
        margin-bottom: 0;
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .orbit-label {
        font-size: 1.1rem;
    }
}

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

    .large-card {
        grid-row: auto;
        min-height: 300px;
    }

    .tall-card {
        grid-row: auto;
        min-height: 300px;
    }

    .small-card {
        grid-column: span 1;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .orbit-container {
        width: 650px;
        height: 650px;
    }

    .orbit-ring-outer {
        width: 600px;
        height: 600px;
    }

    .orbit-item:nth-child(4),
    .orbit-item:nth-child(5),
    .orbit-item:nth-child(6),
    .orbit-item:nth-child(7),
    .orbit-item:nth-child(8),
    .orbit-item:nth-child(9) {
        transform: rotate(calc((var(--i) - 4) * 60deg)) translate(280px) rotate(calc((4 - var(--i)) * 60deg));
    }
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .bento-grid-complex {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .center-cluster {
        grid-template-columns: 1fr;
    }

    .feature-pills-col {
        grid-template-columns: 1fr;
    }

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

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

    .timeline-steps::before {
        display: none;
    }

    .timeline-steps::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 2px;
        background-image: linear-gradient(180deg, var(--border-color) 50%, transparent 50%);
        background-size: 1px 10px;
        transform: translateX(-50%);
        z-index: 0;
        opacity: 0.3;
    }

    .timeline-step {
        background: var(--bg-card);
        padding: 2rem;
        border-radius: var(--radius-card);
        border: 1px solid var(--border-color);
    }

    /* Orbit Mobile */
    .orbit-section {
        height: auto;
        min-height: auto;
        padding: 4rem 0;
    }

    .orbit-container {
        width: 100%;
        height: auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .orbit-ring-outer,
    .orbit-ring-inner,
    .orbit-hub {
        display: none;
    }

    .orbit-item {
        position: relative;
        top: auto;
        left: auto;
        margin: 0;
        transform: none !important;
        width: 100%;
        height: auto;
        flex-direction: row;
        justify-content: flex-start;
        gap: 1.5rem;
        background: var(--bg-card);
        padding: 1.5rem;
        border-radius: var(--radius-card);
        border: 1px solid var(--border-color);
        text-align: left;
    }

    .orbit-icon {
        margin-bottom: 0;
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        flex-shrink: 0;
    }

    .orbit-label {
        font-size: 1.1rem;
        white-space: normal;
    }
}

/* Video Button in Hero */
.btn-video {
    margin-top: 2rem;
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-main);
}

.btn-video i {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.btn-video:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-video:hover i {
    transform: scale(1.1);
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.video-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.video-modal-content {
    position: relative;
    z-index: 10001;
    max-width: 1200px;
    width: 90%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    padding: 2rem;
    animation: slideUp 0.4s ease;
}

.video-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
}

.video-modal-close:hover {
    background: #fff;
    color: #000;
    transform: rotate(90deg);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.video-info {
    margin-top: 1.5rem;
    text-align: center;
}

.video-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.video-info p {
    color: var(--secondary-text);
    font-size: 1rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tablet Breakpoint */
@media (max-width: 1024px) {
    .bento-grid-complex {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        height: auto;
    }

    .explained-card {
        grid-column: 1 / -1;
    }

    .analytics-card {
        grid-column: 1 / -1;
    }

    .center-cluster {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-pills-col {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .cluster-right-col {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .orbit-card {
        grid-column: 1;
    }

    .toggle-card {
        grid-column: 2;
    }

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

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .container {
        padding: 0 1.5rem;
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 3rem;
        min-height: auto;
    }

    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        line-height: 1.2;
    }

    .hero-title br {
        display: none;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .email-capture {
        max-width: 100%;
        margin: 0 auto 1.5rem auto;
    }

    .input-group-wrapper {
        width: 100%;
    }

    /* Bento Grid Mobile Layout */
    .bento-grid-complex {
        grid-template-columns: 1fr;
        gap: 1rem;
        height: auto;
    }

    .center-cluster {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature-pills-col {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .pill-card {
        padding: 1rem;
        min-height: 70px;
    }

    .pill-icon {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .pill-text h4 {
        font-size: 0.9rem;
    }

    .pill-text p {
        font-size: 0.75rem;
    }

    .cluster-right-col {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .orbit-card {
        grid-column: 1;
        padding: 2.5rem 1.5rem;
        min-height: 320px;
    }

    .orbit-visual {
        width: 180px;
        height: 180px;
        --orbit-outer: 85px;
        --orbit-inner: 55px;
    }

    .orbit-center-logo {
        font-size: 1.5rem;
    }

    .orbit-item {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .toggle-card {
        grid-column: 1;
        padding: 1rem 1.25rem;
        min-height: 70px;
    }

    .explained-card {
        padding: 1.5rem;
        min-height: 280px;
    }

    .f-icon {
        font-size: 1.5rem;
    }

    .card-content-bottom h3 {
        font-size: 1.25rem;
    }

    .wave-lines {
        height: 30px;
        margin-bottom: 1rem;
    }

    .play-pill {
        padding: 0.5rem 0.85rem;
        font-size: 0.8rem;
    }

    .analytics-card {
        padding: 1.5rem;
        min-height: 280px;
    }

    .analytics-header h3 {
        font-size: 1.1rem;
    }

    .analytics-header p {
        font-size: 0.75rem;
    }

    .gauge-chart {
        width: 120px;
        height: 60px;
    }

    .analytics-footer p {
        font-size: 0.8rem;
    }

    .analytics-footer span {
        font-size: 0.65rem;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .bento-col {
        grid-template-columns: 1fr;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border-color);
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 0.75rem;
        border-radius: 8px;
        transition: 0.2s;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: var(--bg-card);
    }

    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        cursor: pointer;
        transition: 0.2s;
    }

    .nav-toggle:hover {
        background: var(--bg-card);
    }

    .nav-right {
        display: flex !important;
    }

    .nav-right .btn-light {
        display: none;
    }

    .page-hero h1 {
        font-size: 2.5rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .project-image {
        height: 200px;
    }

    .project-stats {
        flex-direction: column;
        gap: 1rem;
    }

    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-brand {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .hexagon-wrapper {
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .btn-primary,
    .btn-light {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    .email-capture {
        width: 100%;
    }

    .email-capture input {
        font-size: 0.9rem;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .stat-card h3 {
        font-size: 2rem;
    }

    /* Bento Grid - Extra Small Screens */
    .explained-card {
        padding: 1.25rem;
        min-height: 250px;
    }

    .card-content-bottom h3 {
        font-size: 1.1rem;
    }

    .pill-card {
        padding: 0.85rem;
        min-height: 65px;
    }

    .pill-text h4 {
        font-size: 0.85rem;
    }

    .pill-text p {
        font-size: 0.7rem;
    }

    .orbit-card {
        padding: 2rem 1.25rem;
        min-height: 280px;
    }

    .orbit-visual {
        width: 160px;
        height: 160px;
        --orbit-outer: 75px;
        --orbit-inner: 48px;
    }

    .orbit-center-logo {
        font-size: 1.4rem;
    }

    .orbit-item {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }

    .analytics-card {
        padding: 1.25rem;
        min-height: 250px;
    }

    .analytics-header h3 {
        font-size: 1rem;
    }

    .analytics-header p {
        font-size: 0.7rem;
    }

    .gauge-chart {
        width: 100px;
        height: 50px;
    }

    .toggle-card {
        padding: 0.85rem 1rem;
    }

    .toggle-text h4 {
        font-size: 0.85rem;
    }

    .toggle-text p {
        font-size: 0.65rem;
    }

    .orbit-item {
        padding: 1.25rem;
        gap: 1rem;
    }

    .orbit-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .orbit-label {
        font-size: 1rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {

    .btn-primary,
    .btn-light,
    .btn-arrow {
        min-height: 44px;
        min-width: 44px;
    }

    .nav-links a {
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Prevent orbit items from inheriting large touch sizes */
    .orbit-visual .orbit-item {
        min-height: unset;
        min-width: unset;
    }
}

/* AI Concierge Styles */
.ai-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    font-family: var(--font-main);
}

.ai-trigger-btn {
    width: 60px;
    height: 60px;
    background: #fff;
    border: none;
    border-radius: 50%;
    color: #000;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ai-trigger-btn:hover {
    transform: scale(1.1) translateY(-5px);
}

.pulse-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid #fff;
    border-radius: 50%;
    animation: pulseChat 2s infinite;
}

@keyframes pulseChat {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.ai-chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    max-height: 500px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.ai-chat-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ai-chat-header {
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ai-avatar {
    width: 36px;
    height: 36px;
    background: #fff;
    color: #000;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
}

.ai-status h4 {
    font-size: 0.95rem;
    font-family: var(--font-heading);
}

.ai-status p {
    font-size: 0.75rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
}

.close-chat {
    background: transparent;
    border: none;
    color: var(--secondary-text);
    margin-left: auto;
    cursor: pointer;
    font-size: 1.1rem;
}

.ai-chat-body {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 300px;
    max-height: 350px;
}

.message {
    max-width: 85%;
    padding: 0.85rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.ai-message {
    background: #1a1a1a;
    color: #fff;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.user-message {
    background: #fff;
    color: #000;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.ai-chat-footer {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 0.75rem;
}

.ai-chat-footer input {
    flex: 1;
    background: #1a1a1a;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: #fff;
    outline: none;
    font-size: 0.85rem;
}

.ai-chat-footer button {
    width: 40px;
    height: 40px;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s;
}

.ai-chat-footer button:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .ai-chat-window {
        width: calc(100vw - 4rem);
        right: 0;
    }
}

/* Live Social Proof Styles */
.social-proof-container {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.social-toast {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transform: translateX(-120%);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
}

.social-toast.active {
    transform: translateX(0);
    opacity: 1;
}

.toast-icon {
    width: 32px;
    height: 32px;
    background: #fff;
    color: #000;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.toast-content p {
    font-size: 0.85rem;
    color: #fff;
    margin: 0;
    font-weight: 500;
}

.toast-content span {
    font-size: 0.7rem;
    color: #666;
    display: block;
}

/* Live Analytics Logs */
.live-logs {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 1rem;
    height: 80px;
    overflow-y: hidden;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.75rem;
    text-align: left;
    mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}

.log-line {
    color: #888;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.log-line::before {
    content: "> ";
    color: #fff;
}

.log-line.success {
    color: #10b981;
}

.log-line.pulse {
    animation: logFade 2s infinite;
}

@keyframes logFade {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* --- Homepage Specific & Optimized Components --- */

.hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding-top: 100px;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    z-index: 2;
    width: 100%;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.8;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.impact-badge {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    color: #000000;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
}

.orange-badge {
    background: linear-gradient(135deg, #334155, #64748b) !important;
    color: #fff !important;
    box-shadow: none !important;
    border: none !important;
    margin-bottom: 1rem !important;
}

.orbit-card {
    grid-column: span 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 3rem;
    text-align: left;
}

.orbit-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    background: linear-gradient(to right, #fff, #888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.orbit-desc {
    opacity: 0.6;
    max-width: 320px;
    line-height: 1.6;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.calculator-cta-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #111 100%);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6rem 4rem;
    margin: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.calc-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    filter: blur(100px);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.social-toast {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transform: translateX(-50px);
    opacity: 0;
    transition: all 0.5s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-width: 300px;
}

.social-toast.active {
    transform: translateX(0);
    opacity: 1;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    margin-top: 4rem;
    mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
    opacity: 0.8;
}

.marquee-content {
    display: flex;
    gap: 4rem;
    animation: marquee 30s linear infinite;
    width: max-content;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.integration-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
    max-width: 240px;
}

.int-icon {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #888;
    transition: all 0.3s ease;
}

.int-icon:hover {
    background: #fff;
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .social-proof-container {
        bottom: 6rem;
        left: 1rem;
        right: 1rem;
    }

    .hero-title {
        font-size: 3rem !important;
    }

    .calculator-cta-section {
        padding: 4rem 2rem;
    }

    .orbit-card {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
}

/* Standardized Hero Stats Grid */
.hero-stats-grid {
    display: flex;
    gap: 3rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.3rem;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.6;
    color: var(--secondary-text);
}

.hero-cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.cta-note {
    font-size: 0.85rem;
    opacity: 0.5;
    margin: 0;
}

@media (max-width: 768px) {
    .hero-stats-grid {
        gap: 2rem;
        flex-direction: column;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* Offer Stack Grid Standardized */
.offer-stack-grid {
    display: grid;
    gap: 2rem;
    max-width: 900px;
    margin: 3rem auto;
}

.stack-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border-left: 4px solid #ffffff;
    transition: transform 0.3s ease;
}

.stack-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.05);
}

.stack-item.bonus {
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed #ffffff;
    border-left: 4px solid #ffffff;
}

.stack-icon {
    font-size: 2rem;
    color: #ffffff;
    min-width: 60px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.price-reveal {
    text-align: center;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Utilities */
.opacity-75 {
    opacity: 0.75;
}

.opacity-50 {
    opacity: 0.5;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.small {
    font-size: 0.85rem;
}

.max-w-md {
    max-width: 28rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.text-white {
    color: #fff;
}

@media (max-width: 768px) {
    .stack-item {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .stack-icon {
        font-size: 1.5rem;
        min-width: auto;
    }
}

/* Utilities */
.text-glow {
    color: #fff;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    -webkit-text-fill-color: #fff;
    /* Override gradient for this span */
}

/* Issue 2: Media Containment Wrapper */
.media-wrap {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    max-height: 70vh;
    overflow: hidden;
    border-radius: var(--radius-card);
    /* Matches site radius */
}

.media-wrap img,
.media-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Issue 1: Mobile Header Spacing Fix */
@media (max-width: 768px) {

    .hero,
    .page-hero {
        /* Adjusted to ensuring text doesn't clash with header */
        padding-top: 150px !important;
    }

    /* Ensure header height is reserved/consistent if needed */
    header {
        height: auto;
        min-height: 70px;
    }
}