/* main.css - Premium Apple-like Design System */

:root {
    /* Colors */
    --bg-primary: #fbfbfd;
    --bg-secondary: #ffffff;
    --bg-dark: #1d1d1f;
    --bg-vibrant: linear-gradient(135deg, #ff2a6d, #ff6b6b);
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --text-light: #ffffff;
    --accent-blue: #0066cc;
    --accent-hover: #0077ed;

    /* Layout */
    --max-width: 1200px;
    --nav-height: 56px;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    /* Effects */
    --glass-bg: rgba(251, 251, 253, 0.85);
    --glass-bg-dark: rgba(22, 22, 26, 0.92);
    --nav-blur: blur(24px) saturate(180%);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

    /* Shadow System */
    --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.10), 0 2px 6px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.14), 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 32px 80px rgba(0, 0, 0, 0.18), 0 8px 24px rgba(0, 0, 0, 0.10);
    --shadow-blue: 0 8px 24px rgba(0, 102, 204, 0.28), 0 2px 6px rgba(0, 102, 204, 0.15);
}

/* Base Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

/* Typography Utilities */
h1,
h2,
h3,
h4 {
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 1rem;
}

.section-desc {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

/* Button Component */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: 980px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, #0070e0 0%, #0055cc 100%);
    color: #fff;
    box-shadow: var(--shadow-blue);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0077ed 0%, #0066cc 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 102, 204, 0.38), 0 4px 12px rgba(0, 102, 204, 0.20);
}

.btn-secondary {
    background-color: rgba(0, 0, 0, 0.06);
    color: var(--text-primary);
    box-shadow: var(--shadow-xs);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.btn-secondary:hover {
    background-color: rgba(0, 0, 0, 0.09);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* Layout Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xl) 0;
}

/* Navbar (Glassmorphism) */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(10, 20, 35, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05), 0 4px 24px rgba(0, 0, 0, 0.2);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-img {
    height: 36px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    letter-spacing: -0.01em;
}

.nav-link:hover {
    color: #fff;
}

.nav-link.btn-primary {
    color: #fff;
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    border-radius: 980px;
    /* Force pill shape for the nav button */
}

/* Premium Animated Glowing Gradient Button */
.animated-gradient-btn {
    background: linear-gradient(270deg, #0066cc, #00bfff, #0066cc, #0050a0);
    background-size: 300% 300%;
    animation: gradient-blink 4s ease infinite;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.4);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.animated-gradient-btn:hover {
    box-shadow: 0 8px 25px rgba(0, 191, 255, 0.6);
    transform: translateY(-2px);
}

@keyframes gradient-blink {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    /* Better on mobile browsers */
    background: var(--bg-primary);
    z-index: 999;
    padding-top: calc(var(--nav-height) + 2rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Center items vertically */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    /* Increase gap for larger tap targets */
}

.mobile-nav-link {
    font-size: 2.2rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    position: relative;
    /* Staggered entry animation styles */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease 0s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0s;
}

.mobile-menu.active .mobile-nav-link {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for links */
.mobile-menu.active .mobile-nav-link:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu.active .mobile-nav-link:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-menu.active .mobile-nav-link:nth-child(3) {
    transition-delay: 0.3s;
}

.mobile-menu.active .mobile-nav-link:nth-child(4) {
    transition-delay: 0.4s;
}

.mobile-menu.active .mobile-nav-link:nth-child(5) {
    transition-delay: 0.5s;
}

.mobile-nav-link.btn-primary {
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 980px;
    /* Force pill shape for mobile nav */
    font-size: 1.2rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--nav-height);
    overflow: hidden;
    background-color: var(--bg-dark);
    color: var(--text-light);
    text-align: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    opacity: 0.4;
    mix-blend-mode: overlay;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(29, 29, 31, 0.4) 0%, rgba(29, 29, 31, 0.95) 100%);
    z-index: 2;
}

.hero-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8vw;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    white-space: nowrap;
    z-index: 2;
    pointer-events: none;
    letter-spacing: -2px;
}

.hero-content {
    max-width: 800px;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 3;
}

.hero-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 1.2rem;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.hero-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    backdrop-filter: blur(10px);
}

.hero-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Stats Block */
.stats-block {
    background: var(--bg-primary);
    padding: var(--spacing-xl) 0;
    color: var(--text-primary);
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(180deg, var(--text-primary) 0%, rgba(29, 29, 31, 0.6) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Trust Bar */
.trust-bar {
    background-color: var(--bg-secondary);
    padding: 4rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.trust-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    text-align: center;
}

.trust-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    margin-bottom: 2rem;
}

.trust-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    opacity: 0.6;
}

.trust-item img {
    height: 40px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: var(--transition-smooth);
}

.trust-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

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

.rounded-image {
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
}

.watermark-section {
    position: relative;
    overflow: hidden;
}

.watermark-text {
    position: absolute;
    bottom: 25%;
    left: 50%;
    transform: translate(-50%, 50%);

    /* Scale text so the longest word (INNOVATOR) fits without clipping */
    font-size: clamp(3rem, 12vw, 28rem);
    font-weight: 900;
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;

    /* CRITICAL: Add padding to make the bounding box larger than the text itself,
       preventing the 15px glowing drop-shadow from clipping on the left/right edges */
    padding: 0 5vw;

    /* Make the actual text invisible, we solely use pseudo-elements now */
    color: transparent;
}

/* INNOVATOR: visible above portrait grid, centered horizontally */
#meet-jeremy .watermark-text {
    bottom: auto;
    top: 1rem;
    left: 0;
    right: 0;
    width: 100%;
    transform: none;
    text-align: center;
    padding: 0;
    font-size: clamp(4rem, 15vw, 35rem);
}

/* Base blurred text (Semi-transparent & Blurred) */
.watermark-text::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    color: #f1f5f9;
    -webkit-text-stroke: 3px transparent;
    background: linear-gradient(90deg, #00bfff, #ff00ff, #00ffcc, #ff00ff, #00bfff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;

    filter: blur(10px) drop-shadow(0 0 8px rgba(0, 191, 255, 0.4));
    opacity: 0.5;
    /* 50% opacity applies ONLY to this blurred layer */
    animation: text-laser 4s linear infinite;
}

/* Spotlight hovered text (100% Opaque & Razor Sharp) */
.watermark-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    color: #ffffff;
    /* Brighter white interior */
    -webkit-text-stroke: 4px transparent;
    background: linear-gradient(90deg, #00bfff, #ff00ff, #00ffcc, #ff00ff, #00bfff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;

    /* Stronger glow, Absolutely NO blur */
    filter: drop-shadow(0 0 15px rgba(0, 191, 255, 0.8));
    opacity: 1;
    /* Forces 100% solid opacity over the mask */

    /* Radial Spotlight Mask following the mouse cursor */
    -webkit-mask-image: radial-gradient(circle 350px at var(--mouse-x, -1000px) var(--mouse-y, -1000px), black 0%, transparent 80%);
    mask-image: radial-gradient(circle 350px at var(--mouse-x, -1000px) var(--mouse-y, -1000px), black 0%, transparent 80%);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;

    animation: text-laser 4s linear infinite;
}

@keyframes text-laser {
    from {
        background-position: 0% center;
    }

    to {
        background-position: -200% center;
    }
}

.watermark-section .container {
    position: relative;
    z-index: 1;
}

/* Removed Curved Footer */



/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

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

/* Scroll reveal utility */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .trust-logos {
        gap: 2rem;
    }

    .hero-actions {
        flex-direction: column;
    }
}

/* Footer */
.footer {
    background-color: var(--text-primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 2rem 0;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo-img {
    height: 44px;
    opacity: 0.9;
}

.footer-copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    flex: 1;
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
}

.footer-socials a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-socials a:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-logo-img {
        height: 80px;
        /* Make footer logo significantly larger on mobile */
        width: auto;
    }

    .footer-copyright {
        order: 3;
    }
}

/* Slim footer nav */
.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1.25rem 0 0;
    margin-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}

.footer-nav a {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* Connect Page Split Layout */
.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 2rem;
}

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

.contact-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
}

.contact-left .connect-card {
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    /* Make cards grow equally to match height context */
}

.contact-left .connect-icon-wrapper {
    background: var(--bg-primary);
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    flex-shrink: 0;
}

.contact-left .connect-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: var(--text-primary);
    /* Force dark text regardless of legacy classes */
}

.contact-left .connect-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

.contact-right {
    background: #fff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-control {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: var(--bg-secondary);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* --- PREMIUM APPLE-LIKE MICRO-ANIMATIONS --- */

/* 1. Global Smooth Transitions */
a,
button,
.btn,
.connect-card,
.topic-card,
.cb-grid-item {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. Tactile Button Clicks */
.btn:active,
button[type="submit"]:active,
.nav-link.btn-primary:active {
    transform: scale(0.96) !important;
    transition: transform 0.1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 3. Navbar Link Hover Expanding Underline */
.nav-link:not(.btn-primary) {
    position: relative;
}

.nav-link:not(.btn-primary)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1.5px;
    bottom: -4px;
    left: 50%;
    background-color: #fff;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateX(-50%);
    opacity: 0;
    pointer-events: none;
    border-radius: 2px;
}

.nav-link:not(.btn-primary):hover::after {
    width: 80%;
    opacity: 1;
}

/* 4. Elegant Card Hover Lifts */
.connect-card:hover,
.topic-card:hover,
.cb-grid-item:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* 5. Icons inside Cards Subtle Rotation & Scale */
.connect-card .connect-icon-wrapper i,
.topic-card .topic-icon i,
.cb-grid-item .cb-icon i {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.connect-card:hover .connect-icon-wrapper i,
.topic-card:hover .topic-icon i,
.cb-grid-item:hover .cb-icon i {
    transform: scale(1.15) rotate(-5deg);
}

/* 6. Contact Form Focus States Elevate */
.form-control {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-control:focus {
    transform: translateY(-2px);
}

/* 7. Image/Logo Soft Scale */
.logo-img {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-img:hover {
    transform: scale(1.05);
}

/* 8. Footer Link Hover (Subtle Glow & Lift) */
.footer-socials a,
.footer-nav a {
    position: relative;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-socials a:hover,
.footer-nav a:hover {
    transform: translateY(-2px);
    color: #fff;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

/* 9. Image Elements (Soft Float / Breathing) */
.rounded-image,
.about-image img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}

.rounded-image:hover,
.about-image img:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* 10. Stat Block Magnetic Lift */
.stat-item {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Spring physics */
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.05);
}

/* 11. Trust Logos Gentle Glow */
.trust-item img {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.trust-item:hover img {
    filter: grayscale(0%) drop-shadow(0 4px 12px rgba(0, 102, 204, 0.15));
    transform: scale(1.08);
}

/* ============================================================
   BACKGROUND COMBO — Premium Layered Texture System
   ============================================================ */

/* ----------------------------------------------------------
   1. HERO — Animated Mesh Gradient (navy + teal blobs)
   ---------------------------------------------------------- */
.hero-mesh {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-mesh::before,
.hero-mesh::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.55;
    mix-blend-mode: screen;
}

/* Blob 1 — Electric Blue */
.hero-mesh::before {
    width: 55vw;
    height: 55vw;
    background: radial-gradient(circle, #0066cc 0%, #003e80 60%, transparent 100%);
    top: -10%;
    left: -15%;
    animation: blob-drift-a 14s ease-in-out infinite alternate;
}

/* Blob 2 — Teal */
.hero-mesh::after {
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, #00c9a7 0%, #007a65 60%, transparent 100%);
    bottom: -15%;
    right: -10%;
    animation: blob-drift-b 18s ease-in-out infinite alternate;
}

/* Blob 3 — Mid accent (injected via ::before on hero-bg) */
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 50% at 50% 100%, rgba(0, 191, 255, 0.12) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

@keyframes blob-drift-a {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(4vw, 3vh) scale(1.06);
    }

    66% {
        transform: translate(-2vw, 6vh) scale(0.97);
    }

    100% {
        transform: translate(5vw, -2vh) scale(1.04);
    }
}

@keyframes blob-drift-b {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-5vw, -4vh) scale(1.08);
    }

    66% {
        transform: translate(3vw, -7vh) scale(0.96);
    }

    100% {
        transform: translate(-4vw, 3vh) scale(1.05);
    }
}

/* ----------------------------------------------------------
   2. STATS & PODCAST — Radial Dot Texture
   ---------------------------------------------------------- */
.bg-dots {
    position: relative;
}

.bg-dots::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(0, 102, 204, 0.13) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 0;
}

.bg-dots>* {
    position: relative;
    z-index: 1;
}

/* ----------------------------------------------------------
   3. PAGE HEADERS (Interior) — SVG Grid Pattern
   ---------------------------------------------------------- */
.bg-grid {
    position: relative;
}

.bg-grid::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 102, 204, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 102, 204, 0.06) 1px, transparent 1px);
    background-size: 48px 48px;
    background-position: center center;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 40%, transparent 100%);
}

.bg-grid>.container,
.bg-grid>* {
    position: relative;
    z-index: 1;
}

/* ----------------------------------------------------------
   4. LIGHT SECTIONS — Diagonal Noise Texture
   ---------------------------------------------------------- */
.bg-noise {
    position: relative;
}

.bg-noise::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0.018;
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: multiply;
}

.bg-noise>.container,
.bg-noise>* {
    position: relative;
    z-index: 1;
}

/* ----------------------------------------------------------
   5. MOBILE FIXES
   ---------------------------------------------------------- */
@media (max-width: 768px) {

    /* 1. Fix Home: INNOVATOR text must physically sit above the image */
    #meet-jeremy {
        padding-top: 6rem !important;
        /* Give space for the watermark at the top */
    }

    #meet-jeremy .about-grid {
        margin-top: 2rem !important;
        /* Push the image DOWN explicitly */
    }

    #meet-jeremy .watermark-text {
        top: 2rem;
        z-index: 0 !important;
        /* Ensure it stays behind visually if they ever touch */
    }

    #meet-jeremy .watermark-text::before,
    #meet-jeremy .watermark-text::after {
        z-index: 0 !important;
    }

    #meet-jeremy .watermark-text::after {
        opacity: 0.6 !important;
        /* Lower opacity so the solid text isn't overwhelming on mobile, but reveals cleanly */
    }

    #meet-jeremy .watermark-text::before {
        opacity: 0.4 !important;
        /* Soften the blur so the interaction contrast is clear */
    }

    /* 4/5. Speaker Page Mobile Alignment Helpers */
    .mobile-center-flex {
        justify-content: center !important;
    }

    .mobile-col-flex {
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: center !important;
        text-align: center !important;
    }
}