﻿:root {
    --primary-blue: #0A2463;
    --accent-blue: #3E92CC;
    --soft-blue: #5DADE2;
    --cream: #F8F6F4;
    --text-dark: #1A1A2E;
    --text-gray: #6B7280;
    --white: #FFFFFF;
    --shadow: rgba(10, 36, 99, 0.08);
    --gradient-start: #0A2463;
    --gradient-end: #3E92CC;
    --sdk-navy: #0a1628;
    --sdk-blue: #2563eb;
    --sdk-indigo: #6366f1;
    --sdk-emerald: #10b981;
    --sdk-amber: #f59e0b;
    --sdk-slate-50: #f8fafc;
    --sdk-slate-100: #f1f5f9;
    --sdk-slate-900: #0f172a;
    --sdk-glass: rgba(255,255,255,0.06);
    --sdk-glass-border: rgba(255,255,255,0.08);
    --sdk-radius: 24px;
    --sdk-radius-lg: 36px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(135deg, var(--cream) 0%, #E8F4F8 100%);
    color: var(--text-dark);
    overflow-x: hidden;
    padding: 40px 20px;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Header Section */
.header {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.header-eyebrow {
    font-size: 12px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent-blue);
    font-weight: 500;
    margin-bottom: 12px;
}

.header-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 16px;
    line-height: 1.1;
}

.header-subtitle {
    font-size: 17px;
    color: var(--text-gray);
    font-weight: 300;
    max-width: 580px;
    margin: 0 auto;
}

/* References Horizontal Scroll Layout */
.references-scroll-wrapper {
    overflow: hidden;
    margin-bottom: 50px;
    position: relative;
    padding: 20px 0;
}

.references-scroll-container {
    display: flex;
    gap: 24px; 
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-blue) var(--cream);
}

/* Desktop - Normal Scroll */
@media (min-width: 769px) {
    .references-scroll-wrapper {
        display: flex;
        justify-content: center;
    }

    .references-scroll-container {
        width: fit-content;
    }
}

/* Mobile - Auto Scroll Animation */
@media (max-width: 768px) {
    .references-scroll-wrapper {
        overflow: hidden;
        -webkit-mask-image: linear-gradient(
            to right,
            transparent,
            black 5%,
            black 95%,
            transparent
        );
        mask-image: linear-gradient(
            to right,
            transparent,
            black 5%,
            black 95%,
            transparent
        );
    }

    .references-scroll-container {
        overflow: visible;
        animation: scroll-rtl-mobile 30s linear infinite;
        width: max-content;
    }

    /* Pause animation on hover/touch */
    .references-scroll-container:hover,
    .references-scroll-container:active {
        animation-play-state: paused;
    }

    /* İçeriği çoğalt için - JavaScript ile handle edilecek ama CSS fallback */
    .references-scroll-container::after {
        content: '';
        display: block;
        width: 20px;
    }
}

.references-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.references-scroll-container::-webkit-scrollbar-track {
    background: var(--cream);
    border-radius: 10px;
}

.references-scroll-container::-webkit-scrollbar-thumb {
    background: var(--accent-blue);
    border-radius: 10px;
}

.references-scroll-container::-webkit-scrollbar-thumb:hover {
    background: var(--primary-blue);
}

/* Individual Reference Card */
.reference-card {
    background: var(--white);
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 4px 20px var(--shadow);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 0 0 300px;
    min-width: 300px;
    max-width: 320px;
    border: 2px solid rgba(62, 146, 204, 0.08);
    --brand-color: #3E92CC;
}

.reference-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.reference-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at top right, rgba(62, 146, 204, 0.06), transparent);
    border-radius: 0 0 0 100%;
    pointer-events: none;
    transition: all 0.4s;
}

.reference-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(10, 36, 99, 0.12);
    border-color: var(--brand-color);
}

.reference-card:hover::before {
    transform: scaleX(1);
}

.reference-card:hover::after {
    background: radial-gradient(circle at top right, color-mix(in srgb, var(--brand-color) 15%, transparent), transparent);
}

/* Logo Area */
.reference-logo-link {
    display: block;
    text-decoration: none;
    transition: transform 0.3s;
}

.reference-logo-link:hover {
    transform: scale(1.05);
}

.reference-logo {
    width: 110px;
    height: 55px;
    background: linear-gradient(135deg, #0A2463, #3E92CC);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    overflow: hidden;
    padding: 12px;
    box-shadow: 0 3px 10px rgba(10, 36, 99, 0.12);
    transition: all 0.3s ease;
}

.reference-logo:hover {
    box-shadow: 0 5px 15px rgba(10, 36, 99, 0.2);
}

.reference-logo img,
.logo-image {
    max-width: 100%;
    max-height: 100%;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    filter: brightness(0) invert(1);
}

.reference-logo::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: rotate(45deg);
    transition: all 0.5s;
}

.reference-logo-link:hover .reference-logo::after {
    left: 100%;
}

.logo-fallback {
    color: white;
    font-weight: 700;
    font-size: 20px;
    font-family: 'Cormorant Garamond', serif;
    position: relative;
    z-index: 1;
}

/* Company Info */
.reference-company {
    margin-bottom: 16px;
    text-align: center;
}

.company-name-link {
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.company-name-link:hover .company-name {
    color: var(--brand-color);
    transform: translateX(3px);
}

.company-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 6px;
    font-family: 'Cormorant Garamond', serif;
    transition: all 0.3s;
}

.company-sector {
    display: inline-block;
    padding: 4px 12px;
    background: color-mix(in srgb, var(--brand-color) 8%, transparent);
    border-radius: 16px;
    font-size: 11px;
    color: var(--brand-color);
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.3s;
}

.reference-card:hover .company-sector {
    background: color-mix(in srgb, var(--brand-color) 15%, transparent);
}

/* Testimonial */
.reference-quote {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 20px;
    font-style: italic;
    position: relative;
    padding-left: 16px;
    text-align: left;
}

.reference-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -6px;
    font-size: 32px;
    color: var(--soft-blue);
    opacity: 0.25;
    font-family: 'Cormorant Garamond', serif;
}

.text-muted {
    color: #9CA3AF;
}

/* Stats Grid - 2x2 Layout */
.reference-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(10, 36, 99, 0.08);
}

.stat-item {
    text-align: center;
    padding: 8px;
    background: rgba(62, 146, 204, 0.03);
    border-radius: 10px;
    transition: all 0.3s;
}

.reference-card:hover .stat-item {
    background: color-mix(in srgb, var(--brand-color) 8%, transparent);
}

.stat-item:hover {
    background: color-mix(in srgb, var(--brand-color) 12%, transparent);
    transform: translateY(-2px);
}

.stat-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 2px;
    font-family: 'Cormorant Garamond', serif;
}

.stat-label {
    font-size: 10px;
    color: var(--text-gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Duration Badge */
.reference-duration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
    color: var(--text-gray);
    font-size: 12px;
    font-weight: 500;
}

.duration-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--brand-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 9px;
    flex-shrink: 0;
    transition: all 0.3s;
}

.reference-card:hover .duration-icon {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-color) 20%, transparent);
}

/* CTA Section */
.cta-section {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    padding: 60px 40px;
    border-radius: 28px;
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 28px;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: white;
    color: var(--primary-blue);
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.25);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Desktop scroll animation (soldan sağa) */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Mobile scroll animation (sağdan sola - YAVAŞ) */
@keyframes scroll-rtl-mobile {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% - 24px));
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    body {
        padding: 24px 16px;
    }

    .container {
        padding: 0;
    }

    /* Header Mobile */
    .header {
        margin-bottom: 40px;
    }

    .header-eyebrow {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .header-title {
        font-size: clamp(32px, 8vw, 42px);
    }

    .header-subtitle {
        font-size: 15px;
        padding: 0 10px;
    }

    /* References Scroll Mobile */
    .references-scroll-wrapper {
        padding: 15px 0;
        margin-bottom: 40px;
    }

    .references-scroll-container {
        gap: 16px;
        padding: 0;
    }

    /* Reference Card Mobile */
    .reference-card {
        flex: 0 0 280px;
        min-width: 280px;
        max-width: 280px;
        padding: 24px 20px;
    }

    .reference-card::after {
        width: 60px;
        height: 60px;
    }

    /* Logo Mobile */
    .reference-logo {
        width: 100px;
        height: 50px;
        padding: 10px;
        margin-bottom: 16px;
    }

    .logo-fallback {
        font-size: 18px;
    }

    /* Company Info Mobile */
    .reference-company {
        margin-bottom: 14px;
    }

    .company-name {
        font-size: 18px;
    }

    .company-sector {
        font-size: 10px;
        padding: 3px 10px;
    }

    /* Quote Mobile */
    .reference-quote {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 16px;
        padding-left: 14px;
    }

    .reference-quote::before {
        font-size: 28px;
        top: -4px;
    }

    /* Stats Mobile - Keep 2x2 */
    .reference-stats {
        gap: 10px;
        padding-top: 16px;
        margin-top: 16px;
    }

    .stat-item {
        padding: 6px;
    }

    .stat-value {
        font-size: 18px;
    }

    .stat-label {
        font-size: 9px;
    }

    /* Duration Mobile */
    .reference-duration {
        font-size: 11px;
        margin-top: 14px;
    }

    .duration-icon {
        width: 14px;
        height: 14px;
        font-size: 8px;
    }

    /* CTA Mobile */
    .cta-section {
        padding: 40px 24px;
        border-radius: 20px;
        margin-top: 30px;
    }

    .cta-title {
        font-size: clamp(28px, 7vw, 36px);
        margin-bottom: 12px;
    }

    .cta-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .cta-button {
        padding: 14px 32px;
        font-size: 14px;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    body {
        padding: 20px 12px;
    }

    .header-title {
        font-size: clamp(28px, 9vw, 36px);
    }

    .header-subtitle {
        font-size: 14px;
    }

    .reference-card {
        flex: 0 0 260px;
        min-width: 260px;
        max-width: 260px;
        padding: 20px 16px;
    }

    .reference-logo {
        width: 90px;
        height: 45px;
    }

    .company-name {
        font-size: 17px;
    }

    .reference-quote {
        font-size: 12px;
    }

    .stat-value {
        font-size: 16px;
    }

    .cta-title {
        font-size: clamp(24px, 8vw, 32px);
    }

    .cta-button {
        padding: 12px 28px;
        font-size: 13px;
    }
}

/* Tablet Landscape */
@media (min-width: 769px) and (max-width: 1024px) {
    .reference-card {
        flex: 0 0 290px;
        min-width: 290px;
        max-width: 290px;
    }

    .header-title {
        font-size: clamp(48px, 6vw, 58px);
    }
}

/* Large Desktop */
@media (min-width: 1400px) {
    .container {
        max-width: 1600px;
    }

    .reference-card {
        flex: 0 0 320px;
        min-width: 320px;
        max-width: 340px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-gray-600 {
    color: var(--text-gray);
}

.gradient-text {
    background: linear-gradient(135deg, #FFA726 0%, #FB8C00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.references-scroll-wrapper {
    position: relative;
    margin: 0 auto 60px;
    padding: 40px 0 20px;
    max-width: 100%;
    overflow: hidden;
}

.references-scroll-container {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE + Edge */
    padding: 0 20px;
}

    .references-scroll-container::-webkit-scrollbar {
        display: none; /* Chrome + Safari */
    }

.reference-card {
    flex: 0 0 300px;
    min-width: 300px;
    /* ... geri kalan özellikler aynı kalabilir ... */
}

/* Nav butonları */
.carousel-nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}

    .carousel-nav-button:hover {
        background: white;
        box-shadow: 0 4px 16px rgba(0,0,0,0.2);
        transform: translateY(-50%) scale(1.08);
    }

    .carousel-nav-button:disabled {
        opacity: 0.35;
        cursor: not-allowed;
    }

    .carousel-nav-button.prev {
        left: 8px;
    }

    .carousel-nav-button.next {
        right: 8px;
    }

@media (min-width: 1024px) {
    .carousel-nav-button {
        width: 56px;
        height: 56px;
    }

        .carousel-nav-button.prev {
            left: 8px;
        }

        .carousel-nav-button.next {
            right: 8px;
        }
}

/* Çok az kart varsa ortala */
.references-scroll-wrapper.centered .references-scroll-container {
    justify-content: center;
    padding: 0;
}

/* --- References carousel FIX (override) --- */
.references-scroll-wrapper {
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.references-scroll-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 0 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.references-scroll-container::-webkit-scrollbar {
    display: none;
}

/* Desktop'ta fit-content / center flex vb. hepsini ez */
@media (min-width: 769px) {
    .references-scroll-wrapper {
        display: block !important;
    }

    .references-scroll-container {
        width: 100% !important;
    }
}

/* Nav butonları mutlaka görünsün */
.carousel-nav-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
/* Mobile: otomatik sağdan sola akış + oklar kapalı */
@media (max-width: 768px) {
    .carousel-nav-button {
        display: none !important;
    }

    .references-scroll-wrapper {
        overflow: hidden !important;
        -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
        mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    }

    .references-scroll-container {
        width: max-content !important;
        overflow: visible !important;
        animation: scroll-rtl-mobile 30s linear infinite !important;
        padding: 0 12px !important;
    }

        .references-scroll-container:hover,
        .references-scroll-container:active {
            animation-play-state: paused;
        }
}
@keyframes scroll-rtl-mobile-seamless {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .references-scroll-container {
        animation: scroll-rtl-mobile-seamless 5s linear infinite !important;
    }
}

/* ── Keyframes ── */
@keyframes floatOrb {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -40px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

@keyframes pulseDot {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.4);
        opacity: 0.6;
    }
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes holoShift {
    0%, 100% {
        transform: translateX(-30%);
    }

    50% {
        transform: translateX(30%);
    }
}

@keyframes cardGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes morphBlob {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    25% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }

    50% {
        border-radius: 50% 60% 30% 60% / 40% 70% 50% 60%;
    }

    75% {
        border-radius: 60% 30% 60% 40% / 70% 40% 60% 50%;
    }
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes counterUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes revealLine {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes floatY {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes heartBeat {
    0%, 100% {
        transform: scale(1);
    }

    14% {
        transform: scale(1.14);
    }

    28% {
        transform: scale(0.98);
    }

    44% {
        transform: scale(1.18);
    }

    62% {
        transform: scale(1);
    }
}

@keyframes ringPulse {
    0% {
        transform: scale(0.92);
        opacity: 0;
    }

    18% {
        opacity: 0.72;
    }

    100% {
        transform: scale(1.42);
        opacity: 0;
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ── Animation Classes ── */
.anim-fadeSlideUp {
    animation: fadeSlideUp 0.8s ease both;
}

.anim-fadeSlideUp-1 {
    animation: fadeSlideUp 0.8s 0.1s ease both;
}

.anim-fadeSlideUp-2 {
    animation: fadeSlideUp 0.8s 0.2s ease both;
}

.anim-fadeSlideUp-3 {
    animation: fadeSlideUp 0.8s 0.3s ease both;
}

.anim-fadeSlideUp-4 {
    animation: fadeSlideUp 0.8s 0.4s ease both;
}

.orb-float {
    animation: floatOrb 20s ease-in-out infinite;
}

.orb-float-reverse {
    animation: floatOrb 25s ease-in-out infinite reverse;
}

.pulse-dot {
    animation: pulseDot 2s ease-in-out infinite;
}

.holo-strip {
    animation: holoShift 4s ease-in-out infinite;
}

.card-glow {
    animation: cardGlow 6s ease-in-out infinite;
}

.card-glow-reverse {
    animation: cardGlow 8s ease-in-out infinite reverse;
}

.morph-blob {
    animation: morphBlob 12s ease-in-out infinite;
}

.float-y {
    animation: floatY 4s ease-in-out infinite;
}

/* ── Scroll Reveal System ── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

/* ── Gradients ── */
.gradient-accent {
    background: linear-gradient(135deg, #2563eb, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-accent-map {
    background: linear-gradient(135deg, #3b82f6, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text {
    background: linear-gradient(135deg, #FFA726 0%, #FB8C00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-hero-accent {
    background: linear-gradient(135deg, #2563eb 0%, #6366f1 40%, #a855f7 100%);
    background-size: 200% 200%;
    animation: gradientFlow 6s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Glass Morphism ── */
.glass-panel {
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(24px) saturate(1.8);
    -webkit-backdrop-filter: blur(24px) saturate(1.8);
    border: 1px solid rgba(255,255,255,0.5);
    box-shadow: 0 8px 32px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.8);
}

.glass-dark {
    background: rgba(10, 22, 40, 0.82);
    backdrop-filter: blur(20px) saturate(1.6);
    -webkit-backdrop-filter: blur(20px) saturate(1.6);
    border: 1px solid rgba(255,255,255,0.08);
}

/* ── Premium Backgrounds ── */
.noise-grid {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h60v60H0z' fill='none'/%3E%3Cpath d='M0 60L60 0' stroke='rgba(15,23,42,0.025)' stroke-width='1'/%3E%3C/svg%3E");
}

.dark-grid-bg {
    background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black, transparent);
}

.dot-pattern {
    background-image: radial-gradient(circle, rgba(37,99,235,0.06) 1px, transparent 1px);
    background-size: 32px 32px;
}

.grain-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* ── Hero Section ── */
.hero-mesh-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 20% 80%, rgba(37,99,235,0.08) 0%, transparent 50%), radial-gradient(ellipse 60% 40% at 80% 20%, rgba(168,85,247,0.06) 0%, transparent 50%), radial-gradient(ellipse 50% 60% at 50% 50%, rgba(16,185,129,0.04) 0%, transparent 50%);
    pointer-events: none;
}

.hero-badge {
    position: relative;
    overflow: hidden;
}

    .hero-badge::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
        animation: shimmer 3s ease-in-out infinite;
    }

/* ── Premium Cards ── */
.premium-card {
    position: relative;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
}

    .premium-card::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: inherit;
        padding: 1px;
        background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(99,102,241,0.05), transparent);
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        opacity: 0;
        transition: opacity 0.4s;
    }

    .premium-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 24px 64px rgba(15,23,42,0.1), 0 8px 24px rgba(37,99,235,0.06);
    }

        .premium-card:hover::before {
            opacity: 1;
        }

/* ── Feature Cards ── */
.feat-card {
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

    .feat-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 60px rgba(15,23,42,0.08);
        border-color: rgba(37,99,235,0.15);
    }

/* ── Chip Card Design ── */
.chip-gradient {
    background: linear-gradient(145deg, #fbbf24, #f59e0b, #d97706);
}

    .chip-gradient::after {
        content: '';
        position: absolute;
        inset: 4px;
        border: 1px solid rgba(255,255,255,0.2);
        border-radius: 6px;
    }

/* ── Step Timeline ── */
.step-connector {
    position: relative;
}

    .step-connector::after {
        content: '';
        position: absolute;
        left: -57px;
        top: 56px;
        width: 2px;
        height: calc(100% + 40px);
        background: linear-gradient(to bottom, rgba(37,99,235,0.3), rgba(37,99,235,0.05));
    }

    .step-connector:last-child::after {
        display: none;
    }

.step-number {
    position: relative;
    z-index: 2;
}

    .step-number::after {
        content: '';
        position: absolute;
        inset: -4px;
        border-radius: 50%;
        background: inherit;
        filter: blur(12px);
        opacity: 0.3;
        z-index: -1;
    }

/* ── Metric Counter ── */
.metric-card {
    position: relative;
    overflow: hidden;
}

    .metric-card::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--sdk-blue), var(--sdk-indigo));
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .metric-card:hover::after {
        transform: scaleX(1);
    }

/* ── Map Section ── */
.map-stat-box {
    transition: all 0.3s ease;
}

    .map-stat-box:hover {
        border-color: rgba(99,102,241,0.2);
        background: rgba(255,255,255,0.06);
    }

.city-row-hover {
    transition: all 0.3s;
}

    .city-row-hover:hover {
        background: rgba(255,255,255,0.07);
        border-color: rgba(255,255,255,0.1);
    }

.tab-inactive {
    transition: all 0.3s;
}

    .tab-inactive:hover {
        background: rgba(255,255,255,0.1);
        color: rgba(255,255,255,0.7);
    }

.map-toolbar-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .map-toolbar-scroll::-webkit-scrollbar {
        display: none;
    }

.map-stage {
    position: relative;
    width: 100%;
    height: 100%;
}

.map-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    opacity: 0.97;
    filter: drop-shadow(0 18px 44px rgba(0,0,0,0.45));
}

.map-glow {
    position: absolute;
    inset: -10%;
    background: radial-gradient(circle at 50% 55%, rgba(52,211,153,0.09) 0%, rgba(59,130,246,0.10) 30%, transparent 62%);
    filter: blur(18px);
    opacity: 0.9;
    pointer-events: none;
}

.map-markers {
    position: absolute;
    inset: 0;
    z-index: 20;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.map-marker {
    position: absolute;
    transform: translate(-50%, -100%);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    pointer-events: auto;
    user-select: none;
}

.map-marker-bubble {
    padding: 8px 10px;
    border-radius: 14px;
    background: rgba(10, 22, 40, 0.82);
    border: 1px solid rgba(255,255,255,0.10);
    backdrop-filter: blur(14px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    min-width: 132px;
}

.map-marker-title {
    font-size: 0.78rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.05;
}

.map-marker-sub {
    margin-top: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.02em;
}

.map-pin {
    width: 26px;
    height: 26px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59,130,246,0.95), rgba(52,211,153,0.9));
    box-shadow: 0 10px 20px rgba(37,99,235,0.24), 0 10px 30px rgba(16,185,129,0.16);
    border: 1px solid rgba(255,255,255,0.18);
}

    .map-pin svg {
        width: 16px;
        height: 16px;
        color: rgba(255,255,255,0.95);
    }

.map-marker:hover .map-marker-bubble {
    border-color: rgba(99,102,241,0.22);
    background: rgba(10, 22, 40, 0.90);
}

/* ── Heat Overlay ── */
.heat-overlay {
    position: absolute;
    inset: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

    .heat-overlay.hidden {
        display: none !important;
    }

.heat-center {
    width: min(520px, calc(100% - 48px));
    text-align: center;
    padding: 10px 12px;
}

.heat-heart-wrap {
    position: relative;
    width: 126px;
    height: 126px;
    margin: 0 auto;
    display: grid;
    place-items: center;
}

.heat-ring {
    position: absolute;
    inset: -12px;
    border-radius: 9999px;
    border: 1px solid rgba(52,211,153,0.18);
    opacity: 0;
    animation: ringPulse 1.9s ease-in-out infinite;
    filter: blur(0.2px);
}

.heat-ring-2 {
    animation-delay: 0.95s;
    border-color: rgba(59,130,246,0.18);
}

.heat-heart {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: heartBeat 1.9s ease-in-out infinite;
    filter: drop-shadow(0 16px 40px rgba(52,211,153,0.14)) drop-shadow(0 18px 44px rgba(59,130,246,0.16));
    opacity: 0.98;
}

.heat-copy {
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(10, 22, 40, 0.78);
    border: 1px solid rgba(255,255,255,0.10);
    backdrop-filter: blur(18px);
    box-shadow: 0 22px 70px rgba(0,0,0,0.40);
}

.heat-kicker {
    margin-top: 14px;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    font-family: 'Sora', sans-serif;
}

.heat-slogan {
    margin-top: 10px;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #fff;
    font-size: clamp(1.35rem, 2.55vw, 1.95rem);
    line-height: 1.2;
    transition: opacity 0.45s ease, transform 0.45s ease;
    text-wrap: balance;
}

.heat-sub {
    margin-top: 10px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 0.98rem;
    line-height: 1.55;
    color: rgba(255,255,255,0.58);
    transition: opacity 0.45s ease, transform 0.45s ease;
    text-wrap: balance;
}

    .heat-slogan.is-out, .heat-sub.is-out {
        opacity: 0;
        transform: translateY(10px);
    }

.is-heat .map-svg {
    opacity: 0.18;
    filter: blur(1.2px) saturate(0.75) drop-shadow(0 18px 44px rgba(0,0,0,0.35));
}

.is-heat .map-markers {
    opacity: 0;
    pointer-events: none;
}

.is-heat .map-view-only {
    display: none !important;
}

/* ── Summary Chip ── */
.summary-chip-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
    opacity: .98;
}

/* ── Marquee Band ── */
.marquee-band {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

    .marquee-band::before,
    .marquee-band::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 100px;
        z-index: 2;
        pointer-events: none;
    }

    .marquee-band::before {
        left: 0;
        background: linear-gradient(to right, var(--fade-color, #fff), transparent);
    }

    .marquee-band::after {
        right: 0;
        background: linear-gradient(to left, var(--fade-color, #fff), transparent);
    }

.marquee-track {
    display: inline-flex;
    gap: 48px;
    animation: marquee 40s linear infinite;
}

    .marquee-track:hover {
        animation-play-state: paused;
    }

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: rgba(15,23,42,0.3);
    white-space: nowrap;
    user-select: none;
}

.marquee-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sdk-blue), var(--sdk-indigo));
    opacity: 0.4;
    flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 640px) {
    .map-overlay-hide-sm {
        display: none !important;
    }

    .map-marker-bubble {
        min-width: 120px;
        padding: 7px 9px;
    }

    .map-marker-title {
        font-size: 0.74rem;
    }

    .map-marker-sub {
        font-size: 0.66rem;
    }

    .map-pin {
        width: 24px;
        height: 24px;
    }

    .heat-heart-wrap {
        width: 112px;
        height: 112px;
    }

    .heat-center {
        width: min(520px, calc(100% - 28px));
    }

    .heat-sub {
        font-size: 0.92rem;
    }
}

@media (max-width: 640px) {
    .wallet-card {
        min-height: 220px;
        padding: 24px 20px !important;
        border-radius: 22px !important;
        aspect-ratio: 1.586 / 1;
    }

        .wallet-card .text-\[0\.88rem\] {
            font-size: 0.78rem;
            letter-spacing: 0.22em;
        }

        .wallet-card .chip-gradient {
            width: 44px;
            height: 32px;
        }

    .wallet-card-outer {
        padding: 16px !important;
        border-radius: 28px !important;
    }

    .summary-chip-logo {
        width: 42px;
        height: 42px;
    }
}
/* Replace your existing mobile media queries with these enhanced ones */

@media (max-width: 768px) {
    /* Coverage Map Section - reduce padding */
    #coverage-map {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }
        /* Stats grid - 2x2 on mobile, better spacing */
        #coverage-map .grid.grid-cols-2 {
            gap: 8px;
        }
    /* Map markers - hide bubbles on very small screens, show only pins */
    .map-marker-bubble {
        display: none;
    }

    .map-marker {
        transform: translate(-50%, -50%);
    }

    .map-pin {
        width: 20px;
        height: 20px;
    }

        .map-pin svg {
            width: 12px;
            height: 12px;
        }
    /* Map overlays - simplify on mobile */
    .map-view-only {
        padding: 6px 10px !important;
    }

        .map-view-only .text-\[0\.72rem\],
        .map-view-only .text-\[0\.82rem\] {
            font-size: 0.68rem;
        }
    /* Heat overlay adjustments */
    .heat-heart-wrap {
        width: 90px;
        height: 90px;
    }

    .heat-copy {
        padding: 10px 12px;
    }

    .heat-slogan {
        font-size: 1.1rem !important;
    }

    .heat-sub {
        font-size: 0.82rem;
    }

    .heat-kicker {
        font-size: 0.6rem;
    }
    /* City rows in sidebar */
    .city-row-hover {
        padding: 10px 12px;
    }

        .city-row-hover .font-extrabold.text-\[0\.9rem\] {
            font-size: 0.82rem;
        }
}

@media (max-width: 480px) {
    /* Even smaller screens - further simplify map */
    .map-view-only {
        display: none !important;
    }

    .map-marker .map-pin {
        width: 18px;
        height: 18px;
    }

    .heat-heart-wrap {
        width: 76px;
        height: 76px;
    }

    .heat-slogan {
        font-size: 0.95rem !important;
    }

    .heat-sub {
        font-size: 0.76rem;
    }
}