/* ============================================================
   NUMERIQ SOLUTIONS — Bright Business-Tech Design System
   Theme: luminous corporate sapphire with electric cyan accents,
   amber highlight, and immersive gradient overlays.
   ============================================================ */

:root {
    /* Base palette */
    --bg-color:        #f4f8ff;
    --bg-alt:          #ffffff;
    --card-bg:         #ffffff;
    --text-main:       #0b1f3a;
    --text-soft:       #334155;
    --text-muted:      #64748b;

    /* Brand colors */
    --primary:         #0b3d91;     /* Deep sapphire — institutional */
    --primary-deep:    #061d4a;
    --accent:          #2563eb;     /* Electric royal blue */
    --accent-bright:   #38bdf8;     /* Sky cyan */
    --accent-glow:     #0ea5e9;
    --highlight:       #f59e0b;     /* Amber gold — premium accent */
    --highlight-soft:  #fde68a;
    --success:         #14b8a6;

    /* Surfaces */
    --surface-soft:    #eef4ff;
    --surface-cool:    #e0f2fe;
    --border:          #dbe4f0;
    --border-strong:   #c4d1e5;

    /* Effects */
    --shadow-sm:       0 4px 10px -2px rgba(11, 61, 145, 0.06);
    --shadow:          0 14px 32px -10px rgba(11, 61, 145, 0.12), 0 4px 12px -4px rgba(11, 61, 145, 0.06);
    --shadow-lg:       0 28px 60px -20px rgba(11, 61, 145, 0.22), 0 10px 24px -8px rgba(11, 61, 145, 0.10);
    --shadow-glow:     0 0 0 1px rgba(56, 189, 248, 0.18), 0 16px 38px -12px rgba(37, 99, 235, 0.35);

    /* Gradients */
    --grad-hero:       linear-gradient(125deg, #061d4a 0%, #0b3d91 38%, #1d4ed8 72%, #0ea5e9 100%);
    --grad-panel:      linear-gradient(135deg, #ffffff 0%, #eef4ff 100%);
    --grad-cta:        linear-gradient(120deg, #2563eb 0%, #0ea5e9 100%);
    --grad-cool:       linear-gradient(135deg, #e0f2fe 0%, #eef4ff 60%, #ffffff 100%);
    --grad-amber:      linear-gradient(120deg, #f59e0b 0%, #fbbf24 100%);

    /* Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --font-display: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.7;
    padding-top: 86px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Decorative ambient glow */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 60% 40% at 12% 0%, rgba(56, 189, 248, 0.10), transparent 70%),
        radial-gradient(ellipse 50% 40% at 90% 8%, rgba(245, 158, 11, 0.06), transparent 70%);
    z-index: -1;
}

/* ===== Header / Navigation ===== */
header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid rgba(11, 61, 145, 0.08);
    z-index: 1000;
    box-shadow: 0 2px 18px -10px rgba(11, 61, 145, 0.20);
}

.nav-container {
    max-width: 1260px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.4rem;
    padding: 1.05rem 2rem;
    flex-wrap: wrap;
}

.logo {
    font-family: var(--font-display);
    font-weight: 900;
    color: var(--primary);
    text-decoration: none;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}

.logo::before {
    content: '';
    width: 30px;
    height: 30px;
    background: var(--grad-cta);
    border-radius: 8px;
    box-shadow: 0 6px 16px -4px rgba(37, 99, 235, 0.5);
    position: relative;
    mask: radial-gradient(circle at 30% 30%, transparent 0 6px, #000 6px);
    -webkit-mask: radial-gradient(circle at 30% 30%, transparent 0 6px, #000 6px);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.nav-link {
    color: var(--text-soft);
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 600;
    padding: 0.5rem 0.95rem;
    border-radius: 8px;
    letter-spacing: 0.01em;
    transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent);
    background: var(--surface-soft);
}

.nav-cta {
    background: var(--grad-cta);
    color: #fff !important;
    padding: 0.55rem 1.15rem;
    border-radius: 8px;
    font-weight: 700;
    box-shadow: 0 6px 16px -4px rgba(37, 99, 235, 0.45);
}

.nav-cta:hover { transform: translateY(-1px); background: var(--grad-cta); }

/* Language selector */
.lang-selector {
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
}

.lang-btn {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 0.35rem 0.7rem;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 14px;
    transition: all 0.2s ease-in-out;
}

.lang-btn:hover, .lang-btn.active {
    border-color: transparent;
    color: #fff;
    background: var(--grad-cta);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
    transform: translateY(-1px);
}

/* ===== Layout / Containers ===== */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 2rem;
}

.full-bleed {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

section { margin-bottom: 6rem; }

/* ===== Typography ===== */
h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.6vw, 3.4rem);
    font-weight: 900;
    color: var(--primary);
    line-height: 1.15;
    margin-bottom: 1.4rem;
    letter-spacing: -0.035em;
}

h2 {
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 2.6vw, 2.2rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1.6rem;
    letter-spacing: -0.025em;
    position: relative;
    padding-bottom: 0.6rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 56px;
    height: 4px;
    background: var(--grad-cta);
    border-radius: 4px;
}

h2.center { text-align: center; }
h2.center::after { left: 50%; transform: translateX(-50%); }

h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.8rem;
    letter-spacing: -0.01em;
}

p {
    color: var(--text-soft);
    margin-bottom: 1.1rem;
    font-size: 1.02rem;
}

a { color: var(--accent); }

.eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.9rem;
    padding: 0.3rem 0.85rem;
    background: var(--surface-soft);
    border-radius: 12px;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.eyebrow.amber {
    color: #b45309;
    background: #fff7ed;
    border-color: rgba(245, 158, 11, 0.25);
}

/* ===== Hero ===== */
.hero {
    background: var(--grad-hero);
    color: #fff;
    border-radius: 32px;
    padding: clamp(3rem, 6vw, 5.5rem) clamp(2rem, 5vw, 4.5rem);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 5rem;
}

.hero::before, .hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.55;
    pointer-events: none;
}

.hero::before {
    width: 380px; height: 380px;
    background: radial-gradient(circle, #38bdf8 0%, transparent 70%);
    top: -120px; right: -120px;
}

.hero::after {
    width: 320px; height: 320px;
    background: radial-gradient(circle, #f59e0b 0%, transparent 70%);
    bottom: -120px; left: -80px;
    opacity: 0.35;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }

.hero h1 {
    color: #fff;
    font-size: clamp(2.3rem, 4.6vw, 3.6rem);
    line-height: 1.12;
    margin-bottom: 1.4rem;
}

.hero h1 .accent-text {
    background: linear-gradient(120deg, #fde68a 0%, #38bdf8 60%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.12rem;
    max-width: 560px;
}

.hero .eyebrow {
    background: rgba(255, 255, 255, 0.12);
    color: #fde68a;
    border-color: rgba(253, 224, 71, 0.3);
    backdrop-filter: blur(8px);
}

.hero-btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.95rem 1.8rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    font-family: var(--font-display);
    letter-spacing: -0.005em;
}

.btn-primary {
    background: #ffffff;
    color: var(--primary);
    box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -10px rgba(0, 0, 0, 0.4); }

.btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(6px);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.18); border-color: rgba(255, 255, 255, 0.55); }

.btn-cta {
    background: var(--grad-cta);
    color: #fff;
    box-shadow: 0 12px 28px -10px rgba(37, 99, 235, 0.45);
}

.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(37, 99, 235, 0.55); }

/* Hero image card */
.hero-visual {
    position: relative;
    perspective: 1200px;
}

.hero-visual .visual-card {
    background: rgba(8, 24, 60, 0.65);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    padding: 1rem;
    box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.5);
    transform: rotateY(-6deg) rotateX(4deg);
    transition: transform 0.5s ease;
}

.hero-visual:hover .visual-card { transform: rotateY(-2deg) rotateX(1deg); }

.hero-visual .dots {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0.8rem;
}

.hero-visual .dot {
    width: 11px; height: 11px; border-radius: 50%;
}

.hero-visual .dot.r { background: #ef4444; }
.hero-visual .dot.y { background: #fbbf24; }
.hero-visual .dot.g { background: #22c55e; }

.hero-visual img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hero stat strip */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
    margin-top: 3rem;
    padding-top: 2.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    position: relative;
    z-index: 2;
}

@media (max-width: 820px) { .hero-stats { grid-template-columns: repeat(2, 1fr); } }

.hero-stat .num {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 900;
    color: #fde68a;
    letter-spacing: -0.03em;
    line-height: 1;
}

.hero-stat .label {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.85rem;
    margin-top: 0.4rem;
    font-weight: 500;
}

/* ===== Grid layouts ===== */
.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
    margin-top: 2rem;
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; margin-top: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; margin-top: 2rem; }

@media (max-width: 980px) {
    .grid, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Cards ===== */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--grad-cta);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, 0.22);
}

.card:hover::before { opacity: 1; }

.card .card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--grad-cta);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    box-shadow: 0 8px 18px -4px rgba(37, 99, 235, 0.4);
}

.card .card-icon.amber {
    background: var(--grad-amber);
    box-shadow: 0 8px 18px -4px rgba(245, 158, 11, 0.45);
}

.card .card-icon.cyan {
    background: linear-gradient(120deg, #0ea5e9 0%, #38bdf8 100%);
    box-shadow: 0 8px 18px -4px rgba(14, 165, 233, 0.45);
}

.card .card-icon.violet {
    background: linear-gradient(120deg, #6366f1 0%, #8b5cf6 100%);
    box-shadow: 0 8px 18px -4px rgba(99, 102, 241, 0.45);
}

.card.span-2 { grid-column: span 2; }

@media (max-width: 980px) { .card.span-2 { grid-column: span 1; } }

/* Case study cards with image */
.case-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.case-card .case-banner {
    height: 140px;
    background: var(--grad-hero);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2.4rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.case-card .case-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(45deg, transparent, transparent 22px, rgba(255,255,255,0.05) 22px, rgba(255,255,255,0.05) 44px),
        radial-gradient(circle at 70% 30%, rgba(56, 189, 248, 0.4) 0%, transparent 60%);
}

.case-card .case-banner span { position: relative; z-index: 1; text-shadow: 0 2px 12px rgba(0,0,0,0.35); }

.case-card .case-banner.amber { background: linear-gradient(125deg, #b45309 0%, #f59e0b 60%, #fbbf24 100%); }
.case-card .case-banner.teal { background: linear-gradient(125deg, #0f766e 0%, #14b8a6 60%, #5eead4 100%); }
.case-card .case-banner.indigo { background: linear-gradient(125deg, #312e81 0%, #4f46e5 60%, #818cf8 100%); }
.case-card .case-banner.cyan { background: linear-gradient(125deg, #0c4a6e 0%, #0ea5e9 60%, #38bdf8 100%); }
.case-card .case-banner.rose { background: linear-gradient(125deg, #9f1239 0%, #e11d48 60%, #fb7185 100%); }

.case-card .case-body { padding: 1.7rem 1.8rem 2rem; flex: 1; display: flex; flex-direction: column; }

.case-card h3 { font-size: 1.15rem; line-height: 1.35; }

.case-card .case-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent);
    background: var(--surface-soft);
    padding: 0.25rem 0.65rem;
    border-radius: 10px;
    margin-bottom: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.case-card p { font-size: 0.93rem; color: var(--text-soft); }

.case-card .metric-row {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px dashed var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
}

.case-card .metric {
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--primary);
}

.case-card .metric .num {
    font-size: 1.45rem;
    color: var(--accent);
    letter-spacing: -0.02em;
}

.case-card .metric .label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.15rem;
}

/* ===== Method / Process panel ===== */
.method-panel {
    background: var(--grad-cool);
    border-radius: 24px;
    padding: clamp(2.5rem, 5vw, 4rem);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.method-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 980px) { .method-grid { grid-template-columns: 1fr; } }

.method-list {
    list-style: none;
    margin-top: 1.6rem;
}

.method-list li {
    background: var(--card-bg);
    padding: 1rem 1.2rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent);
    margin-bottom: 0.8rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
}

.method-list li .num-badge {
    background: var(--grad-cta);
    color: #fff;
    width: 30px; height: 30px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.method-list li .body {
    color: var(--text-soft);
    font-size: 0.96rem;
    margin: 0;
    line-height: 1.55;
}

.method-list li .body strong { color: var(--primary); }

.method-image {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    position: relative;
}

.method-image img { display: block; width: 100%; height: auto; }

.method-image .corner-tag {
    position: absolute;
    top: 14px; left: 14px;
    background: rgba(11, 61, 145, 0.92);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.35rem 0.7rem;
    border-radius: 8px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ===== Capability strip ===== */
.cap-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    margin-top: 2rem;
}

@media (max-width: 1100px) { .cap-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .cap-strip { grid-template-columns: 1fr; } }

.cap-pill {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.4rem 1.4rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.cap-pill:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(37, 99, 235, 0.2); }

.cap-pill .cap-num {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 900;
    background: var(--grad-cta);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.04em;
    line-height: 1;
}

.cap-pill .cap-text {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--text-soft);
    margin-top: 0.5rem;
}

/* ===== Sector solutions ===== */
.sector-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
    margin-top: 2rem;
}

@media (max-width: 980px) { .sector-grid { grid-template-columns: 1fr; } }

.sector-card {
    background: var(--card-bg);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.sector-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.sector-card .sector-head {
    height: 130px;
    background: var(--grad-hero);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.4rem;
    position: relative;
    overflow: hidden;
}

.sector-card .sector-head.cyan { background: linear-gradient(135deg, #0c4a6e 0%, #0ea5e9 100%); }
.sector-card .sector-head.indigo { background: linear-gradient(135deg, #1e1b4b 0%, #4f46e5 100%); }

.sector-card .sector-head::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.18), transparent 60%);
}

.sector-card .sector-body { padding: 1.8rem 1.7rem 2rem; }

.sector-card h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }

.sector-card p { font-size: 0.94rem; }

.sector-card ul {
    list-style: none;
    margin-top: 1rem;
}

.sector-card ul li {
    padding: 0.5rem 0;
    color: var(--text-soft);
    font-size: 0.88rem;
    position: relative;
    padding-left: 1.5rem;
}

.sector-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.95rem;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--grad-cta);
    transform: rotate(45deg);
}

/* ===== Standards row ===== */
.standards-row {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 2.2rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    margin-top: 1.5rem;
}

.standards-row .std-label {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 1.4rem;
}

.standards-row .std-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.4rem 2.5rem;
}

.standards-row .std-list span {
    font-family: 'Georgia', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.7;
    letter-spacing: 0.05em;
}

/* ===== Mission / Values panels ===== */
.dual-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem;
    margin-top: 2rem;
}

@media (max-width: 880px) { .dual-panel { grid-template-columns: 1fr; } }

.mission-panel, .vision-panel {
    border-radius: 22px;
    padding: 2.6rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.mission-panel {
    background: linear-gradient(135deg, #0b3d91 0%, #2563eb 100%);
    color: #fff;
    border-color: transparent;
}

.mission-panel h3 { color: #fde68a; font-size: 1.4rem; }
.mission-panel p { color: rgba(255,255,255,0.92); font-style: italic; font-size: 1.05rem; }

.vision-panel { background: var(--bg-alt); }

.vision-panel ul { list-style: none; }
.vision-panel li {
    padding: 0.55rem 0;
    color: var(--text-soft);
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 0.98rem;
}
.vision-panel li::before {
    content: '✦';
    color: var(--accent);
    font-weight: 800;
    margin-top: -2px;
}

/* ===== Milestone timeline ===== */
.timeline {
    background: linear-gradient(135deg, #061d4a 0%, #0b3d91 100%);
    color: #fff;
    border-radius: 28px;
    padding: clamp(3rem, 5vw, 4.5rem);
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
    box-shadow: var(--shadow-lg);
}

.timeline::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.18), transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(245, 158, 11, 0.10), transparent 50%);
    pointer-events: none;
}

.timeline h2 { color: #fff; text-align: center; margin-bottom: 3rem; position: relative; z-index: 1; }
.timeline h2::after { left: 50%; transform: translateX(-50%); background: var(--grad-amber); }

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.4rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 1100px) { .timeline-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .timeline-grid { grid-template-columns: 1fr; } }

.milestone {
    border-left: 2px solid rgba(56, 189, 248, 0.35);
    padding: 0.5rem 0 0.5rem 1.4rem;
}

.milestone .year {
    color: #38bdf8;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    margin-bottom: 0.4rem;
}

.milestone .title {
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.milestone p {
    color: rgba(255,255,255,0.72);
    font-size: 0.85rem;
    line-height: 1.55;
    margin: 0;
}

/* ===== CTA band ===== */
.cta-band {
    background: var(--grad-cta);
    color: #fff;
    border-radius: 24px;
    padding: 3rem clamp(2rem, 4vw, 3.5rem);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.8rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 50%, rgba(255,255,255,0.18), transparent 50%);
    pointer-events: none;
}

.cta-band > * { position: relative; z-index: 1; }

.cta-band h2 {
    color: #fff;
    font-size: 1.75rem;
    margin: 0 0 0.4rem 0;
    padding: 0;
}

.cta-band h2::after { display: none; }

.cta-band p { color: rgba(255,255,255,0.92); max-width: 540px; margin: 0; }

/* ===== Contact panel ===== */
.contact-card {
    background: var(--card-bg);
    border-radius: 22px;
    border: 1px solid var(--border);
    padding: 2.6rem;
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.4rem;
}

@media (max-width: 820px) { .contact-card { grid-template-columns: 1fr; } }

.contact-block {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 46px; height: 46px; border-radius: 12px;
    background: var(--surface-soft);
    color: var(--accent);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.contact-block h4 {
    font-family: var(--font-display);
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.contact-block p {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.96rem;
}

/* ===== Page header (interior pages) ===== */
.page-header {
    background: var(--grad-hero);
    color: #fff;
    border-radius: 28px;
    padding: clamp(3rem, 5vw, 4.5rem);
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(56,189,248,0.25), transparent 60%);
}

.page-header h1 { color: #fff; margin-bottom: 0.8rem; position: relative; }
.page-header p { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 720px; margin: 0 auto; position: relative; }

/* ===== Feature columns (alternating) ===== */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 5rem;
}

.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

@media (max-width: 980px) {
    .feature-row { grid-template-columns: 1fr; direction: ltr !important; }
}

.feature-row .feature-text h2 { padding-bottom: 0.6rem; }

.feature-checklist {
    list-style: none;
    margin-top: 1.4rem;
}

.feature-checklist li {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    padding: 0.6rem 0;
    color: var(--text-soft);
    font-size: 1rem;
}

.feature-checklist li::before {
    content: '✓';
    background: var(--grad-cta);
    color: #fff;
    width: 24px; height: 24px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 800;
    font-size: 0.78rem;
    flex-shrink: 0;
    box-shadow: 0 4px 8px -2px rgba(37, 99, 235, 0.4);
}

.feature-checklist li strong { color: var(--primary); }

.flow-chart {
    background: var(--card-bg);
    border-radius: 18px;
    padding: 2.4rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.flow-step {
    display: flex; align-items: center; gap: 1rem;
    padding: 1rem 1.2rem;
    background: var(--surface-soft);
    border-radius: 12px;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.96rem;
}

.flow-step.s2 { margin-left: 2rem; background: var(--surface-cool); }
.flow-step.s3 {
    margin-left: 4rem;
    background: var(--grad-cta);
    color: #fff;
    box-shadow: 0 10px 22px -8px rgba(37, 99, 235, 0.4);
}

.flow-step .step-num {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 800;
    font-size: 0.88rem;
    flex-shrink: 0;
}

.flow-step.s2 .step-num { background: var(--accent-bright); }
.flow-step.s3 .step-num { background: #fff; color: var(--accent); }

.criteria-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.4rem;
}

.criteria-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.2rem 1.3rem;
    border-left: 4px solid var(--accent);
    box-shadow: var(--shadow-sm);
}

.criteria-card h4 {
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.criteria-card p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

.feature-image-card {
    background: var(--card-bg);
    padding: 1.2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.feature-image-card img { width: 100%; border-radius: 12px; display: block; }

/* ===== Legal pages ===== */
.legal-text {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: clamp(2rem, 4vw, 3rem);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
}

.legal-text h3 {
    margin-top: 1.8rem;
    color: var(--primary);
    font-size: 1.15rem;
}

.legal-text h3:first-of-type { margin-top: 0.5rem; }

.legal-text p { margin-bottom: 1.1rem; color: var(--text-soft); }

/* ===== Footer ===== */
footer {
    background: linear-gradient(135deg, #061d4a 0%, #0b3d91 100%);
    color: #fff;
    padding: 3.5rem 2rem 2.5rem;
    text-align: center;
    font-size: 0.9rem;
    margin-top: 5rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 30% at 50% 0%, rgba(56, 189, 248, 0.18), transparent 70%);
    pointer-events: none;
}

footer .footer-inner {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

footer .footer-brand {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.2rem;
    color: #fff;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

footer p { color: rgba(255,255,255,0.7); margin-bottom: 0.6rem; }

footer .footer-links {
    margin-bottom: 1.6rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}

footer .footer-links a {
    color: #fff;
    text-decoration: none;
    margin: 0;
    font-weight: 600;
    transition: color 0.2s;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
}

footer .footer-links a:hover { color: #38bdf8; background: rgba(255,255,255,0.06); }

footer .small {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
    margin-top: 1rem;
    line-height: 1.55;
}

/* ===== Multilanguage engine ===== */
.lang { display: none !important; }
html[lang="en"] .lang-en { display: block !important; }
html[lang="en"] span.lang-en, html[lang="en"] a.lang-en, html[lang="en"] strong.lang-en { display: inline !important; }
html[lang="zh"] .lang-zh { display: block !important; }
html[lang="zh"] span.lang-zh, html[lang="zh"] a.lang-zh, html[lang="zh"] strong.lang-zh { display: inline !important; }
html[lang="de"] .lang-de { display: block !important; }
html[lang="de"] span.lang-de, html[lang="de"] a.lang-de, html[lang="de"] strong.lang-de { display: inline !important; }
html[lang="fr"] .lang-fr { display: block !important; }
html[lang="fr"] span.lang-fr, html[lang="fr"] a.lang-fr, html[lang="fr"] strong.lang-fr { display: inline !important; }
html[lang="es"] .lang-es { display: block !important; }
html[lang="es"] span.lang-es, html[lang="es"] a.lang-es, html[lang="es"] strong.lang-es { display: inline !important; }
html[lang="ja"] .lang-ja { display: block !important; }
html[lang="ja"] span.lang-ja, html[lang="ja"] a.lang-ja, html[lang="ja"] strong.lang-ja { display: inline !important; }
html[lang="ko"] .lang-ko { display: block !important; }
html[lang="ko"] span.lang-ko, html[lang="ko"] a.lang-ko, html[lang="ko"] strong.lang-ko { display: inline !important; }

/* Override inline display variants */
.lang-inline { display: none !important; }
html[lang="en"] .lang-inline.lang-en,
html[lang="zh"] .lang-inline.lang-zh,
html[lang="de"] .lang-inline.lang-de,
html[lang="fr"] .lang-inline.lang-fr,
html[lang="es"] .lang-inline.lang-es,
html[lang="ja"] .lang-inline.lang-ja,
html[lang="ko"] .lang-inline.lang-ko { display: inline !important; }

/* ===== Utilities ===== */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-3 { margin-top: 3rem; }
.section-intro { max-width: 780px; margin: 0 auto 2.4rem; text-align: center; }
.section-intro p { color: var(--text-muted); font-size: 1.04rem; }

@media (max-width: 768px) {
    body { padding-top: 132px; }
    main { padding: 2.2rem 1.1rem; }
    .hero { padding: 2.5rem 1.6rem; border-radius: 22px; }
    .hero-stats { grid-template-columns: 1fr 1fr; gap: 1rem; padding-top: 1.8rem; margin-top: 2rem; }
    .hero-stat .num { font-size: 1.7rem; }
    .nav-container { padding: 0.9rem 1.1rem; gap: 0.8rem; }
    .nav-links { width: 100%; justify-content: center; }
    .lang-selector { width: 100%; justify-content: center; }
    section { margin-bottom: 4rem; }
    .cta-band { padding: 2rem 1.4rem; flex-direction: column; text-align: center; }
    .timeline { padding: 2.4rem 1.4rem; }
    .standards-row .std-list { gap: 1rem 1.5rem; }
    .standards-row .std-list span { font-size: 0.95rem; }
    h2 { font-size: 1.5rem; }
    h2::after { width: 44px; height: 3px; }
}
