/* ========================================
   SECUREPEAK - Main Stylesheet
   ======================================== */

/* ========================================
   CSS CUSTOM PROPERTIES
   ======================================== */
:root {
    /* Brand Colors */
    --color-bg-primary: #0a0f1a;
    --color-bg-secondary: #111827;
    --color-bg-tertiary: #1f2937;
    --color-bg-elevated: #374151;
    
    --color-accent: #4ade80;
    --color-accent-dim: rgba(74, 222, 128, 0.15);
    --color-accent-bright: #86efac;
    --color-accent-dark: #22c55e;
    
    --color-text-primary: #f9fafb;
    --color-text-secondary: #e5e7eb;
    --color-text-muted: #9ca3af;
    --color-text-subtle: #6b7280;
    --color-text-faint: #4b5563;
    
    --color-border: #1f2937;
    --color-border-subtle: #374151;
    
    /* Pillar Colors */
    --color-crypto: #ef4444;
    --color-offensive: #f59e0b;
    --color-defensive: #3b82f6;
    --color-research: #8b5cf6;
    --color-edge: #4ade80;
    
    /* Typography - Helvetica Now */
    --font-display: 'Helvetica Now Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-text: 'Helvetica Now Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-sans: var(--font-text);
    --font-mono: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-24: 6rem;
    
    /* Layout */
    --max-width: 1200px;
    --nav-height: 72px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.2s ease;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-text);
    font-weight: 400;
    line-height: 1.75;
    color: var(--color-text-secondary);
    background: var(--color-bg-primary);
    min-height: 100vh;
    font-size: 16px;
    letter-spacing: 0.01em;
}

a {
    color: inherit;
    text-decoration: none;
}

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

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

input, textarea, select {
    font-family: inherit;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-text-primary);
    line-height: 1.25;
    letter-spacing: -0.025em;
}

h1 { font-size: clamp(2rem, 5vw, 2.75rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); font-weight: 700; }
h3 { font-size: clamp(1.125rem, 2.5vw, 1.375rem); font-weight: 700; }
h4 { font-size: 1.125rem; font-weight: 700; }

p { margin-bottom: var(--space-4); }
p:last-child { margin-bottom: 0; }

.text-accent { color: var(--color-accent); }
.text-muted { color: var(--color-text-muted); }
.text-subtle { color: var(--color-text-subtle); }
.font-mono { font-family: var(--font-mono); }

.label {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-faint);
}

/* ========================================
   LAYOUT
   ======================================== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-8);
}

.section {
    padding: var(--space-24) 0;
}

.section--dark {
    background: var(--color-bg-secondary);
    clip-path: polygon(0 2%, 100% 0, 100% 98%, 0 100%);
    padding-top: calc(var(--space-24) + 1rem);
    padding-bottom: calc(var(--space-24) + 1rem);
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(10, 15, 26, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
}

.nav__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-8);
}

.nav__logo {
    height: 28px;
    display: flex;
    align-items: center;
}

.nav__logo img {
    height: 100%;
    width: auto;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.nav__link {
    padding: var(--space-2) var(--space-4);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-text-subtle);
    border-radius: 4px;
    transition: all var(--transition-fast);
    position: relative;
}

.nav__link:hover {
    color: var(--color-text-primary);
    background: var(--color-bg-tertiary);
}

.nav__link--active {
    color: var(--color-accent);
}

/* Dropdown */
.nav__dropdown {
    position: relative;
}

.nav__dropdown-toggle {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.nav__dropdown-toggle::after {
    content: '▾';
    font-size: 0.625rem;
    transition: transform var(--transition-fast);
}

.nav__dropdown:hover .nav__dropdown-toggle::after {
    transform: rotate(180deg);
}

.nav__dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: var(--space-2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--transition-fast);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.nav__dropdown:hover .nav__dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav__dropdown-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    border-radius: 4px;
    transition: all var(--transition-fast);
}

.nav__dropdown-item:hover {
    background: var(--color-bg-tertiary);
    color: var(--color-text-primary);
}

.nav__dropdown-indicator {
    width: 8px;
    height: 8px;
    border-radius: 2px;
}

/* Client Area Button */
.nav__client-btn {
    margin-left: var(--space-4);
    padding: var(--space-2) var(--space-6);
    background: transparent;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    font-size: 0.8125rem;
    font-weight: 500;
    border-radius: 4px;
    transition: all var(--transition-fast);
}

.nav__client-btn:hover {
    background: color-mix(in srgb, var(--color-accent) 90%, white);
    color: var(--color-bg-primary);
}

/* Mobile Menu */
.nav__mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: var(--space-2);
    background: none;
    border: none;
}

.nav__mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--color-text-secondary);
    transition: all var(--transition-fast);
}

/* ========================================
   HERO
   ======================================== */
.hero {
    padding-top: calc(var(--nav-height) + var(--space-24));
    padding-bottom: var(--space-24);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero--small {
    min-height: auto;
    padding-top: calc(var(--nav-height) + var(--space-16));
    padding-bottom: var(--space-16);
}

.hero__content {
    max-width: 800px;
}

.hero__tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.hero__indicator {
    width: 10px;
    height: 10px;
    border-radius: 3px;
}

.hero__tagline {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.hero__headline {
    font-size: clamp(2.25rem, 6vw, 3rem);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: var(--space-4);
    background: linear-gradient(180deg, #ffffff 30%, #9ca3af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__headline span {
    -webkit-text-fill-color: var(--color-accent);
}

.hero__subhead {
    font-size: 1.25rem;
    color: var(--color-text-subtle);
    font-weight: 300;
    margin-bottom: var(--space-8);
    max-width: 600px;
}

.hero__statement {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.9;
    max-width: 640px;
}

/* ========================================
   PILLARS GRID
   ======================================== */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

.pillar-card {
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid var(--color-border);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: var(--space-8);
    transition: all var(--transition-base);
    cursor: pointer;
}

.pillar-card:hover {
    border-color: var(--color-border-subtle);
    transform: translateY(-2px);
}

.pillar-card__indicator {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    margin-bottom: var(--space-4);
}

.pillar-card--crypto .pillar-card__indicator { background: var(--color-crypto); }
.pillar-card--offensive .pillar-card__indicator { background: var(--color-offensive); }
.pillar-card--defensive .pillar-card__indicator { background: var(--color-defensive); }
.pillar-card--research .pillar-card__indicator { background: var(--color-research); }
.pillar-card--edge .pillar-card__indicator { background: var(--color-edge); }

.pillar-card__title {
    font-size: 1.125rem;
    margin-bottom: var(--space-3);
}

.pillar-card__brief {
    font-size: 0.875rem;
    color: var(--color-text-subtle);
    line-height: 1.7;
}

.pillar-card--edge {
    grid-column: 1 / -1;
}

/* ========================================
   CONTENT SECTIONS
   ======================================== */
.content-intro {
    margin-bottom: var(--space-16);
    padding-bottom: var(--space-12);
    border-bottom: 1px solid var(--color-border);
}

.content-intro__lead {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-6);
    max-width: 800px;
}

.content-intro__body {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.9;
    max-width: 800px;
    margin-bottom: var(--space-6);
}

.content-intro__note {
    background: var(--color-bg-secondary);
    border-radius: 6px;
    padding: var(--space-4) var(--space-6);
    border-left: 3px solid var(--color-accent);
    font-size: 0.8125rem;
    color: var(--color-text-subtle);
    line-height: 1.8;
    font-style: italic;
    max-width: 800px;
}

.content-section {
    margin-bottom: var(--space-12);
}

.content-section__title {
    font-size: 1.25rem;
    margin-bottom: var(--space-2);
}

.content-section__subtitle {
    font-size: 0.875rem;
    color: var(--color-text-subtle);
    margin-bottom: var(--space-6);
}

.content-block {
    margin-bottom: var(--space-8);
    padding-left: var(--space-6);
    border-left: 2px solid var(--color-border);
}

.content-block__heading {
    font-size: 0.9375rem;
    margin-bottom: var(--space-3);
}

.content-block__text {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.9;
    margin-bottom: var(--space-4);
}

.content-block__details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2);
}

.content-block__detail {
    font-size: 0.75rem;
    color: var(--color-text-subtle);
    padding-left: var(--space-4);
    position: relative;
}

.content-block__detail::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-text-faint);
}

/* ========================================
   TEAM HIGHLIGHT
   ======================================== */
.team-highlight {
    background: linear-gradient(135deg, var(--color-bg-secondary), var(--color-bg-tertiary));
    border: 1px solid var(--color-border-subtle);
    border-radius: 8px;
    padding: var(--space-8);
    margin: var(--space-8) 0;
}

.team-highlight__label {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-offensive);
    margin-bottom: var(--space-3);
}

.team-highlight__name {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-text-primary);
    margin-bottom: var(--space-2);
}

.team-highlight__title {
    font-size: 0.875rem;
    color: var(--color-offensive);
    margin-bottom: var(--space-4);
}

.team-highlight__bio {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* ========================================
   METRICS
   ======================================== */
.metrics-box {
    background: var(--color-bg-secondary);
    border-radius: 8px;
    padding: var(--space-6);
    border: 1px solid var(--color-border);
    margin-top: var(--space-6);
}

.metrics-box__label {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-faint);
    margin-bottom: var(--space-4);
}

.metrics-box__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
}

.metric__value {
    font-size: 1.25rem;
    font-weight: 300;
    font-family: var(--font-mono);
    color: var(--color-accent);
    margin-bottom: var(--space-1);
}

.metric__desc {
    font-size: 0.625rem;
    color: var(--color-text-faint);
}

/* ========================================
   CITATIONS
   ======================================== */
.citation {
    background: var(--color-bg-tertiary);
    border-radius: 4px;
    padding: var(--space-3) var(--space-4);
    margin: var(--space-4) 0;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--color-text-subtle);
    border-left: 2px solid var(--color-research);
}

.citation__authors {
    color: var(--color-text-secondary);
    font-weight: 500;
}

.citation__venue {
    color: var(--color-research);
}

.citation__year {
    color: var(--color-text-faint);
}

/* ========================================
   WORLD MAP
   ======================================== */
.world-map-container {
    margin: var(--space-8) 0;
    background: var(--color-bg-secondary);
    border-radius: 12px;
    padding: var(--space-6);
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.world-map-container__label {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-faint);
    margin-bottom: var(--space-4);
}

.world-map {
    width: 100%;
    height: auto;
}

.world-map .continent {
    fill: var(--color-bg-tertiary);
    stroke: var(--color-border-subtle);
    stroke-width: 0.5;
}

.world-map .fiber-line {
    stroke: var(--color-accent);
    stroke-width: 1;
    stroke-opacity: 0.4;
    fill: none;
}

.world-map .fiber-line--active {
    stroke-opacity: 0.8;
    stroke-width: 1.5;
    animation: pulse-line 3s ease-in-out infinite;
}

.world-map .pop {
    fill: var(--color-accent);
    filter: drop-shadow(0 0 4px var(--color-accent));
}

.world-map .pop--major {
    fill: var(--color-accent-bright);
    filter: drop-shadow(0 0 8px var(--color-accent));
}

.world-map .pop-label {
    font-family: var(--font-mono);
    font-size: 8px;
    fill: var(--color-text-subtle);
}

@keyframes pulse-line {
    0%, 100% { stroke-opacity: 0.4; }
    50% { stroke-opacity: 1; }
}

.map-legend {
    display: flex;
    gap: var(--space-8);
    margin-top: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-border);
}

.map-legend__item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.75rem;
    color: var(--color-text-subtle);
}

.map-legend__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent);
}

.map-legend__dot--major {
    background: var(--color-accent-bright);
    box-shadow: 0 0 6px var(--color-accent);
}

.map-legend__line {
    width: 24px;
    height: 2px;
    background: var(--color-accent);
    opacity: 0.6;
}

/* ========================================
   CONTACT FORM
   ======================================== */
.contact-section {
    background: var(--color-bg-secondary);
    border-radius: 12px;
    padding: var(--space-12);
    margin-top: var(--space-16);
    border: 1px solid var(--color-border);
}

.contact-section__header {
    margin-bottom: var(--space-8);
}

.contact-section__title {
    font-size: 1.5rem;
    margin-bottom: var(--space-2);
}

.contact-section__subtitle {
    color: var(--color-text-subtle);
    font-size: 0.9375rem;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
    max-width: 800px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.form-group--full {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: var(--space-4);
    background: var(--color-bg-primary);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    color: var(--color-text-primary);
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
    caret-color: var(--color-accent);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px var(--color-accent-dim);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-faint);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--color-bg-secondary);
}

.form-submit {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-4);
}

.form-submit__note {
    font-size: 0.75rem;
    color: var(--color-text-faint);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.form-submit__note svg {
    width: 16px;
    height: 16px;
    stroke: var(--color-accent);
}

.btn {
    padding: var(--space-4) var(--space-8);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 6px;
    border: none;
    transition: all var(--transition-fast);
}

.btn--primary {
    background: var(--color-accent);
    color: var(--color-bg-primary);
}

.btn--primary:hover {
    background: color-mix(in srgb, var(--color-accent) 85%, white);
    transform: translateY(-1px);
}

.btn--outline {
    background: transparent;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
}

.btn--outline:hover {
    background: color-mix(in srgb, var(--color-accent) 90%, white);
    color: var(--color-bg-primary);
}

/* ========================================
   CLIENT AREA (Login Modal)
   ======================================== */
.client-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 15, 26, 0.9);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.client-modal--active {
    opacity: 1;
    visibility: visible;
}

.client-modal__content {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: var(--space-12);
    width: 100%;
    max-width: 420px;
    transform: translateY(20px);
    transition: transform var(--transition-base);
}

.client-modal--active .client-modal__content {
    transform: translateY(0);
}

.client-modal__close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background: none;
    border: none;
    color: var(--color-text-subtle);
    font-size: 1.5rem;
    cursor: pointer;
    padding: var(--space-2);
}

.client-modal__header {
    text-align: center;
    margin-bottom: var(--space-8);
}

.client-modal__logo {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-4);
}

.client-modal__title {
    font-size: 1.25rem;
    margin-bottom: var(--space-2);
}

.client-modal__subtitle {
    color: var(--color-text-subtle);
    font-size: 0.875rem;
}

.client-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.client-form .form-group {
    width: 100%;
}

.client-form .btn {
    width: 100%;
    margin-top: var(--space-4);
}

.client-form__divider {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin: var(--space-6) 0;
    color: var(--color-text-faint);
    font-size: 0.75rem;
}

.client-form__divider::before,
.client-form__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--color-border);
}

.client-form__sso {
    display: flex;
    gap: var(--space-4);
}

.client-form__sso-btn {
    flex: 1;
    padding: var(--space-3);
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.client-form__sso-btn:hover {
    border-color: var(--color-border-subtle);
    color: var(--color-text-primary);
}

.client-form__footer {
    margin-top: var(--space-6);
    text-align: center;
    font-size: 0.75rem;
    color: var(--color-text-faint);
}

.client-form__footer a {
    color: var(--color-accent);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: var(--space-12) 0;
    border-top: 1px solid var(--color-border);
    margin-top: var(--space-16);
    background: var(--color-bg-secondary);
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-12);
}

.footer__brand {
    max-width: 280px;
}

.footer__logo {
    height: 32px;
    margin-bottom: var(--space-4);
}

.footer__tagline {
    font-size: 0.875rem;
    color: var(--color-text-subtle);
    margin-bottom: var(--space-4);
}

.footer__social {
    display: flex;
    gap: var(--space-3);
}

.footer__social a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-tertiary);
    border-radius: 4px;
    color: var(--color-text-subtle);
    transition: all var(--transition-fast);
}

.footer__social a:hover {
    background: var(--color-accent);
    color: var(--color-bg-primary);
}

.footer__column h4 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: var(--space-4);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.footer__links a {
    font-size: 0.8125rem;
    color: var(--color-text-subtle);
    transition: color var(--transition-fast);
}

.footer__links a:hover {
    color: var(--color-accent);
}

.footer__bottom {
    margin-top: var(--space-12);
    padding-top: var(--space-6);
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--color-text-faint);
}

.footer__legal {
    display: flex;
    gap: var(--space-6);
}

.footer__legal a {
    color: var(--color-text-subtle);
    transition: color var(--transition-fast);
}

.footer__legal a:hover {
    color: var(--color-accent);
}

/* ========================================
   PHILOSOPHY
   ======================================== */
.philosophy {
    max-width: 600px;
}

.philosophy__item {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    padding-left: var(--space-4);
    border-left: 2px solid var(--color-border);
    margin-bottom: var(--space-4);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    
    .metrics-box__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .content-block__details {
        grid-template-columns: 1fr;
    }
    
    .footer__inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav__menu {
        display: none;
    }
    
    .nav__mobile-toggle {
        display: flex;
    }
    
    .nav__client-btn {
        display: none;
    }
    
    .hero__headline {
        font-size: 2rem;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .footer__inner {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }
}

/* Footer Address Block */
.footer__address {
    padding: var(--space-6) 0;
    border-top: 1px solid var(--color-border);
    margin-top: var(--space-6);
}

.footer__address-block {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    text-align: center;
}

.footer__address-block strong {
    color: var(--color-text);
    font-weight: 500;
}

@media (min-width: 768px) {
    .footer__address-block {
        text-align: left;
    }
}

/* ========================================
   FOOTER ADDRESS GRID - DUAL LOCATIONS
   ======================================== */
.footer__address-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .footer__address-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-12);
    }
}

.footer__address-region {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    background: var(--color-accent-dim);
    padding: 0.2rem 0.6rem;
    border-radius: 3px;
    margin-bottom: var(--space-2);
}

/* ========================================
   ENHANCED CARD SYSTEM - CLOUDFLARE STYLE
   ======================================== */
.card--feature {
    background: linear-gradient(135deg, var(--color-bg-secondary) 0%, var(--color-bg-tertiary) 100%);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: var(--space-8);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
}

.card--feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-crypto), var(--color-offensive), var(--color-defensive), var(--color-research));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.card--feature:hover {
    border-color: var(--color-border-subtle);
    transform: translateY(-2px);
}

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

/* ========================================
   CRYPTO SERVICE PAGE STYLES
   ======================================== */
.crypto-hero {
    padding: calc(var(--nav-height) + var(--space-16)) 0 var(--space-16);
    background: linear-gradient(180deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.crypto-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(239, 68, 68, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.service-header {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-dim);
    border-radius: 12px;
    flex-shrink: 0;
}

.service-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--color-accent);
}

.service-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.meta-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-text-muted);
    background: var(--color-bg-tertiary);
    padding: var(--space-2) var(--space-3);
    border-radius: 4px;
    border: 1px solid var(--color-border);
}

.meta-tag--regulation {
    border-color: var(--color-crypto);
    color: var(--color-crypto);
}

.meta-tag--standard {
    border-color: var(--color-defensive);
    color: var(--color-defensive);
}

/* Technical Content Blocks */
.tech-block {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: var(--space-6);
    margin: var(--space-6) 0;
}

.tech-block__header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--color-border);
}

.tech-block__icon {
    width: 40px;
    height: 40px;
    background: var(--color-bg-tertiary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-block__icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-accent);
}

.tech-block__title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-primary);
}

.tech-block__subtitle {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-family: var(--font-mono);
}

/* Citation Styles */
.citation {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    padding: var(--space-4);
    background: var(--color-bg-tertiary);
    border-left: 3px solid var(--color-accent);
    margin: var(--space-4) 0;
    border-radius: 0 4px 4px 0;
}

.citation__authors {
    font-weight: 500;
    color: var(--color-text-secondary);
}

.citation__title {
    font-style: italic;
}

.citation__venue {
    font-family: var(--font-mono);
    font-size: 0.75rem;
}

.citation__doi {
    color: var(--color-accent);
    font-family: var(--font-mono);
    font-size: 0.7rem;
}

/* Regulation Callout */
.regulation-callout {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    padding: var(--space-6);
    margin: var(--space-8) 0;
}

.regulation-callout__header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.regulation-callout__icon {
    width: 24px;
    height: 24px;
    color: var(--color-crypto);
}

.regulation-callout__title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-crypto);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.regulation-callout__content {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Architecture Diagram Container */
.diagram-container {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: var(--space-8);
    margin: var(--space-8) 0;
    overflow-x: auto;
}

.diagram-container__title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-4);
}

.diagram-container svg {
    max-width: 100%;
    height: auto;
}

/* Paper Reference Grid */
.papers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
    margin: var(--space-6) 0;
}

@media (min-width: 768px) {
    .papers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.paper-card {
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: var(--space-4);
    transition: all var(--transition-base);
}

.paper-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.paper-card__venue {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-2);
}

.paper-card__title {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-primary);
    margin-bottom: var(--space-2);
    line-height: 1.4;
}

.paper-card__authors {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.paper-card__year {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-text-subtle);
}

/* Compliance Timeline */
.timeline {
    position: relative;
    margin: var(--space-8) 0;
    padding-left: var(--space-8);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--color-crypto), var(--color-offensive), var(--color-accent));
}

.timeline__item {
    position: relative;
    padding-bottom: var(--space-6);
}

.timeline__item::before {
    content: '';
    position: absolute;
    left: calc(-1 * var(--space-8) - 5px);
    top: 4px;
    width: 12px;
    height: 12px;
    background: var(--color-bg-primary);
    border: 2px solid var(--color-accent);
    border-radius: 50%;
}

.timeline__date {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-accent);
    margin-bottom: var(--space-2);
}

.timeline__title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-primary);
    margin-bottom: var(--space-2);
}

.timeline__content {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Service Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    margin: var(--space-8) 0;
}

@media (min-width: 768px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-item {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: var(--space-6);
    transition: all var(--transition-base);
}

.feature-item:hover {
    border-color: var(--color-accent);
}

.feature-item__icon {
    width: 48px;
    height: 48px;
    background: var(--color-accent-dim);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
}

.feature-item__icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-accent);
}

.feature-item__title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-primary);
    margin-bottom: var(--space-2);
}

.feature-item__description {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Stats Row */
.stats-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
    margin: var(--space-8) 0;
}

@media (min-width: 768px) {
    .stats-row {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    text-align: center;
    padding: var(--space-6);
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 8px;
}

.stat-item__value {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: var(--space-2);
}

.stat-item__label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Code Block Styling */
.code-block {
    background: #1a1a2e;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    margin: var(--space-6) 0;
}

.code-block__header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    background: var(--color-bg-tertiary);
    border-bottom: 1px solid var(--color-border);
}

.code-block__dots {
    display: flex;
    gap: var(--space-2);
}

.code-block__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-block__dot--red { background: #ff5f56; }
.code-block__dot--yellow { background: #ffbd2e; }
.code-block__dot--green { background: #27c93f; }

.code-block__title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.code-block__content {
    padding: var(--space-4);
    overflow-x: auto;
}

.code-block__content pre {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

/* Contact Form Section Enhancement */
.contact-section {
    background: linear-gradient(180deg, var(--color-bg-secondary) 0%, var(--color-bg-primary) 100%);
    padding: var(--space-16) 0;
    margin-top: var(--space-16);
}

.contact-section__inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-section__title {
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--color-text-primary);
    margin-bottom: var(--space-4);
}

.contact-section__subtitle {
    color: var(--color-text-muted);
    margin-bottom: var(--space-8);
}

/* Legal Warning Box */
.legal-warning {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    padding: var(--space-6);
    margin: var(--space-6) 0;
}

.legal-warning__icon {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-crypto);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: var(--space-3);
}

.legal-warning__content {
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Table Styling */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-6) 0;
    font-size: 0.875rem;
}

.data-table th {
    background: var(--color-bg-tertiary);
    padding: var(--space-3) var(--space-4);
    text-align: left;
    font-weight: 500;
    color: var(--color-text-primary);
    border-bottom: 2px solid var(--color-border);
}

.data-table td {
    padding: var(--space-3) var(--space-4);
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-secondary);
}

.data-table tr:hover td {
    background: var(--color-bg-secondary);
}

.data-table__mono {
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

/* Navigation Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-6);
}

.breadcrumb__separator {
    color: var(--color-text-subtle);
}

.breadcrumb a:hover {
    color: var(--color-accent);
}

/* Cleaner Reading Typography */
.prose {
    max-width: 68ch;
}

.prose p {
    margin-bottom: var(--space-6);
    line-height: 1.85;
    font-size: 1.0625rem;
    color: var(--color-text-secondary);
}

.prose h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-top: var(--space-12);
    margin-bottom: var(--space-6);
}

.prose h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-top: var(--space-8);
    margin-bottom: var(--space-4);
}

.prose ul {
    margin: var(--space-4) 0;
    padding-left: var(--space-6);
}

.prose li {
    position: relative;
    padding-left: var(--space-4);
    margin-bottom: var(--space-2);
}

.prose li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 600;
}

/* Enhanced Hero Section */
.page-hero--crypto {
    position: relative;
    padding: calc(var(--nav-height) + var(--space-12)) 0 var(--space-12);
    background: var(--color-bg-primary);
    overflow: hidden;
}

.page-hero--crypto::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(239, 68, 68, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 85% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.page-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-crypto);
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: var(--space-2) var(--space-4);
    border-radius: 4px;
    margin-bottom: var(--space-4);
}

/* ========================================
   NAVIGATION DROPDOWN ICONS
   ======================================== */
.nav__dropdown-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.nav__dropdown-icon svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.5;
}

.nav__dropdown-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.nav__dropdown-label {
    flex: 1;
}

/* Hero with background image */
.hero--with-bg {
    position: relative;
    background: linear-gradient(135deg, rgba(10, 15, 26, 0.95) 0%, rgba(17, 24, 39, 0.9) 100%);
}

.hero--with-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center calc(50% + var(--parallax-y, 0px));
    opacity: 0.15;
    z-index: -1;
    will-change: background-position;
}

/* Image cards */
.image-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.image-card:hover img {
    transform: scale(1.05);
}

.image-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 15, 26, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-6);
}

.image-card__title {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-text-primary);
    margin-bottom: var(--space-2);
}

.image-card__text {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* Abstract section styling */
.abstract-section {
    position: relative;
    padding: var(--space-24) 0;
    overflow: hidden;
}

.abstract-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(74, 222, 128, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(139, 92, 246, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.abstract-section__content {
    position: relative;
    z-index: 1;
}

/* Floating elements for visual interest */
.floating-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.floating-shape--1 {
    width: 400px;
    height: 400px;
    background: var(--color-accent);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.floating-shape--2 {
    width: 300px;
    height: 300px;
    background: var(--color-defensive);
    bottom: -50px;
    right: -50px;
    animation-delay: -5s;
}

.floating-shape--3 {
    width: 200px;
    height: 200px;
    background: var(--color-research);
    top: 50%;
    left: 50%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 30px) scale(1.05); }
}

/* Philosophy quote styling */
.philosophy-quote {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.6;
    color: var(--color-text-primary);
    max-width: 50ch;
    margin: 0 auto var(--space-8);
    text-align: center;
}

.philosophy-quote span {
    color: var(--color-accent);
}

/* Trust indicators */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-12);
}

.trust-item {
    text-align: center;
    padding: var(--space-6);
}

.trust-item__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-4);
    color: var(--color-accent);
}

.trust-item__icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1;
}

.trust-item__label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* ========================================
   SVG DIAGRAM TYPOGRAPHY
   ======================================== */
.diagram-container {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: var(--space-6);
    margin: var(--space-8) 0;
    overflow-x: auto;
}

.diagram-container__title {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-4);
    text-align: center;
}

.diagram-container svg {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

/* ========================================
   IMPROVED READABILITY ENHANCEMENTS
   ======================================== */
.page-hero__subtitle {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

.regulation-callout {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 12px;
    padding: var(--space-8);
}

.regulation-callout__header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.regulation-callout__icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--color-crypto);
}

.regulation-callout__title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-crypto);
}

.regulation-callout__content {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-text-secondary);
}

.regulation-callout__content p {
    margin-bottom: var(--space-4);
}

.regulation-callout__content p:last-child {
    margin-bottom: 0;
}

/* Tech Block Improvements */
.tech-block {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: var(--space-6);
    margin: var(--space-6) 0;
}

.tech-block__header {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.tech-block__icon {
    width: 48px;
    height: 48px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tech-block__icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-crypto);
}

.tech-block__title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: var(--space-1);
}

.tech-block__subtitle {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* Feature Grid Improvements */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-6);
}

.feature-item {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: var(--space-6);
    transition: border-color var(--transition-base), transform var(--transition-base);
}

.feature-item:hover {
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.feature-item__icon {
    width: 48px;
    height: 48px;
    background: var(--color-accent-dim);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
}

.feature-item__icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-accent);
}

.feature-item__title {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: var(--space-3);
}

.feature-item__description {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--color-text-muted);
}

/* Stats Row */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-6);
    margin: var(--space-8) 0;
}

.stat-item {
    text-align: center;
    padding: var(--space-6);
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 12px;
}

.stat-item__value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: var(--space-2);
}

.stat-item__label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}

/* Papers List */
.papers-list {
    display: grid;
    gap: var(--space-4);
}

.paper-item {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: var(--space-4) var(--space-6);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-4);
    align-items: center;
}

.paper-item__venue {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-accent);
    background: var(--color-accent-dim);
    padding: var(--space-1) var(--space-3);
    border-radius: 4px;
    white-space: nowrap;
}

.paper-item__title {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-text-primary);
    line-height: 1.4;
}

.paper-item__authors {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    grid-column: 2;
}

/* Data Table Improvements */
.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: var(--space-6) 0;
    font-size: 0.9375rem;
}

.data-table th {
    background: var(--color-bg-tertiary);
    padding: var(--space-4);
    text-align: left;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8125rem;
    color: var(--color-text-primary);
    border-bottom: 2px solid var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.data-table th:first-child {
    border-radius: 8px 0 0 0;
}

.data-table th:last-child {
    border-radius: 0 8px 0 0;
}

.data-table td {
    padding: var(--space-4);
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.data-table tr:hover td {
    background: rgba(74, 222, 128, 0.05);
}

.data-table__mono {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 700;
}

/* Service Meta Tags */
.service-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: var(--space-6);
}

.meta-tag {
    font-family: var(--font-text);
    font-size: 0.75rem;
    font-weight: 700;
    padding: var(--space-2) var(--space-3);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.meta-tag--regulation {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: var(--color-crypto);
}

.meta-tag--standard {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: var(--color-defensive);
}

/* Code Blocks */
pre {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    line-height: 1.6;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.08) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-top: 1px solid var(--color-border);
    padding: var(--space-16) 0;
}

.contact-section__title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
}

.contact-section__subtitle {
    font-size: 1.0625rem;
    line-height: 1.7;
}

/* ========================================
   DESIGN REFINEMENTS - READABILITY & CONSISTENCY
   ======================================== */

/* Global Text Justification */
body {
    text-rendering: optimizeLegibility;
}

.prose p,
.content-intro__lead,
.content-intro__body,
.content-block__text,
.page-hero__subtitle,
.hero__description,
.service-card__description,
.feature-item__description,
.callout__content p,
.compliance-banner__text {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}

/* Squared Buttons - Remove all border-radius */
.btn,
.btn--primary,
.btn--secondary,
.btn--ghost,
.nav__client-btn,
button,
input[type="submit"],
.cta-button {
    border-radius: 0 !important;
}

/* Consistent Margins - 4rem section spacing */
.section {
    padding: 4rem 0;
}

.section--tight {
    padding: 2rem 0;
}

.container {
    padding-left: 2rem;
    padding-right: 2rem;
}

@media (min-width: 768px) {
    .container {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

@media (min-width: 1200px) {
    .container {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

/* Enhanced Contrast */
:root {
    --color-text-primary: #ffffff;
    --color-text-secondary: #e8eaed;
    --color-text-muted: #b0b5bd;
    --color-bg-primary: #080c14;
    --color-bg-secondary: #0d1220;
    --color-bg-tertiary: #151d2e;
}

/* Navigation Dropdown Icons - Replace dots with SVGs */
.nav__dropdown-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav__dropdown-icon svg {
    width: 16px;
    height: 16px;
    stroke-width: 1.5;
}

.nav__dropdown-indicator {
    display: none; /* Hide the color dots */
}

.nav__dropdown-item {
    padding: 0.75rem 1rem;
    border-radius: 0;
    border-left: 2px solid transparent;
    transition: all 0.15s ease;
}

.nav__dropdown-item:hover {
    border-left-color: currentColor;
    background: rgba(255, 255, 255, 0.03);
}

.nav__dropdown-menu {
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-width: 240px;
}

/* Service Cards - Squared and consistent */
.service-card {
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: var(--color-bg-secondary);
    padding: 2rem;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.service-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: var(--color-bg-tertiary);
}

.service-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 0;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card__icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.5;
}

.service-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.service-card__tag {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.375rem 0.625rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    color: var(--color-text-muted);
}

/* Feature Items - Squared */
.feature-item {
    border-radius: 0;
}

.feature-item__icon {
    border-radius: 0;
}

/* Diagram Containers - Squared */
.diagram-container {
    border-radius: 0;
}

/* Callouts and Banners - Squared */
.callout,
.compliance-banner,
.regulation-callout {
    border-radius: 0;
}

/* Form Elements - Squared */
input,
textarea,
select {
    border-radius: 0 !important;
}

/* Paper Items - Squared */
.paper-item {
    border-radius: 0;
}

.paper-item__venue {
    border-radius: 0;
}

/* Stat Items - Squared */
.stat-item,
.stat-clean {
    border-radius: 0;
}

/* Hero Badge - Squared */
.hero-cloudflare__badge,
.page-hero__badge {
    border-radius: 0;
}

/* Meta Tags - Squared */
.meta-tag {
    border-radius: 0;
}

/* Data Tables - Better contrast */
.data-table th {
    background: var(--color-bg-tertiary);
    border-bottom: 2px solid var(--color-accent);
    font-weight: 700;
    color: var(--color-text-primary);
}

.data-table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.data-table tr:hover td {
    background: rgba(74, 222, 128, 0.03);
}

/* Improved Link Contrast */
a:not(.btn):not(.nav__link):not(.service-card) {
    color: var(--color-accent);
    transition: opacity 0.15s ease;
}

a:not(.btn):not(.nav__link):not(.service-card):hover {
    opacity: 0.8;
}

/* Code blocks - Squared */
pre,
code {
    border-radius: 0;
}

/* Cards Grid Consistent Gaps */
.data-grid {
    gap: 1.5rem;
}

.feature-grid {
    gap: 1.5rem;
}

/* Consistent Section Backgrounds */
.section--alt {
    background: var(--color-bg-secondary);
}

/* Footer Squared Elements */
.footer {
    border-radius: 0;
}

/* Client Modal - Squared */
.modal__content {
    border-radius: 0;
}

.modal__close {
    border-radius: 0;
}

/* Contact Form - Squared */
.contact-form input,
.contact-form textarea,
.contact-form select,
.contact-form button {
    border-radius: 0;
}

/* ========================================
   PARAGRAPH SPACING - IMPROVED READABILITY
   ======================================== */

/* Increased paragraph margins */
p {
    margin-bottom: 1.5rem;
}

.prose p,
.content-intro__body,
.content-block__text,
.vuln-prose p {
    margin-bottom: 2rem;
}

.prose p:last-child,
.vuln-prose p:last-child {
    margin-bottom: 0;
}

/* Section content spacing */
.section p + p {
    margin-top: 1.75rem;
}

/* Card and callout paragraph spacing */
.service-card__description,
.feature-item__description,
.callout__content p {
    margin-bottom: 1.25rem;
    line-height: 1.85;
}

/* Hero and lead text spacing */
.hero__description,
.page-hero__subtitle,
.hero-cloudflare__subtitle {
    margin-bottom: 2rem;
    line-height: 1.9;
}

/* ========================================
   FIX: Make dropdown parent links clickable
   ======================================== */
.nav__dropdown-toggle {
    pointer-events: auto !important;
    cursor: pointer !important;
}

.nav__dropdown-menu {
    pointer-events: auto;
}

/* Ensure the link itself is above the dropdown trigger area */
.nav__dropdown > a.nav__dropdown-toggle {
    position: relative;
    z-index: 10;
}


breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  padding-top: 50px;
}

.contact-section {
  padding: 20px;
}

.solution-card {
  margin-top: 50px;
}

/* ========================================
   BRAND ICON SYSTEM
   ======================================== */
.brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
}

.brand-icon img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.brand-icon--trust {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-4);
    border-radius: 50%;
    background: rgba(74, 222, 128, 0.05);
    border: 1px solid rgba(74, 222, 128, 0.12);
    box-shadow: 0 0 0 8px rgba(74, 222, 128, 0.03);
    transition: all 0.3s ease;
}

.brand-icon--trust img {
    width: 52px;
    height: 52px;
}

.trust-item:hover .brand-icon--trust {
    background: rgba(74, 222, 128, 0.08);
    border-color: rgba(74, 222, 128, 0.25);
    box-shadow: 0 0 0 8px rgba(74, 222, 128, 0.06), 0 0 24px rgba(74, 222, 128, 0.12);
}

/* Pillar card brand icon glow container */
.pillar-card .brand-icon {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    background: rgba(74, 222, 128, 0.06);
    border: 1px solid rgba(74, 222, 128, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.pillar-card--crypto .brand-icon {
    background: rgba(239, 68, 68, 0.06);
    border-color: rgba(239, 68, 68, 0.1);
}

.pillar-card--offensive .brand-icon {
    background: rgba(245, 158, 11, 0.06);
    border-color: rgba(245, 158, 11, 0.1);
}

.pillar-card--defensive .brand-icon {
    background: rgba(59, 130, 246, 0.06);
    border-color: rgba(59, 130, 246, 0.1);
}

.pillar-card--research .brand-icon {
    background: rgba(139, 92, 246, 0.06);
    border-color: rgba(139, 92, 246, 0.1);
}

/* Pillar card brand icon hover glow */
.pillar-card:hover .brand-icon {
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.15);
}

.pillar-card--crypto:hover .brand-icon {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.25);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.15);
}

.pillar-card--offensive:hover .brand-icon {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.25);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
}

.pillar-card--defensive:hover .brand-icon {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.25);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
}

.pillar-card--research:hover .brand-icon {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.25);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.15);
}

.pillar-card:hover .brand-icon img {
    transform: scale(1.1);
    filter: drop-shadow(0 0 12px rgba(74, 222, 128, 0.4));
}

/* Trust item icon hover */
.trust-item:hover .brand-icon img {
    transform: scale(1.1) translateY(-2px);
    filter: drop-shadow(0 0 10px rgba(74, 222, 128, 0.35));
}

/* Differentiator brand icon */
.differentiator .brand-icon {
    margin-bottom: var(--space-4);
}

.differentiator .brand-icon img {
    width: 48px;
    height: 48px;
}

.differentiator:hover .brand-icon img {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(74, 222, 128, 0.3));
}

/* ========================================
   HERO ENHANCEMENTS
   ======================================== */
.hero--with-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(74, 222, 128, 0.08) 0%, transparent 70%);
    pointer-events: none;
    animation: hero-glow 6s ease-in-out infinite alternate;
}

@keyframes hero-glow {
    0% { opacity: 0.5; transform: translateX(-50%) scale(0.9); }
    100% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

.hero__headline {
    font-size: 3.25rem;
}

.hero__accent-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), rgba(74, 222, 128, 0.3));
    margin: var(--space-6) 0;
}

.hero__actions {
    margin-top: var(--space-8);
}

.hero__cta {
    display: inline-block;
    padding: var(--space-4) var(--space-8);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.hero__cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

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

.hero__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(74, 222, 128, 0.3);
}

/* ========================================
   PILLAR CARD ENHANCEMENTS
   ======================================== */
.pillar-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 0%), rgba(74, 222, 128, 0.06) 0%, transparent 60%);
    opacity: var(--glow-opacity, 0);
    transition: opacity 0.3s ease;
}

.pillar-card:hover::before {
    opacity: var(--glow-opacity, 1);
}

.pillar-card:hover {
    border-color: rgba(74, 222, 128, 0.3);
    box-shadow:
        0 2px 8px rgba(74, 222, 128, 0.04),
        0 8px 32px rgba(74, 222, 128, 0.08),
        0 0 0 1px rgba(74, 222, 128, 0.1);
    transform: translateY(-4px);
}

/* Color-specific hover glows */
.pillar-card--crypto:hover {
    border-color: rgba(239, 68, 68, 0.3);
    box-shadow:
        0 2px 8px rgba(239, 68, 68, 0.04),
        0 8px 32px rgba(239, 68, 68, 0.08),
        0 0 0 1px rgba(239, 68, 68, 0.1);
}

.pillar-card--offensive:hover {
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow:
        0 2px 8px rgba(245, 158, 11, 0.04),
        0 8px 32px rgba(245, 158, 11, 0.08),
        0 0 0 1px rgba(245, 158, 11, 0.1);
}

.pillar-card--defensive:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow:
        0 2px 8px rgba(59, 130, 246, 0.04),
        0 8px 32px rgba(59, 130, 246, 0.08),
        0 0 0 1px rgba(59, 130, 246, 0.1);
}

.pillar-card--research:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow:
        0 2px 8px rgba(139, 92, 246, 0.04),
        0 8px 32px rgba(139, 92, 246, 0.08),
        0 0 0 1px rgba(139, 92, 246, 0.1);
}

/* ========================================
   IMAGE CARDS GRID & ENHANCEMENTS
   ======================================== */
.image-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
}

.image-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.image-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.2),
        0 16px 48px rgba(0, 0, 0, 0.4);
}

.image-card:hover img {
    transform: scale(1.08);
}

.image-card__overlay {
    background: linear-gradient(180deg, transparent 0%, transparent 30%, rgba(10, 15, 26, 0.95) 100%);
}

/* ========================================
   SECTION HEADER (Approach)
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.section-header__title {
    color: var(--color-text-primary);
    font-size: 2rem;
    margin-bottom: var(--space-4);
}

.section-header__subtitle {
    color: var(--color-text-muted);
    max-width: 60ch;
    margin: 0 auto;
}

/* ========================================
   DIFFERENTIATOR CARD GRID
   ======================================== */
.differentiators {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.differentiator {
    background: rgba(31, 41, 55, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid var(--color-border);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--space-8);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.differentiator .brand-icon {
    justify-content: center;
    margin: 0 auto var(--space-6);
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: rgba(74, 222, 128, 0.06);
    border: 1px solid rgba(74, 222, 128, 0.1);
    transition: all 0.3s ease;
}

.differentiator .brand-icon img {
    width: 44px;
    height: 44px;
}

.differentiator__title {
    margin-bottom: var(--space-3);
}

.differentiator__text {
    text-align: left;
}

.differentiator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.differentiator:hover {
    transform: translateY(-4px);
    border-color: rgba(74, 222, 128, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

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

.differentiator:hover .brand-icon {
    background: rgba(74, 222, 128, 0.1);
    border-color: rgba(74, 222, 128, 0.25);
    box-shadow: 0 0 16px rgba(74, 222, 128, 0.12);
}

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

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

    .differentiator {
        text-align: left;
    }

    .differentiator .brand-icon {
        margin: 0 0 var(--space-6);
    }
}

/* ========================================
   FLOATING SHAPES ENHANCEMENT
   ======================================== */
.floating-shape {
    opacity: 0.15;
}

.floating-shape--1 {
    width: 500px;
    height: 500px;
    animation-duration: 25s;
}

.floating-shape--2 {
    width: 350px;
    height: 350px;
    animation-duration: 22s;
}

.floating-shape--3 {
    width: 250px;
    height: 250px;
    animation-duration: 18s;
}

/* ========================================
   SCROLL FADE-IN ANIMATIONS
   ======================================== */
.scroll-fade {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-fade.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children with delay */
.pillars-grid .scroll-fade:nth-child(1) { transition-delay: 0s; }
.pillars-grid .scroll-fade:nth-child(2) { transition-delay: 0.1s; }
.pillars-grid .scroll-fade:nth-child(3) { transition-delay: 0.2s; }
.pillars-grid .scroll-fade:nth-child(4) { transition-delay: 0.3s; }

.trust-grid .scroll-fade:nth-child(1) { transition-delay: 0s; }
.trust-grid .scroll-fade:nth-child(2) { transition-delay: 0.1s; }
.trust-grid .scroll-fade:nth-child(3) { transition-delay: 0.2s; }
.trust-grid .scroll-fade:nth-child(4) { transition-delay: 0.3s; }

.differentiators .scroll-fade:nth-child(1) { transition-delay: 0s; }
.differentiators .scroll-fade:nth-child(2) { transition-delay: 0.1s; }
.differentiators .scroll-fade:nth-child(3) { transition-delay: 0.2s; }

.image-cards-grid .scroll-fade:nth-child(1) { transition-delay: 0s; }
.image-cards-grid .scroll-fade:nth-child(2) { transition-delay: 0.15s; }
.image-cards-grid .scroll-fade:nth-child(3) { transition-delay: 0.3s; }

/* Outcome items stagger (child 2+ because child 1 is the title) */
.outcome-list .scroll-fade:nth-child(2) { transition-delay: 0s; }
.outcome-list .scroll-fade:nth-child(3) { transition-delay: 0.08s; }
.outcome-list .scroll-fade:nth-child(4) { transition-delay: 0.16s; }
.outcome-list .scroll-fade:nth-child(5) { transition-delay: 0.24s; }

/* Stat items stagger */
.stats-clean .scroll-fade:nth-child(1) { transition-delay: 0s; }
.stats-clean .scroll-fade:nth-child(2) { transition-delay: 0.1s; }
.stats-clean .scroll-fade:nth-child(3) { transition-delay: 0.2s; }
.stats-clean .scroll-fade:nth-child(4) { transition-delay: 0.3s; }

/* Paper items stagger */
.papers-list .scroll-fade:nth-child(1) { transition-delay: 0s; }
.papers-list .scroll-fade:nth-child(2) { transition-delay: 0.08s; }
.papers-list .scroll-fade:nth-child(3) { transition-delay: 0.16s; }
.papers-list .scroll-fade:nth-child(4) { transition-delay: 0.24s; }
.papers-list .scroll-fade:nth-child(5) { transition-delay: 0.32s; }
.papers-list .scroll-fade:nth-child(6) { transition-delay: 0.4s; }

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .scroll-fade {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .floating-shape {
        animation: none;
    }

    .hero--with-bg::after {
        animation: none;
    }

    @keyframes hero-glow {
        0%, 100% { opacity: 0.7; }
    }
}

/* ========================================
   TRUST ITEM ENHANCEMENTS
   ======================================== */
.trust-item {
    transition: transform 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-4px);
}

/* ========================================
   PHILOSOPHY QUOTE ENHANCEMENT
   ======================================== */
.philosophy-quote {
    position: relative;
}

.philosophy-quote::before {
    content: '\201C';
    position: absolute;
    top: -0.5em;
    left: -0.1em;
    font-size: 4rem;
    color: rgba(74, 222, 128, 0.15);
    font-family: var(--font-display);
    line-height: 1;
    pointer-events: none;
}

/* ========================================
   FOOTER LOGO ADJUSTMENT
   ======================================== */
.footer__logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* ========================================
   RESPONSIVE ADDITIONS
   ======================================== */
@media (max-width: 768px) {
    .hero__headline {
        font-size: 2.25rem;
    }

    .hero--with-bg::after {
        width: 300px;
        height: 300px;
    }

    .brand-icon img {
        width: 48px;
        height: 48px;
    }

    .brand-icon--trust img {
        width: 52px;
        height: 52px;
    }

    .image-cards-grid {
        grid-template-columns: 1fr;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }

    .brand-icon--trust {
        width: 64px;
        height: 64px;
        box-shadow: 0 0 0 6px rgba(74, 222, 128, 0.03);
    }

    .brand-icon--trust img {
        width: 44px;
        height: 44px;
    }

    .trust-item {
        padding: var(--space-4);
    }

    .philosophy-quote {
        font-size: 1.25rem;
    }

    .philosophy-quote::before {
        font-size: 3rem;
    }
}

@media (max-width: 375px) {
    .hero__headline {
        font-size: 1.75rem;
    }

    .brand-icon img {
        width: 40px;
        height: 40px;
    }

    .trust-item__label {
        font-size: 0.75rem;
    }
}

/* ========================================
   SOLUTION CARD SYSTEM
   ======================================== */

/* Per-card glow color variables */
#financial  { --card-glow: 16, 185, 129; }
#healthcare { --card-glow: 6, 182, 212; }
#government { --card-glow: 99, 102, 241; }
#critical   { --card-glow: 244, 63, 94; }
#technology { --card-glow: 168, 85, 247; }

.solution-card {
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid var(--color-border);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 4px solid;
    padding: var(--space-8);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.solution-card:hover {
    transform: translateY(-2px);
    box-shadow:
        0 2px 8px rgba(var(--card-glow, 74, 222, 128), 0.06),
        0 12px 40px rgba(var(--card-glow, 74, 222, 128), 0.12),
        0 0 0 1px rgba(var(--card-glow, 74, 222, 128), 0.08);
}

.solution-card__header {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.solution-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.solution-card__icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.solution-card__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: var(--space-1);
}

.solution-card__tagline {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.solution-card__intro {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.85;
    margin-bottom: var(--space-6);
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}

/* Compliance Tags */
.compliance-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-8);
}

.compliance-tag {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: var(--space-2) var(--space-3);
    border: 1px solid rgba(var(--card-glow, 74, 222, 128), 0.2);
    color: var(--color-text-muted);
    transition: all 0.2s ease;
}

.compliance-tag:hover {
    border-color: rgba(var(--card-glow, 74, 222, 128), 0.6);
    color: rgb(var(--card-glow, 74, 222, 128));
    background: rgba(var(--card-glow, 74, 222, 128), 0.06);
}

/* Value Grid */
.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.value-item {
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    padding: var(--space-4);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.value-item:hover {
    border-color: rgba(var(--card-glow, 74, 222, 128), 0.3);
    box-shadow: 0 0 12px rgba(var(--card-glow, 74, 222, 128), 0.06);
}

.value-item__metric {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-2);
    line-height: 1;
}

.value-item__title {
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: var(--space-2);
}

.value-item__desc {
    font-size: 0.75rem;
    color: var(--color-text-subtle);
    line-height: 1.6;
}

/* Outcome List */
.outcome-list {
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-6);
}

.outcome-list__title {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-faint);
    margin-bottom: var(--space-4);
}

.outcome-item {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    padding: var(--space-3) 0 var(--space-3) var(--space-4);
    border-left: 2px solid var(--color-border);
    margin-bottom: var(--space-2);
    position: relative;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.outcome-item::before {
    content: '>';
    position: absolute;
    left: calc(-0.5ch - 1px);
    color: var(--color-text-faint);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    background: var(--color-bg-secondary);
    padding: 0 2px;
    transition: color 0.2s ease;
}

.outcome-item:hover {
    border-left-color: rgb(var(--card-glow, 74, 222, 128));
    color: var(--color-text-secondary);
}

.outcome-item:hover::before {
    color: rgb(var(--card-glow, 74, 222, 128));
}

/* Solution Card Cross-Links */
.solution-card__links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-3);
    margin-top: var(--space-6);
    padding-top: var(--space-6);
    border-top: 1px solid var(--color-border);
}

.solution-card__links-title {
    grid-column: 1 / -1;
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-faint);
    margin-bottom: var(--space-2);
}

.solution-link {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3);
    border: 1px solid var(--color-border);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: all 0.2s ease;
}

.solution-link:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: rgba(74, 222, 128, 0.04);
}

.solution-link svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}

/* ========================================
   INDUSTRY NAVIGATION TABS
   ======================================== */
.industry-nav {
    position: sticky;
    top: var(--nav-height);
    z-index: 100;
    background: rgba(8, 12, 20, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: var(--space-8);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.industry-nav::-webkit-scrollbar {
    display: none;
}

.industry-nav__inner {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-3) var(--space-8);
    white-space: nowrap;
}

.industry-nav__tab {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-text-subtle);
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    text-decoration: none;
}

.industry-nav__tab:hover {
    color: var(--color-text-primary);
    border-bottom-color: var(--color-text-faint);
}

.industry-nav__tab img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.industry-nav__tab:hover img {
    opacity: 1;
}

/* ========================================
   SOLUTIONS CTA SECTION
   ======================================== */
.cta-section {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-top: 4px solid transparent;
    border-image: linear-gradient(90deg, #10b981, #06b6d4, #6366f1, #f43f5e, #a855f7) 1;
    border-image-slice: 1;
    padding: var(--space-12);
    text-align: center;
    margin: var(--space-12) 0;
}

.cta-section__title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: var(--space-4);
}

.cta-section__subtitle {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-8);
    max-width: 50ch;
    margin-left: auto;
    margin-right: auto;
}

.cta-section__actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   EDGE PAGE — WORLD MAP ENHANCEMENTS
   ======================================== */

/* Show map with horizontal scroll on mobile */
.world-map-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.world-map {
    display: block;
    min-width: 600px;
    width: 100%;
    height: auto;
}

/* Graticule grid lines */
.world-map .graticule {
    stroke: rgba(255, 255, 255, 0.04);
    stroke-width: 0.5;
    fill: none;
}

/* PoP Tooltips (pure CSS) */
.pop-group {
    cursor: pointer;
}

.pop-tooltip {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

.pop-group:hover .pop-tooltip {
    opacity: 1;
}

.pop-tooltip rect {
    fill: rgba(8, 12, 20, 0.92);
    stroke: var(--color-accent);
    stroke-width: 0.5;
    rx: 3;
}

.pop-tooltip text {
    font-family: var(--font-mono);
    fill: var(--color-text-primary);
}

.pop-tooltip .tooltip-latency {
    fill: var(--color-accent);
}

/* ========================================
   EDGE PAGE — REGIONAL METRICS
   ======================================== */
.region-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
    margin: var(--space-8) 0;
}

.region-metric {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    padding: var(--space-6);
    transition: border-color 0.2s ease;
}

.region-metric:hover {
    border-color: rgba(74, 222, 128, 0.25);
}

.region-metric__region {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-4);
}

.region-metric__stats {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.region-metric__stat {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 0.8125rem;
}

.region-metric__label {
    color: var(--color-text-subtle);
}

.region-metric__value {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--color-text-primary);
}

/* ========================================
   EDGE PAGE — SECTION HEADER WITH BRAND ICON
   ======================================== */
.content-section__header {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-2);
}

.brand-icon--section {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

/* ========================================
   EDGE PAGE — PIPELINE DIAGRAM
   ======================================== */
.pipeline-diagram {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    padding: var(--space-6);
    margin: var(--space-8) 0;
    overflow-x: auto;
}

.pipeline-diagram__title {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-faint);
    margin-bottom: var(--space-4);
    text-align: center;
}

.pipeline-diagram svg {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

.pipeline-diagram .stage-box {
    stroke-width: 1.5;
    rx: 4;
}

.pipeline-diagram .stage-label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    fill: var(--color-text-primary);
    text-anchor: middle;
}

.pipeline-diagram .stage-desc {
    font-family: var(--font-text);
    font-size: 9px;
    fill: var(--color-text-muted);
    text-anchor: middle;
}

.pipeline-diagram .stage-latency {
    font-family: var(--font-mono);
    font-size: 9px;
    fill: var(--color-accent);
    text-anchor: middle;
}

.pipeline-diagram .arrow-line {
    stroke: var(--color-text-faint);
    stroke-width: 1.5;
    fill: none;
    marker-end: url(style.css%3Fv=1.0.0.css);
}

/* ========================================
   EDGE PAGE — RELATED SERVICES
   ======================================== */
.related-services {
    margin: var(--space-12) 0;
}

.related-services__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: var(--space-6);
}

.related-services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
}

.related-service-card {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    padding: var(--space-6);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    text-decoration: none;
}

.related-service-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(74, 222, 128, 0.08);
}

.related-service-card__icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.related-service-card__title {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.related-service-card__desc {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ========================================
   EDGE PAGE — IMAGE VISUALS
   ======================================== */
.edge-visuals {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-4);
    margin: var(--space-8) 0;
}

.edge-visuals .image-card {
    aspect-ratio: auto;
}

.edge-visuals .image-card:first-child {
    aspect-ratio: 21/9;
}

.edge-visuals .image-card:last-child {
    aspect-ratio: 9/16;
}

/* ========================================
   RESPONSIVE — SOLUTIONS & EDGE
   ======================================== */
@media (max-width: 1024px) {
    .value-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .solution-card__links {
        grid-template-columns: repeat(2, 1fr);
    }

    .region-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .edge-visuals {
        grid-template-columns: 1fr;
    }

    .edge-visuals .image-card:first-child,
    .edge-visuals .image-card:last-child {
        aspect-ratio: 16/9;
    }
}

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

    .solution-card__links {
        grid-template-columns: 1fr;
    }

    .industry-nav__inner {
        padding: var(--space-2) var(--space-4);
    }

    .region-metrics {
        grid-template-columns: 1fr;
    }

    .related-services__grid {
        grid-template-columns: 1fr;
    }

    .cta-section {
        padding: var(--space-8);
    }

    .cta-section__title {
        font-size: 1.375rem;
    }
}

/* ========================================
   REDUCED MOTION — SOLUTIONS & EDGE
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    .solution-card,
    .solution-link,
    .compliance-tag,
    .value-item,
    .outcome-item,
    .related-service-card,
    .region-metric,
    .industry-nav__tab {
        transition: none;
    }

    .world-map .fiber-line--active {
        animation: none;
        stroke-opacity: 0.6;
    }

    .world-map circle[fill="#4ade80"] animateMotion {
        display: none;
    }

    .pop-tooltip {
        transition: none;
    }
}

/* ========================================
   ENHANCEMENT 1: NOISE TEXTURE OVERLAY
   ======================================== */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.035;
    mix-blend-mode: overlay;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

/* ========================================
   ENHANCEMENT 2: SCROLL-TRIGGERED HEADER LINES
   ======================================== */
.section-header__title {
    position: relative;
    display: inline-block;
}

.section-header__title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), rgba(74, 222, 128, 0.2));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.8s ease-out;
}

.is-visible .section-header__title::after,
.section-header.is-visible .section-header__title::after,
.scroll-fade.is-visible .section-header__title::after {
    transform: scaleX(1);
}

/* ========================================
   ENHANCEMENT 3: STAGGERED HERO TEXT REVEAL
   ======================================== */
.hero__headline,
.hero__accent-line,
.hero__subhead,
.hero__statement,
.hero__actions {
    clip-path: inset(100% 0 0 0);
    opacity: 0;
    transform: translateY(20px);
    transition: clip-path 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero--loaded .hero__headline {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
}

.hero--loaded .hero__accent-line {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
}

.hero--loaded .hero__subhead {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.hero--loaded .hero__statement {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.45s;
}

.hero--loaded .hero__actions {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

/* ========================================
   ENHANCEMENT 4: INPUT FOCUS ANIMATIONS
   ======================================== */
.form-group {
    position: relative;
}

.form-group::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s ease, left 0.3s ease;
}

.form-group:focus-within::after {
    width: 100%;
    left: 0;
}

.form-group:focus-within label {
    color: var(--color-accent);
    transition: color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.1), 0 0 20px rgba(74, 222, 128, 0.05);
}

/* ========================================
   ENHANCEMENT 5: ANIMATED GRADIENT BORDERS
   ======================================== */
@property --border-angle {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

@keyframes rotate-border {
    to { --border-angle: 360deg; }
}

.solution-card {
    border-image: none;
    border-left: 4px solid;
    border-left-color: rgba(var(--card-glow, 74, 222, 128), 0.6);
    background-origin: border-box;
}

.solution-card:hover {
    border-left-color: rgb(var(--card-glow, 74, 222, 128));
}

.cta-section {
    animation: rotate-border 6s linear infinite;
    border-image: conic-gradient(from var(--border-angle), #10b981, #06b6d4, #6366f1, #f43f5e, #a855f7, #10b981) 1;
}

/* ========================================
   ENHANCEMENT 6: PAGE TRANSITIONS (VIEW TRANSITIONS API)
   ======================================== */
@view-transition {
    navigation: auto;
}

::view-transition-old(root) {
    animation: 0.2s ease-out both fade-out;
}

::view-transition-new(root) {
    animation: 0.2s ease-in both fade-in;
}

@keyframes fade-out {
    from { opacity: 1; }
    to   { opacity: 0; }
}

@keyframes fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ========================================
   ENHANCEMENT 7: SCROLL PROGRESS INDICATOR
   ======================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent-dark), var(--color-accent), var(--color-accent-bright));
    z-index: 1001;
    pointer-events: none;
    transition: none;
}

/* ========================================
   ENHANCEMENT 8: PARALLAX HERO (CSS portion)
   Already handled by inline edit to .hero--with-bg::before
   ======================================== */

/* ========================================
   ENHANCEMENT 9: ANIMATED STAT COUNTERS
   ======================================== */
.stat-item__value,
.value-item__metric,
.region-metric__value {
    font-variant-numeric: tabular-nums;
}

/* ========================================
   ENHANCEMENT 10: CURSOR-REACTIVE CARD GLOW
   ======================================== */
.solution-card,
.service-card {
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(var(--card-glow, 74, 222, 128), 0.08) 0%, transparent 60%);
    opacity: var(--glow-opacity, 0);
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(74, 222, 128, 0.06) 0%, transparent 60%);
    opacity: var(--glow-opacity, 0);
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

.differentiator::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(74, 222, 128, 0.06) 0%, transparent 60%);
    opacity: var(--glow-opacity, 0);
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

/* ========================================
   ENHANCEMENT 11: SVG LINE-DRAW ANIMATIONS
   ======================================== */
.fiber-line--draw {
    stroke-dasharray: var(--path-length);
    stroke-dashoffset: var(--path-length);
    transition: stroke-dashoffset 1.5s ease-out;
}

.fiber-line--draw.fiber-line--visible {
    stroke-dashoffset: 0;
}

.fiber-line--draw:nth-child(2) { transition-delay: 0.15s; }
.fiber-line--draw:nth-child(3) { transition-delay: 0.3s; }
.fiber-line--draw:nth-child(4) { transition-delay: 0.45s; }
.fiber-line--draw:nth-child(5) { transition-delay: 0.6s; }
.fiber-line--draw:nth-child(6) { transition-delay: 0.75s; }

.brand-icon img {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.brand-icon--visible img {
    opacity: 1;
    transform: scale(1);
}

/* ========================================
   ENHANCEMENT 12: MAGNETIC BUTTONS
   ======================================== */
.btn--primary {
    transition: background 0.2s ease, transform 0.3s ease, box-shadow 0.2s ease;
}

/* ========================================
   ENHANCEMENT 13: SKELETON LOADING STATES
   ======================================== */
@keyframes skeleton-shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        var(--color-bg-secondary) 25%,
        var(--color-bg-tertiary) 50%,
        var(--color-bg-secondary) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.skeleton--hidden {
    opacity: 0;
    pointer-events: none;
}

/* ========================================
   REDUCED MOTION — NEW ENHANCEMENTS
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    .hero__headline,
    .hero__accent-line,
    .hero__subhead,
    .hero__statement,
    .hero__actions {
        clip-path: none;
        opacity: 1;
        transform: none;
        transition: none;
    }

    .section-header__title::after {
        transform: scaleX(1);
        transition: none;
    }

    .cta-section {
        animation: none;
    }

    .fiber-line--draw {
        stroke-dashoffset: 0;
        transition: none;
    }

    .brand-icon img {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .skeleton {
        animation: none;
    }

    ::view-transition-old(root),
    ::view-transition-new(root) {
        animation: none;
    }

    .btn--primary {
        transition: background 0.2s ease;
    }

    .nav__link::after,
    .footer__links a::after {
        transition: none;
    }
}

/* ========================================
   CUSTOM SCROLLBAR
   ======================================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-bg-primary); }
::-webkit-scrollbar-thumb {
    background: var(--color-bg-tertiary);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--color-accent-dark); }
html { scrollbar-width: thin; scrollbar-color: var(--color-bg-tertiary) var(--color-bg-primary); }

/* ========================================
   ANIMATED NAV LINK UNDERLINES
   ======================================== */
.nav__link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: var(--space-4);
    right: var(--space-4);
    height: 1px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.3s ease;
}

.nav__link:hover::after,
.nav__link--active::after {
    transform: scaleX(1);
    transform-origin: left center;
}

/* ========================================
   FOOTER LINK UNDERLINES
   ======================================== */
.footer__links a {
    position: relative;
}

.footer__links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.25s ease;
}

.footer__links a:hover::after {
    transform: scaleX(1);
}

/* ========================================
   SELECTION STYLING
   ======================================== */
::selection {
    background: rgba(74, 222, 128, 0.25);
    color: var(--color-text-primary);
}

/* ========================================
   FOCUS-VISIBLE RINGS
   ======================================== */
:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.form-group input:focus-visible,
.form-group textarea:focus-visible,
.form-group select:focus-visible {
    outline: none;
}
