/* ========================================
   PERRATA — OPERIQO-STYLE v2
   Beyaz Zemin, Kobalt Mavi, 3D Efektler, Montserrat (Nike-style)
   ======================================== */

/* ===== MONTSERRAT HEADING SYSTEM ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.03em;
}

/* ===== GLOBAL RESETS ===== */
*, *::before, *::after { box-sizing: border-box; }

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

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: transparent !important;
    color: #1C1C1C;
    overflow-x: hidden;
    line-height: 1.7;
}

/* Force main sections to be transparent so the fixed .global-bg grid is visible across all pages */
section.bg-bg-main, section.bg-white, section.bg-bg-card, main {
    background-color: transparent !important;
}

/* ===== NOISE OVERLAY ===== */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    opacity: 0.025;
}

/* ===== 3D FLOATING ORBS (Operiqo-style) ===== */
.orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle at 30% 30%, rgba(0, 82, 204, 0.12), rgba(0, 71, 171, 0.03) 70%, transparent);
    top: -120px;
    right: -100px;
    animation: orb-float-1 12s ease-in-out infinite;
    filter: blur(60px);
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at 60% 40%, rgba(26, 111, 255, 0.1), rgba(0, 82, 204, 0.02) 70%, transparent);
    bottom: -100px;
    left: -80px;
    animation: orb-float-2 15s ease-in-out infinite;
    filter: blur(50px);
}

.orb-3 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle at 50% 50%, rgba(0, 82, 204, 0.08), transparent 70%);
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orb-float-3 18s ease-in-out infinite;
    filter: blur(80px);
}

@keyframes orb-float-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, 20px) scale(1.05); }
    66% { transform: translate(-20px, -15px) scale(0.97); }
}
@keyframes orb-float-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-25px, -30px) scale(1.04); }
    66% { transform: translate(15px, 20px) scale(0.96); }
}
@keyframes orb-float-3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.12); }
}

/* ===== FULL PAGE SOFT GRID BACKGROUND ===== */
.grid-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: 
        linear-gradient(to right, rgba(0, 82, 204, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 82, 204, 0.05) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 85%);
    opacity: 1;
}

/* ===== NAVBAR — 3D Floating Glassmorphism Pill ===== */
#navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateZ(0);
    width: calc(100% - 40px);
    max-width: 1920px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(0, 82, 204, 0.08);
    box-shadow:
        0 4px 16px rgba(0, 82, 204, 0.06),
        0 8px 32px rgba(0, 0, 0, 0.04),
        0 1px 0 rgba(255, 255, 255, 0.8) inset,
        0 -1px 0 rgba(0, 0, 0, 0.03) inset;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
}

#navbar > a:first-child {
    margin-right: auto;
}

#navbar > .nav-cta-btn {
    margin-left: auto;
}

.navbar-scrolled {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(32px) !important;
    -webkit-backdrop-filter: blur(32px) !important;
    border-color: rgba(0, 82, 204, 0.12) !important;
    box-shadow:
        0 8px 40px rgba(0, 82, 204, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.04),
        0 1px 0 rgba(255, 255, 255, 0.9) inset !important;
}

.nav-brand {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 3px;
    color: #0052CC;
    transition: color 0.5s;
    text-transform: uppercase;
}

.nav-link-item {
    position: relative;
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 600;
    color: #6B7280;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    text-decoration: none;
}

.nav-link-item:hover {
    color: #0052CC;
    transform: translateY(-1px);
}

.nav-link-item.active {
    color: #0052CC;
    background: rgba(0, 82, 204, 0.06);
}

.nav-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #0052CC, #1A6FFF);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow:
        0 4px 16px rgba(0, 82, 204, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.2) inset;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
}

.nav-cta-btn:hover {
    transform: scale(1.05) translateY(-3px) translateZ(0);
    box-shadow:
        0 12px 32px rgba(0, 82, 204, 0.4),
        0 4px 8px rgba(0, 0, 0, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.3) inset;
}

.nav-cta-btn:active {
    transform: scale(0.97) translateY(1px);
    box-shadow:
        0 2px 8px rgba(0, 82, 204, 0.3),
        0 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-cta-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.nav-cta-btn:hover::before {
    transform: translateX(100%);
}

/* ===== TEXT SHADOWS ===== */
.text-shadow-hero {
    text-shadow: 0 4px 30px rgba(0, 82, 204, 0.15), 0 1px 3px rgba(0, 0, 0, 0.06);
}

.text-shadow-section {
    text-shadow: 0 2px 16px rgba(0, 82, 204, 0.1), 0 1px 2px rgba(0, 0, 0, 0.04);
}

.text-shadow-accent {
    text-shadow: 0 4px 24px rgba(0, 82, 204, 0.2);
}

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    background: transparent;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 22px;
    border-radius: 9999px;
    background: rgba(0, 82, 204, 0.06);
    border: 1px solid rgba(0, 82, 204, 0.12);
    font-size: 12px;
    font-weight: 700;
    color: #0052CC;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 28px;
    transition: all 0.4s;
}

.hero-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 82, 204, 0.12);
}

.hero-badge .pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0052CC;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(38px, 6vw, 72px);
    font-weight: 900;
    color: #1C1C1C;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -0.04em;
    text-transform: none;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #0052CC 0%, #1A6FFF 50%, #0052CC 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease-in-out infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 200% center; }
}

.hero-subtitle {
    font-size: 18px;
    color: #6B7280;
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.8;
    font-weight: 400;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 42px;
    border-radius: 9999px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #0052CC, #1A6FFF);
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow:
        0 8px 28px rgba(0, 82, 204, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.2) inset;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
}

.hero-cta:hover {
    transform: scale(1.05) translateY(-4px) translateZ(0);
    box-shadow:
        0 16px 48px rgba(0, 82, 204, 0.35),
        0 8px 16px rgba(0, 0, 0, 0.06),
        0 1px 0 rgba(255, 255, 255, 0.3) inset;
}

.hero-cta:active {
    transform: scale(0.97) translateY(1px);
    box-shadow:
        0 4px 12px rgba(0, 82, 204, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.08);
}

.hero-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.hero-cta:hover::before {
    transform: translateX(100%);
}

.hero-social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
    font-size: 14px;
    color: #9CA3AF;
    font-weight: 500;
}

.hero-avatars {
    display: flex;
}

.hero-avatars .avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -8px;
    background: linear-gradient(135deg, #0052CC, #1A6FFF);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 82, 204, 0.2);
}

.hero-avatars .avatar:first-child {
    margin-left: 0;
}

/* ===== 3D FLOATING CARD EFFECT ===== */
.card-3d {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.6s;
    transform-style: preserve-3d;
    will-change: transform;
}

.card-3d:hover {
    transform: perspective(800px) rotateY(-3deg) rotateX(3deg) translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 82, 204, 0.12), 0 10px 20px rgba(0, 0, 0, 0.04);
}

/* ===== SECTION COMMON ===== */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: 9999px;
    background: rgba(0, 82, 204, 0.05);
    border: 1px solid rgba(0, 82, 204, 0.1);
    font-size: 12px;
    font-weight: 700;
    color: #0052CC;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(28px, 4vw, 54px);
    font-weight: 800;
    color: #1C1C1C;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.section-title .accent {
    color: #0052CC;
}

.section-title .serif-accent {
    font-family: 'DM Serif Display', serif;
    font-style: italic;
    color: #0052CC;
}

.section-desc {
    font-size: 16px;
    color: #6B7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===== CARDS ===== */
.card {
    background: #FFFFFF;
    border-radius: 2rem;
    border: 1px solid rgba(0, 82, 204, 0.06);
    padding: 40px;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.card:hover {
    transform: perspective(800px) rotateY(-2deg) rotateX(2deg) translateY(-6px);
    box-shadow: 0 24px 60px rgba(0, 82, 204, 0.1), 0 8px 20px rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 82, 204, 0.15);
}

.card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.08), rgba(26, 111, 255, 0.04));
    border: 1px solid rgba(0, 82, 204, 0.08);
    margin-bottom: 20px;
    color: #0052CC;
    transition: all 0.4s;
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 0 4px 16px rgba(0, 82, 204, 0.15);
}

.card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #1C1C1C;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.card-desc {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.8;
}

/* ===== PROCESS SECTION ===== */
.process-step {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding: 48px 0;
    border-bottom: 1px solid rgba(0, 82, 204, 0.06);
    position: relative;
    transition: all 0.4s;
}

.process-step:last-child { border-bottom: none; }

.process-step:hover {
    transform: translateX(12px);
}

.process-step:hover .process-number {
    color: rgba(0, 82, 204, 0.2);
    text-shadow: 0 4px 20px rgba(0, 82, 204, 0.1);
}

.process-number {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(60px, 8vw, 100px);
    font-weight: 900;
    color: rgba(0, 82, 204, 0.06);
    line-height: 1;
    flex-shrink: 0;
    min-width: 120px;
    transition: all 0.6s;
    letter-spacing: -0.04em;
}

.process-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #1C1C1C;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.process-content p {
    font-size: 15px;
    color: #6B7280;
    line-height: 1.8;
    max-width: 500px;
}

/* ===== INTERACTIVE CARDS ===== */
.shuffler-item {
    position: absolute;
    left: 16px;
    right: 16px;
    height: 56px;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tw-cursor {
    display: inline-block;
    width: 2px;
    height: 14px;
    background: #0052CC;
    animation: blink-cursor 0.8s step-end infinite;
    vertical-align: middle;
    margin-left: 2px;
}

@keyframes blink-cursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.scheduler-day.active {
    background: #0052CC !important;
    color: #fff !important;
    border-color: #0052CC !important;
    box-shadow: 0 2px 10px rgba(0, 82, 204, 0.3);
    transform: scale(0.95);
}

.scheduler-save.active {
    background: #0052CC !important;
    color: #fff !important;
    border-color: #0052CC !important;
}

.svg-cursor {
    position: absolute;
    width: 20px;
    height: 20px;
    opacity: 0;
    z-index: 10;
    pointer-events: none;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* ===== PULSE DOT ===== */
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 82, 204, 0.4); }
    50% { opacity: 0.8; transform: scale(1.3); box-shadow: 0 0 0 8px rgba(0, 82, 204, 0); }
}

.pulse-dot {
    animation: pulse-dot 2s ease-in-out infinite;
}

/* ===== BENEFIT TOP-LINE ===== */
.benefit-card {
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0052CC, #1A6FFF);
    transform: scaleX(0);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: left;
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

/* ===== PHILOSOPHY SECTION ===== */
.philosophy-section {
    background: linear-gradient(180deg, #0B1629 0%, #0F2040 100%);
    position: relative;
    overflow: hidden;
}

.philosophy-texture {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background: url('https://images.unsplash.com/photo-1557682250-33bd709cbe85?w=1920&q=80') center/cover;
}

.philosophy-card-old {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 2rem;
    padding: 40px;
    transition: all 0.5s;
}

.philosophy-card-old:hover {
    transform: perspective(800px) rotateY(2deg) translateY(-4px);
}

.philosophy-card-new {
    background: rgba(0, 82, 204, 0.08);
    border: 1px solid rgba(0, 82, 204, 0.2);
    border-radius: 2rem;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s;
}

.philosophy-card-new:hover {
    transform: perspective(800px) rotateY(-2deg) translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 82, 204, 0.15);
}

.philosophy-card-new::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: rgba(0, 82, 204, 0.1);
    border-radius: 50%;
    filter: blur(60px);
}

/* ===== PROTOCOL STACKING CARDS ===== */
.protocol-card {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
}

.protocol-inner {
    width: 100%;
    max-width: 1000px;
    height: 80vh;
    border-radius: 2.5rem;
    display: flex;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #0B1629, #0F2040);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
    transition: all 0.5s;
}

.protocol-inner:hover {
    box-shadow: 0 40px 100px rgba(0, 82, 204, 0.2);
}

/* ===== FAQ ACCORDION ===== */
.faq-item {
    background: #FFFFFF;
    border: 1px solid rgba(0, 82, 204, 0.06);
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.4s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.faq-item:hover {
    border-color: rgba(0, 82, 204, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 82, 204, 0.06);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #1C1C1C;
    transition: color 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    stroke: #0052CC;
}

.faq-item.active .faq-question {
    color: #0052CC;
}

.faq-item.active {
    border-color: rgba(0, 82, 204, 0.2);
    box-shadow: 0 8px 30px rgba(0, 82, 204, 0.08);
}

/* ===== CTA SECTION ===== */
.cta-section {
    text-align: center;
    padding: 100px 24px;
    background: #F8F9FC;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 82, 204, 0.05) 0%, transparent 70%);
    pointer-events: none;
    animation: orb-float-3 12s ease-in-out infinite;
}

/* Ensure CTA text visibility */
.cta-section h2,
.cta-section p {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

/* ===== FOOTER ===== */
.footer {
    background: #0B1629;
    border-radius: 3rem 3rem 0 0;
    padding: 80px 24px 40px;
    position: relative;
    z-index: 2;
}

.footer-brand {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 3px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.footer-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.7;
    max-width: 280px;
}

.footer-heading {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    font-family: 'JetBrains Mono', monospace;
}

.footer-link {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.footer-link:hover {
    color: #fff;
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 32px;
    margin-top: 60px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.footer-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== MODAL ===== */
.modal-overlay {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(11, 22, 41, 0.5);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-container {
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border: 1px solid rgba(0, 82, 204, 0.08);
    border-radius: 2rem;
    padding: 40px;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
    transform: translateY(30px) scale(0.96);
    transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.modal-overlay.active .modal-container { transform: translateY(0) scale(1); }

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(0, 82, 204, 0.1);
    background: #F9FAFB;
    color: #1C1C1C;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.modal-close:hover {
    transform: rotate(90deg);
    background: rgba(0, 82, 204, 0.06);
}

.modal-input {
    width: 100%;
    height: 48px;
    border-radius: 12px;
    border: 1px solid rgba(0, 82, 204, 0.1);
    background: #F9FAFB;
    color: #1C1C1C;
    font-size: 14px;
    padding: 0 16px;
    outline: none;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
}

.modal-input:focus {
    border-color: #0052CC;
    background: rgba(0, 82, 204, 0.02);
    box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.08);
}

.modal-submit {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 1rem;
    background: linear-gradient(135deg, #0052CC, #1A6FFF);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
}

.modal-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 82, 204, 0.3);
}

.modal-submit.loading .btn-text { display: none; }
.modal-submit.loading .spinner { display: block; }

/* ===== TOAST ===== */
.toast-notification {
    position: fixed;
    top: 32px;
    right: 32px;
    z-index: 10001;
    background: #fff;
    border: 1px solid rgba(0, 82, 204, 0.1);
    border-radius: 1.5rem;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    max-width: 420px;
    transform: translateX(120%);
    transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.toast-notification.show { transform: translateX(0); }

/* ===== INPUT ERROR ===== */
.input-error {
    border: 1px solid #ef4444 !important;
    animation: shake 0.4s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0, 82, 204, 0.15); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0, 82, 204, 0.3); }

/* ===== CASE STUDY ACCORDION ===== */
.case-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.case-accordion.active .case-body { max-height: 300px; }
.case-accordion.active .case-chevron { transform: rotate(180deg); }

/* ========================================
   HAMBURGER & MOBILE MENU
   ======================================== */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 5px;
    z-index: 1002;
    border-radius: 10px;
    transition: background 0.3s;
}

.hamburger-btn:hover { background: rgba(0, 82, 204, 0.06); }

.hamburger-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: #1C1C1C;
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
}

.hamburger-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger-btn.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
}

.mobile-menu.open { opacity: 1; visibility: visible; }

.mobile-menu a {
    font-size: 18px;
    font-weight: 700;
    color: #1C1C1C;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 16px;
    transition: all 0.3s;
}

.mobile-menu a:hover, .mobile-menu a.active {
    background: rgba(0, 82, 204, 0.06);
    color: #0052CC;
}

.mobile-menu .mobile-cta {
    margin-top: 16px;
    background: linear-gradient(135deg, #0052CC, #1A6FFF);
    color: #fff !important;
    padding: 16px 40px;
    border-radius: 9999px;
    box-shadow: 0 8px 24px rgba(0, 82, 204, 0.3);
}

.mobile-menu .mobile-lang-wrapper {
    margin-top: 24px;
    display: flex;
    gap: 12px;
}

.mobile-menu .mobile-lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 12px;
    border: 2px solid rgba(0, 82, 204, 0.12);
    background: transparent;
    font-size: 14px;
    font-weight: 700;
    color: #1C1C1C;
    cursor: pointer;
    transition: all 0.3s;
}

.mobile-menu .mobile-lang-btn.active-lang {
    border-color: #0052CC;
    background: rgba(0, 82, 204, 0.06);
    color: #0052CC;
}

/* ===== LANG SELECTOR ===== */
.lang-selector { position: relative; }

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    border: 2px solid rgba(0, 82, 204, 0.15);
    background: rgba(0, 82, 204, 0.04);
    color: #1C1C1C;
}

.lang-btn:hover { transform: scale(1.03) translateY(-1px); }

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 82, 204, 0.08);
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    min-width: 160px;
    z-index: 1001;
    display: none;
}

.lang-dropdown.open { display: block; }

.lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #1C1C1C;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.lang-option:hover { background: rgba(0, 82, 204, 0.04); }

/* ========================================
   FLATPICKR THEME
   ======================================== */
.flatpickr-calendar {
    font-family: 'Poppins', sans-serif !important;
    background: #fff !important;
    border: 1px solid rgba(0, 82, 204, 0.08) !important;
    border-radius: 1.25rem !important;
    box-shadow: 0 20px 60px rgba(0, 82, 204, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04) !important;
    padding: 10px !important;
    width: 320px !important;
    animation: flatpickr-fadeIn 0.25s ease;
}

@keyframes flatpickr-fadeIn {
    from { opacity: 0; transform: translateY(6px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.flatpickr-calendar::before, .flatpickr-calendar::after { display: none !important; }

.flatpickr-current-month { font-size: 15px !important; font-weight: 700 !important; color: #1C1C1C !important; }
.flatpickr-day { font-size: 13px !important; font-weight: 500 !important; color: #1C1C1C !important; border-radius: 10px !important; height: 38px !important; line-height: 38px !important; border: none !important; transition: all 0.2s !important; }
.flatpickr-day:hover { background: rgba(0, 82, 204, 0.06) !important; color: #0052CC !important; }
.flatpickr-day.today { border: 2px solid rgba(0, 82, 204, 0.2) !important; color: #0052CC !important; font-weight: 700 !important; }
.flatpickr-day.selected, .flatpickr-day.selected:hover { background: linear-gradient(135deg, #0052CC, #1A6FFF) !important; color: #fff !important; box-shadow: 0 4px 14px rgba(0, 82, 204, 0.35) !important; }
.flatpickr-day.flatpickr-disabled, .flatpickr-day.prevMonthDay, .flatpickr-day.nextMonthDay { color: rgba(28, 28, 28, 0.18) !important; }
span.flatpickr-weekday { font-family: 'JetBrains Mono', monospace !important; font-size: 11px !important; font-weight: 600 !important; color: rgba(28, 28, 28, 0.35) !important; }
.flatpickr-time input { font-family: 'JetBrains Mono', monospace !important; font-size: 20px !important; font-weight: 700 !important; color: #1C1C1C !important; background: rgba(0, 82, 204, 0.04) !important; border-radius: 12px !important; }
.flatpickr-time .flatpickr-time-separator { font-family: 'JetBrains Mono', monospace !important; color: #1C1C1C !important; }
.flatpickr-time .flatpickr-am-pm { font-family: 'JetBrains Mono', monospace !important; color: #1C1C1C !important; background: rgba(0, 82, 204, 0.04) !important; border-radius: 10px !important; }
.flatpickr-calendar.noCalendar { width: 200px !important; padding: 14px !important; border-radius: 1rem !important; }
.flatpickr-calendar.noCalendar .flatpickr-time { border-top: none !important; }

/* ========================================
   HAMBURGER BUTTON
   ======================================== */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
    position: relative;
}

.hamburger-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: #0052CC;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
}

.hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   MOBILE MENU — Side Panel (Drawer)
   ======================================== */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 15, 45, 0.3);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    display: flex;
    position: fixed;
    top: 0;
    right: -320px;
    bottom: 0;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    z-index: 999;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    padding: 100px 32px 32px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.08);
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-menu.open {
    visibility: visible;
    transform: translateX(-320px);
}

@media (max-width: 400px) {
    .mobile-menu.open {
        transform: translateX(-85vw);
    }
    .mobile-menu {
        right: -85vw;
        width: 85vw;
    }
}

.mobile-menu a {
    display: block;
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #1C1C1C;
    text-decoration: none;
    text-align: left;
    transition: all 0.3s;
    letter-spacing: -0.01em;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    background: rgba(0, 82, 204, 0.06);
    color: #0052CC;
    transform: translateX(4px);
}

.mobile-menu .mobile-cta {
    margin-top: auto;
    padding: 16px 24px;
    border-radius: 9999px;
    font-size: 16px;
    font-weight: 700;
    color: #fff !important;
    background: linear-gradient(135deg, #0052CC, #1A6FFF);
    box-shadow: 0 8px 28px rgba(0, 82, 204, 0.3), 0 1px 0 rgba(255, 255, 255, 0.2) inset;
    text-align: center;
    transform: none !important;
}

.mobile-menu .mobile-cta:hover {
    transform: scale(1.03) translateY(-2px);
    box-shadow: 0 12px 36px rgba(0, 82, 204, 0.35);
}

.mobile-lang-wrapper {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.mobile-lang-btn {
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #6B7280;
    background: rgba(0, 82, 204, 0.04);
    border: 1px solid rgba(0, 82, 204, 0.08);
    cursor: pointer;
    transition: all 0.3s;
}

.mobile-lang-btn.active-lang {
    color: #0052CC;
    background: rgba(0, 82, 204, 0.1);
    border-color: rgba(0, 82, 204, 0.2);
}
/* ===== SCROLL REVEAL ANIMATIONS ===== */
.js-reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}
.js-reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.js-reveal-delay-1 { transition-delay: 0.1s; }
.js-reveal-delay-2 { transition-delay: 0.2s; }
.js-reveal-delay-3 { transition-delay: 0.3s; }

/* ===== AMBIENT GLOW SPOTLIGHT ===== */
.ambient-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 82, 204, 0.05) 0%, rgba(26, 111, 255, 0.02) 30%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.5s ease;
    mix-blend-mode: multiply;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    #navbar {
        width: calc(100% - 24px) !important;
        max-width: none !important;
        padding: 10px 16px !important;
        gap: 0 !important;
        justify-content: space-between !important;
    }

    #navbar .nav-link-item,
    #navbar .nav-cta-btn,
    #navbar .lang-selector { display: none !important; }

    .hamburger-btn { display: flex; }
    .mobile-menu { display: flex; }

    .hero-section { padding: 100px 20px 60px; min-height: auto; }
    .hero-title { font-size: clamp(28px, 8vw, 42px) !important; }

    .process-step { flex-direction: column; gap: 16px; }
    .process-number { min-width: auto; font-size: 48px; }
    .process-step:hover { transform: none; }

    .card:hover { transform: translateY(-4px); }

    .section-title { font-size: clamp(24px, 6vw, 36px) !important; }

    .protocol-inner { flex-direction: column; height: auto; min-height: 70vh; }
    .protocol-inner > div:first-child { padding: 32px 24px !important; }
    .protocol-inner canvas { display: none; }

    .footer { border-radius: 2rem 2rem 0 0; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .card { padding: 28px; }
    .grid-bg { display: none; }

    .orb { display: none; }

    .cta-section h2 { font-size: clamp(24px, 6vw, 36px) !important; }
}

@media (max-width: 480px) {
    #navbar { top: 8px !important; width: calc(100% - 16px) !important; }
    .hero-title { font-size: clamp(24px, 7vw, 32px) !important; }
}

/* ========================================
   ELEVENLABS, HOVER & TYPEWRITER EFFECTS
   ======================================== */
.hover-reactive {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}
.hover-reactive:hover {
    transform: translateY(-4px) scale(1.02) perspective(800px) rotateX(2deg);
}

.typewriter-text {
    overflow: hidden;
    border-right: 0.15em solid #0052CC;
    white-space: nowrap;
    margin: 0 auto;
    animation: 
        typing 3.5s steps(40, end) infinite alternate,
        blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}
@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #0052CC; }
}

.elevenlabs-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 2.5rem;
    border-radius: 3rem;
    min-width: 320px;
    z-index: 10;
}
.elevenlabs-header {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.05);
    padding: 8px 16px;
    border-radius: 999px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255,255,255,0.1);
}
.elevenlabs-sphere-wrapper {
    width: 140px;
    height: 140px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}
.elevenlabs-sphere {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #1A6FFF, #001F5C 80%);
    box-shadow: 0 0 30px rgba(26, 111, 255, 0.4), inset 0 0 20px rgba(255,255,255,0.2);
    animation: orb-float-3 12s ease-in-out infinite;
    position: relative;
    transform-style: preserve-3d;
}
.elevenlabs-sphere::before {
    content: '';
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent, rgba(26, 111, 255, 0.2), transparent);
    animation: spin 4s linear infinite;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

@keyframes waveform {
    0% { transform: scale(0.95); box-shadow: 0 0 20px rgba(26, 111, 255, 0.4); }
    100% { transform: scale(1.1); box-shadow: 0 0 50px rgba(26, 111, 255, 0.8), inset 0 0 30px rgba(255,255,255,0.4); }
}

.elevenlabs-call-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    margin-top: -20px;
    z-index: 2;
}

/* ========================================
   MOBILE OFFCANVAS MENU
   ======================================== */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 22, 41, 0.6);
    backdrop-filter: blur(8px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}
.mobile-menu-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    bottom: 0;
    width: 320px;
    max-width: 85vw;
    background: #ffffff;
    z-index: 9999;
    padding: 24px;
    display: flex;
    flex-direction: column;
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0.4s;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
}
.mobile-menu-drawer.open {
    visibility: visible;
    transform: translateX(-320px);
}
@media (max-width: 400px) {
    .mobile-menu-drawer.open {
        transform: translateX(-85vw);
    }
    .mobile-menu-drawer {
        right: -85vw;
        width: 85vw;
    }
}
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}
.mobile-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 82, 204, 0.05);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #1C1C1C;
    cursor: pointer;
}
.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}
.mobile-menu-links a {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #1C1C1C;
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 12px;
    transition: background 0.3s, color 0.3s;
}
.mobile-menu-links a:hover, 
.mobile-menu-links a.active {
    background: rgba(0, 82, 204, 0.06);
    color: #0052CC;
}
.mobile-menu-footer {
    margin-top: auto;
}

/* ===== FLOATING FEATURE CARDS ===== */
.feature-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 82, 204, 0.15);
    box-shadow: 0 12px 30px rgba(0, 31, 92, 0.08);
    padding: 12px 20px;
    border-radius: 999px;
    z-index: 20;
    animation: float-card-anim 6s ease-in-out infinite;
    pointer-events: none;
    white-space: nowrap;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-float-card.scatter-away {
    transition: left 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
                right 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
                top 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
                bottom 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.scatter-away.fc-1 { top: -60px; left: -240px; }
.scatter-away.fc-2 { top: -40px; right: -250px; }
.scatter-away.fc-3 { top: 38%; left: -280px; }
.scatter-away.fc-4 { top: 52%; right: -300px; }
.scatter-away.fc-5 { bottom: -60px; left: -200px; }
.scatter-away.fc-6 { bottom: -70px; right: -210px; }

.feature-float-card .fc-icon {
    font-size: 22px;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.feature-float-card .fc-text {
    font-size: 14px;
    font-weight: 700;
    color: #1C1C1C;
    line-height: 1.2;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.01em;
}

/* Specific Positions for Desktop */
.fc-1 { top: -20px; left: -140px; animation-delay: 0s; }
.fc-2 { top: 0px; right: -150px; animation-delay: 1s; }
.fc-3 { top: 40%; left: -180px; animation-delay: 2s; }
.fc-4 { top: 50%; right: -200px; animation-delay: 3s; }
.fc-5 { bottom: -20px; left: -120px; animation-delay: 4s; }
.fc-6 { bottom: -30px; right: -130px; animation-delay: 5s; text-align: left; }

@keyframes float-card-anim {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}

@media (max-width: 1024px) {
    .feature-float-card {
        padding: 10px 16px;
    }
    .feature-float-card .fc-icon {
        font-size: 18px;
    }
    .feature-float-card .fc-text {
        font-size: 12px;
    }
    .fc-1 { left: -80px; top: -10px; }
    .fc-2 { right: -80px; top: 10px; }
    .fc-3 { left: -100px; }
    .fc-4 { right: -120px; }
    .fc-5 { left: -60px; bottom: 0; }
    .fc-6 { right: -60px; bottom: -10px; }
}

@media (max-width: 768px) {
    .feature-float-card {
        position: relative;
        left: auto !important; right: auto !important; top: auto !important; bottom: auto !important;
        width: 100%;
        max-width: 280px;
        margin: 6px auto;
        justify-content: flex-start;
        animation: none;
        transform: translateY(0) !important;
        white-space: normal;
        border-radius: 16px;
    }
    .feature-float-card .fc-text {
        text-align: left;
    }
}
/* ===== BACKGROUND PATHS ANIMATION ===== */
.bg-path-anim {
    stroke-dasharray: 1;
    animation-name: drawPath;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes drawPath {
    0% {
        stroke-dashoffset: 0;
        opacity: 0.3;
    }
    50% {
        stroke-dashoffset: 1;
        opacity: 0.6;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 0.3;
    }
}
