/* ============================================================
   NORTHERN GREECE SECURITIES — Modern Redesign
   Dark fintech aesthetic · Glassmorphism · Scroll animations
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    /* ── Institutional Color Palette ─────────────────────────── */
    --bg-primary:    #060B14;
    --bg-secondary:  #0B1324;
    --bg-tertiary:   #0E1A2F;
    --bg-card:       rgba(14, 26, 47, 0.65);
    --bg-glass:      rgba(255, 255, 255, 0.03);
    --bg-glass-hover:rgba(255, 255, 255, 0.06);

    /* Muted institutional gold — used for headings, CTAs, premium elements */
    --accent:        #C8A96A;
    --accent-dim:    rgba(200, 169, 106, 0.14);
    --accent-grad:   linear-gradient(135deg, #C8A96A 0%, #E2CC8C 55%, #C8A96A 100%);

    /* Analytics blue — charts, neutral data */
    --accent2:       #3A7BD5;
    --accent2-dim:   rgba(58, 123, 213, 0.14);

    /* Market data colors */
    --positive:      #2ECC71;
    --negative:      #E04F5F;
    --warning:       #D9A441;
    --neutral:       #3A7BD5;

    --text-primary:  #e8ecf4;
    --text-secondary:#8899b4;
    --text-muted:    #4a5a78;
    --white:         #ffffff;
    --border:        rgba(200, 210, 230, 0.08);
    --border-accent: rgba(200, 169, 106, 0.22);

    /* Typography */
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Playfair Display', 'Libre Baskerville', Georgia, serif;
    --font-mono:    'JetBrains Mono', 'SF Mono', 'Fira Mono', 'Courier New', monospace;

    /* Sizing — minimal radius for institutional feel */
    --container: 1280px;
    --nav-h: 72px;
    --radius: 4px;
    --radius-sm: 2px;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --duration: 0.35s;
}

/* ---------- Reset & Base ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: color var(--duration) var(--ease); }
a:hover { color: var(--white); }

img { max-width: 100%; display: block; }

h1,h2,h3,h4,h5,h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
}

/* Institutional serif for major display headings */
h1, h2, .section-title {
    font-family: var(--font-display);
}

::selection { background: var(--accent); color: var(--bg-primary); }

/* ---------- Utility ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.text-gradient {
    background: var(--accent-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 640px;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    text-decoration: none;
}
.btn-primary {
    background: var(--accent-grad);
    color: var(--white);
    box-shadow: 0 4px 24px rgba(0, 180, 255, 0.25);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 180, 255, 0.35);
    color: var(--white);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--border-accent);
}
.btn-outline:hover {
    background: var(--accent-dim);
    color: var(--white);
}
.btn svg { width: 18px; height: 18px; }

/* ---------- Animated Background Mesh ---------- */
.bg-mesh {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}
.bg-mesh::before,
.bg-mesh::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
    animation: meshFloat 20s ease-in-out infinite;
}
.bg-mesh::before {
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(200,169,106,0.06), transparent 70%);
    top: -15%; left: -10%;
}
.bg-mesh::after {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(58,123,213,0.08), transparent 70%);
    bottom: -15%; right: -10%;
    animation-delay: -10s;
}
@keyframes meshFloat {
    0%,100% { transform: translate(0, 0) scale(1); }
    33%     { transform: translate(60px, -40px) scale(1.1); }
    66%     { transform: translate(-30px, 50px) scale(0.95); }
}

/* Trading terminal grid overlay */
.bg-grid {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(120,140,180,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(120,140,180,0.06) 1px, transparent 1px);
    background-size: 80px 80px;
}

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    transition: background var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.nav.scrolled {
    background: rgba(6, 8, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--border);
}
.nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
}
.nav-logo img {
    height: 42px;
    width: auto;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}
.nav-links a {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.3px;
    position: relative;
    padding: 4px 0;
    white-space: nowrap;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 2px;
    background: var(--accent-grad);
    transition: width var(--duration) var(--ease);
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}
.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}
.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}
.nav-lang {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 12px;
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text-secondary);
    transition: all var(--duration) var(--ease);
    background: transparent;
    cursor: pointer;
}
.nav-lang:hover { border-color: var(--accent); color: var(--accent); }
.nav-cta { padding: 9px 20px; font-size: 0.78rem; white-space: nowrap; }

/* Mobile hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--duration) var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Large screens: extra breathing room */
@media (min-width: 1400px) {
    .nav-links { gap: 36px; }
    .nav-links a { font-size: 0.88rem; }
    .nav-menu { gap: 32px; }
    .nav-cta { padding: 10px 24px; font-size: 0.82rem; }
}

/* Mobile nav */
@media (max-width: 1080px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: var(--nav-h); left: 0; right: 0; bottom: 0;
        background: rgba(6, 8, 15, 0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
        transform: translateX(100%);
        transition: transform 0.4s var(--ease);
    }
    .nav-menu.open { transform: translateX(0); }
    .nav-links {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    .nav-links li { width: 100%; text-align: center; }
    .nav-links a {
        display: block;
        padding: 18px 24px;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--border);
    }
    .nav-right {
        margin-top: 24px;
        flex-direction: column;
    }
}

/* ---------- Hero ---------- */
.hero {
    display: flex;
    align-items: center;
    position: relative;
    padding: 100px 0 48px;
    overflow: hidden;
}
.hero .container {
    display: block;
    max-width: 760px;
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 50px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 18px;
    backdrop-filter: blur(10px);
}
.hero-badge .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #00e676;
    box-shadow: 0 0 8px rgba(0, 230, 118, 0.5);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%,100% { opacity: 1; }
    50%     { opacity: 0.4; }
}
.hero h1 {
    font-size: clamp(2.6rem, 5vw, 4rem);
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.12;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}
.hero p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin-bottom: 24px;
    line-height: 1.75;
}
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.hero-visual {
    position: absolute;
    top: 50%; right: -5%;
    transform: translateY(-50%);
    width: 50%;
    max-width: 600px;
    z-index: 1;
    opacity: 0.15;
}
/* Subtle ambient glow — institutional dark gold */
.hero-orb {
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(200,169,106,0.07), rgba(14,26,47,0.04) 60%, transparent 80%);
    top: 50%; right: 8%;
    transform: translateY(-50%);
    filter: blur(80px);
    animation: orbFloat 18s ease-in-out infinite;
    pointer-events: none;
}
@keyframes orbFloat {
    0%,100% { transform: translateY(-50%) scale(1); }
    50%     { transform: translateY(-54%) scale(1.06); }
}

/* Hero right-side financial charts panel */
.hero-charts {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.hero-chart-panel {
    background: rgba(14, 26, 47, 0.72);
    border: 1px solid rgba(200, 169, 106, 0.14);
    border-radius: var(--radius);
    overflow: hidden;
    backdrop-filter: blur(12px);
    position: relative;
}
.hero-chart-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200,169,106,0.35), transparent);
}
.hero-chart-label {
    padding: 8px 14px 0;
    font-size: 0.65rem;
    font-weight: 700;
    font-family: var(--font-mono);
    letter-spacing: 0.15em;
    color: rgba(200,169,106,0.7);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.hero-chart-label .status-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--positive);
    box-shadow: 0 0 6px rgba(46,204,113,0.6);
    animation: pulse 2s ease-in-out infinite;
}
.hero-chart-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 960px) {
    .hero .container { grid-template-columns: 1fr; gap: 48px; }
    .hero-charts { display: none; }
}

/* Hero stats ticker */
.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.hero-stat h3 {
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--accent-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-stat p {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0;
}

/* ---------- Section Spacing ---------- */
section { padding: 120px 0; position: relative; }
section + section { border-top: 1px solid var(--border); }

/* ---------- Glass Card ---------- */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all var(--duration) var(--ease);
    position: relative;
    overflow: hidden;
}
.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200,169,106,0.32), transparent);
    opacity: 0;
    transition: opacity var(--duration) var(--ease);
}
.glass-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.glass-card:hover::before { opacity: 1; }

.card-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    background: var(--accent-dim);
    color: var(--accent);
}
.card-icon svg { width: 28px; height: 28px; }
.glass-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}
.glass-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ---------- Services Grid ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 56px;
}

/* ---------- About / Our Firm ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.4) 15%, rgba(0,0,0,0.85) 40%, rgba(0,0,0,1) 60%, rgba(0,0,0,0.7) 80%, transparent 100%),
                linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.5) 8%, rgba(0,0,0,1) 20%, rgba(0,0,0,1) 80%, rgba(0,0,0,0.5) 92%, transparent 100%);
    mask-composite: intersect;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.4) 15%, rgba(0,0,0,0.85) 40%, rgba(0,0,0,1) 60%, rgba(0,0,0,0.7) 80%, transparent 100%),
                        linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.5) 8%, rgba(0,0,0,1) 20%, rgba(0,0,0,1) 80%, rgba(0,0,0,0.5) 92%, transparent 100%);
    -webkit-mask-composite: source-in;
}
.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    pointer-events: none;
}
.about-content .section-label { margin-bottom: 12px; }
.about-content .section-title { margin-bottom: 24px; }
.about-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 1rem;
}
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 32px;
}
.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.about-feature-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-dim);
    color: var(--accent);
    flex-shrink: 0;
}
.about-feature-icon svg { width: 20px; height: 20px; }
.about-feature h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}
.about-feature p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-features { grid-template-columns: 1fr; }
}

/* ---------- Values / Pillars ---------- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}
.value-card {
    text-align: center;
    padding: 48px 32px;
}
.value-card .card-icon {
    margin: 0 auto 24px;
    width: 72px; height: 72px;
    border-radius: 50%;
}
.value-card h3 { font-size: 1.15rem; margin-bottom: 12px; }
.value-card p { font-size: 0.9rem; }

@media (max-width: 768px) {
    .values-grid { grid-template-columns: 1fr; }
}

/* ---------- Investment Approach ---------- */
.approach-timeline {
    position: relative;
    margin-top: 56px;
    padding-left: 40px;
}
.approach-timeline::before {
    content: '';
    position: absolute;
    left: 15px; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--accent2));
}
.approach-step {
    position: relative;
    padding: 0 0 48px 40px;
}
.approach-step:last-child { padding-bottom: 0; }
.approach-step::before {
    content: '';
    position: absolute;
    left: -34px; top: 6px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 16px rgba(200,169,106,0.4);
    border: 3px solid var(--bg-primary);
}
.approach-step h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}
.approach-step p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ---------- CTA Banner ---------- */
.cta-section {
    position: relative;
    overflow: hidden;
}
.cta-inner {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 72px 56px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(0,180,255,0.08), transparent 70%);
    pointer-events: none;
}
.cta-inner h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: 16px; }
.cta-inner p { color: var(--text-secondary); margin-bottom: 36px; font-size: 1.1rem; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact Form ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 56px;
    margin-top: 56px;
}
.contact-info-card {
    padding: 32px;
    margin-bottom: 16px;
}
.contact-info-card .icon-wrap {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-dim);
    color: var(--accent);
    margin-bottom: 16px;
}
.contact-info-card .icon-wrap svg { width: 22px; height: 22px; }
.contact-info-card h4 { font-size: 1rem; margin-bottom: 6px; }
.contact-info-card p { color: var(--text-secondary); font-size: 0.9rem; margin: 0; }

.contact-form .glass-card { padding: 48px; }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all var(--duration) var(--ease);
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-dim);
}
.form-group select option {
    background: #0B1324;
    color: #e8ecf4;
    padding: 8px;
}
.form-group select option:disabled {
    color: #4a5a78;
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}

/* ---------- Page Header (inner pages) ---------- */
.page-header {
    padding: 180px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top center, rgba(0,180,255,0.08), transparent 60%);
    pointer-events: none;
}
.page-header h1 {
    font-size: clamp(2.4rem, 5vw, 3.5rem);
    margin-bottom: 16px;
}
.page-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 560px;
    margin: 0 auto;
}
.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 0.82rem;
    color: var(--text-muted);
}
.breadcrumb a { color: var(--accent); }
.breadcrumb span { color: var(--text-muted); }

/* ---------- Footer ---------- */
.footer {
    padding: 80px 0 0;
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 64px;
}
.footer-brand img {
    height: 40px;
    margin-bottom: 20px;
}
.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}
.footer-social {
    display: flex;
    gap: 12px;
}
.footer-social a {
    width: 40px; height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    transition: all var(--duration) var(--ease);
}
.footer-social a:hover {
    background: var(--accent-dim);
    border-color: var(--accent);
    color: var(--accent);
}
.footer-social a svg { width: 18px; height: 18px; }

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
    font-size: 0.88rem;
    color: var(--text-secondary);
}
.footer-col ul a:hover { color: var(--accent); }

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    color: var(--text-secondary);
    font-size: 0.88rem;
}
.footer-contact-item svg {
    width: 18px; height: 18px;
    color: var(--accent);
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ---------- Scroll Reveal Animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- Particles (CSS-only) ---------- */
.particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.particle {
    position: absolute;
    width: 2px; height: 2px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 8s ease-in-out infinite;
}
.particle:nth-child(1)  { left: 10%; animation-delay: 0s; animation-duration: 10s; }
.particle:nth-child(2)  { left: 20%; animation-delay: 1s; animation-duration: 12s; }
.particle:nth-child(3)  { left: 35%; animation-delay: 2s; animation-duration: 9s; }
.particle:nth-child(4)  { left: 50%; animation-delay: 0.5s; animation-duration: 11s; }
.particle:nth-child(5)  { left: 65%; animation-delay: 3s; animation-duration: 10s; }
.particle:nth-child(6)  { left: 75%; animation-delay: 1.5s; animation-duration: 8s; }
.particle:nth-child(7)  { left: 85%; animation-delay: 2.5s; animation-duration: 13s; }
.particle:nth-child(8)  { left: 90%; animation-delay: 0.8s; animation-duration: 9s; }
.particle:nth-child(9)  { left: 5%;  animation-delay: 3.5s; animation-duration: 11s; }
.particle:nth-child(10) { left: 45%; animation-delay: 1.2s; animation-duration: 14s; }

@keyframes particleFloat {
    0%   { bottom: -5%; opacity: 0; transform: translateX(0); }
    10%  { opacity: 0.6; }
    90%  { opacity: 0.6; }
    100% { bottom: 105%; opacity: 0; transform: translateX(40px); }
}

/* ---------- Ticker / Marquee ---------- */
.ticker-wrap {
    overflow: hidden;
    padding: 16px 0;
    background: var(--bg-glass);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.ticker {
    display: flex;
    gap: 48px;
    animation: ticker 70s linear infinite;
    width: max-content;
}
.ticker-item {
    white-space: nowrap;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}
.ticker-item .sep {
    width: 4px; height: 4px;
    background: var(--accent);
    border-radius: 50%;
}
@keyframes ticker {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---------- Live Market Ticker ---------- */
.stock-ticker-wrap {
    overflow: hidden;
    background: #010306;
    border-bottom: 1px solid rgba(200,169,106,0.12);
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1001;
    height: 46px;
    display: flex;
    align-items: center;
}
.stock-ticker-wrap .tradingview-widget-container,
.stock-ticker-wrap .tradingview-widget-container__widget { width: 100%; height: 46px !important; }
.stock-ticker-wrap + .nav { top: 46px; }
.stock-ticker-wrap ~ .hero { padding-top: 166px; }
.stock-ticker-wrap ~ .page-header { padding-top: 222px; }
.stock-ticker {
    display: flex;
    gap: 0;
    animation: ticker 80s linear infinite;
    width: max-content;
}
.stock-item {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-size: 0.72rem;
    font-weight: 500;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    padding: 0 16px;
    border-right: 1px solid rgba(200,210,230,0.07);
}
.stock-item .stock-cat {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(200,169,106,0.5);
    text-transform: uppercase;
    padding-right: 6px;
    border-right: 1px solid rgba(200,169,106,0.2);
    margin-right: 4px;
}
.stock-item .stock-icon { display: none; }
.stock-item .stock-name {
    font-weight: 600;
    color: rgba(232,236,244,0.9);
    letter-spacing: 0.04em;
}
.stock-item .stock-price {
    font-variant-numeric: tabular-nums;
    color: rgba(232,236,244,0.7);
}
.stock-item .stock-change {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}
.stock-item .stock-change.up   { color: #2ECC71; }
.stock-item .stock-change.down { color: #E04F5F; }
.stock-item .stock-change.flat { color: var(--text-muted); }

/* ---------- Services page detailed ---------- */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
}
.service-detail:nth-child(even) { direction: rtl; }
.service-detail:nth-child(even) > * { direction: ltr; }
.service-detail + .service-detail { border-top: 1px solid var(--border); }
.service-number {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    background: var(--accent-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    margin-bottom: 16px;
}
.service-detail h3 { font-size: 1.8rem; margin-bottom: 16px; }
.service-detail p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
}
.service-detail-visual {
    position: relative;
    height: 360px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-detail-visual svg {
    width: 120px;
    height: 120px;
    color: var(--accent);
    opacity: 0.4;
}

@media (max-width: 768px) {
    .service-detail { grid-template-columns: 1fr; }
    .service-detail:nth-child(even) { direction: ltr; }
}

/* ---------- Counters ---------- */
.counter-section {
    padding: 80px 0;
}
.counters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.counter-card {
    text-align: center;
    padding: 40px 20px;
}
.counter-card h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 8px;
}
.counter-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
@media (max-width: 768px) {
    .counters { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .counters { grid-template-columns: 1fr; }
}

/* ---------- Map ---------- */
.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    height: 400px;
    margin-top: 56px;
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(1) invert(1) contrast(0.9) brightness(0.6);
}

/* ---------- Loading Screen ---------- */
.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s var(--ease), visibility 0.5s;
    animation: loader-failsafe 0s 2s forwards;
}
@keyframes loader-failsafe {
    to { opacity: 0; visibility: hidden; pointer-events: none; }
}
.loader.hidden {
    opacity: 0;
    visibility: hidden;
}
.loader-spinner {
    width: 40px; height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Scroll-to-top ---------- */
.scroll-top {
    position: fixed;
    bottom: 32px; right: 32px;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--accent-grad);
    border: none;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(12px);
    transition: all var(--duration) var(--ease);
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 180, 255, 0.3);
}
.scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
}
.scroll-top:hover { transform: translateY(-3px); }
.scroll-top svg { width: 22px; height: 22px; }

/* ---------- News Section ---------- */
.news-section { padding: 100px 0; }
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all var(--duration) var(--ease);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.news-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--accent-grad);
    opacity: 0;
    transition: opacity var(--duration) var(--ease);
}
.news-card:hover {
    border-color: rgba(0, 180, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
.news-card:hover::before { opacity: 1; }
.news-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.news-card-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}
.news-card-ticker {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(0, 180, 255, 0.12);
    color: var(--accent);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.news-card h3 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 10px;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    transition: gap var(--duration) var(--ease);
}
.news-card-link:hover { gap: 10px; }
.news-card-link svg { width: 14px; height: 14px; }
@media (max-width: 1024px) {
    .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .news-grid { grid-template-columns: 1fr; }
}

/* ---------- Announcements List ---------- */
.announcements-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 48px;
}
.announcement-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: inherit;
    transition: all var(--duration) var(--ease);
}
.announcement-item:hover {
    border-color: rgba(0, 180, 255, 0.3);
    transform: translateX(6px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}
.announcement-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 180, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.announcement-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}
.announcement-content {
    flex: 1;
    min-width: 0;
}
.announcement-content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}
.announcement-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}
.announcement-dl {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background var(--duration) var(--ease);
}
.announcement-dl svg {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    transition: color var(--duration) var(--ease);
}
.announcement-item:hover .announcement-dl {
    background: rgba(0, 180, 255, 0.12);
}
.announcement-item:hover .announcement-dl svg {
    color: var(--accent);
}

/* ---------- Multi-Step KYC Form ---------- */
.form-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 48px;
}
.form-step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.form-step-indicator .step-num {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    background: var(--bg-glass);
    border: 2px solid var(--border);
    color: var(--text-muted);
    transition: all var(--duration) var(--ease);
}
.form-step-indicator .step-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.form-step-indicator.active .step-num {
    background: var(--accent-grad);
    border-color: var(--accent);
    color: var(--white);
    box-shadow: 0 0 20px rgba(0, 180, 255, 0.3);
}
.form-step-indicator.active .step-label { color: var(--accent); }
.form-step-indicator.completed .step-num {
    background: rgba(0, 230, 118, 0.15);
    border-color: #00e676;
    color: #00e676;
}
.form-step-indicator.completed .step-label { color: var(--text-secondary); }
.form-step-connector {
    flex: 1;
    height: 2px;
    background: var(--border);
    margin: 0 12px;
    margin-bottom: 28px;
}
.form-step-panel { display: none; }
.form-step-panel.active {
    display: block;
    animation: fadeInUp 0.4s var(--ease);
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
.form-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
    gap: 16px;
}
.form-nav .btn { min-width: 160px; justify-content: center; }
.form-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent);
    margin: 32px 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}
.form-section-title:first-child { margin-top: 0; }
.form-hint {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 4px 0 8px;
    font-style: italic;
}

/* Radio & checkbox groups */
.radio-group, .checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}
.radio-group label, .checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--text-secondary);
    transition: all var(--duration) var(--ease);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}
.radio-group label:hover, .checkbox-group label:hover {
    border-color: var(--accent);
    color: var(--text-primary);
}
.radio-group input[type="radio"]:checked + span { color: var(--accent); font-weight: 600; }

/* True/False question rows */
.tf-question {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}
.tf-question:last-child { border-bottom: none; }
.tf-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
    line-height: 1.6;
}

/* File upload */
.form-group input[type="file"] {
    padding: 14px;
    background: var(--bg-glass);
    border: 2px dashed var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    width: 100%;
}
.form-group input[type="file"]:hover { border-color: var(--accent); }

/* Validation error */
.field-error { border-color: #ff5252 !important; box-shadow: 0 0 0 3px rgba(255, 82, 82, 0.15) !important; }

/* 3-col grid */
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }

/* Success state */
.form-success { text-align: center; padding: 64px 32px; }
.form-success .success-icon {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: rgba(0, 230, 118, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}
.form-success .success-icon svg { width: 40px; height: 40px; color: #00e676; }
.form-success h2 { font-size: 1.8rem; margin-bottom: 12px; }
.form-success p { color: var(--text-secondary); font-size: 1rem; }

/* Subsection headings (h4 within glass-card) */
.form-subsection {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 24px 0 12px;
    padding: 10px 14px;
    background: var(--bg-glass);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Vertical radio groups (for long option text) */
.radio-group-vertical {
    flex-direction: column;
}
.radio-group-vertical label {
    width: 100%;
}

/* Checkbox grid (multi-select) */
.checkbox-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}
.checkbox-grid label {
    padding: 10px 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--text-secondary);
    transition: all var(--duration) var(--ease);
}
.checkbox-grid label:hover {
    border-color: var(--accent);
    color: var(--text-primary);
}
.checkbox-grid input[type="checkbox"]:checked + span { color: var(--accent); font-weight: 600; }
.checkbox-grid input[type="checkbox"] { margin-right: 8px; }

/* Product experience blocks */
.product-exp-block {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}
.product-exp-block:last-child { border-bottom: none; }
.product-exp-block .form-subsection { margin-top: 0; }
.product-exp-block .form-row-3 { margin-top: 8px; }

/* Smaller labels for grid columns */
.form-label-sm {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    display: block;
}

/* KYC form responsive */
@media (max-width: 768px) {
    .form-row-3 { grid-template-columns: 1fr; }
    .radio-group:not(.radio-group-vertical) { flex-direction: column; }
}
@media (max-width: 600px) {
    .form-steps { flex-wrap: wrap; gap: 8px; justify-content: center; }
    .form-step-connector { display: none; }
    .form-step-indicator { flex-direction: row; gap: 6px; }
    .form-step-indicator .step-num { width: 32px; height: 32px; font-size: 0.8rem; }
    .form-step-indicator .step-label { font-size: 0.65rem; }
}

/* ---------- Responsive Polish ---------- */
@media (max-width: 480px) {
    section { padding: 80px 0; }
    .hero { padding: 100px 0 60px; }
    .hero h1 { font-size: 2.2rem; }
    .hero-stats { flex-direction: column; gap: 24px; }
    .glass-card { padding: 28px; }
    .cta-inner { padding: 48px 24px; }
}

/* ---------- Footer Regulatory ---------- */
.footer-regulatory {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 32px;
    justify-content: center;
}
.footer-reg-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.footer-reg-item svg { color: var(--accent); flex-shrink: 0; }
.footer-legal-links { display: flex; gap: 8px; align-items: center; }
.footer-legal-links a { color: var(--text-muted); font-size: 0.8rem; transition: color 0.2s; }
.footer-legal-links a:hover { color: var(--accent); }
.footer-legal-links span { color: var(--text-muted); font-size: 0.7rem; }
.footer-bottom {
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

/* ---------- Cookie Consent ---------- */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    padding: 16px 24px;
    background: rgba(12, 16, 32, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-accent);
    transform: translateY(0);
    transition: transform 0.4s ease, opacity 0.4s ease;
}
.cookie-consent.hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}
.cookie-consent-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.cookie-consent-text {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}
.cookie-consent-text svg { color: var(--accent); flex-shrink: 0; }
.cookie-consent-text p { font-size: 0.85rem; color: var(--text-secondary); margin: 0; }
.cookie-consent-text a { color: var(--accent); text-decoration: underline; }
.cookie-consent-actions { display: flex; gap: 8px; flex-shrink: 0; }
.btn-sm { padding: 8px 16px; font-size: 0.8rem; }
@media (max-width: 768px) {
    .cookie-consent-inner { flex-direction: column; text-align: center; }
    .cookie-consent-text { flex-direction: column; }
}

/* ---------- Floating Contact Button ---------- */
.floating-contact {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9000;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent-grad);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 180, 255, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}
.floating-contact:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 180, 255, 0.5);
}
.floating-contact-tooltip {
    position: absolute;
    right: 68px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--text-primary);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}
.floating-contact:hover .floating-contact-tooltip { opacity: 1; }

/* ---------- Trust Strip ---------- */
.trust-strip {
    padding: 48px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.trust-strip-label {
    text-align: center;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-bottom: 28px;
}
.trust-strip-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px 56px;
}
.trust-strip-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.5;
    transition: opacity 0.3s;
}
.trust-strip-item:hover { opacity: 1; }
.trust-strip-item svg { width: 40px; height: 40px; color: var(--text-secondary); }
.trust-strip-item span {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    max-width: 120px;
}

/* ---------- Legal Pages ---------- */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}
.legal-content h2 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin: 40px 0 16px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p,
.legal-content li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}
.legal-content ul { padding-left: 24px; margin-bottom: 16px; }
.legal-content a { color: var(--accent); }

/* ---------- 404 Page ---------- */
.error-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.error-page h1 {
    font-size: 8rem;
    font-weight: 900;
    background: var(--accent-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
}
.error-page h2 { font-size: 1.5rem; margin-bottom: 12px; }
.error-page p { color: var(--text-secondary); margin-bottom: 32px; }

/* ================================================================
   ENHANCED ANIMATIONS v2 — Terminal · Cursor · Tilt · Orbs
   ================================================================ */

/* --- Hero 2-column layout --- */
.hero > .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.hero > .container .hero-content { max-width: none; }
@media (max-width: 960px) {
    .hero > .container { grid-template-columns: 1fr; }
    .hero-terminal-wrap { display: none; }
}

/* Override old hero-visual absolute positioning */
.hero-terminal-wrap {
    position: relative;
    z-index: 2;
}

/* --- Market Terminal Card --- */
.hero-terminal {
    background: rgba(8, 14, 38, 0.88);
    border: 1px solid rgba(0,180,255,0.22);
    border-radius: 22px;
    padding: 24px 24px 20px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    animation: termFloat 7s ease-in-out infinite;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.04) inset,
        0 40px 100px rgba(0,0,0,0.65),
        0 0 80px rgba(0,180,255,0.07);
}
@keyframes termFloat {
    0%,100% { transform: translateY(0) rotate(-0.4deg); }
    50%      { transform: translateY(-14px) rotate(0.2deg); }
}
.term-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.t-dot { width: 11px; height: 11px; border-radius: 50%; }
.t-dot-r { background:#ff5f57; box-shadow:0 0 6px #ff5f5788; }
.t-dot-y { background:#ffbd2e; box-shadow:0 0 6px #ffbd2e88; }
.t-dot-g { background:#28ca41; box-shadow:0 0 6px #28ca4188; }
.term-bar-title {
    margin-left: auto;
    font-size: 0.66rem;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.term-sym {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--accent);
    background: rgba(0,180,255,0.1);
    border: 1px solid rgba(0,180,255,0.2);
    padding: 2px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 6px;
}
.term-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 2px;
}
.term-price {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}
.term-chg {
    font-size: 0.8rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.term-up   { color: #00e676; }
.term-down { color: #ef4444; }
#heroChart { width:100%; height:140px; display:block; border-radius:8px; margin:14px 0 10px; }
.term-metrics {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.tm-label {
    display:block; font-size:0.62rem; color:rgba(255,255,255,0.3);
    text-transform:uppercase; letter-spacing:.05em; margin-bottom:3px;
}
.tm-val {
    display:block; font-size:0.82rem; font-weight:600;
    color:rgba(255,255,255,0.82); font-variant-numeric:tabular-nums;
}

/* --- Floating mini badges --- */
.float-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 15px;
    background: rgba(8,14,38,0.92);
    border: 1px solid rgba(0,180,255,0.18);
    border-radius: 14px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.5);
    pointer-events: none;
    z-index: 4;
}
.fbadge-1 { top:-22px; left:-56px; animation: termFloat 8s ease-in-out infinite; animation-delay:-2s; }
.fbadge-2 { bottom:10px; right:-52px; animation: termFloat 8s ease-in-out infinite; animation-delay:-5s; }
.fb-icon {
    width:32px; height:32px; border-radius:9px;
    background:rgba(0,180,255,0.12); display:flex;
    align-items:center; justify-content:center;
    font-size:1rem; font-weight:700;
    flex-shrink:0;
}
.fb-name { font-size:0.65rem; color:rgba(255,255,255,0.4); margin-bottom:2px; }
.fb-val  { font-size:0.86rem; font-weight:700; color:#fff; }
.fb-green{ color:#00e676; }
.fb-blue { color:var(--accent); }

/* --- Global cursor glow --- */
.cursor-glow {
    position: fixed;
    pointer-events: none;
    z-index: 9990;
    width: 480px; height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,180,255,0.05) 0%, transparent 65%);
    transform: translate(-50%,-50%);
    will-change: left, top;
    mix-blend-mode: screen;
    transition: width .3s, height .3s;
}

/* --- Card glow on hover (enhanced) --- */
.glass-card {
    transition: all 0.4s var(--ease);
    will-change: transform;
}
.glass-card:hover {
    box-shadow:
        0 0 0 1px rgba(0,180,255,0.25),
        0 24px 64px rgba(0,0,0,0.45),
        0 0 48px rgba(0,180,255,0.07);
}

/* --- Button glow pulse --- */
.btn-primary {
    position: relative;
    overflow: hidden;
}
.btn-primary::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    background: var(--accent-grad);
    opacity: 0;
    filter: blur(14px);
    z-index: -1;
    transition: opacity .4s;
}
.btn-primary:hover::after { opacity: 0.55; }

/* --- Shimmer on card reveal --- */
@keyframes cardShimmer {
    from { transform: translateX(-100%); }
    to   { transform: translateX(200%); }
}
.glass-card .shimmer-line {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(0,180,255,0.08) 50%, transparent 60%);
    pointer-events: none;
    animation: cardShimmer 1.2s ease forwards;
    border-radius: inherit;
}

/* --- Section glow labels --- */
.section-label { animation: labelPulse 4s ease-in-out infinite; }
@keyframes labelPulse {
    0%,100% { text-shadow: 0 0 0 transparent; }
    50%      { text-shadow: 0 0 20px rgba(0,180,255,0.55); }
}

/* --- Footer link underline slide --- */
.footer-col ul a { position: relative; }
.footer-col ul a::after {
    content:''; position:absolute;
    bottom:-2px; left:0; width:0; height:1px;
    background: var(--accent);
    transition: width .3s var(--ease);
}
.footer-col ul a:hover::after { width: 100%; }

/* --- Extra particles: vivid, varied --- */
.particle { width:3px; height:3px; }
.particle:nth-child(1)  { left:7%;  width:3px; height:3px; background:var(--accent);  animation-duration:10s; animation-delay:0s;    }
.particle:nth-child(2)  { left:18%; width:2px; height:2px; background:rgba(200,169,106,0.5);        animation-duration:13s; animation-delay:1.3s;  }
.particle:nth-child(3)  { left:28%; width:4px; height:4px; background:var(--accent);  animation-duration:8s;  animation-delay:2.5s;  }
.particle:nth-child(4)  { left:42%; width:2px; height:2px; background:#00e676;        animation-duration:11s; animation-delay:0.7s;  }
.particle:nth-child(5)  { left:55%; width:3px; height:3px; background:var(--accent);  animation-duration:9s;  animation-delay:3.2s;  }
.particle:nth-child(6)  { left:68%; width:2px; height:2px; background:rgba(200,169,106,0.5);        animation-duration:12s; animation-delay:1.8s;  }
.particle:nth-child(7)  { left:79%; width:3px; height:3px; background:var(--accent);  animation-duration:14s; animation-delay:2.9s;  }
.particle:nth-child(8)  { left:90%; width:2px; height:2px; background:#00e676;        animation-duration:9s;  animation-delay:1.0s;  }
.particle:nth-child(9)  { left:3%;  width:2px; height:2px; background:rgba(200,169,106,0.5);        animation-duration:11s; animation-delay:3.8s;  }
.particle:nth-child(10) { left:50%; width:3px; height:3px; background:var(--accent);  animation-duration:15s; animation-delay:1.6s;  }
