/* ==========================================
   ULTRON × BRIDGE MARKETS — DESIGN SYSTEM
========================================== */

/* ---------- FONTS ---------- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;700&display=swap');

/* ---------- TOKENS ---------- */
:root {
    /* Colors */
    --bg-0: #070b14;
    --bg-1: #0b1120;
    --bg-2: #101827;
    --bg-3: #182136;

    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.14);

    --text-1: #f5f7fb;
    --text-2: #c3cbdc;
    --text-3: #8892a8;

    --blue: #2563EB;
    --blue-bright: #3B82F6;
    --purple: #7C3AED;
    --cyan: #06B6D4;
    --gold: #F59E0B;
    --green: #10B981;
    --red: #EF4444;

    --gradient-brand: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
    --gradient-cyan: linear-gradient(135deg, #06B6D4 0%, #2563EB 100%);

    /* Type */
    --font-display: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Sizing */
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
    --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 25px 70px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 50px rgba(37, 99, 235, 0.35);

    --container: 1280px;
    --nav-h: 76px;
}

/* ---------- RESET ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-0);
    color: var(--text-2);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.4s ease;
}

body.page-loaded {
    opacity: 1;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--text-1);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }

p { color: var(--text-2); }

.eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 16px;
}

.mono { font-family: var(--font-mono); }

/* ---------- LAYOUT ---------- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
    width: 100%;
}

main { flex: 1; }

section {
    padding: 56px 0;
    position: relative;
}

.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 40px;
}

.section-head p {
    margin-top: 14px;
    font-size: 1.08rem;
    line-height: 1.75;
}

/* ---------- HEADER ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(7, 11, 20, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    height: var(--nav-h);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.bridge-logo { height: 52px; width: auto; }
.partner-logo { height: 38px; width: auto; }

.logo-divider {
    width: 1px;
    height: 28px;
    background: var(--line-strong);
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-nav > ul {
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 50px;
    color: var(--text-2);
    font-size: 0.92rem;
    font-weight: 600;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}

.main-nav a:hover {
    color: var(--text-1);
    background: rgba(255, 255, 255, 0.05);
}

.main-nav a.active {
    color: var(--text-1);
    background: rgba(37, 99, 235, 0.15);
}

.main-nav a.active::after { display: none; }

/* Dropdown */
.nav-more { position: relative; }

.nav-more-toggle i {
    font-size: 0.6rem;
    opacity: 0.6;
    transition: transform 0.3s;
}

.nav-more:hover .nav-more-toggle i { transform: rotate(180deg); }

.nav-more-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 240px;
    background: var(--bg-2);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    padding: 8px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
    display: block;
    z-index: 100;
}

.nav-more:hover .nav-more-menu,
.nav-more:focus-within .nav-more-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-more-menu li { display: block; width: 100%; }

.nav-more-menu a {
    display: block;
    width: 100%;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
}

.nav-more-menu a.active {
    background: rgba(37, 99, 235, 0.15);
    color: var(--text-1);
}

/* Header CTA */
.header-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--gradient-brand);
    color: white;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: transform 0.25s, box-shadow 0.25s;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

.header-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.5);
}

/* Mobile toggle */
.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line-strong);
    color: var(--text-1);
    font-size: 18px;
    align-items: center;
    justify-content: center;
    transition: 0.25s;
}

.mobile-menu-toggle:hover {
    background: rgba(37, 99, 235, 0.2);
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 32px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    transition: all 0.28s cubic-bezier(0.2, 0.8, 0.3, 1);
    cursor: pointer;
    white-space: nowrap;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gradient-brand);
    color: white;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.5);
}

.btn-secondary {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.4);
    color: #7EA8FF;
}

.btn-secondary:hover {
    background: var(--blue);
    color: white;
    border-color: var(--blue);
    transform: translateY(-3px);
}

.btn-ghost {
    background: transparent;
    border-color: var(--line-strong);
    color: var(--text-1);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.25);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn-block { width: 100%; }

/* ---------- HERO (HOME) ---------- */
.page-hero {
    padding: 48px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.22) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

/* Hero grid (homepage) */
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: center;
}

.hero-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.hero-brand img { height: 62px; width: auto; }

.hero-brand .label {
    color: var(--cyan);
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-partner-logo {
    height: 52px;
    width: auto;
    margin-bottom: 24px;
}

.hero h1 {
    margin-bottom: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #b8c4dc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-sub {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-1);
    margin-bottom: 12px;
}

.hero-location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-3);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 28px;
}

.hero-location i { color: var(--cyan); }

.hero-copy {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-2);
    margin-bottom: 24px;
    max-width: 560px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-visual {
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle at center, rgba(124, 58, 237, 0.28) 0%, transparent 55%);
    z-index: 0;
}

.hero-visual img {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line-strong);
}

/* Feature strip */
.feature-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: 48px;
}

.feature-strip .item {
    background: var(--bg-1);
    padding: 20px 16px;
    text-align: center;
    transition: background 0.25s;
}

.feature-strip .item:hover { background: var(--bg-2); }

.feature-strip i {
    font-size: 24px;
    color: var(--cyan);
    margin-bottom: 12px;
    display: inline-block;
}

.feature-strip h4 {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-1);
}

/* ---------- CARD GRIDS ---------- */
.grid {
    display: grid;
    gap: 18px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.grid-auto {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* ---------- CARD ---------- */
.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 20px;
    transition: transform 0.3s, border-color 0.3s, background 0.3s;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(37, 99, 235, 0.45);
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.06), rgba(255, 255, 255, 0.02));
}

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.card p {
    font-size: 0.92rem;
    color: var(--text-3);
    line-height: 1.65;
}

.card-icon-lg {
    width: 64px;
    height: 64px;
    font-size: 26px;
    border-radius: 18px;
}

/* ---------- PRODUCT CARDS (Ultron) ---------- */
.product-card {
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(124, 58, 237, 0.35);
    border-radius: var(--radius);
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(124, 58, 237, 0.65);
    box-shadow: 0 20px 50px rgba(124, 58, 237, 0.28);
}

.product-card .badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-brand);
    color: white;
    font-family: var(--font-display);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    padding: 5px 12px;
    border-radius: 50px;
    white-space: nowrap;
    box-shadow: 0 6px 18px rgba(124, 58, 237, 0.5);
}

.product-card .sale {
    position: absolute;
    top: -10px;
    right: -6px;
    background: linear-gradient(135deg, #EF4444, #B91C1C);
    color: white;
    font-family: var(--font-display);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 5px 10px;
    border-radius: 50px;
    transform: rotate(4deg);
    white-space: nowrap;
    box-shadow: 0 6px 18px rgba(239, 68, 68, 0.5);
}

.product-card .prod-icon {
    font-size: 28px;
    color: var(--cyan);
    margin-top: 6px;
}

.product-card h3 { font-size: 1.15rem; }

.product-card p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-3);
    flex: 1;
}

.product-card .price-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 10px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: center;
}

.product-card .price {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-1);
    letter-spacing: -0.02em;
}

.product-card .price-old {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--text-3);
    text-decoration: line-through;
    text-decoration-color: #EF4444;
    text-decoration-thickness: 2px;
    margin-right: 8px;
}

.product-card .price-note {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-3);
    font-weight: 600;
}

.special-price {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 8px 12px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(124, 58, 237, 0.1));
    border: 1px dashed rgba(239, 68, 68, 0.4);
    border-radius: 12px;
    text-align: left;
    font-size: 0.75rem;
    line-height: 1.45;
    color: var(--text-2);
}

.special-price i {
    color: #F87171;
    font-size: 14px;
    flex-shrink: 0;
}

.special-price strong { color: var(--text-1); font-weight: 800; }

/* ---------- CTA BLOCK ---------- */
.cta-block {
    background: var(--gradient-brand);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(37, 99, 235, 0.3);
}

.cta-block::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.12) 0%, transparent 50%),
                      radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.cta-block > * { position: relative; z-index: 1; }

.cta-block h2 {
    color: white;
    margin-bottom: 18px;
}

.cta-block p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 640px;
    margin: 0 auto 24px;
    font-size: 1.05rem;
}

.cta-block .btn-primary {
    background: white;
    color: var(--blue);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.cta-block .btn-primary:hover {
    background: white;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.cta-block .btn-secondary {
    border-color: rgba(255, 255, 255, 0.6);
    color: white;
    background: transparent;
}

.cta-block .btn-secondary:hover {
    background: white;
    color: var(--blue);
    border-color: white;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- PAGE HERO (subpages) ---------- */
.subpage-hero {
    padding: 56px 0 36px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.subpage-hero::before {
    content: "";
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 1200px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 55%);
    pointer-events: none;
}

.subpage-hero .container { position: relative; z-index: 1; }

.subpage-hero h1 {
    max-width: 900px;
    margin: 0 auto 12px;
}

.subpage-hero p {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.75;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--text-3);
    margin-bottom: 16px;
    font-weight: 600;
}

.breadcrumbs a { color: var(--text-3); transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--cyan); }
.breadcrumbs span { opacity: 0.4; }

/* ---------- IB CARDS (register page) ---------- */
.ib-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}

.ib-card:hover {
    transform: translateY(-6px);
    border-color: rgba(37, 99, 235, 0.5);
}

.ib-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 16px;
    border: 3px solid rgba(124, 58, 237, 0.5);
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.4);
    overflow: hidden;
    background: rgba(37, 99, 235, 0.1);
}

.ib-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.2);
}

.ib-card h3 {
    margin-bottom: 6px;
    font-size: 1.4rem;
}

.ib-card .role {
    color: var(--cyan);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.ib-card .actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ---------- CONTACT CARDS ---------- */
.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 32px 24px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    transition: transform 0.3s, border-color 0.3s;
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: rgba(37, 99, 235, 0.5);
}

.contact-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 2px solid rgba(124, 58, 237, 0.5);
    box-shadow: 0 0 22px rgba(124, 58, 237, 0.4);
    overflow: hidden;
    margin-bottom: 8px;
}

.contact-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.2);
}

.contact-avatar.icon-only {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 211, 102, 0.12);
    border-color: rgba(37, 211, 102, 0.5);
    color: #25D366;
    font-size: 44px;
}

.contact-card h4 {
    color: var(--text-1);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.contact-card a {
    color: #7EA8FF;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
    word-break: break-word;
}

.contact-card a:hover { color: white; }
.contact-card a i { color: #25D366; }

/* ---------- FAQ ---------- */
.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 10px;
    overflow: hidden;
    transition: border-color 0.25s, background 0.25s;
}

.faq-item.open {
    border-color: rgba(37, 99, 235, 0.5);
    background: rgba(37, 99, 235, 0.05);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 22px;
    text-align: left;
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--text-1);
    transition: color 0.2s;
}

.faq-question:hover { color: var(--cyan); }

.faq-question i {
    transition: transform 0.3s;
    font-size: 0.85rem;
    flex-shrink: 0;
    color: var(--cyan);
}

.faq-item.open .faq-question i { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 28px;
}

.faq-item.open .faq-answer {
    max-height: 400px;
    padding: 0 28px 24px;
}

.faq-answer p {
    color: var(--text-2);
    font-size: 0.95rem;
    line-height: 1.75;
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: var(--bg-1);
    border-top: 1px solid var(--line);
    margin-top: 80px;
}

.footer-main { padding: 48px 0 36px; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: 48px;
}

.footer-brand-logo {
    height: 44px;
    width: auto;
    margin-bottom: 14px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-3);
    margin-bottom: 24px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    color: var(--text-2);
    transition: 0.25s;
}

.footer-socials a:hover {
    background: rgba(37, 99, 235, 0.2);
    border-color: rgba(37, 99, 235, 0.5);
    color: white;
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-1);
    margin-bottom: 14px;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col a {
    color: var(--text-3);
    font-size: 0.9rem;
    transition: color 0.2s;
    word-break: break-word;
}

.footer-col a:hover { color: var(--cyan); }

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid var(--line);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-3);
}

.footer-bottom .legal {
    max-width: 620px;
    opacity: 0.7;
    line-height: 1.6;
}

/* ---------- FLOATING WHATSAPP ---------- */
.floating-whatsapp {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.25s, box-shadow 0.25s;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 16px 40px rgba(37, 211, 102, 0.55);
}

/* ---------- MOBILE MENU ---------- */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: var(--bg-0);
    padding: 24px 22px 40px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: opacity 0.3s, transform 0.35s, visibility 0.3s;
    overflow-y: auto;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 18px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.mobile-menu-logo { height: 42px; }

.mobile-menu-close {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line-strong);
    color: var(--text-1);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mobile-menu-list a.mobile-link {
    display: block;
    padding: 14px 18px;
    border-radius: 12px;
    color: var(--text-1);
    font-weight: 600;
    font-size: 1rem;
    transition: 0.2s;
}

.mobile-menu-list a.mobile-link:hover,
.mobile-menu-list a.mobile-link.active {
    background: rgba(37, 99, 235, 0.18);
    color: white;
}

.mobile-menu-divider {
    height: 1px;
    background: var(--line);
    margin: 14px 0 10px;
}

.mobile-menu-cta {
    margin-top: 20px;
    width: 100%;
    justify-content: center;
}

body.menu-open { overflow: hidden; }

/* ---------- MODAL ---------- */
.ultron-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
}

.ultron-modal.active { display: flex; }

.ultron-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 11, 20, 0.85);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.25s ease;
}

.ultron-modal-content {
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
    border: 1px solid rgba(124, 58, 237, 0.4);
    border-radius: var(--radius-lg);
    max-width: 800px;
    width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: modalIn 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}

.ultron-modal-close {
    position: sticky;
    top: 16px;
    float: right;
    margin: 16px 16px 0 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--line-strong);
    color: white;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.25s;
    z-index: 2;
}

.ultron-modal-close:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: rgba(239, 68, 68, 0.5);
}

.ultron-modal-header {
    padding: 28px 32px 18px;
    text-align: center;
    border-bottom: 1px solid var(--line);
}

.ultron-modal-header i {
    font-size: 48px;
    color: var(--cyan);
    margin-bottom: 14px;
    display: inline-block;
}

.ultron-modal-header h3 {
    font-size: 1.85rem;
    margin-bottom: 8px;
}

.ultron-modal-header p {
    font-size: 0.98rem;
    color: var(--text-2);
}

.ultron-modal-preview {
    padding: 0 44px 12px;
}

.ultron-modal-preview img {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid rgba(124, 58, 237, 0.35);
    box-shadow: var(--shadow), 0 0 40px rgba(124, 58, 237, 0.25);
}

.ultron-modal-body {
    padding: 22px 32px 28px;
}

.problem-box,
.solution-box {
    padding: 22px 24px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.problem-box {
    background: rgba(239, 68, 68, 0.07);
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.solution-box {
    background: rgba(16, 185, 129, 0.07);
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.problem-box h4, .solution-box h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.problem-box h4 { color: #F87171; }
.solution-box h4 { color: #34D399; }

.problem-box li {
    padding: 6px 0 6px 22px;
    position: relative;
    color: var(--text-2);
    font-size: 0.9rem;
    line-height: 1.6;
}

.problem-box li::before {
    content: "✕";
    position: absolute;
    left: 0;
    color: #F87171;
    font-weight: 800;
    font-size: 0.85rem;
}

.solution-box p {
    color: var(--text-2);
    font-size: 0.93rem;
    line-height: 1.7;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    padding: 22px 24px;
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: var(--radius);
}

.tag-row .tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line-strong);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-1);
    transition: 0.2s;
}

.tag-row .tag:hover {
    background: rgba(124, 58, 237, 0.2);
    border-color: rgba(124, 58, 237, 0.5);
}

.features-title {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-1);
    margin: 32px 0 18px;
    opacity: 0.85;
}

.feature-line {
    display: flex;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.feature-line:last-of-type { border-bottom: none; }

.feature-line .fi {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.3);
    color: var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.feature-line h5 {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-1);
    margin-bottom: 5px;
}

.feature-line p {
    font-size: 0.87rem;
    line-height: 1.65;
    color: var(--text-2);
}

.ultron-modal-cta {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
}

.ultron-modal-cta .price-big {
    font-family: var(--font-mono);
    font-size: 2.4rem;
    font-weight: 700;
    color: white;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(30px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- SCROLL REVEAL ---------- */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.3, 1),
                transform 0.8s cubic-bezier(0.2, 0.8, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
    .main-nav { display: none; }
    .header-btn { display: none; }
    .mobile-menu-toggle { display: flex; }

    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { min-height: 340px; }

    .feature-strip { grid-template-columns: repeat(3, 1fr); }

    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 700px) {
    html { font-size: 15px; }

    .container { padding: 0 20px; }

    section { padding: 64px 0; }

    .hero { padding: 48px 0 32px; }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta .btn { width: 100%; }

    .feature-strip { grid-template-columns: repeat(2, 1fr); }

    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }

    .cta-block { padding: 48px 24px; }

    .cta-actions {
        flex-direction: column;
    }

    .cta-actions .btn { width: 100%; }

    .subpage-hero { padding: 72px 0 40px; }

    .ultron-modal { padding: 12px; }
    .ultron-modal-content { border-radius: var(--radius); max-height: 94vh; }
    .ultron-modal-header { padding: 28px 22px 18px; }
    .ultron-modal-header h3 { font-size: 1.5rem; }
    .ultron-modal-header i { font-size: 38px; }
    .ultron-modal-body { padding: 22px 20px 32px; }
    .ultron-modal-preview { padding: 0 20px 10px; }
    .feature-line { gap: 12px; padding: 14px 0; }
    .feature-line .fi { width: 36px; height: 36px; font-size: 15px; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom .container { flex-direction: column; text-align: center; }

    .ib-avatar { width: 140px; height: 140px; }
    .contact-avatar { width: 90px; height: 90px; }
    .contact-avatar.icon-only { font-size: 36px; }
}

/* ==========================================
   ULTIMATE COMPACT OVERRIDE
   Paste at the very bottom of style.css
========================================== */

/* ---------- GLOBAL TYPE SCALE ---------- */
html {
    font-size: 14px;   /* was 16px — everything scales down ~12% */
}

body {
    line-height: 1.55;
}

h1 { font-size: clamp(1.75rem, 3.8vw, 2.85rem); }
h2 { font-size: clamp(1.35rem, 2.6vw, 2.05rem); }
h3 { font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
h4 { font-size: 1.02rem; }
h5 { font-size: 0.95rem; }

p { font-size: 0.95rem; line-height: 1.6; }

.eyebrow {
    font-size: 0.68rem;
    margin-bottom: 10px;
    letter-spacing: 0.14em;
}

/* ---------- LAYOUT / SECTIONS ---------- */
.container {
    padding: 0 28px;
    max-width: 1200px;
}

section {
    padding: 36px 0;
}

.section-head {
    margin: 0 auto 28px;
    max-width: 680px;
}

.section-head p {
    margin-top: 10px;
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ---------- HEADER ---------- */
.navbar { height: 64px; gap: 24px; }
.bridge-logo { height: 42px; }
.partner-logo { height: 30px; }
.logo-divider { height: 22px; }

.main-nav a {
    padding: 8px 13px;
    font-size: 0.85rem;
}

.nav-more-menu {
    min-width: 210px;
    padding: 6px;
}

.nav-more-menu a {
    padding: 8px 12px;
    font-size: 0.82rem;
}

.header-btn {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.mobile-menu-toggle {
    width: 40px;
    height: 40px;
    font-size: 16px;
}

/* ---------- BUTTONS ---------- */
.btn {
    padding: 11px 24px;
    font-size: 0.88rem;
    gap: 8px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.78rem;
}

/* ---------- HERO ---------- */
.page-hero { padding: 36px 0 32px; }

.hero-grid { gap: 32px; }

.hero-brand {
    margin-bottom: 14px;
    padding-bottom: 12px;
    gap: 8px;
}

.hero-brand img { height: 48px; }

.hero-brand .label {
    font-size: 0.65rem;
    letter-spacing: 0.14em;
}

.hero-partner-logo {
    height: 42px;
    margin-bottom: 14px;
}

.hero h1 { margin-bottom: 10px; }

.hero-sub {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.hero-location {
    font-size: 0.85rem;
    margin-bottom: 18px;
}

.hero-copy {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 20px;
    max-width: 520px;
}

.hero-cta { gap: 10px; }

.hero-visual { min-height: 340px; }

.feature-strip {
    margin-top: 32px;
    border-radius: var(--radius-sm);
}

.feature-strip .item {
    padding: 14px 12px;
}

.feature-strip i {
    font-size: 20px;
    margin-bottom: 8px;
}

.feature-strip h4 {
    font-size: 0.8rem;
}

/* ---------- GRIDS ---------- */
.grid { gap: 14px; }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

/* ---------- CARDS ---------- */
.card {
    padding: 18px 16px;
    border-radius: var(--radius-sm);
}

.card:hover { transform: translateY(-4px); }

.card-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    font-size: 17px;
    margin-bottom: 12px;
}

.card-icon-lg {
    width: 48px;
    height: 48px;
    font-size: 20px;
    border-radius: 14px;
}

.card h3 {
    font-size: 0.98rem;
    margin-bottom: 5px;
}

.card p {
    font-size: 0.85rem;
    line-height: 1.55;
}

/* ---------- PRODUCT CARDS ---------- */
.product-card {
    padding: 18px 15px;
    gap: 8px;
    border-radius: var(--radius-sm);
}

.product-card:hover { transform: translateY(-5px); }

.product-card .badge,
.product-card .sale {
    font-size: 0.55rem;
    padding: 4px 9px;
    top: -8px;
}

.product-card .prod-icon {
    font-size: 22px;
    margin-top: 4px;
}

.product-card h3 { font-size: 1rem; }

.product-card p {
    font-size: 0.8rem;
    line-height: 1.5;
}

.product-card .price-box { padding: 8px 0; }

.product-card .price { font-size: 1.25rem; }

.product-card .price-old { font-size: 0.9rem; }

.product-card .price-note {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
}

.special-price {
    padding: 7px 10px;
    font-size: 0.7rem;
    gap: 8px;
    border-radius: 9px;
    line-height: 1.4;
}

.special-price i { font-size: 12px; }

/* ---------- CTA BLOCK ---------- */
.cta-block {
    padding: 34px 28px;
    border-radius: var(--radius);
    box-shadow: 0 18px 50px rgba(37, 99, 235, 0.25);
}

.cta-block h2 { margin-bottom: 10px; }

.cta-block p {
    margin: 0 auto 18px;
    font-size: 0.95rem;
}

.cta-actions { gap: 12px; }

/* ---------- SUBPAGE HERO ---------- */
.subpage-hero {
    padding: 40px 0 26px;
}

.subpage-hero h1 {
    margin: 0 auto 10px;
    max-width: 800px;
}

.subpage-hero p {
    font-size: 0.98rem;
    line-height: 1.6;
    max-width: 640px;
}

.breadcrumbs {
    font-size: 0.76rem;
    margin-bottom: 12px;
    gap: 8px;
}

/* ---------- IB CARDS ---------- */
.ib-card {
    padding: 24px 20px;
    border-radius: var(--radius);
}

.ib-card:hover { transform: translateY(-4px); }

.ib-avatar {
    width: 110px;
    height: 110px;
    margin: 0 auto 12px;
    border-width: 2px;
}

.ib-card h3 {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.ib-card .role {
    font-size: 0.72rem;
    margin-bottom: 18px;
    letter-spacing: 0.12em;
}

.ib-card .actions { gap: 9px; }

/* ---------- CONTACT CARDS ---------- */
.contact-card {
    padding: 22px 18px;
    gap: 7px;
    border-radius: var(--radius-sm);
}

.contact-avatar {
    width: 82px;
    height: 82px;
    margin-bottom: 6px;
}

.contact-avatar.icon-only { font-size: 34px; }

.contact-card h4 { font-size: 1rem; }

.contact-card a { font-size: 0.83rem; }

/* ---------- FAQ ---------- */
.faq-item {
    margin-bottom: 8px;
    border-radius: var(--radius-sm);
}

.faq-question {
    padding: 13px 18px;
    font-size: 0.92rem;
    gap: 14px;
}

.faq-question i { font-size: 0.75rem; }

.faq-item.open .faq-answer {
    padding: 0 18px 16px;
}

.faq-answer p {
    font-size: 0.87rem;
    line-height: 1.6;
}

/* ---------- FOOTER ---------- */
.site-footer { margin-top: 56px; }

.footer-main { padding: 36px 0 26px; }

.footer-grid { gap: 34px; }

.footer-brand-logo {
    height: 36px;
    margin-bottom: 10px;
}

.footer-brand p {
    font-size: 0.83rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-socials { gap: 9px; }

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 0.9rem;
}

.footer-col h4 {
    font-size: 0.72rem;
    margin-bottom: 10px;
    letter-spacing: 0.12em;
}

.footer-col ul li { margin-bottom: 6px; }

.footer-col a { font-size: 0.83rem; }

.footer-bottom { padding: 14px 0; }

.footer-bottom p { font-size: 0.72rem; }

.footer-bottom .legal {
    max-width: 560px;
    line-height: 1.55;
}

/* ---------- FLOATING WHATSAPP ---------- */
.floating-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    font-size: 24px;
}

/* ---------- MODAL ---------- */
.ultron-modal { padding: 20px 16px; }

.ultron-modal-content {
    border-radius: var(--radius);
    max-height: 90vh;
}

.ultron-modal-close {
    width: 34px;
    height: 34px;
    font-size: 15px;
    margin: 12px 12px 0 0;
}

.ultron-modal-header {
    padding: 22px 26px 14px;
}

.ultron-modal-header i {
    font-size: 36px;
    margin-bottom: 10px;
}

.ultron-modal-header h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.ultron-modal-header p { font-size: 0.88rem; }

.ultron-modal-preview { padding: 0 26px 10px; }

.ultron-modal-body { padding: 18px 26px 24px; }

.problem-box,
.solution-box {
    padding: 16px 18px;
    margin-bottom: 14px;
    border-radius: var(--radius-sm);
}

.problem-box h4,
.solution-box h4 {
    font-size: 0.82rem;
    margin-bottom: 9px;
    letter-spacing: 0.08em;
}

.problem-box li {
    padding: 4px 0 4px 18px;
    font-size: 0.82rem;
    line-height: 1.5;
}

.solution-box p {
    font-size: 0.85rem;
    line-height: 1.6;
}

.tag-row {
    gap: 6px;
    padding: 14px 16px;
    margin-bottom: 16px;
    border-radius: var(--radius-sm);
}

.tag-row .tag {
    padding: 4px 10px;
    font-size: 0.72rem;
}

.features-title {
    font-size: 0.74rem;
    margin: 20px 0 10px;
    letter-spacing: 0.12em;
}

.feature-line {
    gap: 12px;
    padding: 10px 0;
}

.feature-line .fi {
    width: 34px;
    height: 34px;
    font-size: 14px;
    border-radius: 10px;
}

.feature-line h5 {
    font-size: 0.9rem;
    margin-bottom: 3px;
}

.feature-line p {
    font-size: 0.8rem;
    line-height: 1.55;
}

.ultron-modal-cta {
    margin-top: 20px;
    padding-top: 18px;
    gap: 12px;
}

.ultron-modal-cta .price-big {
    font-size: 1.8rem;
}

.ultron-modal-cta .price-note { font-size: 0.72rem; }

/* ---------- MOBILE FINE-TUNING ---------- */
@media (max-width: 1100px) {
    .hero-grid { gap: 28px; }
    .hero-visual { min-height: 280px; }
    .footer-grid { gap: 28px; }
}

@media (max-width: 700px) {
    html { font-size: 13.5px; }

    .container { padding: 0 16px; }

    section { padding: 28px 0; }

    .page-hero { padding: 28px 0 22px; }
    .subpage-hero { padding: 32px 0 22px; }

    .cta-block { padding: 26px 18px; }
    .card { padding: 16px 14px; }
    .product-card { padding: 16px 13px; }

    .section-head { margin-bottom: 22px; }

    .grid { gap: 12px; }

    .footer-main { padding: 30px 0 20px; }

    .hero-brand img { height: 42px; }
    .hero-partner-logo { height: 36px; }

    .ultron-modal-header { padding: 20px 18px 12px; }
    .ultron-modal-header h3 { font-size: 1.25rem; }
    .ultron-modal-header i { font-size: 30px; }
    .ultron-modal-body { padding: 16px 18px 22px; }
    .ultron-modal-preview { padding: 0 18px 8px; }

    .faq-question { padding: 12px 16px; font-size: 0.88rem; }

    .ib-avatar { width: 96px; height: 96px; }
    .contact-avatar { width: 72px; height: 72px; }
    .contact-avatar.icon-only { font-size: 30px; }

    .floating-whatsapp {
        width: 46px;
        height: 46px;
        font-size: 21px;
        bottom: 16px;
        right: 16px;
    }
}

/* ---------- CONTACT CARD EMAIL FIX ---------- */
.contact-card a {
    font-size: 0.85rem;
    text-align: center;
    line-height: 1.4;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
    display: block;
}

.contact-card a i {
    margin-right: 4px;
    vertical-align: middle;
}

.contact-card {
    min-width: 0;   /* allows children to shrink properly */
    overflow: hidden;
}
/* ==========================================
   FONT UPGRADE + CONTACT FIX
========================================== */

/* Re-import fonts — Plus Jakarta Sans replaces Inter */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&family=JetBrains+Mono:wght@500;700&display=swap');

/* Apply the new fonts */
:root {
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-display: 'Space Grotesk', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

body {
    font-family: var(--font-body);
    font-weight: 500;         /* slightly heavier base weight = easier to read */
    letter-spacing: -0.005em;
}

p {
    font-weight: 500;
    letter-spacing: 0;
}

/* Slightly increase body text size since Plus Jakarta is more compact */
p { font-size: 0.97rem; }
.card p { font-size: 0.87rem; }
.section-head p { font-size: 0.97rem; }
.hero-copy { font-size: 0.97rem; }
.faq-answer p { font-size: 0.9rem; }

/* Headings — keep the strong display font but slightly lighter weight for elegance */
h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 600;   /* was 700 — softer, less shouty */
    letter-spacing: -0.02em;
}

h1 { font-weight: 700; }  /* main page titles stay bold */

/* Buttons — match the new font weight */
.btn {
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: 0.005em;
}

/* ==========================================
   CONTACT CARD FIX
========================================== */

.contact-card {
    min-width: 0;
    overflow: hidden;
    padding: 24px 20px;
}

.contact-card a {
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    padding: 2px 0;
}

.contact-card a i {
    flex-shrink: 0;
    font-size: 0.9rem;
}

.contact-card h4 {
    margin-bottom: 6px;
}

/* Slightly tighter contact grid on mobile */
@media (max-width: 700px) {
    .contact-card a {
        font-size: 0.82rem;
    }
}

/* ==========================================
   SMOOTHER FONT RENDERING (bonus polish)
========================================== */

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Nice readable numerals in the mono font for prices */
.product-card .price,
.product-card .price-old,
.ultron-modal-cta .price-big {
    font-variant-numeric: tabular-nums;
}

/* ==========================================
   CAREERS PAGE — FORM STYLES
========================================== */

.apply-form-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 32px 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.apply-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field label {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-2);
}

.form-field input,
.form-field textarea {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-1);
    background: rgba(7, 11, 20, 0.6);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    width: 100%;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--text-3);
    opacity: 0.65;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--blue);
    background: rgba(37, 99, 235, 0.08);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.form-hint {
    font-size: 0.72rem;
    color: var(--text-3);
    opacity: 0.85;
}

.apply-form .btn-block {
    margin-top: 8px;
    padding: 14px 24px;
    font-size: 0.95rem;
}

.form-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--text-3);
    margin-top: 4px;
    text-align: center;
}

.form-footer i {
    color: var(--green);
    font-size: 0.85rem;
}

/* Success state */
.form-success {
    text-align: center;
    padding: 24px 20px;
}

.form-success i {
    font-size: 56px;
    color: var(--green);
    margin-bottom: 16px;
    display: inline-block;
}

.form-success h3 {
    color: var(--text-1);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.form-success p {
    color: var(--text-2);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.65;
}

/* Mobile */
@media (max-width: 700px) {
    .apply-form-wrap { padding: 24px 18px; }
    .form-row { grid-template-columns: 1fr; }
    .form-field input,
    .form-field textarea { font-size: 0.9rem; padding: 11px 13px; }
}

/* ==========================================
   FOOTER SOCIAL ROW
========================================== */

.footer-socials {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
}

.footer-socials a,
.footer-socials button.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    color: var(--text-2);
    font-size: 1rem;
    transition: 0.25s;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
}

.footer-socials a:hover,
.footer-socials button.social-btn:hover {
    transform: translateY(-3px);
    color: white;
}

/* Brand-tinted hovers */
.footer-socials .whatsapp-trigger:hover {
    background: rgba(37, 211, 102, 0.2);
    border-color: rgba(37, 211, 102, 0.5);
}
.footer-socials a[aria-label="Facebook"]:hover {
    background: rgba(24, 119, 242, 0.2);
    border-color: rgba(24, 119, 242, 0.5);
}
.footer-socials a[aria-label="Instagram"]:hover {
    background: rgba(225, 48, 108, 0.2);
    border-color: rgba(225, 48, 108, 0.5);
}
.footer-socials a[aria-label="TikTok"]:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.35);
}

/* ==========================================
   WHATSAPP CHOOSER POPUP
========================================== */

.wa-chooser {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.wa-chooser.active {
    display: flex;
}

.wa-chooser-overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 11, 20, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: fadeIn 0.25s ease;
    cursor: pointer;
}

.wa-chooser-box {
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
    border: 1px solid rgba(37, 211, 102, 0.35);
    border-radius: var(--radius-lg);
    padding: 26px 24px 22px;
    max-width: 420px;
    width: 100%;
    box-shadow: var(--shadow-lg);
    animation: modalIn 0.32s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}

.wa-chooser-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line-strong);
    color: var(--text-2);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.25s;
    cursor: pointer;
}

.wa-chooser-close:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: rgba(239, 68, 68, 0.5);
    color: white;
}

.wa-chooser-head {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.wa-chooser-head i {
    font-size: 34px;
    color: #25D366;
    margin-bottom: 8px;
    display: inline-block;
}

.wa-chooser-head h4 {
    color: var(--text-1);
    font-size: 1.05rem;
    font-weight: 700;
}

.wa-chooser-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wa-person {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    transition: 0.25s;
    text-decoration: none;
    color: inherit;
}

.wa-person:hover {
    background: rgba(37, 211, 102, 0.1);
    border-color: rgba(37, 211, 102, 0.5);
    transform: translateY(-2px);
}

.wa-person img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 2px solid rgba(37, 211, 102, 0.5);
    flex-shrink: 0;
}

.wa-person strong {
    display: block;
    color: var(--text-1);
    font-size: 0.98rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.wa-person span {
    display: block;
    color: var(--text-3);
    font-size: 0.82rem;
    font-weight: 500;
}

/* Mobile */
@media (max-width: 700px) {
    .footer-socials a,
    .footer-socials button.social-btn {
        width: 36px;
        height: 36px;
        font-size: 0.92rem;
        border-radius: 10px;
    }

    .wa-chooser-box { padding: 22px 18px 18px; }
    .wa-person { padding: 10px 12px; gap: 12px; }
    .wa-person img { width: 42px; height: 42px; }
    .wa-person strong { font-size: 0.92rem; }
    .wa-person span { font-size: 0.78rem; }
}
/* ==========================================
   BRIDGE MARKETS LOGO — fix squished rendering
========================================== */

/* Hero brand logo */
.hero-brand img {
    height: 58px !important;
    width: auto !important;
    max-width: 220px !important;
    object-fit: contain;
    display: block;
}

/* Footer / strip logos */
.bridge-strip-logo,
.footer-blue-strip .bridge-strip-logo {
    height: 70px !important;
    width: auto !important;
    max-width: 260px !important;
    object-fit: contain;
}

/* Header logo */
.bridge-logo {
    height: 48px !important;
    width: auto !important;
    max-width: 180px !important;
    object-fit: contain;
}

/* Make sure images never stretch */
img {
    object-fit: contain;
}

/* ==========================================
   BRIDGE MARKETS LOGO — BIGGER & BOLDER
========================================== */

/* ---------- HERO LOGO (homepage top) ---------- */
.hero-brand {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
    flex-wrap: wrap;
}

.hero-brand img {
    height: 90px !important;
    width: auto !important;
    max-width: 340px !important;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 6px 20px rgba(37, 99, 235, 0.35));
}

.hero-brand .label {
    color: var(--cyan);
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ---------- HEADER LOGO (top nav) ---------- */
.bridge-logo {
    height: 60px !important;
    width: auto !important;
    max-width: 200px !important;
    object-fit: contain;
}

/* ---------- FOOTER / BRIDGE STRIP LOGO ---------- */
.bridge-strip-logo,
.footer-blue-strip .bridge-strip-logo {
    height: 90px !important;
    width: auto !important;
    max-width: 300px !important;
    object-fit: contain;
}

/* ---------- BOTTOM FOOTER LOGO ---------- */
.footer-brand-logo {
    height: 60px !important;
    width: auto !important;
    max-width: 220px !important;
    object-fit: contain;
    margin-bottom: 16px;
}

/* ---------- MOBILE ADJUSTMENTS ---------- */
@media (max-width: 700px) {

    .hero-brand {
        gap: 14px;
        margin-bottom: 18px;
        padding-bottom: 14px;
    }

    .hero-brand img {
        height: 62px !important;
        max-width: 220px !important;
    }

    .hero-brand .label {
        font-size: 0.68rem;
        letter-spacing: 0.15em;
    }

    .bridge-logo {
        height: 42px !important;
        max-width: 140px !important;
    }

    .bridge-strip-logo,
    .footer-blue-strip .bridge-strip-logo {
        height: 62px !important;
        max-width: 200px !important;
    }

    .footer-brand-logo {
        height: 44px !important;
        max-width: 160px !important;
    }
}
/* ==========================================
   BRIDGE MARKETS LOGO — BIGGER, LEFT-ALIGNED
   Overrides previous rules
========================================== */

/* ---------- HERO BRAND BLOCK ---------- */
.hero-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;      /* LEFT align */
    text-align: left;
    gap: 12px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.hero-brand img {
    height: 180px !important;              /* ~2× previous 90px */
    width: auto !important;
    max-width: 520px !important;
    object-fit: contain;
    display: block;
    filter:
        drop-shadow(0 0 25px rgba(37, 99, 235, 0.45))
        drop-shadow(0 0 50px rgba(124, 58, 237, 0.25));
    margin-left: 0;                        /* ensure left edge alignment */
}

.hero-brand .label {
    color: var(--cyan);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-align: left;
    margin-left: 0;
}

/* ---------- HEADER LOGO (top nav) ---------- */
.bridge-logo {
    height: 60px !important;
    max-width: 200px !important;
    width: auto !important;
    object-fit: contain;
}

/* ---------- FOOTER / BRIDGE STRIP LOGO ---------- */
.bridge-strip-logo,
.footer-blue-strip .bridge-strip-logo {
    height: 110px !important;
    max-width: 380px !important;
    width: auto !important;
    object-fit: contain;
}

/* ---------- BOTTOM FOOTER LOGO ---------- */
.footer-brand-logo {
    height: 70px !important;
    max-width: 260px !important;
    width: auto !important;
    object-fit: contain;
    margin-bottom: 16px;
}

/* ---------- MOBILE ADJUSTMENTS ---------- */
@media (max-width: 900px) {
    .hero-brand img {
        height: 130px !important;
        max-width: 380px !important;
    }
}

@media (max-width: 700px) {

    .hero-brand {
        align-items: center;              /* re-center on small phones */
        text-align: center;
        gap: 10px;
        margin-bottom: 20px;
        padding-bottom: 16px;
    }

    .hero-brand img {
        height: 95px !important;
        max-width: 280px !important;
    }

    .hero-brand .label {
        font-size: 0.7rem;
        letter-spacing: 0.16em;
        text-align: center;
    }

    .bridge-logo {
        height: 42px !important;
        max-width: 140px !important;
    }

    .bridge-strip-logo,
    .footer-blue-strip .bridge-strip-logo {
        height: 70px !important;
        max-width: 220px !important;
    }

    .footer-brand-logo {
        height: 50px !important;
        max-width: 180px !important;
    }
}
/* ==========================================
   HERO — PULL CONTENT UP, REDUCE TOP SPACE
========================================== */

/* Reduce the hero section top padding */
.page-hero.hero {
    padding: 16px 0 32px !important;
}

/* Align hero content to the TOP instead of center */
.hero-grid {
    align-items: start !important;
    gap: 40px !important;
}

/* Kill the default hero-grid vertical centering that pushes logos down */
.hero-left {
    align-self: start;
    padding-top: 0;
}

/* Tighten the brand block spacing */
.hero-brand {
    margin-bottom: 20px !important;
    padding-bottom: 16px !important;
    gap: 10px !important;
}

/* Remove any extra top margin from the logo itself */
.hero-brand img {
    margin-top: 0 !important;
}

/* Reduce space above the whole hero container */
.page-hero .container {
    padding-top: 0;
}

/* ---------- MOBILE ---------- */
@media (max-width: 900px) {
    .page-hero.hero {
        padding: 12px 0 24px !important;
    }
    .hero-grid {
        gap: 28px !important;
    }
}

@media (max-width: 700px) {
    .page-hero.hero {
        padding: 10px 0 20px !important;
    }
    .hero-brand {
        margin-bottom: 14px !important;
        padding-bottom: 12px !important;
    }
}
/* ==========================================
   HERO DEVICE MOCKUPS — LAPTOP + PHONE
========================================== */

.hero-visual {
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
}

/* Kill the radial glow from earlier rules if it interferes */
.hero-visual::before {
    content: "";
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle at center, rgba(124, 58, 237, 0.22) 0%, transparent 55%);
    z-index: 0;
    pointer-events: none;
}

/* Remove old .hero-visual img rule if it forces width */
.hero-visual > img {
    width: auto;
}

/* ---------- LAPTOP ---------- */
.device-laptop {
    position: relative;
    width: 100%;
    max-width: 560px;
    z-index: 1;
}

.device-laptop-screen {
    background: #0b0f19;
    border: 10px solid #0b0f19;
    border-bottom: none;
    border-radius: 14px 14px 0 0;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
}

.device-laptop-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    display: block;
}

.device-laptop-base {
    height: 16px;
    background: linear-gradient(#3a3f52, #252a3a);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
    position: relative;
}

.device-laptop-base::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 70px;
    height: 6px;
    background: #1a1f2e;
    border-radius: 0 0 6px 6px;
}

/* ---------- PHONE ---------- */
.device-phone {
    position: absolute;
    right: -10px;
    bottom: -30px;
    width: 130px;
    aspect-ratio: 9 / 19;
    background: #0b0f19;
    border: 6px solid #0b0f19;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55);
    z-index: 3;
}

.device-phone img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    display: block;
}

/* ---------- MOBILE ---------- */
@media (max-width: 900px) {
    .hero-visual {
        min-height: 380px;
    }

    .device-phone {
        width: 110px;
        right: -6px;
        bottom: -22px;
        border-width: 5px;
        border-radius: 20px;
    }
}

@media (max-width: 700px) {
    .hero-visual {
        min-height: 300px;
    }

    .device-laptop-screen {
        border-width: 6px;
        border-radius: 10px 10px 0 0;
    }

    .device-laptop-base {
        height: 12px;
    }

    .device-phone {
        width: 90px;
        right: 0;
        bottom: -18px;
        border-width: 4px;
        border-radius: 16px;
    }
}
/* ==========================================
   COMING SOON RIBBON — RED CORNER BANNER
========================================== */

.coming-soon-card {
    position: relative;
    overflow: hidden;   /* hides the ribbon tip that overflows */
}

.ribbon-soon {
    position: absolute;
    top: 14px;
    right: -38px;

    display: block;
    width: 140px;

    padding: 5px 0;

    background: linear-gradient(135deg, #EF4444, #B91C1C);
    color: #fff;

    font-family: var(--font-display);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-align: center;

    transform: rotate(45deg);

    box-shadow:
        0 4px 12px rgba(239, 68, 68, 0.5),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15);

    z-index: 2;
    pointer-events: none;
}

/* Slight pulse to draw the eye */
@keyframes ribbonGlow {
    0%, 100% {
        box-shadow:
            0 4px 12px rgba(239, 68, 68, 0.5),
            inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    }
    50% {
        box-shadow:
            0 4px 18px rgba(239, 68, 68, 0.8),
            0 0 22px rgba(239, 68, 68, 0.5),
            inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    }
}

.ribbon-soon {
    animation: ribbonGlow 2.4s ease-in-out infinite;
}

/* Slightly dim the card body so it reads as "not yet available" */
.coming-soon-card .card-icon {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.3);
    color: #F87171;
}

/* ---------- MOBILE ---------- */
@media (max-width: 700px) {
    .ribbon-soon {
        top: 11px;
        right: -34px;
        width: 120px;
        font-size: 0.56rem;
        padding: 4px 0;
        letter-spacing: 0.12em;
    }
}
/* ==========================================
   MOBILE SAFETY NET — Guarantee phone layout
   Paste at the very bottom of style.css
========================================== */

/* ---------- TABLET & DOWN (≤ 900px) ---------- */
@media (max-width: 900px) {

    /* Kill any horizontal overflow */
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }

    /* Every section uses the full viewport */
    .container {
        padding-left: 20px;
        padding-right: 20px;
        max-width: 100%;
    }

    /* Hero: stack everything, don't let images overflow */
    .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    .hero-visual {
        min-height: auto !important;
        padding: 20px 0;
    }

    .hero-visual img,
    .device-laptop,
    .device-phone,
    .device-phone-standalone {
        max-width: 100% !important;
    }

    /* Bridge Markets logo — size for phone */
    .hero-brand img {
        height: 110px !important;
        max-width: 320px !important;
    }

    /* Kill huge modal padding */
    .ultron-modal-header { padding: 24px 22px 16px; }
    .ultron-modal-body   { padding: 20px 22px 26px; }
    .ultron-modal-preview{ padding: 0 22px 10px; }

    /* Feature strip becomes 2 columns */
    .feature-strip {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ---------- PHONE (≤ 700px) ---------- */
@media (max-width: 700px) {

    html { font-size: 14px; }

    /* Tighten section rhythm */
    section { padding: 32px 0 !important; }

    .page-hero,
    .subpage-hero {
        padding: 24px 0 20px !important;
    }

    /* Small Bridge Markets logo */
    .hero-brand img {
        height: 88px !important;
        max-width: 260px !important;
    }

    .hero-brand .label {
        font-size: 0.68rem !important;
        letter-spacing: 0.14em !important;
    }

    /* Header stays compact */
    .navbar {
        height: 58px !important;
    }

    .bridge-logo { height: 38px !important; }
    .partner-logo { height: 26px !important; }

    /* Headings — never too big for phone */
    h1 { font-size: 1.75rem !important; }
    h2 { font-size: 1.35rem !important; }
    h3 { font-size: 1.1rem !important; }

    /* Buttons stretch full width */
    .hero-cta .btn,
    .cta-actions .btn {
        width: 100% !important;
        justify-content: center;
    }

    /* Grids always single column on phone */
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr !important;
    }

    /* Cards tighter on small screens */
    .card {
        padding: 18px 16px !important;
    }

    /* CTA block smaller */
    .cta-block {
        padding: 34px 22px !important;
        border-radius: var(--radius) !important;
    }

    /* Footer single column, centered */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
        text-align: center;
    }

    .footer-brand,
    .footer-col {
        text-align: center;
        align-items: center;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-bottom .container {
        flex-direction: column !important;
        text-align: center;
        gap: 10px;
    }

    /* IB cards (register page) */
    .ib-avatar {
        width: 110px !important;
        height: 110px !important;
    }

    /* Contact cards */
    .contact-card {
        padding: 20px 16px !important;
    }

    /* Form fields — everything full width */
    .form-row {
        grid-template-columns: 1fr !important;
    }

    .apply-form-wrap {
        padding: 22px 16px !important;
    }

    /* Coming soon ribbon, smaller */
    .ribbon-soon {
        top: 10px !important;
        right: -32px !important;
        width: 115px !important;
        font-size: 0.54rem !important;
        padding: 4px 0 !important;
    }

    /* Modals fill the screen better */
    .ultron-modal {
        padding: 10px !important;
    }

    .ultron-modal-content {
        max-height: 94vh !important;
        border-radius: var(--radius) !important;
    }

    .ultron-modal-header h3 { font-size: 1.3rem !important; }
    .ultron-modal-header i  { font-size: 30px !important; }

    .ultron-modal-cta .price-big {
        font-size: 1.7rem !important;
    }

    /* WhatsApp chooser popup */
    .wa-chooser-box {
        padding: 22px 18px !important;
    }
}

/* ---------- VERY SMALL PHONES (≤ 400px, e.g. iPhone SE) ---------- */
@media (max-width: 400px) {

    html { font-size: 13.5px; }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    h1 { font-size: 1.55rem !important; }
    h2 { font-size: 1.22rem !important; }

    .hero-brand img {
        height: 74px !important;
        max-width: 220px !important;
    }

    .card {
        padding: 16px 14px !important;
    }

    .product-card {
        padding: 16px 13px !important;
    }

    .btn {
        padding: 12px 20px !important;
        font-size: 0.85rem !important;
    }
}

/* ==========================================
   ACCOUNT TYPES — Spec List & Comparison Table
========================================== */

/* Spec list inside account cards */
.account-spec-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    border-top: 1px solid var(--line);
}

.account-spec-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.85rem;
}

.account-spec-list li:last-child {
    border-bottom: none;
}

.account-spec-list span {
    color: var(--text-3);
    font-weight: 500;
}

.account-spec-list strong {
    color: var(--cyan);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.01em;
}

/* Comparison table */
.account-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
}

.account-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 620px;
    font-size: 0.92rem;
}

.account-table thead {
    background: rgba(37, 99, 235, 0.12);
}

.account-table th {
    padding: 16px 18px;
    text-align: left;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cyan);
    border-bottom: 1px solid var(--line-strong);
}

.account-table td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
    color: var(--text-2);
    font-weight: 500;
}

.account-table tbody tr:last-child td {
    border-bottom: none;
}

.account-table tbody tr:hover {
    background: rgba(37, 99, 235, 0.06);
}

.account-table td strong {
    color: var(--text-1);
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.account-table td:nth-child(2),
.account-table td:nth-child(3),
.account-table td:nth-child(4),
.account-table td:nth-child(5) {
    font-family: var(--font-mono);
    color: var(--text-1);
    font-weight: 600;
}

/* Mobile */
@media (max-width: 700px) {
    .account-table {
        font-size: 0.82rem;
        min-width: 520px;
    }

    .account-table th,
    .account-table td {
        padding: 12px 14px;
    }

    .account-spec-list li {
        font-size: 0.82rem;
        padding: 9px 0;
    }

    .account-spec-list strong {
        font-size: 0.88rem;
    }
}

/* ==========================================
   BRIDGE MARKETS — Leveraged Plans List
========================================== */

.leveraged-plans {
    list-style: none;
    padding: 0 24px 24px;
    margin: 0;
}

.leveraged-plans li {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: 0.92rem;
}

.leveraged-plans li:last-child {
    border-bottom: none;
}

.leveraged-plans li span {
    color: var(--text-2);
    font-weight: 600;
    text-align: right;
}

.leveraged-plans li strong {
    color: var(--cyan);
    font-weight: 700;
    font-size: 0.98rem;
    text-align: left;
}

.leveraged-plans li i {
    color: var(--blue);
    font-size: 0.75rem;
    opacity: 0.7;
}

/* Mobile */
@media (max-width: 700px) {
    .leveraged-plans {
        padding: 0 18px 18px;
    }

    .leveraged-plans li {
        font-size: 0.82rem;
        padding: 10px 0;
        gap: 10px;
    }

    .leveraged-plans li strong {
        font-size: 0.88rem;
    }
}
/* ==========================================
   BRIDGE PROP — Commission Tiers & Bonus Cards
========================================== */

/* Commission tier rows */
.commission-tier {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: 0.25s;
}

.commission-tier:hover {
    border-color: rgba(37, 99, 235, 0.45);
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.06), rgba(255, 255, 255, 0.02));
}

.commission-tier.highlighted {
    border-color: rgba(124, 58, 237, 0.55);
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.12), rgba(255, 255, 255, 0.02));
}

.tier-range {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-2);
    font-weight: 600;
}

.tier-arrow {
    color: var(--blue);
    font-size: 0.85rem;
}

.tier-rate {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cyan);
    letter-spacing: -0.02em;
}

.tier-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-3);
    font-weight: 600;
}

/* Bonus cards */
.bonus-card {
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(124, 58, 237, 0.35);
    border-radius: var(--radius);
    overflow: hidden;
    transition: 0.25s;
    text-align: center;
}

.bonus-card:hover {
    transform: translateY(-4px);
    border-color: rgba(124, 58, 237, 0.65);
    box-shadow: 0 12px 30px rgba(124, 58, 237, 0.28);
}

.bonus-head {
    padding: 22px 18px;
    color: var(--text-2);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.5;
    border-bottom: 1px solid rgba(124, 58, 237, 0.2);
}

.bonus-head span {
    display: block;
    margin-top: 4px;
    font-size: 0.78rem;
    color: var(--text-3);
    font-weight: 500;
}

.bonus-amount {
    padding: 18px 16px;
    font-family: var(--font-mono);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(90deg, rgba(124, 58, 237, 0.4), rgba(37, 99, 235, 0.4));
    letter-spacing: 0.02em;
}

/* Mobile */
@media (max-width: 700px) {
    .commission-tier {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "range arrow"
            "rate  label";
        gap: 10px 14px;
        padding: 16px 18px;
    }

    .tier-range { grid-area: range; font-size: 0.85rem; }
    .tier-arrow { grid-area: arrow; }
    .tier-rate  { grid-area: rate; font-size: 1.35rem; }
    .tier-label { grid-area: label; font-size: 0.68rem; }

    .bonus-head { padding: 18px 14px; font-size: 0.82rem; }
    .bonus-amount { padding: 16px 12px; font-size: 1rem; }
}

/* ==========================================
   HERO STATS BAR
========================================== */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-top: 28px;
}

.hero-stats > div {
    background: var(--bg-1);
    padding: 14px 12px;
    text-align: center;
}

.hero-stats strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 4px;
}

.hero-stats span {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-2);
    font-weight: 600;
}

@media (max-width: 700px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================
   DEMO BUTTON — Subtle, secondary emphasis
========================================== */
.btn-ghost {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.18);
    color: var(--text-2);
    font-weight: 600;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.35);
    color: var(--text-1);
    transform: translateY(-2px);
}

.btn-ghost i {
    opacity: 0.75;
}

/* ==========================================
   MOBILE — ULTRA COMPACT (phones only)
   Overrides all earlier mobile rules
========================================== */

@media (max-width: 700px) {

    /* ---------- BASE TYPE ---------- */
    html { font-size: 13px; }

    body { line-height: 1.5; }

    h1 { font-size: 1.55rem !important; letter-spacing: -0.02em; }
    h2 { font-size: 1.2rem !important; }
    h3 { font-size: 0.98rem !important; }
    h4 { font-size: 0.92rem !important; }

    p { font-size: 0.88rem; line-height: 1.5; }

    /* ---------- CONTAINER ---------- */
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    /* ---------- SECTIONS ---------- */
    section { padding: 24px 0 !important; }

    .page-hero,
    .subpage-hero {
        padding: 18px 0 16px !important;
    }

    /* ---------- SECTION HEADINGS ---------- */
    .section-head {
        margin: 0 auto 20px !important;
        max-width: 100%;
    }

    .section-head p {
        margin-top: 8px;
        font-size: 0.85rem;
    }

    .eyebrow {
        font-size: 0.62rem;
        margin-bottom: 6px;
        letter-spacing: 0.14em;
    }

    /* ---------- HEADER ---------- */
    .navbar {
        height: 52px !important;
        gap: 8px;
    }

    .bridge-logo { height: 34px !important; }
    .partner-logo { height: 22px !important; }
    .logo-divider { height: 18px; }
    .logo-area { gap: 8px; }

    .mobile-menu-toggle {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    /* ---------- HERO ---------- */
    .hero-grid { gap: 20px !important; }

    .hero-brand {
        margin-bottom: 12px !important;
        padding-bottom: 10px !important;
        gap: 6px !important;
    }

    .hero-brand img {
        height: 62px !important;
        max-width: 190px !important;
    }

    .hero-brand .label {
        font-size: 0.58rem !important;
        letter-spacing: 0.12em !important;
    }

    .hero-partner-logo {
        height: 38px !important;
        margin-bottom: 10px !important;
    }

    .hero h1 { margin-bottom: 6px !important; }

    .hero-sub {
        font-size: 0.98rem;
        margin-bottom: 6px;
    }

    .hero-location {
        font-size: 0.78rem;
        margin-bottom: 12px;
    }

    .hero-copy {
        font-size: 0.88rem;
        line-height: 1.5;
        margin-bottom: 16px;
    }

    .hero-cta {
        gap: 8px;
    }

    .hero-cta .btn {
        padding: 10px 16px !important;
        font-size: 0.82rem !important;
    }

    /* Hero stats */
    .hero-stats {
        grid-template-columns: repeat(2, 1fr) !important;
        margin-top: 16px !important;
    }

    .hero-stats > div {
        padding: 10px 8px;
    }

    .hero-stats strong {
        font-size: 0.68rem;
        margin-bottom: 2px;
    }

    .hero-stats span {
        font-size: 0.62rem;
    }

    /* Hero visual */
    .hero-visual {
        min-height: 220px !important;
        padding: 8px 0 !important;
    }

    .device-phone {
        width: 70px;
        right: -2px;
        bottom: -14px;
        border-width: 3px;
        border-radius: 14px;
    }

    .device-laptop-screen {
        border-width: 5px;
        border-radius: 8px 8px 0 0;
    }

    .device-laptop-base {
        height: 9px;
    }

    /* ---------- GRIDS ---------- */
    .grid { gap: 10px !important; }
    .grid-2,
    .grid-3,
    .grid-4 { grid-template-columns: 1fr !important; }

    /* ---------- CARDS ---------- */
    .card {
        padding: 14px 12px !important;
        border-radius: 12px !important;
    }

    .card-icon {
        width: 34px !important;
        height: 34px !important;
        font-size: 15px !important;
        margin-bottom: 8px !important;
        border-radius: 10px !important;
    }

    .card-icon-lg {
        width: 42px !important;
        height: 42px !important;
        font-size: 18px !important;
        margin-bottom: 10px !important;
        border-radius: 12px !important;
    }

    .card h3 {
        font-size: 0.92rem !important;
        margin-bottom: 4px !important;
    }

    .card p {
        font-size: 0.8rem !important;
        line-height: 1.45 !important;
    }

    /* ---------- PRODUCT CARDS ---------- */
    .product-card {
        padding: 16px 12px !important;
        gap: 7px !important;
    }

    .product-card .badge,
    .product-card .sale {
        font-size: 0.52rem !important;
        padding: 3px 8px !important;
        top: -7px !important;
    }

    .product-card .prod-icon {
        font-size: 20px !important;
    }

    .product-card h3 {
        font-size: 0.95rem !important;
    }

    .product-card p {
        font-size: 0.78rem !important;
        line-height: 1.4 !important;
    }

    .product-card .price-box {
        padding: 8px 0 !important;
    }

    .product-card .price {
        font-size: 1.15rem !important;
    }

    .product-card .price-old {
        font-size: 0.82rem !important;
    }

    .product-card .price-note {
        font-size: 0.55rem !important;
    }

    .special-price {
        padding: 6px 10px !important;
        font-size: 0.65rem !important;
        gap: 6px !important;
    }

    /* ---------- BUTTONS ---------- */
    .btn {
        padding: 10px 18px !important;
        font-size: 0.82rem !important;
        gap: 6px;
    }

    .btn-sm {
        padding: 8px 14px !important;
        font-size: 0.72rem !important;
    }

    /* ---------- FEATURE STRIP ---------- */
    .feature-strip {
        grid-template-columns: repeat(2, 1fr) !important;
        margin-top: 18px !important;
    }

    .feature-strip .item {
        padding: 12px 8px !important;
    }

    .feature-strip i {
        font-size: 16px !important;
        margin-bottom: 5px !important;
    }

    .feature-strip h4 {
        font-size: 0.72rem !important;
    }

    /* ---------- CTA BLOCK ---------- */
    .cta-block {
        padding: 26px 16px !important;
        border-radius: 16px !important;
    }

    .cta-block h2 {
        font-size: 1.15rem !important;
        margin-bottom: 8px !important;
    }

    .cta-block p {
        font-size: 0.85rem !important;
        margin-bottom: 16px !important;
    }

    .cta-actions { gap: 8px; }

    /* ---------- SUBPAGE HERO ---------- */
    .subpage-hero h1 {
        margin-bottom: 8px !important;
    }

    .subpage-hero p {
        font-size: 0.88rem !important;
        line-height: 1.5 !important;
    }

    .breadcrumbs {
        font-size: 0.68rem !important;
        margin-bottom: 10px !important;
        gap: 6px !important;
    }

    /* ---------- IB CARDS ---------- */
    .ib-card {
        padding: 20px 16px !important;
        border-radius: 16px !important;
    }

    .ib-avatar {
        width: 84px !important;
        height: 84px !important;
        margin-bottom: 10px !important;
        border-width: 2px !important;
    }

    .ib-card h3 {
        font-size: 1.05rem !important;
        margin-bottom: 3px !important;
    }

    .ib-card .role {
        font-size: 0.68rem !important;
        margin-bottom: 14px !important;
    }

    .ib-card .actions { gap: 7px !important; }

    /* ---------- CONTACT CARDS ---------- */
    .contact-card {
        padding: 16px 14px !important;
        gap: 5px !important;
    }

    .contact-avatar {
        width: 62px !important;
        height: 62px !important;
        margin-bottom: 4px !important;
    }

    .contact-avatar.icon-only {
        font-size: 26px !important;
    }

    .contact-card h4 {
        font-size: 0.92rem !important;
    }

    .contact-card a {
        font-size: 0.76rem !important;
    }

    /* ---------- FAQ ---------- */
    .faq-item {
        margin-bottom: 6px !important;
        border-radius: 10px !important;
    }

    .faq-question {
        padding: 11px 14px !important;
        font-size: 0.85rem !important;
        gap: 10px !important;
    }

    .faq-question i { font-size: 0.68rem !important; }

    .faq-item.open .faq-answer {
        padding: 0 14px 12px !important;
    }

    .faq-answer p {
        font-size: 0.78rem !important;
        line-height: 1.5 !important;
    }

    /* ---------- FORM ---------- */
    .apply-form-wrap {
        padding: 18px 14px !important;
        border-radius: 14px !important;
    }

    .apply-form { gap: 12px !important; }

    .form-field label {
        font-size: 0.68rem !important;
        margin-bottom: 4px !important;
    }

    .form-field input,
    .form-field textarea {
        padding: 10px 12px !important;
        font-size: 0.85rem !important;
        border-radius: 8px !important;
    }

    .form-hint { font-size: 0.65rem !important; }

    .form-footer { font-size: 0.68rem !important; }

    /* ---------- FOOTER ---------- */
    .site-footer { margin-top: 32px !important; }

    .footer-main { padding: 28px 0 20px !important; }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .footer-brand-logo {
        height: 38px !important;
        margin-bottom: 10px !important;
    }

    .footer-brand p {
        font-size: 0.78rem !important;
        line-height: 1.5 !important;
        margin-bottom: 12px !important;
    }

    .footer-socials {
        justify-content: center;
        gap: 7px !important;
    }

    .footer-socials a,
    .footer-socials button.social-btn {
        width: 32px !important;
        height: 32px !important;
        border-radius: 8px !important;
        font-size: 0.85rem !important;
    }

    .footer-col h4 {
        font-size: 0.65rem !important;
        margin-bottom: 8px !important;
    }

    .footer-col ul li { margin-bottom: 5px !important; }

    .footer-col a { font-size: 0.78rem !important; }

    .footer-bottom { padding: 12px 0 !important; }

    .footer-bottom p { font-size: 0.65rem !important; }

    .footer-bottom .legal {
        font-size: 0.62rem !important;
        line-height: 1.5 !important;
    }

    /* ---------- MODAL ---------- */
    .ultron-modal { padding: 8px !important; }

    .ultron-modal-content {
        border-radius: 14px !important;
        max-height: 94vh !important;
    }

    .ultron-modal-close {
        width: 30px !important;
        height: 30px !important;
        font-size: 13px !important;
        margin: 10px 10px 0 0 !important;
    }

    .ultron-modal-header {
        padding: 18px 16px 12px !important;
    }

    .ultron-modal-header i {
        font-size: 28px !important;
        margin-bottom: 8px !important;
    }

    .ultron-modal-header h3 {
        font-size: 1.15rem !important;
        margin-bottom: 4px !important;
    }

    .ultron-modal-header p { font-size: 0.8rem !important; }

    .ultron-modal-preview { padding: 0 16px 8px !important; }

    .ultron-modal-body { padding: 14px 16px 20px !important; }

    .problem-box,
    .solution-box {
        padding: 12px 14px !important;
        margin-bottom: 10px !important;
        border-radius: 10px !important;
    }

    .problem-box h4,
    .solution-box h4 {
        font-size: 0.75rem !important;
        margin-bottom: 6px !important;
    }

    .problem-box li,
    .solution-box p {
        font-size: 0.75rem !important;
        line-height: 1.5 !important;
        padding: 3px 0 3px 16px !important;
    }

    .tag-row {
        padding: 10px 12px !important;
        gap: 5px !important;
        margin-bottom: 12px !important;
    }

    .tag-row .tag {
        padding: 3px 8px !important;
        font-size: 0.65rem !important;
    }

    .features-title {
        font-size: 0.68rem !important;
        margin: 14px 0 8px !important;
    }

    .feature-line {
        gap: 10px !important;
        padding: 8px 0 !important;
    }

    .feature-line .fi {
        width: 28px !important;
        height: 28px !important;
        font-size: 12px !important;
        border-radius: 8px !important;
    }

    .feature-line h5 {
        font-size: 0.82rem !important;
        margin-bottom: 2px !important;
    }

    .feature-line p {
        font-size: 0.72rem !important;
        line-height: 1.45 !important;
    }

    .ultron-modal-cta {
        margin-top: 16px !important;
        padding-top: 14px !important;
        gap: 10px !important;
    }

    .ultron-modal-cta .price-big {
        font-size: 1.5rem !important;
    }

    .ultron-modal-cta .price-note {
        font-size: 0.65rem !important;
    }

    /* ---------- FLOATING WHATSAPP ---------- */
    .floating-whatsapp {
        width: 46px !important;
        height: 46px !important;
        font-size: 22px !important;
        bottom: 14px !important;
        right: 14px !important;
    }

    /* ---------- SYMBOL MAPPING (if present) ---------- */
    .symbol-map-grid {
        grid-template-columns: 1fr !important;
    }

    .symbol-map-item {
        padding: 8px 10px !important;
        gap: 6px !important;
    }

    .symbol-tag,
    .symbol-bridge {
        font-size: 0.7rem !important;
    }

    /* ---------- MOBILE MENU ---------- */
    .mobile-menu-overlay {
        padding: 18px 16px 30px;
    }

    .mobile-menu-header {
        padding-bottom: 12px;
        margin-bottom: 8px;
    }

    .mobile-menu-logo { height: 34px; }

    .mobile-menu-close {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    .mobile-menu-list a.mobile-link {
        padding: 10px 14px;
        font-size: 0.9rem;
    }

    .mobile-menu-cta {
        padding: 12px 20px;
        font-size: 0.88rem;
    }

    /* ---------- WHATSAPP CHOOSER ---------- */
    .wa-chooser-box {
        padding: 20px 16px 16px !important;
    }

    .wa-chooser-head h4 { font-size: 0.95rem; }

    .wa-person {
        padding: 10px 12px !important;
        gap: 10px !important;
    }

    .wa-person img {
        width: 40px !important;
        height: 40px !important;
    }

    .wa-person strong { font-size: 0.88rem !important; }
    .wa-person span { font-size: 0.72rem !important; }
}

/* ---------- VERY SMALL PHONES (≤ 400px) ---------- */
@media (max-width: 400px) {

    html { font-size: 12.5px; }

    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    h1 { font-size: 1.4rem !important; }
    h2 { font-size: 1.1rem !important; }

    section { padding: 20px 0 !important; }

    .page-hero,
    .subpage-hero {
        padding: 14px 0 12px !important;
    }

    .hero-brand img {
        height: 52px !important;
        max-width: 160px !important;
    }

    .hero-partner-logo {
        height: 34px !important;
    }

    .card {
        padding: 12px 10px !important;
    }

    .product-card {
        padding: 14px 10px !important;
    }

    .btn {
        padding: 9px 14px !important;
        font-size: 0.78rem !important;
    }
}

/* ==========================================
   DOWNLOAD LIBRARY — List Style
========================================== */

.download-library {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 900px;
    margin: 0 auto;
}

.download-row {
    display: grid;
    grid-template-columns: 48px 1fr 44px;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: 0.25s;
    text-decoration: none;
    color: inherit;
}

.download-row:hover {
    border-color: rgba(37, 99, 235, 0.5);
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.08), rgba(255, 255, 255, 0.02));
    transform: translateX(4px);
}

.download-row-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #F87171;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.download-row-info h3 {
    font-size: 0.98rem;
    color: var(--text-1);
    margin-bottom: 3px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.download-row-info p {
    font-size: 0.82rem;
    color: var(--text-3);
    line-height: 1.5;
    margin: 0;
}

.download-row-action {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.3);
    color: var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
    transition: 0.25s;
}

.download-row:hover .download-row-action {
    background: var(--blue);
    border-color: var(--blue);
    color: white;
    transform: scale(1.05);
}

@media (max-width: 700px) {
    .download-library { gap: 8px; }

    .download-row {
        grid-template-columns: 38px 1fr 34px;
        gap: 12px;
        padding: 12px 14px;
    }

    .download-row-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
        border-radius: 10px;
    }

    .download-row-info h3 {
        font-size: 0.88rem;
        margin-bottom: 2px;
    }

    .download-row-info p {
        font-size: 0.72rem;
        line-height: 1.4;
    }

    .download-row-action {
        width: 34px;
        height: 34px;
        font-size: 12px;
    }
}

/* ==========================================
   DOWNLOAD PLATFORM CARDS — MT5 downloads
========================================== */

.download-platform-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    cursor: pointer;
    transition: transform 0.3s, border-color 0.3s, background 0.3s;
}

.download-platform-card .card-icon-lg {
    margin: 0 auto 12px;
    background: rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.3);
    color: #7EA8FF;
}

.download-platform-card:hover {
    transform: translateY(-6px);
    border-color: rgba(37, 99, 235, 0.55);
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.08), rgba(255, 255, 255, 0.02));
}

.download-platform-card h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.download-platform-card p {
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--text-3);
    margin-bottom: 14px;
}

.download-platform-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.35);
    color: #7EA8FF;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: 0.25s;
}

.download-platform-card:hover .download-platform-cta {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

/* Mobile */
@media (max-width: 700px) {
    .download-platform-card {
        padding: 16px 14px;
    }

    .download-platform-card .card-icon-lg {
        width: 40px;
        height: 40px;
        font-size: 18px;
        margin-bottom: 8px;
    }

    .download-platform-cta {
        padding: 6px 14px;
        font-size: 0.72rem;
    }
}

/* ==========================================
   CHART & CALENDAR — Full-Screen Frames
========================================== */

.chart-frame,
.calendar-frame {
    width: 100%;
    height: 78vh;
    min-height: 600px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--bg-1);
    box-shadow: var(--shadow);
}

.chart-frame #tradingview_chart_full,
.calendar-frame #tradingview_calendar_full {
    width: 100%;
    height: 100%;
}

@media (max-width: 700px) {
    .chart-frame,
    .calendar-frame {
        height: 65vh;
        min-height: 450px;
    }
}

/* ==========================================
   SYMBOL TABS — Chart symbol switcher
========================================== */

.symbol-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
}

.symbol-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line-strong);
    border-radius: 50px;
    color: var(--text-2);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.symbol-tab:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--text-1);
    transform: translateY(-2px);
}

.symbol-tab.active {
    background: var(--gradient-brand);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.symbol-tab i {
    font-size: 0.78rem;
    opacity: 0.85;
}

/* Mobile */
@media (max-width: 700px) {
    .symbol-tabs {
        gap: 6px;
        margin-bottom: 14px;
    }

    .symbol-tab {
        padding: 7px 12px;
        font-size: 0.72rem;
    }

    .symbol-tab i {
        font-size: 0.68rem;
    }
}

/* ==========================================
   TICKER TAPE — Live scrolling prices
========================================== */

.ticker-tape-wrap {
    background: var(--bg-1);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    margin: 0;
    width: 100%;
}

.ticker-tape-wrap .tradingview-widget-container {
    width: 100%;
}

.ticker-tape-wrap .tradingview-widget-container__widget {
    width: 100%;
}

/* Remove any extra spacing that the widget might add */
.ticker-tape-wrap iframe {
    display: block;
    width: 100% !important;
}

/* ==========================================
   NAV HOVER — AQUA BACKGROUND
========================================== */

/* Desktop main nav — full pill turns aqua */
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.nav-link:hover,
.main-nav > ul > li > a.nav-more-toggle:hover {
    background: #00FFFF !important;
    color: #070b14 !important;
    transition: 0.22s ease;
}

/* Dropdown menu links — full pill turns aqua */
.nav-more-menu a:hover,
.nav-more-menu a.nav-link:hover {
    background: #00FFFF !important;
    color: #070b14 !important;
    transition: 0.22s ease;
}

/* Header "Join Now" button — aqua fill on hover */
.header-btn:hover {
    background: #00FFFF !important;
    color: #070b14 !important;
    box-shadow: 0 12px 28px rgba(0, 255, 255, 0.5) !important;
    transform: translateY(-2px);
}

/* Mobile menu links — full pill turns aqua */
.mobile-menu-list a.mobile-link:hover,
.mobile-menu-list a.mobile-link:active {
    background: #00FFFF !important;
    color: #070b14 !important;
}

/* Footer links — subtle aqua background */
.footer-col a:hover {
    background: rgba(0, 255, 255, 0.12) !important;
    color: #00FFFF !important;
    border-radius: 6px;
    padding-left: 6px;
    padding-right: 6px;
    margin-left: -6px;
    margin-right: -6px;
    transition: 0.2s ease;
}

/* Footer social icons — aqua background */
.footer-socials a:hover,
.footer-socials button.social-btn:hover {
    background: #00FFFF !important;
    border-color: #00FFFF !important;
    color: #070b14 !important;
    transform: translateY(-3px);
}

/* Keep the ACTIVE/current page tab distinct — stays blue pill */
.main-nav a.nav-link.active {
    background: rgba(37, 99, 235, 0.2) !important;
    color: #ffffff !important;
}

.main-nav a.nav-link.active:hover {
    background: #00FFFF !important;
    color: #070b14 !important;
}