/* ==========================================================================
   НАЦИОНАЛЬНЫЙ КАПИТАЛ - РЕСПУБЛИКА БЕЛАРУСЬ
   Современный корпоративный премиум-дизайн лендинга
   ========================================================================== */

:root {
    /* Sovereign & Corporate Palette */
    --color-navy-dark: #0a1424;
    --color-navy: #0f213d;
    --color-navy-light: #162f56;
    --color-primary: #113264;
    --color-primary-hover: #0c254b;
    
    /* National Accents */
    --color-by-red: #c8102e;
    --color-by-red-subtle: rgba(200, 16, 46, 0.08);
    --color-by-green: #007a3d;
    --color-by-green-light: #059669;
    --color-by-green-subtle: rgba(0, 122, 61, 0.1);
    
    /* Sovereign Gold (Precious Metals) */
    --color-gold: #d4af37;
    --color-gold-light: #f3cf65;
    --color-gold-dark: #997517;
    --color-gold-gradient: linear-gradient(135deg, #d4af37 0%, #f6da7a 50%, #b88f28 100%);
    --color-gold-subtle: rgba(212, 175, 55, 0.12);
    
    /* Neutrals & Surfaces */
    --color-white: #ffffff;
    --color-bg-body: #f8fafc;
    --color-bg-card: #ffffff;
    --color-bg-subtle: #f1f5f9;
    --color-border: #e2e8f0;
    --color-border-hover: #cbd5e1;
    
    /* Typography */
    --color-text-main: #0f172a;
    --color-text-muted: #64748b;
    --color-text-light: #94a3b8;
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Shadows & Elevations */
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
    --shadow-xl: 0 20px 35px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    --shadow-glow: 0 0 30px rgba(17, 50, 100, 0.18);
    
    /* Transitions */
    --transition-fast: 0.18s ease;
    --transition-base: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--color-text-main);
    background-color: var(--color-bg-body);
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative;
}

img, svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

/* Containers */
.container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.text-center {
    text-align: center;
}

/* ==========================================================================
   Flag Components (Belarus SVG)
   ========================================================================== */
.flag-wrapper, .flag-wrapper-xs {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.flag-icon {
    display: inline-block;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    vertical-align: middle;
}

.flag-icon-sm {
    width: 24px;
    height: 16px;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.flag-icon-xs {
    width: 20px;
    height: 13.33px;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   Top State Bar
   ========================================================================== */
.top-state-bar {
    background: #060e1a;
    color: #cbd5e1;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-state-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.top-state-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-state-text {
    letter-spacing: 0.01em;
}

.top-state-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hotline-label {
    color: #94a3b8;
}

.hotline-phone {
    color: var(--color-gold-light);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.hotline-phone:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ==========================================================================
   Header & Navigation (Fixed Alignment & No Overlaps)
   ========================================================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    transition: all var(--transition-base);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 14px;
    padding-bottom: 14px;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    text-decoration: none;
}

.logo-emblem {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    flex-shrink: 0;
}

.logo-info {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.03em;
    color: var(--color-navy);
    line-height: 1.15;
    white-space: nowrap;
}

.logo-subtitle {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    font-weight: 500;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.nav {
    display: flex;
    align-items: center;
    gap: clamp(14px, 1.8vw, 26px);
    margin-left: auto;
    margin-right: 12px;
    flex-wrap: nowrap;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    position: relative;
    padding: 6px 0;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-fast);
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header-actions .btn {
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-text-short {
    display: none;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 38px;
    height: 38px;
    padding: 8px 7px;
    background: transparent;
    border: 1px solid rgba(17, 50, 100, 0.15);
    border-radius: var(--radius-sm);
    cursor: pointer;
    flex-shrink: 0;
    transition: all var(--transition-fast);
}

.mobile-toggle:hover {
    background: rgba(17, 50, 100, 0.05);
}

.hamburger-line {
    width: 100%;
    height: 2.2px;
    background-color: var(--color-navy);
    border-radius: 2px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.mobile-toggle.active {
    background: rgba(17, 50, 100, 0.08);
    border-color: var(--color-primary);
}

.mobile-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    text-align: center;
    white-space: nowrap;
    border: 1px solid transparent;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.88rem;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1.02rem;
    border-radius: var(--radius-lg);
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #113264 0%, #174284 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(17, 50, 100, 0.28);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0d274f 0%, #113264 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 50, 100, 0.38);
}

.btn-outline {
    background: transparent;
    border-color: #cbd5e1;
    color: var(--color-navy);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    background: rgba(17, 50, 100, 0.04);
    color: var(--color-primary);
    transform: translateY(-1px);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(226, 232, 240, 0.9);
    color: var(--color-navy);
    box-shadow: var(--shadow-sm);
}

.btn-glass:hover {
    background: #ffffff;
    border-color: #94a3b8;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-icon {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.btn-icon-left {
    width: 18px;
    height: 18px;
    margin-right: 2px;
}

.btn:hover .btn-icon {
    transform: translateX(3px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    padding: 76px 0 96px;
    background: radial-gradient(circle at 10% 20%, #f1f5f9 0%, #f8fafc 100%);
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    opacity: 0.6;
    z-index: 0;
}

.hero-bg-glow-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(17, 50, 100, 0.12) 0%, transparent 70%);
    top: -100px;
    left: -100px;
}

.hero-bg-glow-2 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.14) 0%, transparent 70%);
    bottom: -50px;
    right: 5%;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: var(--radius-full);
    padding: 6px 14px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #334155;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    line-height: 1.18;
    font-weight: 800;
    color: var(--color-navy);
    letter-spacing: -0.02em;
    margin-bottom: 22px;
}

.text-gradient {
    background: linear-gradient(135deg, #113264 0%, #1e4d8c 50%, #c8102e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: 34px;
    max-width: 620px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 46px;
}

.hero-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.trust-icon-box {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast);
}

.trust-item:hover .trust-icon-box {
    transform: translateY(-2px) scale(1.1);
    box-shadow: none !important;
    border: none !important;
}

.svg-trust {
    width: 36px;
    height: 36px;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
}

.trust-text {
    display: flex;
    flex-direction: column;
}

.trust-text strong {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.3;
}

.trust-text span {
    font-size: 0.74rem;
    color: var(--color-text-muted);
    line-height: 1.3;
}

/* Hero Visual & Financial Stack */
.hero-visual {
    position: relative;
}

.financial-card-stack {
    position: relative;
    padding: 20px;
}

.blueprint-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: var(--shadow-xl);
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.blueprint-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #c8102e 0%, #c8102e 30%, #007a3d 30%, #007a3d 70%, #d4af37 70%, #d4af37 100%);
}

.blueprint-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
}

.blueprint-seal {
    width: 44px;
    height: 44px;
    background: rgba(17, 50, 100, 0.06);
    border: 1px solid rgba(17, 50, 100, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.svg-seal {
    width: 28px;
    height: 28px;
}

.blueprint-title-wrap {
    flex: 1;
}

.blueprint-cat {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.08em;
}

.blueprint-num {
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--color-navy);
}

.blueprint-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.b-stat {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 12px 14px;
}

.b-label {
    display: block;
    font-size: 0.74rem;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

.b-val {
    display: block;
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--color-navy);
}

.highlight-gold {
    color: #b8860b;
}

.blueprint-chart-preview {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 24px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.chart-growth {
    color: var(--color-by-green);
    background: var(--color-by-green-subtle);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.76rem;
    font-weight: 700;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 70px;
    padding-bottom: 16px;
}

.bar-col {
    flex: 1;
    height: var(--height);
    background: #cbd5e1;
    border-radius: 4px 4px 0 0;
    position: relative;
    transition: height var(--transition-base);
}

.bar-col span {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    font-weight: 600;
    color: #94a3b8;
}

.bar-col.active-bar {
    background: linear-gradient(180deg, #113264 0%, #1e4d8c 100%);
    box-shadow: 0 4px 10px rgba(17, 50, 100, 0.3);
}

.bar-col.active-bar span {
    color: var(--color-primary);
    font-weight: 700;
}

.blueprint-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.76rem;
    color: var(--color-text-muted);
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.security-status {
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-by-green);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(0, 122, 61, 0.2);
}

.sovereign-tag {
    font-weight: 600;
    color: var(--color-navy);
}

/* Floating badges */
.floating-badge {
    position: absolute;
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(226, 232, 240, 0.95);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.float-anim-1 {
    top: -10px;
    right: 0;
    animation: floatSlow 5s ease-in-out infinite;
}

.float-anim-2 {
    bottom: 0px;
    left: -10px;
    animation: floatSlow 6s ease-in-out infinite 1.5s;
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.badge-icon-circ {
    width: 36px;
    height: 36px;
    border-radius: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.badge-icon-circ svg {
    width: 32px;
    height: 32px;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
}

.circ-green {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.badge-content {
    display: flex;
    flex-direction: column;
}

.badge-title {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.2;
}

.badge-sub {
    font-size: 0.72rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   National Stats Bar
   ========================================================================== */
.stats-ticker-section {
    background: var(--color-navy-dark);
    color: #ffffff;
    padding: 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-ticker-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.ticker-box {
    text-align: center;
    padding: 8px 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.ticker-box:last-child {
    border-right: none;
}

.ticker-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-gold-light);
    line-height: 1.1;
    margin-bottom: 6px;
}

.ticker-desc {
    font-size: 0.82rem;
    color: #94a3b8;
    line-height: 1.4;
    max-width: 230px;
    margin: 0 auto;
}

/* ==========================================================================
   Section Components
   ========================================================================== */
.section {
    padding: 90px 0;
    position: relative;
}

.bg-subtle {
    background-color: var(--color-bg-subtle);
}

.section-badge {
    margin-bottom: 14px;
}

.badge-label {
    display: inline-block;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(17, 50, 100, 0.08);
    color: var(--color-primary);
}

.label-success {
    background: var(--color-by-green-subtle);
    color: var(--color-by-green);
}

.label-white {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.35rem;
    font-weight: 800;
    color: var(--color-navy);
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.section-lead {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 760px;
    margin: 0 auto 52px;
    line-height: 1.7;
}

/* ==========================================================================
   Problem Section
   ========================================================================== */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 36px 30px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: #cbd5e1;
}

.card-icon-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 20px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    transition: transform var(--transition-base);
}

.danger-gradient {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

.feature-card:hover .danger-gradient,
.feature-card:hover .card-icon-wrapper {
    transform: translateY(-4px) scale(1.1);
    box-shadow: none !important;
    border: none !important;
}

.svg-card-icon {
    width: 58px;
    height: 58px;
    display: block;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.08));
    transition: transform var(--transition-base);
}

.feature-card:hover .svg-card-icon {
    transform: scale(1.06);
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 12px;
    line-height: 1.35;
}

.card-text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    margin-bottom: 22px;
    flex: 1;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.danger-meta {
    color: var(--color-by-red);
}

.meta-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ==========================================================================
   Pillars of Capital (Solution Section)
   ========================================================================== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.pillar-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    padding: 42px;
    box-shadow: var(--shadow-md);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-base);
}

.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.pillar-bonds {
    border-top: 4px solid var(--color-primary);
}

.pillar-metals {
    border-top: 4px solid var(--color-gold);
}

.pillar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.pillar-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-base);
}

.pillar-card:hover .pillar-icon-box {
    transform: translateY(-4px) scale(1.1);
    box-shadow: none !important;
}

.box-gold {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.pillar-card:hover .box-gold {
    transform: translateY(-4px) scale(1.1);
    box-shadow: none !important;
}

.svg-pillar {
    width: 58px;
    height: 58px;
    display: block;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.08));
    transition: transform var(--transition-base);
}

.pillar-card:hover .svg-pillar {
    transform: scale(1.06);
}

.pillar-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-navy);
}

.tag-gold {
    background: rgba(212, 175, 55, 0.15);
    color: #8f6e12;
}

.gold-sparkle {
    width: 8px;
    height: 8px;
    background-color: var(--color-gold);
    border-radius: 50%;
}

.pillar-title {
    font-family: var(--font-heading);
    font-size: 1.48rem;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 14px;
    line-height: 1.3;
}

.pillar-desc {
    font-size: 0.98rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    margin-bottom: 28px;
}

.pillar-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 34px;
    flex: 1;
}

.p-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.p-check {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    transition: transform var(--transition-fast);
}

.p-feature:hover .p-check {
    transform: scale(1.15);
}

.p-check svg {
    width: 22px;
    height: 22px;
}

.check-gold {
    background: transparent;
}

.p-info {
    display: flex;
    flex-direction: column;
}

.p-info strong {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.35;
    margin-bottom: 2px;
}

.p-info span {
    font-size: 0.84rem;
    color: var(--color-text-muted);
    line-height: 1.45;
}

.pillar-action {
    margin-top: auto;
}

/* ==========================================================================
   Authority & Quote Section
   ========================================================================== */
.section-authority {
    background: var(--color-navy);
    color: #ffffff;
}

.authority-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.authority-heading {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 18px;
    color: #ffffff;
}

.authority-lead {
    font-size: 1.05rem;
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 32px;
}

.quote-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative;
    margin-bottom: 32px;
}

.quote-icon {
    width: 32px;
    height: 32px;
    color: var(--color-gold);
    opacity: 0.7;
    margin-bottom: 14px;
}

.quote-body {
    font-size: 1.06rem;
    line-height: 1.65;
    color: #f1f5f9;
    font-style: italic;
    margin-bottom: 20px;
}

.quote-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.author-avatar svg {
    width: 44px;
    height: 44px;
}

.author-meta {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 0.96rem;
    font-weight: 700;
    color: #ffffff;
}

.author-role {
    font-size: 0.78rem;
    color: #94a3b8;
}

.sovereign-badges-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.s-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 18px;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    font-weight: 600;
    color: #e2e8f0;
}

.s-badge-icon {
    width: 20px;
    height: 20px;
    color: var(--color-by-green-light);
    flex-shrink: 0;
}

/* Portrait Image side */
.portrait-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.portrait-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: center top;
    filter: brightness(0.95) contrast(1.05);
}

.portrait-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(10, 20, 36, 0.85) 100%);
}

.portrait-glass-tag {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(15, 33, 61, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.tag-meta {
    display: flex;
    flex-direction: column;
}

.tag-meta strong {
    font-size: 0.88rem;
    color: #ffffff;
}

.tag-meta span {
    font-size: 0.74rem;
    color: #cbd5e1;
}

/* ==========================================================================
   How It Works (Steps Flow)
   ========================================================================== */
.steps-flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 54px;
    position: relative;
}

.step-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 36px 30px;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: all var(--transition-base);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: #cbd5e1;
}

.step-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.step-badge {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
    background: rgba(17, 50, 100, 0.08);
    color: var(--color-primary);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    letter-spacing: 0.04em;
}

.step-icon {
    width: 48px;
    height: 48px;
    border-radius: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform var(--transition-base);
}

.step-card:hover .step-icon {
    transform: translateY(-3px) scale(1.12);
    box-shadow: none !important;
    border: none !important;
}

.step-icon svg {
    width: 44px;
    height: 44px;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.06));
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 12px;
    line-height: 1.35;
}

.step-desc {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    line-height: 1.65;
}

.step-indicator {
    position: absolute;
    bottom: 0;
    left: 30px;
    right: 30px;
    height: 3px;
    background: transparent;
    transition: background var(--transition-fast);
}

.step-card:hover .step-indicator {
    background: var(--color-primary);
}

.how-cta-banner {
    background: linear-gradient(135deg, #0f213d 0%, #162f56 100%);
    border-radius: var(--radius-xl);
    padding: 36px 44px;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    box-shadow: var(--shadow-lg);
}

.banner-left h4 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #ffffff;
}

.banner-left p {
    font-size: 0.95rem;
    color: #cbd5e1;
}

/* ==========================================================================
   Form Section
   ========================================================================== */
.section-form {
    background: #ffffff;
}

.form-layout-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 60px;
    align-items: flex-start;
}

.form-col-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-navy);
    line-height: 1.25;
    margin-bottom: 18px;
}

.form-col-lead {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 34px;
}

.form-benefits-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 38px;
}

.f-benefit {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.f-icon {
    width: 32px;
    height: 32px;
    border-radius: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    transition: transform var(--transition-fast);
}

.f-benefit:hover .f-icon {
    transform: scale(1.15);
    box-shadow: none !important;
    border: none !important;
}

.f-icon svg {
    width: 30px;
    height: 30px;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.06));
}

.f-text {
    display: flex;
    flex-direction: column;
}

.f-text strong {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.3;
}

.f-text span {
    font-size: 0.84rem;
    color: var(--color-text-muted);
}

.form-direct-contacts {
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.c-line {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-navy);
}

.c-icon {
    width: 18px;
    height: 18px;
    color: var(--color-primary);
    flex-shrink: 0;
}

/* Modern Form Card */
.modern-form-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 42px;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.modern-form-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 40px;
    right: 40px;
    height: 3px;
    background: linear-gradient(90deg, #c8102e, #007a3d, #d4af37);
    border-radius: 0 0 4px 4px;
}

.form-card-header {
    margin-bottom: 28px;
}

.card-flag-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.74rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 12px;
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--color-navy);
    line-height: 1.25;
    margin-bottom: 6px;
}

.form-hint {
    font-size: 0.88rem;
    color: var(--color-text-muted);
}

.modern-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field-label {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--color-navy);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    width: 18px;
    height: 18px;
    color: #94a3b8;
    pointer-events: none;
    transition: color var(--transition-fast);
}

.modern-input {
    width: 100%;
    padding: 13px 14px 13px 44px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-navy);
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: var(--radius-md);
    outline: none;
    transition: all var(--transition-fast);
}

.modern-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(17, 50, 100, 0.12);
}

.modern-input:focus + .input-icon,
.modern-input:focus ~ .input-icon,
.input-wrapper:focus-within .input-icon {
    color: var(--color-primary);
}

.modern-select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px;
}

.field-error {
    font-size: 0.74rem;
    color: var(--color-by-red);
    min-height: 14px;
}

.form-checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 4px 0 10px;
}

.modern-checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
    cursor: pointer;
    margin-top: 2px;
    flex-shrink: 0;
}

.checkbox-label {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    line-height: 1.45;
    cursor: pointer;
}

.form-status-alert {
    padding: 14px;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    font-weight: 600;
    display: none;
    text-align: center;
}

.form-status-alert.success {
    display: block;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-status-alert.error {
    display: block;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ==========================================================================
   FAQ Section (Accordion)
   ========================================================================== */
.section-faq {
    background-color: var(--color-bg-subtle);
}

.faq-accordion-wrap {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: #cbd5e1;
}

.faq-item.active {
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.faq-question {
    width: 100%;
    padding: 22px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    text-align: left;
    background: transparent;
    cursor: pointer;
}

.q-text {
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.35;
}

.q-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(17, 50, 100, 0.05);
    border: 1px solid rgba(17, 50, 100, 0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-question:hover .q-icon {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.25);
    transform: scale(1.06);
}

.q-icon svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .q-icon {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(17, 50, 100, 0.2);
}

.faq-item.active .q-icon svg {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-smooth);
}

.faq-answer-inner {
    padding: 0 28px 24px;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    border-top: 1px solid #f8fafc;
}

/* ==========================================================================
   Final CTA Banner
   ========================================================================== */
.section-cta-banner {
    position: relative;
    background: linear-gradient(135deg, #091527 0%, #11284d 100%);
    color: #ffffff;
    padding: 86px 0;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cta-flag-center {
    display: inline-flex;
    margin-bottom: 24px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 16px;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.cta-subtitle {
    font-size: 1.15rem;
    color: #cbd5e1;
    max-width: 680px;
    margin: 0 auto 38px;
    line-height: 1.65;
}

.cta-btns {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: #080f1a;
    color: #94a3b8;
    padding: 70px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.3fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-brand-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    color: #ffffff;
}

.footer-brand-desc {
    font-size: 0.88rem;
    line-height: 1.65;
    color: #64748b;
    margin-bottom: 20px;
    max-width: 320px;
}

.footer-state-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.74rem;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
}

.footer-state-badge svg {
    width: 16px;
    height: 16px;
    color: var(--color-by-green-light);
    flex-shrink: 0;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 18px;
    letter-spacing: 0.02em;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.88rem;
    color: #94a3b8;
}

.footer-links a:hover {
    color: var(--color-gold-light);
    padding-left: 3px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: #94a3b8;
    margin-bottom: 12px;
}

.footer-contact-item svg {
    width: 16px;
    height: 16px;
    color: var(--color-gold);
    flex-shrink: 0;
}

.footer-contact-item a:hover {
    color: #ffffff;
}

.footer-bottom-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 24px;
}

.footer-bottom-bar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
}

.copyright {
    font-size: 0.82rem;
    color: #cbd5e1;
    font-weight: 500;
}

.disclaimer-text {
    font-size: 0.74rem;
    color: #475569;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ==========================================================================
   Back to top floating button
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-navy);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-base);
    z-index: 900;
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
}

/* ==========================================================================
   Animations & Responsive Breakpoints
   ========================================================================== */
.animate-fade-up {
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.animate-fade-down {
    animation: fadeDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.animate-fade-left {
    animation: fadeLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==========================================================================
   Mobile Navigation Drawer & Footer Admin
   ========================================================================== */
.mobile-nav-cta {
    display: none;
}

.footer-admin-row {
    margin-top: 16px;
    text-align: center;
}

.footer-admin-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: #64748b;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
}

.footer-admin-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   Responsive Queries
   ========================================================================== */
@media (max-width: 1040px) {
    .top-state-bar {
        display: none !important;
    }
    .header {
        position: sticky;
        top: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: visible;
        z-index: 1000;
    }
    .header-container {
        padding: 10px 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    .header-actions {
        display: flex !important;
        align-items: center !important;
        margin-left: auto !important;
        flex-shrink: 0 !important;
        gap: 0 !important;
    }
    .header-actions .btn {
        display: none !important;
    }
    .mobile-toggle {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-around !important;
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        padding: 9px 8px !important;
        background: rgba(17, 50, 100, 0.05) !important;
        border: 1px solid rgba(17, 50, 100, 0.18) !important;
        border-radius: 8px !important;
        cursor: pointer !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    .logo {
        flex-shrink: 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
    }
    .logo-subtitle {
        display: none !important;
    }
    .logo-title {
        font-size: 0.92rem !important;
        letter-spacing: 0.02em !important;
    }
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: stretch;
        padding: 20px 20px 26px;
        gap: 4px;
        margin: 0;
        border-bottom: 1px solid var(--color-border);
        box-shadow: 0 20px 40px rgba(15, 23, 42, 0.14);
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 100;
        box-sizing: border-box;
    }
    .nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .nav-link {
        padding: 12px 6px;
        font-size: 1rem;
        border-bottom: 1px solid #f1f5f9;
        color: var(--color-navy);
    }
    .mobile-nav-cta {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 14px;
        padding-top: 14px;
    }
    .mobile-nav-phone {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        font-size: 0.95rem;
        font-weight: 700;
        color: var(--color-navy);
        text-decoration: none;
        padding: 12px;
        border-radius: var(--radius-md);
        background: #f1f5f9;
        transition: background 0.2s ease;
    }
    .mobile-nav-phone:hover {
        background: #e2e8f0;
    }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .authority-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .form-layout-wrapper {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .footer-top-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .stats-ticker-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .ticker-box {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 16px;
    }
    .ticker-box:nth-child(3), .ticker-box:nth-child(4) {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    /* Prevent any overflow from floating hero badges */
    .floating-badge {
        display: none !important;
    }
    .hero-visual {
        width: 100%;
        max-width: 440px;
        margin: 0 auto;
    }
    .financial-card-stack {
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }
    .blueprint-card {
        padding: 22px 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        border-radius: var(--radius-lg);
    }
    .blueprint-stats {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .b-stat {
        padding: 10px 8px;
        text-align: center;
    }
    .chart-bars {
        gap: 8px;
    }

    /* Centered Hero on Mobile */
    .hero {
        padding: 28px 0 42px;
        text-align: center;
        overflow: hidden;
    }
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .hero-pill {
        margin: 0 auto 16px;
    }
    .hero-title {
        font-size: 1.85rem;
        line-height: 1.24;
        text-align: center;
        margin: 0 auto 16px;
        max-width: 100%;
    }
    .hero-subtitle {
        font-size: 0.96rem;
        line-height: 1.6;
        text-align: center;
        margin: 0 auto 24px;
        max-width: 100%;
    }
    .hero-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 360px;
        margin: 0 auto 32px;
        gap: 12px;
    }
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    .hero-trust-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
        text-align: left;
        border-top: none;
        padding-top: 0;
    }
    .trust-item {
        background: #ffffff;
        border: 1px solid var(--color-border);
        border-radius: var(--radius-md);
        padding: 12px 14px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    }

    /* Centered Section Headers & Badges */
    .section-badge {
        display: inline-flex;
        margin: 0 auto 12px;
    }
    .section-header {
        text-align: center;
        margin-bottom: 28px;
    }
    .section-title {
        font-size: 1.7rem;
        line-height: 1.25;
        text-align: center;
    }
    .section-lead {
        font-size: 0.94rem;
        line-height: 1.6;
        text-align: center;
        margin: 0 auto 28px;
        max-width: 100%;
    }

    /* Centered Grids & Cards */
    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 440px;
        margin: 0 auto;
    }
    .problem-card, .pillar-card {
        text-align: left;
    }

    /* Authority Section Centered */
    .authority-grid {
        text-align: center;
    }
    .authority-heading {
        font-size: 1.75rem;
        text-align: center;
    }
    .authority-lead {
        text-align: center;
    }
    .quote-author {
        justify-content: center;
    }
    .sovereign-badges-row {
        max-width: 360px;
        margin: 0 auto;
    }
    .portrait-wrapper {
        max-width: 380px;
        margin: 0 auto;
    }
    .portrait-img {
        height: 360px;
    }

    /* Steps Flow Centered */
    .steps-flow {
        grid-template-columns: 1fr;
        gap: 18px;
        max-width: 440px;
        margin: 0 auto 30px;
    }
    .how-cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 24px 18px;
        max-width: 440px;
        margin: 0 auto;
    }

    /* Form Section Centered */
    .form-info-col {
        text-align: center;
    }
    .form-col-title {
        text-align: center;
        font-size: 1.6rem;
    }
    .form-col-lead {
        text-align: center;
    }
    .form-benefits-list {
        max-width: 440px;
        margin: 0 auto 22px;
        text-align: left;
    }
    .form-direct-contacts {
        max-width: 440px;
        margin: 0 auto;
        text-align: left;
    }
    .modern-form-card {
        padding: 24px 18px;
        max-width: 460px;
        margin: 0 auto;
        box-sizing: border-box;
    }
    .modern-input {
        font-size: 16px;
    }

    /* Final CTA Banner Centered */
    .section-cta-banner {
        padding: 48px 0;
        text-align: center;
    }
    .cta-title {
        font-size: 1.65rem;
        text-align: center;
        margin: 0 auto 14px;
    }
    .cta-subtitle {
        font-size: 0.96rem;
        text-align: center;
        margin: 0 auto 26px;
    }
    .cta-btns {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        max-width: 360px;
        margin: 0 auto;
    }
    .cta-btns .btn {
        width: 100%;
        justify-content: center;
    }

    /* Footer Centered */
    .footer {
        padding: 45px 0 25px;
        text-align: center;
    }
    .footer-top-grid {
        grid-template-columns: 1fr;
        gap: 26px;
        text-align: center;
        margin-bottom: 30px;
    }
    .footer-logo {
        justify-content: center;
    }
    .footer-brand-desc {
        margin: 0 auto 16px;
    }
    .footer-state-badge {
        justify-content: center;
        max-width: 320px;
        margin: 0 auto;
    }
    .footer-links {
        align-items: center;
    }
    .footer-contact-item {
        justify-content: center;
    }
    .back-to-top {
        right: 16px;
        bottom: 16px;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 14px !important;
        padding-right: 14px !important;
        box-sizing: border-box !important;
    }
    .header-container {
        padding: 8px 14px !important;
    }
    .logo-title {
        font-size: 0.88rem !important;
    }
    .logo-emblem svg {
        width: 26px !important;
        height: 17px !important;
    }
    .hero-title {
        font-size: 1.7rem !important;
        line-height: 1.25 !important;
    }
    .modern-form-card {
        padding: 20px 14px !important;
    }
    .modern-form-card::after {
        left: 16px;
        right: 16px;
    }
}
