/* ============================================================
   Veteran Refinance Team — Design System
   Color Palette: Navy (#1B2A4A), Crimson (#C41E3A), Gold (#C5A55A)
   Aesthetic: Clean fintech + subtle patriotism
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@700;800;900&display=swap');

/* ── CSS Custom Properties ── */
:root {
    /* Primary Palette */
    --navy: #1B2A4A;
    --navy-dark: #0F1B33;
    --navy-light: #2A3D63;
    --crimson: #C41E3A;
    --crimson-dark: #9E1830;
    --crimson-light: #E8354F;
    --gold: #C5A55A;
    --gold-light: #D4B96E;
    --gold-dark: #A68B44;

    /* Neutrals */
    --white: #FFFFFF;
    --off-white: #F7F8FA;
    --light-gray: #EEF0F4;
    --medium-gray: #C8CDD6;
    --dark-gray: #6B7280;
    --text-primary: #1F2937;
    --text-secondary: #4B5563;
    --text-muted: #9CA3AF;

    /* Functional */
    --success: #10B981;
    --warning: #F59E0B;
    --info: #3B82F6;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    /* Borders & Shadows */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(27, 42, 74, 0.08);
    --shadow-md: 0 4px 12px rgba(27, 42, 74, 0.10);
    --shadow-lg: 0 8px 30px rgba(27, 42, 74, 0.12);
    --shadow-xl: 0 16px 48px rgba(27, 42, 74, 0.16);
    --shadow-glow: 0 0 40px rgba(196, 30, 58, 0.15);

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 150ms;
    --duration-normal: 300ms;
    --duration-slow: 500ms;
}

/* ── Reset ── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--duration-fast) ease;
}

ul,
ol {
    list-style: none;
}

/* ── Utilities ── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.section-padding {
    padding: var(--space-4xl) 0;
}

/* ── Top Bar ── */
.top-bar {
    background: var(--navy-dark);
    color: var(--white);
    padding: var(--space-sm) 0;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.top-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.top-bar-left a {
    color: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    transition: color var(--duration-fast) ease;
}

.top-bar-left a:hover {
    color: var(--gold-light);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.top-bar-right a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    transition: all var(--duration-fast) ease;
}

.top-bar-right a:hover {
    color: var(--gold);
    transform: translateY(-1px);
}

/* ── Navigation ── */
.main-nav {
    background: var(--navy);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(27, 42, 74, 0.3);
}

.main-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0;
    padding-bottom: 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white);
    padding: var(--space-md) 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.nav-logo .logo-stars {
    display: flex;
    gap: 2px;
    margin-right: 4px;
}

.nav-logo .logo-star {
    color: var(--gold);
    font-size: 0.6em;
}

.nav-logo .logo-accent {
    color: var(--crimson);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.9375rem;
    padding: var(--space-lg) var(--space-lg);
    position: relative;
    transition: all var(--duration-normal) var(--ease-out);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--crimson);
    transition: all var(--duration-normal) var(--ease-out);
    transform: translateX(-50%);
    border-radius: 3px 3px 0 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 60%;
}

.nav-cta {
    background: var(--crimson) !important;
    color: var(--white) !important;
    padding: var(--space-sm) var(--space-xl) !important;
    border-radius: var(--radius-full);
    font-weight: 600 !important;
    margin-left: var(--space-md);
    transition: all var(--duration-normal) var(--ease-out) !important;
    box-shadow: 0 2px 12px rgba(196, 30, 58, 0.3);
}

.nav-cta:hover {
    background: var(--crimson-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(196, 30, 58, 0.4) !important;
}

.nav-cta::after {
    display: none !important;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: var(--space-sm);
    background: none;
    border: none;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--duration-normal) var(--ease-out);
}

/* ── Hero Section ── */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 60%, #0A1628 100%);
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(196, 30, 58, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(197, 165, 90, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

/* Subtle stars pattern */
.hero::after {
    content: '★ ★ ★ ★ ★';
    position: absolute;
    top: 40px;
    right: 60px;
    font-size: 1.2rem;
    color: rgba(197, 165, 90, 0.12);
    letter-spacing: 12px;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
    padding-top: var(--space-4xl);
    padding-bottom: var(--space-4xl);
}

.hero-content {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(197, 165, 90, 0.15);
    border: 1px solid rgba(197, 165, 90, 0.3);
    color: var(--gold-light);
    padding: var(--space-xs) var(--space-lg);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.6s var(--ease-out) forwards;
}

.hero-badge .star {
    font-size: 0.75rem;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.6s var(--ease-out) 0.1s forwards;
    opacity: 0;
}

.hero h1 .highlight {
    color: var(--gold);
    display: block;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
    max-width: 500px;
    animation: fadeInUp 0.6s var(--ease-out) 0.2s forwards;
    opacity: 0;
}

.hero-checks {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
    animation: fadeInUp 0.6s var(--ease-out) 0.3s forwards;
    opacity: 0;
}

.hero-checks li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.hero-checks .check-icon {
    width: 22px;
    height: 22px;
    background: var(--crimson);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: white;
    flex-shrink: 0;
}

.hero-actions {
    display: flex;
    gap: var(--space-lg);
    animation: fadeInUp 0.6s var(--ease-out) 0.4s forwards;
    opacity: 0;
}

/* ── Newsletter Card (Hero Right) ── */
.hero-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-xl);
    animation: fadeInRight 0.8s var(--ease-out) 0.3s forwards;
    opacity: 0;
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--navy), var(--crimson), var(--gold));
}

.hero-card h3 {
    color: var(--navy);
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.hero-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin-bottom: var(--space-xl);
}

.hero-card .form-group {
    margin-bottom: var(--space-md);
}

.hero-card label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.hero-card input,
.hero-card select {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--text-primary);
    background: var(--white);
    transition: border-color var(--duration-fast) ease;
    outline: none;
}

.hero-card input:focus,
.hero-card select:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(27, 42, 74, 0.1);
}

.hero-card input::placeholder {
    color: var(--text-muted);
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-2xl);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
}

.btn-primary {
    background: var(--crimson);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(196, 30, 58, 0.3);
}

.btn-primary:hover {
    background: var(--crimson-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(196, 30, 58, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-navy {
    background: var(--navy);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(27, 42, 74, 0.3);
}

.btn-navy:hover {
    background: var(--navy-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(27, 42, 74, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}

.btn-outline:hover {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

.btn-lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1.0625rem;
}

.btn .arrow {
    transition: transform var(--duration-fast) ease;
}

.btn:hover .arrow {
    transform: translateX(3px);
}

/* ── Section Headers ── */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.section-header .section-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(27, 42, 74, 0.06);
    color: var(--navy);
    padding: var(--space-xs) var(--space-lg);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: var(--space-lg);
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.15;
    margin-bottom: var(--space-md);
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.7;
}

/* ── Feature Cards ── */
.features-section {
    background: var(--off-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(27, 42, 74, 0.06);
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--navy);
    transform: scaleX(0);
    transition: transform var(--duration-normal) var(--ease-out);
    transform-origin: left;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: var(--space-lg);
    color: var(--white);
}

.feature-card:nth-child(2) .feature-icon {
    background: linear-gradient(135deg, var(--crimson) 0%, var(--crimson-dark) 100%);
}

.feature-card:nth-child(3) .feature-icon {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
}

.feature-card:nth-child(4) .feature-icon {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
}

.feature-card:nth-child(5) .feature-icon {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

.feature-card:nth-child(6) .feature-icon {
    background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: var(--space-sm);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.65;
}

.feature-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--crimson);
    font-weight: 600;
    font-size: 0.875rem;
    margin-top: var(--space-lg);
    transition: gap var(--duration-fast) ease;
}

.feature-card:hover .card-link {
    gap: var(--space-sm);
}

/* ── Finance Tips ── */
.tips-section {
    background: var(--white);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.tip-card {
    display: flex;
    gap: var(--space-xl);
    background: var(--off-white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    border: 1px solid transparent;
    transition: all var(--duration-normal) var(--ease-out);
}

.tip-card:hover {
    border-color: rgba(27, 42, 74, 0.1);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.tip-number {
    width: 48px;
    height: 48px;
    background: var(--navy);
    color: var(--gold);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    flex-shrink: 0;
}

.tip-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: var(--space-xs);
}

.tip-content p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ── Blog Section ── */
.blog-section {
    background: var(--off-white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(27, 42, 74, 0.06);
    transition: all var(--duration-normal) var(--ease-out);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-image .blog-category {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    background: var(--crimson);
    color: var(--white);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-card-body {
    padding: var(--space-xl);
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.blog-card-meta span {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.blog-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: var(--space-sm);
    line-height: 1.4;
}

.blog-card h3 a {
    transition: color var(--duration-fast) ease;
}

.blog-card h3 a:hover {
    color: var(--crimson);
}

.blog-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.65;
    margin-bottom: var(--space-lg);
}

.blog-card .read-more {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--crimson);
    font-weight: 600;
    font-size: 0.875rem;
    transition: gap var(--duration-fast) ease;
}

.blog-card:hover .read-more {
    gap: var(--space-sm);
}

/* ── VA Disability Section ── */
.va-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.va-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(197, 165, 90, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.va-section .section-header .section-tag {
    background: rgba(197, 165, 90, 0.15);
    color: var(--gold-light);
}

.va-section .section-header h2 {
    color: var(--white);
}

.va-section .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.va-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.va-step {
    text-align: center;
    position: relative;
}

.va-step::after {
    content: '→';
    position: absolute;
    right: -20px;
    top: 40px;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.2);
}

.va-step:last-child::after {
    display: none;
}

.va-step-number {
    width: 64px;
    height: 64px;
    background: rgba(197, 165, 90, 0.15);
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold);
    margin: 0 auto var(--space-lg);
}

.va-step h4 {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.va-step p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
}

/* ── Resources Section ── */
.resources-section {
    background: var(--white);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.resource-card {
    background: var(--off-white);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    text-align: center;
    transition: all var(--duration-normal) var(--ease-out);
    border: 2px solid transparent;
}

.resource-card:hover {
    border-color: var(--navy);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.resource-icon {
    width: 72px;
    height: 72px;
    background: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto var(--space-lg);
    transition: transform var(--duration-normal) var(--ease-spring);
}

.resource-card:hover .resource-icon {
    transform: scale(1.1);
}

.resource-card h3 {
    font-size: 1.1875rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: var(--space-sm);
}

.resource-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.65;
    margin-bottom: var(--space-lg);
}

.resource-card .resource-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.resource-card .resource-links a {
    color: var(--crimson);
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    transition: all var(--duration-fast) ease;
}

.resource-card .resource-links a:hover {
    background: rgba(196, 30, 58, 0.06);
}

/* ── Stats Banner ── */
.stats-banner {
    background: var(--crimson);
    color: var(--white);
    padding: var(--space-2xl) 0;
    position: relative;
    overflow: hidden;
}

.stats-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(27, 42, 74, 0.15) 0%, transparent 50%, rgba(27, 42, 74, 0.15) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ── Newsletter Section ── */
.newsletter-section {
    background: var(--off-white);
}

.newsletter-container {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-form {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.newsletter-form input {
    flex: 1;
    padding: var(--space-md) var(--space-lg);
    border: 2px solid var(--medium-gray);
    border-radius: var(--radius-full);
    font-family: var(--font-sans);
    font-size: 1rem;
    outline: none;
    transition: border-color var(--duration-fast) ease;
}

.newsletter-form input:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(27, 42, 74, 0.1);
}

/* ── Footer ── */
.footer {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer-brand h3 {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: var(--space-md);
}

.footer-brand h3 .logo-accent {
    color: var(--crimson);
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all var(--duration-fast) ease;
}

.footer-social a:hover {
    background: var(--crimson);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.9375rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: var(--space-lg);
}

.footer-col ul li {
    margin-bottom: var(--space-sm);
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    transition: all var(--duration-fast) ease;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.footer-col ul li a:hover {
    color: var(--gold-light);
    transform: translateX(3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
}

.footer-bottom-links {
    display: flex;
    gap: var(--space-xl);
}

.footer-bottom-links a:hover {
    color: var(--gold-light);
}

/* ── Animations ── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Scroll reveal animation class */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .features-grid,
    .blog-grid,
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .va-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-2xl);
    }

    .va-step::after {
        display: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--navy);
        box-shadow: var(--shadow-xl);
        padding: var(--space-md) 0;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: var(--space-md) var(--space-xl);
        width: 100%;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-cta {
        margin: var(--space-md) var(--space-xl);
        text-align: center;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: var(--space-2xl) 0;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero::after {
        display: none;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .features-grid,
    .blog-grid,
    .resources-grid {
        grid-template-columns: 1fr;
    }

    .tips-grid {
        grid-template-columns: 1fr;
    }

    .va-steps {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }

    .hero h1 {
        font-size: 1.875rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Blog Page Styles ── */
.page-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    padding: var(--space-3xl) 0;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '★ ★ ★';
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 0.9rem;
    color: rgba(197, 165, 90, 0.12);
    letter-spacing: 8px;
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--space-sm);
}

.page-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.0625rem;
}

.blog-page-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-3xl);
    padding: var(--space-3xl) 0;
}

.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.sidebar-card {
    background: var(--off-white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.sidebar-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--light-gray);
}

.sidebar-card .tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.sidebar-card .tag {
    background: var(--white);
    color: var(--text-secondary);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 500;
    border: 1px solid var(--light-gray);
    transition: all var(--duration-fast) ease;
    cursor: pointer;
}

.sidebar-card .tag:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.sidebar-card .recent-list li {
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--light-gray);
}

.sidebar-card .recent-list li:last-child {
    border-bottom: none;
}

.sidebar-card .recent-list li a {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9375rem;
    line-height: 1.5;
    transition: color var(--duration-fast) ease;
}

.sidebar-card .recent-list li a:hover {
    color: var(--crimson);
}

.sidebar-card .recent-list li .date {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: var(--space-xs);
}

@media (max-width: 768px) {
    .blog-page-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Page Header (Legal/Contact pages) ── */
.page-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: var(--white);
    padding: var(--space-4xl) 0 var(--space-3xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '★ ★ ★';
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 1rem;
    color: rgba(197, 165, 90, 0.1);
    letter-spacing: 10px;
    pointer-events: none;
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--space-md);
    animation: fadeInUp 0.5s var(--ease-out) forwards;
}

.page-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
    animation: fadeInUp 0.5s var(--ease-out) 0.1s forwards;
    opacity: 0;
}