/* ── Anti-flash: dark background on <html> prevents white flash between page navigations ── */
html {
    background-color: #020617;
}

.glass {
    background: rgba(10, 25, 47, 0.65);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(14, 165, 233, 0.12);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.hero-mesh {
    background-image: radial-gradient(at 0% 0%, hsla(210,100%,25%,0.35) 0, transparent 50%),
                      radial-gradient(at 100% 0%, hsla(260,100%,25%,0.28) 0, transparent 50%),
                      radial-gradient(at 50% 100%, hsla(195,100%,25%,0.15) 0, transparent 60%);
}

/* Hero dashboard — outer glass card: slightly lighter, blue-tinted border */
.hero-dash-outer {
    background: rgba(12, 28, 56, 0.75);
    border-color: rgba(14, 165, 233, 0.25);
}

/* Hero dashboard — inner bg: lifted from near-black to dark navy */
.hero-dash-inner {
    background: rgba(15, 30, 60, 0.85);
    border: 1px solid rgba(14, 165, 233, 0.15);
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.scrolly-item {
    opacity: 0.3;
    transition: opacity 0.5s ease;
}
.scrolly-item.active {
    opacity: 1;
}

.chart-line {
    transition: d 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#transaction-feed {
    height: 300px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

input, textarea, select {
    background: rgba(15, 30, 60, 0.5);
    border: 1px solid rgba(14, 165, 233, 0.2);
    color: white;
}
input:focus, textarea:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.2);
}

/* Solutions Card Animation */
.solution-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.solution-card:hover {
    transform: translateY(-8px);
    border-color: rgba(14, 165, 233, 0.5);
    background: rgba(14, 165, 233, 0.08);
    box-shadow: 0 20px 40px -15px rgba(14, 165, 233, 0.25), 0 0 30px -8px rgba(14, 165, 233, 0.15);
}
.solution-card:hover .icon-box {
    background: #0ea5e9;
    color: white;
    transform: scale(1.1) rotate(5deg);
}
.icon-box {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* ── Money Flow Section – Outer Container ───────────────────────────────── */
.flow-outer-wrap {
    background: rgba(4, 10, 28, 0.88);
    border: 1px solid rgba(14, 165, 233, 0.18);
    border-radius: 2.5rem;
    padding: 52px 48px 44px;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 0 80px -20px rgba(14, 165, 233, 0.2),
        0 0 160px -60px rgba(14, 165, 233, 0.1),
        inset 0 1px 0 rgba(14, 165, 233, 0.07);
    backdrop-filter: blur(24px);
}

.flow-outer-wrap::before {
    content: '';
    position: absolute;
    top: 0; left: 20%; right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(14,165,233,0.5), transparent);
    pointer-events: none;
}

.flow-heading {
    text-align: center;
    margin-bottom: 44px;
}

.flow-body {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 40px;
}

.flow-left {
    flex: 1;
    min-width: 0;
}

.flow-right {
    flex: 0 0 232px;
}

/* ── Phone Mockup ────────────────────────────────────────────────────────── */
.flow-phone-outer {
    position: sticky;
    top: 100px;
}

.flow-phone {
    width: 232px;
    background: linear-gradient(160deg, rgba(5, 12, 30, 0.98) 0%, rgba(2, 6, 18, 1) 100%);
    border: 1.5px solid rgba(14, 165, 233, 0.28);
    border-radius: 2.8rem;
    padding: 14px 10px 18px;
    box-shadow:
        0 0 0 7px rgba(14, 165, 233, 0.03),
        0 0 50px -10px rgba(14, 165, 233, 0.3),
        inset 0 0 24px rgba(0, 0, 0, 0.5);
    position: relative;
}

.flow-phone::before {
    content: '';
    position: absolute;
    top: 10px; left: 50%; transform: translateX(-50%);
    width: 56px; height: 5px;
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(14, 165, 233, 0.22);
    border-radius: 10px;
}

.flow-phone::after {
    content: '';
    position: absolute;
    right: -2px; top: 80px;
    width: 3px; height: 36px;
    background: rgba(14, 165, 233, 0.2);
    border-radius: 0 2px 2px 0;
}

.phone-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 8px 6px;
    font-size: 7.5px;
    font-weight: 700;
    color: rgba(148, 163, 184, 0.55);
    font-family: ui-monospace, monospace;
}

.phone-screen {
    background: rgba(2, 6, 20, 0.92);
    border-radius: 1.6rem;
    padding: 14px 10px 12px;
    border: 1px solid rgba(14, 165, 233, 0.07);
    overflow: hidden;
}

.phone-screen-header {
    font-size: 8.5px;
    font-weight: 800;
    color: #7dd3fc;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 14px;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
}

.phone-screen-header::before,
.phone-screen-header::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(14, 165, 233, 0.15);
}

.phone-timeline {
    position: relative;
    padding-left: 24px;
}

.phone-timeline::before {
    content: '';
    position: absolute;
    left: 7px; top: 8px; bottom: 8px;
    width: 1.5px;
    background: linear-gradient(180deg,
        rgba(14,165,233,0.75) 0%,
        rgba(14,165,233,0.35) 65%,
        rgba(14,165,233,0.08) 100%);
    border-radius: 1px;
}

.phone-tl-step {
    position: relative;
    margin-bottom: 7px;
    padding: 6px 8px 7px;
    background: rgba(14, 165, 233, 0.04);
    border: 1px solid rgba(14, 165, 233, 0.08);
    border-radius: 8px;
}

.phone-tl-step:last-child { margin-bottom: 0; }

.phone-tl-step::before {
    content: '';
    position: absolute;
    left: -19px; top: 50%; transform: translateY(-50%);
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #0ea5e9;
    box-shadow: 0 0 6px rgba(14,165,233,0.75), 0 0 0 3px rgba(14,165,233,0.07);
    z-index: 1;
}

.phone-tl-step:nth-child(1)::before { animation: connPulse 2.4s ease-in-out infinite; }
.phone-tl-step:nth-child(2)::before { animation: connPulse 2.4s ease-in-out infinite; animation-delay: 0.4s; }
.phone-tl-step:nth-child(3)::before { animation: connPulse 2.4s ease-in-out infinite; animation-delay: 0.8s; }
.phone-tl-step:nth-child(4)::before { animation: connPulse 2.4s ease-in-out infinite; animation-delay: 1.2s; }
.phone-tl-step:nth-child(5)::before { animation: connPulse 2.4s ease-in-out infinite; animation-delay: 1.6s; }
.phone-tl-step:nth-child(6)::before { animation: connPulse 2.4s ease-in-out infinite; animation-delay: 2.0s; }

.phone-tl-row {
    display: flex;
    align-items: center;
    gap: 5px;
}

.phone-tl-num {
    font-size: 7px;
    font-weight: 800;
    color: #38bdf8;
    font-family: ui-monospace, monospace;
    flex-shrink: 0;
    width: 12px;
}

.phone-tl-title {
    font-size: 9.5px;
    font-weight: 700;
    color: #e2e8f0;
    line-height: 1.2;
    flex: 1;
}

.phone-tl-tag {
    font-size: 7px;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 3px;
    white-space: nowrap;
    flex-shrink: 0;
}

.phone-tl-tag-green  { color: #4ade80; background: rgba(74,222,128,0.1);   border: 1px solid rgba(74,222,128,0.15); }
.phone-tl-tag-blue   { color: #38bdf8; background: rgba(56,189,248,0.08);  border: 1px solid rgba(56,189,248,0.15); }
.phone-tl-tag-amber  { color: #fbbf24; background: rgba(251,191,36,0.08);  border: 1px solid rgba(251,191,36,0.15); }
.phone-tl-tag-violet { color: #a78bfa; background: rgba(167,139,250,0.08); border: 1px solid rgba(167,139,250,0.15); }

/* ══════════════════════════════════════════════════════════════════════════
   FLOW SECTION - Premium Container with Desktop/Mobile Split
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Outer Premium Container ──────────────────────────────────────────────── */
.flow-outer-container {
    background: rgba(7, 16, 38, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(14, 165, 233, 0.18);
    border-radius: 40px;
    padding: 48px 40px;
    box-shadow: 
        0 0 60px -10px rgba(14, 165, 233, 0.25),
        0 20px 60px -20px rgba(14, 165, 233, 0.15),
        inset 0 1px 0 rgba(14, 165, 233, 0.08);
    position: relative;
    overflow: hidden;
}

/* Subtle inner glow at top */
.flow-outer-container::before {
    content: '';
    position: absolute;
    top: 0; left: 20%; right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.6), transparent);
    opacity: 0.7;
}

/* ── Main Flow Area ───────────────────────────────────────────────────────── */
/* Centered flow container with optimal width */
.flow-grid-wrap {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 0;
    position: relative;
    
    /* Unified connector styling variables */
    --flow-line-color: rgba(14, 165, 233, 0.75);
    --flow-line-glow-1: 0 0 8px rgba(14, 165, 233, 0.35);
    --flow-line-glow-2: 0 0 12px rgba(14, 165, 233, 0.2);
    --flow-line-width: 2px;
    --flow-dot-fill: #38bdf8;
    --flow-dot-stroke: #0ea5e9;
    --flow-dot-stroke-width: 2px;
    --flow-dot-size: 9px;
    --flow-dot-glow-1: 0 0 12px rgba(14, 165, 233, 1);
    --flow-dot-glow-2: 0 0 20px rgba(14, 165, 233, 0.6);
    --flow-dot-glow-3: 0 0 30px rgba(14, 165, 233, 0.3);
}

.flow-row {
    display: flex;
    align-items: stretch;
    gap: 0;
    position: relative;
    z-index: 1;
}

/* Row transition connector: 03 → 04 */
.flow-row-transition {
    position: relative;
    height: 44px;
    pointer-events: none;
    margin: 0;
}

.flow-row-svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.flow-row-path {
    fill: none;
    stroke: var(--flow-line-color);
    stroke-width: var(--flow-line-width);
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(var(--flow-line-glow-1)) drop-shadow(var(--flow-line-glow-2));
}

.flow-row-dot {
    fill: var(--flow-dot-fill);
    stroke: var(--flow-dot-stroke);
    stroke-width: var(--flow-dot-stroke-width);
    filter: drop-shadow(var(--flow-dot-glow-1)) drop-shadow(var(--flow-dot-glow-2)) drop-shadow(var(--flow-dot-glow-3));
    animation: none;
}

/* ── Flow Cards ──────────────────────────────────────────────────────────── */
.flow-card {
    flex: 1;
    background: rgba(7, 16, 38, 0.8);
    border: 1px solid rgba(14, 165, 233, 0.13);
    border-radius: 18px;
    padding: 18px 18px 15px;
    transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    min-width: 0;
    z-index: 1;
}

.flow-card::after {
    content: '';
    position: absolute;
    top: 0; left: 15%; right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(14,165,233,0.55), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.flow-card:hover {
    border-color: rgba(14, 165, 233, 0.38);
    box-shadow: 0 6px 40px -12px rgba(14, 165, 233, 0.28), inset 0 1px 0 rgba(14,165,233,0.08);
    transform: translateY(-3px);
}

.flow-card:hover::after { opacity: 1; }

.flow-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 9px;
}

.flow-step-badge {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(14, 165, 233, 0.1);
    border: 1.5px solid rgba(14, 165, 233, 0.38);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    color: #7dd3fc;
    letter-spacing: 0;
    font-family: ui-monospace, monospace;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(14,165,233,0.18), 0 0 0 4px rgba(14,165,233,0.05);
}

.flow-card-icon {
    width: 26px;
    height: 26px;
    background: rgba(14, 165, 233, 0.09);
    border: 1px solid rgba(14, 165, 233, 0.18);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    flex-shrink: 0;
}

.flow-card-title {
    font-size: 13px;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 4px;
    line-height: 1.3;
}

.flow-card-desc {
    font-size: 10.5px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 11px;
}

/* ── Mini UI blocks ───────────────────────────────────────────────────────── */
.flow-mini {
    background: rgba(2, 7, 20, 0.75);
    border: 1px solid rgba(14, 165, 233, 0.08);
    border-radius: 9px;
    padding: 9px 10px;
    font-size: 10px;
}

.mini-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
}

.mini-lbl {
    font-size: 8px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.mini-val          { font-size: 10.5px; font-weight: 700; color: #cbd5e1; font-family: ui-monospace, monospace; }
.mini-val-green    { color: #4ade80 !important; }
.mini-val-cyan     { color: #38bdf8 !important; }
.mini-val-amber    { color: #fbbf24 !important; }

.mini-badge-ok {
    display: inline-flex; align-items: center; gap: 3px;
    font-size: 8px; font-weight: 700; color: #4ade80;
    background: rgba(74,222,128,0.08); border: 1px solid rgba(74,222,128,0.18);
    border-radius: 4px; padding: 1px 5px;
}

.mini-badge-warn {
    display: inline-flex; align-items: center; gap: 3px;
    font-size: 8px; font-weight: 700; color: #fbbf24;
    background: rgba(251,191,36,0.08); border: 1px solid rgba(251,191,36,0.18);
    border-radius: 4px; padding: 1px 5px;
}

.mini-sep {
    height: 1px;
    background: rgba(14,165,233,0.07);
    margin: 5px 0;
}

.mini-bar-track {
    flex: 1; height: 3px;
    background: rgba(255,255,255,0.05);
    border-radius: 2px; overflow: hidden;
    max-width: 44px;
}

.mini-bar-fill { height: 100%; border-radius: 2px; }

.mini-bal-row {
    display: flex; align-items: center;
    gap: 6px; padding: 2px 0;
}

.mini-cur-tag {
    width: 20px; height: 13px;
    background: rgba(14,165,233,0.09);
    border-radius: 3px;
    display: flex; align-items: center; justify-content: center;
    font-size: 7.5px; font-weight: 800; color: #38bdf8; flex-shrink: 0;
}

.mini-fx-pair {
    display: flex; align-items: center;
    gap: 5px; margin-bottom: 6px;
}

.mini-fx-box {
    flex: 1;
    background: rgba(14,165,233,0.05);
    border: 1px solid rgba(14,165,233,0.1);
    border-radius: 6px;
    padding: 5px 6px;
    text-align: center;
}

.mini-fx-label {
    font-size: 7px; font-weight: 700; color: #475569;
    text-transform: uppercase; margin-bottom: 2px;
}

.mini-fx-val {
    font-size: 11px; font-weight: 800;
    font-family: ui-monospace, monospace;
}

.mini-track-row {
    display: flex; align-items: flex-start;
    gap: 6px; padding: 2.5px 0; position: relative;
}

.track-node {
    flex-shrink: 0; width: 7px; height: 7px;
    border-radius: 50%; margin-top: 1.5px;
}

.track-node-done { background: #4ade80; box-shadow: 0 0 5px rgba(74,222,128,0.5); }
.track-node-live { background: #0ea5e9; box-shadow: 0 0 6px rgba(14,165,233,0.8); animation: trackPulse 1.6s ease-in-out infinite; }
.track-node-idle { background: rgba(51,65,85,0.5); border: 1px solid rgba(51,65,85,0.4); }

@keyframes trackPulse {
    0%,100% { box-shadow: 0 0 4px rgba(14,165,233,0.5); }
    50%      { box-shadow: 0 0 10px rgba(14,165,233,0.95); }
}

.mini-sec-row {
    display: flex; align-items: center;
    gap: 5px; font-size: 9px; font-weight: 600;
    color: #64748b; padding: 2px 0;
}

/* ── Horizontal Connectors (between cards in a row) ──────────────────────── */
.flow-h-conn {
    flex: 0 0 40px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 19px;
}

.conn-h-track {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
}

.conn-h-seg {
    flex: 1;
    height: var(--flow-line-width);
    background: linear-gradient(90deg, rgba(14,165,233,0.65), rgba(14,165,233,0.9));
    box-shadow: var(--flow-line-glow-1), var(--flow-line-glow-2);
    position: relative;
}

.conn-h-seg-r {
    background: linear-gradient(90deg, rgba(14,165,233,0.9), rgba(14,165,233,0.65));
    box-shadow: var(--flow-line-glow-1), var(--flow-line-glow-2);
}

.conn-dot {
    width: var(--flow-dot-size);
    height: var(--flow-dot-size);
    border-radius: 50%; 
    background: var(--flow-dot-fill);
    border: var(--flow-dot-stroke-width) solid var(--flow-dot-stroke);
    box-shadow: var(--flow-dot-glow-1), var(--flow-dot-glow-2), var(--flow-dot-glow-3);
    flex-shrink: 0;
    animation: connPulse 2.4s ease-in-out infinite;
    z-index: 2;
}

@keyframes connPulse {
    0%,100% { box-shadow: 0 0 10px rgba(14,165,233,0.9), 0 0 18px rgba(14,165,233,0.5), 0 0 28px rgba(14,165,233,0.25); transform: scale(1); }
    50%      { box-shadow: 0 0 16px rgba(14,165,233,1.0), 0 0 28px rgba(14,165,233,0.7), 0 0 40px rgba(14,165,233,0.4); transform: scale(1.3); }
}

/* ── Row transition between top and bottom rows handled by .flow-row-transition ── */

/* ── Trust Bar ───────────────────────────────────────────────────────────── */
.flow-trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: nowrap;
    background: linear-gradient(135deg, rgba(7, 16, 38, 0.85) 0%, rgba(10, 20, 42, 0.85) 100%);
    border: 1px solid rgba(14, 165, 233, 0.22);
    border-radius: 60px;
    padding: 20px 48px;
    max-width: 840px;
    margin: 40px auto 0;
    box-shadow: 
        0 0 40px -12px rgba(14,165,233,0.18),
        0 4px 20px -6px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(14,165,233,0.08);
    backdrop-filter: blur(12px);
}

.flow-trust-item {
    display: flex; 
    align-items: center; 
    gap: 10px;
    font-size: 13px; 
    font-weight: 700; 
    color: #cbd5e1;
    padding: 0 32px; 
    white-space: nowrap;
    letter-spacing: 0.02em;
    flex: 1;
    justify-content: center;
}

.flow-trust-item svg { 
    color: #38bdf8; 
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    filter: drop-shadow(0 0 4px rgba(56,189,248,0.4));
}

.flow-trust-divider {
    width: 1px; 
    height: 28px;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(14,165,233,0.3) 20%,
        rgba(14,165,233,0.4) 50%,
        rgba(14,165,233,0.3) 80%,
        transparent 100%
    );
    flex-shrink: 0;
    box-shadow: 0 0 4px rgba(14,165,233,0.15);
}

/* ── Mobile: Vertical Timeline ───────────────────────────────────────────── */
.flow-timeline-mobile {
    display: none;
    position: relative;
    padding-left: 30px;
    margin-bottom: 40px;
}

.flow-timeline-mobile::before {
    content: '';
    position: absolute;
    left: 9px; top: 10px; bottom: 10px;
    width: 2px;
    background: linear-gradient(180deg,
        rgba(14,165,233,0.7) 0%,
        rgba(14,165,233,0.35) 60%,
        rgba(14,165,233,0.1) 100%);
    border-radius: 1px;
}

.tl-step {
    position: relative;
    margin-bottom: 14px;
}

.tl-node {
    position: absolute;
    left: -27px; top: 13px;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #0ea5e9;
    border: 2px solid #010912;
    box-shadow: 0 0 8px rgba(14,165,233,0.75);
    z-index: 2;
}

.tl-card {
    background: rgba(7, 16, 38, 0.8);
    border: 1px solid rgba(14, 165, 233, 0.13);
    border-radius: 14px;
    padding: 14px 14px 12px;
}

.tl-card-top {
    display: flex; align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

@media (max-width: 1023px) {
    /* Mobile: show vertical timeline, hide desktop grid */
    .flow-grid-wrap       { display: none; }
    .flow-timeline-mobile { display: block; }
    .flow-outer-container { 
        padding: 32px 24px;
        border-radius: 28px;
    }
    .flow-trust-bar {
        padding: 18px 36px;
        max-width: 720px;
    }
    .flow-trust-item {
        padding: 0 24px;
        font-size: 12.5px;
    }
}

@media (max-width: 767px) {
    /* Extra mobile adjustments */
    .flow-timeline-mobile { padding-left: 26px; }
    .flow-trust-bar       { 
        padding: 16px 24px; 
        gap: 8px; 
        flex-wrap: wrap;
        border-radius: 40px;
        margin-top: 24px;
    }
    .flow-trust-item      { 
        padding: 6px 16px; 
        font-size: 11.5px;
        gap: 8px;
    }
    .flow-trust-item svg {
        width: 16px;
        height: 16px;
    }
    .flow-trust-divider   { display: none; }
    .flow-outer-container { 
        padding: 24px 20px;
        border-radius: 24px;
    }
}

/* Platform Modules */
.platform-module {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.platform-module.active {
    opacity: 1;
    transform: translateY(0);
}

.platform-module-inner {
    background: rgba(10, 25, 47, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(14, 165, 233, 0.15);
    border-radius: 20px;
    padding: 20px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.platform-module-inner:hover {
    background: rgba(14, 165, 233, 0.08);
    border-color: rgba(14, 165, 233, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(14, 165, 233, 0.15);
}

.platform-module-inner:hover .icon-box {
    background: #0ea5e9;
    color: white;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .flow-icon-h {
        width: 56px;
        height: 56px;
    }
    
    .flow-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .flow-content {
        padding: 4px 0 24px 0;
    }
}

/* ── Logo Styling ───────────────────────────────────────────────────────────── */
.brand-logo-img {
    width: 260px;
    height: auto;
    display: block;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.brand-logo-img:hover {
    opacity: 0.85;
}

nav .brand-logo-img {
    width: 230px;
}

footer .brand-logo-img {
    width: 260px;
}

@media (max-width: 1023px) {
    nav .brand-logo-img {
        width: 150px;
    }
    
    footer .brand-logo-img {
        width: 180px;
    }
}

/* ── Navigation Active State ───────────────────────────────────────────────── */
.nav-link {
    position: relative;
    padding-bottom: 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #0ea5e9, #8b5cf6);
    border-radius: 2px;
    opacity: 0;
    transform: scaleX(0);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 8px rgba(14, 165, 233, 0.6);
}

.nav-link.active {
    color: #0ea5e9;
}

.nav-link.active::after {
    opacity: 1;
    transform: scaleX(1);
}

/* ── Mobile Menu Styles (handled in mega-menu.css) ─────────────────────────── */
/* Mobile menu button icon animation */
#mobile-menu-btn .menu-open {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

#mobile-menu-btn .menu-close {
    transition: opacity 0.2s ease, transform 0.2s ease;
    position: absolute;
}

#mobile-menu-btn.active .menu-open {
    opacity: 0;
    transform: rotate(90deg);
}

#mobile-menu-btn.active .menu-close {
    display: block !important;
    opacity: 1;
    transform: rotate(0deg);
}

/* Prevent body scroll when mobile menu is open (moved to mega-menu.css) */
body.menu-open {
    overflow: hidden;
}

/* Keyframes used by inline animation styles in the sticky visual */
@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes vis-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.35; }
}
@keyframes cr-travel {
    0%   { left: 0;                   opacity: 0; }
    8%   {                             opacity: 1; }
    92%  {                             opacity: 1; }
    100% { left: calc(100% - 12px);   opacity: 0; }
}

/* Sticky visual animation container — fades when switching visuals */
#visual-animation {
    transition: opacity 0.18s ease;
}
#visual-title {
    transition: opacity 0.18s ease;
}

/* Override Tailwind's new-item-slide — clean opacity+transform only, no layout-animating margin */
@keyframes new-item-slide {
    0%   { opacity: 0; transform: translateY(-14px) scale(0.97); }
    100% { opacity: 1; transform: translateY(0)     scale(1);    }
}
.animate-new-item-slide {
    animation: new-item-slide 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Mobile layout fixes */
@media (max-width: 1023px) {
    #transaction-feed { height: 240px; }
}
@media (max-width: 639px) {
    #bar-chart { height: 100px !important; }
    #visual-animation { transform: scale(0.75); transform-origin: center; }
}

/* ── Mobile Solutions — stacked card layout (< 1024px) ───────────────────── */
@media (max-width: 1023px) {
    /* Remove desktop sticky behavior */
    #sticky-visual {
        position: static !important;
        height: auto !important;
    }
    
    /* Mobile card styling */
    .scrolly-item {
        opacity: 1 !important;
        padding: 1.5rem !important;
        margin-bottom: 1.25rem !important;
        background: rgba(10, 25, 47, 0.7);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border: 1px solid rgba(14, 165, 233, 0.15);
        border-radius: 1.5rem;
        overflow: hidden;
    }
    
    /* Animation container inside each mobile card */
    .mobile-anim {
        height: 240px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1.25rem;
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        overflow: hidden;
        position: relative;
    }
    
    /* Scale animations to fit mobile */
    .mobile-anim > * {
        transform: scale(0.85);
        transform-origin: center center;
        max-width: 100%;
    }
    
    /* Ensure SVG animations fit properly */
    .mobile-anim svg {
        max-width: 100%;
        height: auto;
    }
    
    /* Prevent text overflow in animations */
    .mobile-anim .text-xs,
    .mobile-anim .text-sm,
    .mobile-anim .text-base {
        word-break: break-word;
    }
}

/* Scale down animations on small phones */
@media (max-width: 639px) {
    .mobile-anim {
        height: 200px;
        padding: 0.5rem;
    }
    .mobile-anim > * {
        transform: scale(0.72);
        transform-origin: center center;
    }
}

/* Very small screens */
@media (max-width: 374px) {
    .mobile-anim {
        height: 180px;
        padding: 0.25rem;
    }
    .mobile-anim > * {
        transform: scale(0.65);
        transform-origin: center center;
    }
}

/* ── Mobile Industries Carousel (< 768px) ─────────────────────────────────── */
@media (max-width: 767px) {
    /* Ensure section can contain gradient overlay */
    #industries {
        position: relative;
    }
    
    /* Gradient fade hint on the right edge */
    #industries::after {
        content: '';
        position: absolute;
        right: 0;
        bottom: 120px;
        height: 260px;
        width: 72px;
        background: linear-gradient(to left, rgba(10, 15, 30, 1) 0%, rgba(10, 15, 30, 0.65) 40%, transparent 100%);
        pointer-events: none;
        z-index: 10;
    }
    
    /* Convert grid to horizontal scroll carousel */
    .industries-grid {
        display: flex !important;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        gap: 1rem;
        padding: 0.5rem 1.5rem 1.5rem 1.5rem;
        margin: 0 -1.5rem;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Add padding spacers at start and end for perfect centering */
    .industries-grid::before,
    .industries-grid::after {
        content: '';
        flex: 0 0 calc((100vw - 82vw) / 2 - 1.5rem);
        min-width: calc((100vw - 82vw) / 2 - 1.5rem);
    }
    
    /* Hide scrollbar but keep functionality */
    .industries-grid::-webkit-scrollbar {
        display: none;
    }
    .industries-grid {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    
    /* Mobile carousel card styling */
    .industry-card {
        flex: 0 0 82vw;
        min-width: 82vw;
        max-width: 82vw;
        scroll-snap-align: center;
        scroll-snap-stop: always;
        padding: 1.5rem !important;
        display: flex;
        flex-direction: column;
        height: auto;
        min-height: 200px;
        transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    /* Compact layout: icon, title, description stacked */
    .industry-card .icon-box {
        margin-bottom: 1rem !important;
        flex-shrink: 0;
    }
    
    .industry-card h3 {
        margin-bottom: 0.75rem !important;
        font-size: 1.125rem;
    }
    
    .industry-card p {
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    /* Centered card gets subtle focus effect */
    .industry-card.in-view {
        transform: scale(1.025);
        border-color: rgba(14, 165, 233, 0.35);
        box-shadow: 0 12px 40px -12px rgba(14, 165, 233, 0.3);
    }
}

/* Extra small phones */
@media (max-width: 374px) {
    #industries::after {
        width: 56px;
        height: 240px;
    }
    
    .industries-grid {
        padding: 0.5rem 1rem 1.5rem 1rem;
        margin: 0 -1rem;
        gap: 0.75rem;
    }
    
    .industries-grid::before,
    .industries-grid::after {
        flex: 0 0 calc((100vw - 85vw) / 2 - 1rem);
        min-width: calc((100vw - 85vw) / 2 - 1rem);
    }
    
    .industry-card {
        flex: 0 0 85vw;
        min-width: 85vw;
        max-width: 85vw;
        padding: 1.25rem !important;
        min-height: 190px;
    }
}

/* ── Contact Section Mobile Responsiveness ────────────────────────────────── */
@media (max-width: 1023px) {
    /* Reduce section padding on tablets */
    #contact {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    
    /* Tighter spacing in left column */
    #contact .lg\:col-span-5 {
        margin-bottom: 1.5rem;
    }
    
    /* Adjust title size for tablets */
    #contact h2 {
        font-size: 2.25rem !important; /* 36px */
    }
}

@media (max-width: 767px) {
    /* Further reduce section padding on mobile */
    #contact {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    /* Mobile title sizing */
    #contact h2 {
        font-size: 1.75rem !important; /* 28px */
        line-height: 1.15 !important;
        margin-bottom: 0.75rem !important;
    }
    
    /* Mobile subtitle */
    #contact .text-base,
    #contact .text-lg {
        font-size: 0.9375rem !important;
        margin-bottom: 0.625rem !important;
        line-height: 1.4 !important;
    }
    
    /* Mobile description text */
    #contact .text-sm {
        font-size: 0.8125rem !important;
        line-height: 1.5 !important;
    }
    
    /* Reduce spacing between contact details */
    #contact .space-y-4 > * + *,
    #contact .space-y-5 > * + * {
        margin-top: 1rem !important;
    }
    
    /* Reduce form card padding on mobile */
    #contact .glass {
        padding: 1rem !important;
        border-radius: 1.25rem !important;
    }
    
    /* Reduce form title size */
    #contact form h3,
    #contact .glass h3 {
        font-size: 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    /* Ensure form inputs are readable but compact */
    #contact input,
    #contact select,
    #contact textarea {
        font-size: 0.8125rem !important;
        padding: 0.5rem 0.75rem !important;
    }
    
    /* Reduce textarea height on mobile */
    #contact textarea {
        min-height: 70px !important;
    }
    
    /* Compact submit button */
    #contact button[type="submit"] {
        padding: 0.625rem 1rem !important;
        font-size: 0.8125rem !important;
    }
    
    /* Reduce spacing in form */
    #contact form .space-y-4 > * + * {
        margin-top: 0.875rem !important;
    }
    
    #contact form .gap-4 {
        gap: 0.875rem !important;
    }
    
    /* Reduce bottom cards padding */
    #contact .glass.p-5 {
        padding: 1rem !important;
    }
    
    /* Reduce icon sizes in bottom cards */
    #contact .w-11.h-11 {
        width: 2.25rem !important;
        height: 2.25rem !important;
        margin-bottom: 0.625rem !important;
    }
    
    #contact .w-11.h-11 svg {
        width: 1.125rem !important;
        height: 1.125rem !important;
    }
    
    /* Reduce bottom card text */
    #contact .glass h4 {
        font-size: 0.9375rem !important;
        margin-bottom: 0.375rem !important;
    }
    
    #contact .glass p {
        font-size: 0.8125rem !important;
    }
}

@media (max-width: 639px) {
    /* Extra compact on small phones */
    #contact {
        padding-top: 1.75rem !important;
        padding-bottom: 1.75rem !important;
    }
    
    /* Smaller title on small phones */
    #contact h2 {
        font-size: 1.5rem !important; /* 24px */
        margin-bottom: 0.625rem !important;
    }
    
    /* Further reduce form padding */
    #contact .glass {
        padding: 0.875rem !important;
    }
    
    /* Tighter grid spacing */
    #contact .grid.gap-6,
    #contact .grid.gap-5,
    #contact .grid.gap-4 {
        gap: 0.75rem !important;
    }
    
    /* Smaller contact details */
    #contact .w-11.h-11 {
        width: 2rem !important;
        height: 2rem !important;
    }
    
    #contact .w-11.h-11 svg {
        width: 1rem !important;
        height: 1rem !important;
    }
    
    #contact .gap-3\.5 {
        gap: 0.625rem !important;
    }
}

@media (max-width: 374px) {
    /* Very compact on extra small phones */
    #contact h2 {
        font-size: 1.375rem !important; /* 22px */
    }
    
    #contact .glass {
        padding: 0.75rem !important;
    }
    
    #contact input,
    #contact select,
    #contact textarea {
        padding: 0.5rem 0.625rem !important;
        font-size: 0.75rem !important;
    }
    
    #contact textarea {
        min-height: 60px !important;
    }
}

/* ── Section-Specific Background Variations ───────────────────────────────── */

/* Solutions Section - subtle deep navy with soft blue undertone */
#solutions {
    background: linear-gradient(180deg, rgba(8, 15, 32, 0.5) 0%, rgba(12, 22, 42, 0.6) 100%);
    position: relative;
}

#solutions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 60%;
    background: radial-gradient(ellipse at center, rgba(14, 165, 233, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

#solutions > * {
    position: relative;
    z-index: 1;
}

/* Industries Section - slightly lighter with cyan undertone */
#industries {
    background: linear-gradient(180deg, rgba(10, 18, 35, 0.4) 0%, rgba(14, 24, 45, 0.5) 100%);
    position: relative;
}

/* About Section - warm purple-blue mix */
#about {
    background: linear-gradient(180deg, rgba(12, 18, 38, 0.45) 0%, rgba(15, 22, 45, 0.55) 50%, rgba(18, 20, 42, 0.5) 100%);
    position: relative;
}

#about::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

#about > * {
    position: relative;
    z-index: 1;
}

/* Contact Section - enhanced existing navy with blue accent */
#contact {
    background: linear-gradient(135deg, rgba(8, 18, 40, 0.9) 0%, rgba(12, 24, 48, 0.95) 50%, rgba(10, 20, 45, 0.9) 100%) !important;
    position: relative;
}

#contact::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 70%;
    background: radial-gradient(ellipse at center, rgba(14, 165, 233, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

#contact > * {
    position: relative;
    z-index: 1;
}

/* ── Improved Text Readability ──────────────────────────────────────────── */

/* Paragraph text - slightly brighter slate for better readability */
p {
    color: #cbd5e1; /* slate-300 upgraded to brighter */
}

/* Slate-400 text elements - make more visible */
.text-slate-400 {
    color: #94a3b8 !important; /* Keep original but ensure visibility */
}

/* Slate-300 text - ensure it's brighter */
.text-slate-300 {
    color: #cbd5e1 !important;
}

/* Body copy in hero and main sections */
.text-base,
.text-lg {
    color: #cbd5e1;
}

/* Keep headings white but ensure proper contrast */
h1, h2, h3, h4, h5, h6,
.text-white {
    color: #ffffff;
}

/* ── Enhanced Visual Depth Elements ──────────────────────────────────────── */

/* Sticky visual card - add soft glow */
#sticky-visual {
    box-shadow: 0 20px 60px -15px rgba(14, 165, 233, 0.15), 
                0 0 40px -10px rgba(14, 165, 233, 0.08);
}

/* Stats cards - subtle blue glow */
.glass.rounded-2xl {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3), 
                0 0 20px -8px rgba(14, 165, 233, 0.1);
}

/* Industry cards - improved hover state */
.industry-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.industry-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(14, 165, 233, 0.4);
    background: rgba(14, 165, 233, 0.08);
    box-shadow: 0 20px 50px -15px rgba(14, 165, 233, 0.3),
                0 0 30px -10px rgba(14, 165, 233, 0.2);
}

/* Enhanced form elements visibility */
#contact .glass.p-5,
#contact .glass.p-6 {
    background: rgba(15, 30, 60, 0.7);
    border: 1px solid rgba(14, 165, 233, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
                0 0 20px -8px rgba(14, 165, 233, 0.15);
}

/* Bottom feature cards in contact section */
#contact .glass.p-5.rounded-2xl {
    background: rgba(12, 25, 50, 0.65);
    border: 1px solid rgba(14, 165, 233, 0.15);
}

/* ── Footer Section ──────────────────────────────────────────────────────── */

.footer-section {
    background: linear-gradient(180deg, rgba(6, 12, 28, 0.95) 0%, rgba(8, 15, 32, 1) 100%);
    padding: 60px 0 32px;
    position: relative;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Top row: Logo + Social Icons */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
}

.footer-icon-logo {
    display: block;
    transition: opacity 0.3s ease;
}

.footer-icon-logo:hover {
    opacity: 0.8;
}

.footer-logo-icon {
    width: 88px;
    height: auto;
    display: block;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    background: rgba(15, 30, 60, 0.4);
    border: 1px solid rgba(14, 165, 233, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    color: #0ea5e9;
    background: rgba(14, 165, 233, 0.1);
    border-color: rgba(14, 165, 233, 0.3);
    transform: translateY(-2px);
}

.social-icon svg {
    width: 18px;
    height: 18px;
}

/* Divider line */
.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(14, 165, 233, 0.15) 50%, transparent 100%);
    margin-bottom: 56px;
}

/* Main footer grid: 5 columns */
.footer-grid {
    display: grid;
    grid-template-columns: 35% 18% 14% 14% 19%;
    gap: 40px;
    margin-bottom: 56px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link {
    color: #94a3b8;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    line-height: 1.5;
}

.footer-link:hover {
    color: #0ea5e9;
}

/* Office column specific styles */
.footer-office-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Two office location blocks */
.footer-office-locations {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-office-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-office-country {
    color: #475569;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Contact links grouped */
.footer-contact-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-contact-link {
    color: #0ea5e9;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-link:hover {
    color: #38bdf8;
}

.footer-address {
    color: #94a3b8;
    font-size: 13px;
    font-style: normal;
    line-height: 1.7;
    margin-top: 4px;
}

.footer-legal-name {
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.footer-reg-number {
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.footer-disclaimer {
    margin-top: 32px;
    padding: 20px 24px;
    background: rgba(14, 165, 233, 0.03);
    border: 1px solid rgba(14, 165, 233, 0.08);
    border-radius: 12px;
}

.footer-disclaimer p {
    color: #475569;
    font-size: 11px;
    line-height: 1.7;
    letter-spacing: 0.01em;
}

/* Bottom row: Copyright + Legal */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(14, 165, 233, 0.08);
    gap: 24px;
}

.footer-copyright {
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-legal {
    display: flex;
    gap: 32px;
}

.footer-legal-link {
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal-link:hover {
    color: #ffffff;
}

/* ── Footer Mobile Responsiveness ──────────────────────────────────────────── */

@media (max-width: 1279px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 32px;
    }
    
    .footer-office {
        grid-column: 1 / -1;
    }
}

@media (max-width: 1023px) {
    .footer-section {
        padding: 48px 0 28px;
    }
    
    .footer-container {
        padding: 0 24px;
    }
    
    .footer-top {
        margin-bottom: 40px;
    }
    
    .footer-logo-icon {
        width: 88px;
    }
    
    .footer-social {
        gap: 16px;
    }
    
    .social-icon {
        width: 38px;
        height: 38px;
    }
    
    .social-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .footer-divider {
        margin-bottom: 44px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
        margin-bottom: 44px;
    }
    
    .footer-office {
        grid-column: 1 / -1;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding-top: 28px;
    }
    
    .footer-legal {
        flex-wrap: wrap;
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .footer-section {
        padding: 40px 0 24px;
    }
    
    .footer-container {
        padding: 0 24px;
    }
    
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        margin-bottom: 32px;
    }
    
    .footer-logo-icon {
        width: 88px;
    }
    
    .footer-social {
        gap: 14px;
        align-self: flex-start;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
    }
    
    .footer-divider {
        margin-bottom: 36px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 36px;
    }
    
    .footer-heading {
        font-size: 9px;
        margin-bottom: 20px;
    }
    
    .footer-links {
        gap: 12px;
    }
    
    .footer-link {
        font-size: 12px;
    }
    
    .footer-contact-link {
        font-size: 13px;
    }
    
    .footer-address {
        font-size: 12px;
    }
    
    .footer-bottom {
        padding-top: 24px;
        gap: 16px;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 12px;
    }
    
    .footer-copyright,
    .footer-legal-link {
        font-size: 9px;
    }
}

@media (max-width: 374px) {
    .footer-section {
        padding: 32px 0 20px;
    }
    
    .footer-top {
        gap: 20px;
        margin-bottom: 28px;
    }
    
    .footer-logo-icon {
        width: 88px;
    }
    
    .footer-social {
        gap: 12px;
    }
    
    .social-icon {
        width: 34px;
        height: 34px;
    }
    
    .social-icon svg {
        width: 15px;
        height: 15px;
    }
}
