/* ============================================
   Digital Precision Design System
   ============================================ */

:root {
    /* Colors - Digital Precision Palette */
    --royal-navy: #1a237e;
    --royal-navy-dark: #0d1540;
    --royal-navy-light: #283593;
    --electric-gold: #ffd700;
    --electric-gold-light: #ffed4e;
    --electric-gold-dark: #ffb300;
    --bg-white: #ffffff;
    --bg-light: #f5f7fa;
    --bg-gray: #e8ecf1;
    --text-primary: #1a237e;
    --text-secondary: #546e7a;
    --text-light: #90a4ae;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Montserrat', 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ============================================
   Reset & Base Styles
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ============================================
   Navigation
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--bg-gray);
    z-index: 1000;
    padding: var(--spacing-sm) 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-text {
    color: var(--royal-navy);
}

.logo-suffix {
    color: var(--electric-gold);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--royal-navy);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--electric-gold);
    transition: width var(--transition-base);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-portal {
    background: var(--royal-navy);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    font-family: var(--font-primary);
}

.btn-portal:hover {
    background: var(--royal-navy-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 35, 126, 0.3);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: var(--royal-navy);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    z-index: 0;
}

.geometric-pattern {
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, var(--royal-navy) 1px, transparent 1px),
        linear-gradient(-45deg, var(--royal-navy) 1px, transparent 1px);
    background-size: 40px 40px;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--royal-navy);
}

.hero-title .highlight {
    color: var(--electric-gold);
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--electric-gold), transparent);
    opacity: 0.3;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
    display: inline-block;
    font-family: var(--font-primary);
}

.btn-primary {
    background: var(--royal-navy);
    color: white;
}

.btn-primary:hover {
    background: var(--royal-navy-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 35, 126, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--royal-navy);
    border: 2px solid var(--royal-navy);
}

.btn-secondary:hover {
    background: var(--royal-navy);
    color: white;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.network-diagram {
    width: 100%;
    max-width: 400px;
}

.network-svg {
    width: 100%;
    height: auto;
}

.connection-line {
    stroke: var(--royal-navy);
    stroke-width: 2;
    opacity: 0.3;
    animation: pulse 3s ease-in-out infinite;
}

.node {
    fill: var(--royal-navy);
    opacity: 0.6;
    animation: nodePulse 2s ease-in-out infinite;
}

.node-primary {
    fill: url(#goldGradient);
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
}

.node-small {
    opacity: 0.4;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

@keyframes nodePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ============================================
   Framework Section
   ============================================ */

.framework {
    padding: var(--spacing-xl) 0;
    background: var(--bg-white);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--royal-navy);
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.framework-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: var(--spacing-lg);
}

.framework-card {
    background: var(--bg-light);
    padding: var(--spacing-lg);
    border-radius: 8px;
    border: 1px solid var(--bg-gray);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.framework-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--electric-gold);
    transform: scaleY(0);
    transition: transform var(--transition-base);
}

.framework-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(26, 35, 126, 0.1);
}

.framework-card:hover::before {
    transform: scaleY(1);
}

.card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: var(--spacing-md);
    color: var(--royal-navy);
}

.icon-svg {
    width: 100%;
    height: 100%;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--royal-navy);
    margin-bottom: var(--spacing-sm);
}

.card-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.card-description strong {
    color: var(--royal-navy);
    font-weight: 600;
}

.card-features {
    list-style: none;
    padding-left: 0;
}

.card-features li {
    padding: var(--spacing-xs) 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.card-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--electric-gold);
    font-weight: bold;
}

/* ============================================
   Solutions Section
   ============================================ */

.solutions {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

.solution-card {
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: 8px;
    border: 1px solid var(--bg-gray);
    transition: all var(--transition-base);
    position: relative;
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(26, 35, 126, 0.15);
    border-color: var(--electric-gold);
}

.solution-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--electric-gold);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: var(--spacing-sm);
}

.solution-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--royal-navy);
    margin-bottom: var(--spacing-sm);
}

.solution-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.solution-tags {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
}

.tag {
    background: var(--bg-light);
    color: var(--royal-navy);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--bg-gray);
}

/* ============================================
   About Section
   ============================================ */

.about {
    padding: var(--spacing-xl) 0;
    background: var(--bg-white);
}

.about .section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.about-tagline {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--royal-navy);
    margin-top: var(--spacing-sm);
    font-style: italic;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-main {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.about-intro {
    background: var(--bg-light);
    padding: var(--spacing-lg);
    border-radius: 8px;
    border-left: 4px solid var(--electric-gold);
}

.about-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
    font-size: 1.125rem;
}

.about-description:last-child {
    margin-bottom: 0;
}

.about-description strong {
    color: var(--royal-navy);
    font-weight: 600;
}

.about-lead {
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.05) 0%, rgba(255, 215, 0, 0.05) 100%);
    padding: var(--spacing-md);
    border-left: 4px solid var(--electric-gold);
    border-radius: 4px;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--royal-navy);
    margin-bottom: var(--spacing-lg);
}

.about-lead strong {
    color: var(--royal-navy);
    font-weight: 700;
}

.philosophy-section {
    background: var(--bg-light);
    padding: var(--spacing-lg);
    border-radius: 8px;
    border: 1px solid var(--bg-gray);
}

.philosophy-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.philosophy-icon {
    font-size: 2rem;
    line-height: 1;
}

.philosophy-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--royal-navy);
    margin: 0;
}

.philosophy-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
    font-size: 1.125rem;
}

.philosophy-description strong {
    color: var(--royal-navy);
    font-weight: 600;
}

.philosophy-benefits {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.benefit-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--bg-white);
    border-radius: 6px;
    border: 1px solid var(--bg-gray);
    transition: all var(--transition-base);
}

.benefit-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(26, 35, 126, 0.1);
    border-color: var(--electric-gold);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--royal-navy), var(--royal-navy-light));
    border-radius: 6px;
    color: var(--electric-gold);
}

.benefit-icon svg {
    width: 24px;
    height: 24px;
}

.benefit-content {
    flex: 1;
}

.benefit-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--royal-navy);
    margin-bottom: var(--spacing-xs);
}

.benefit-text {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.why-section {
    background: linear-gradient(135deg, var(--royal-navy) 0%, var(--royal-navy-dark) 100%);
    padding: var(--spacing-lg);
    border-radius: 8px;
    color: white;
}

.why-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--electric-gold);
}

.why-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
}

.why-description strong {
    color: var(--electric-gold);
    font-weight: 600;
}

.why-tagline {
    font-size: 1.25rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    margin: 0;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.highlight-text {
    color: var(--electric-gold);
    font-weight: 600;
    font-style: italic;
}

/* ============================================
   Diagnostic Engine Section
   ============================================ */

.diagnostic {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
}

.diagnostic-intro {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.8;
    max-width: 800px;
    margin: var(--spacing-md) auto 0;
    font-style: italic;
    text-align: center;
}

.diagnostic-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
    margin-top: var(--spacing-xl);
}

.diagnostic-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.radar-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

#radarChart {
    width: 100%;
    height: auto;
    display: block;
}

.radar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-cta {
    position: absolute;
    bottom: 20px;
    right: 20px;
    pointer-events: all;
}

.btn-sample-report {
    background: var(--royal-navy);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(26, 35, 126, 0.3);
    font-family: var(--font-primary);
}

.btn-sample-report:hover {
    background: var(--royal-navy-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 35, 126, 0.4);
}

.diagnostic-info {
    max-width: 600px;
}

.diagnostic-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--royal-navy);
    margin-bottom: var(--spacing-md);
}

.diagnostic-description {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.125rem;
    margin-bottom: var(--spacing-lg);
}

.dimension-group {
    margin-bottom: var(--spacing-xl);
}

.group-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--electric-gold);
}

.group-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.group-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--royal-navy);
    margin: 0;
}

.group-subtitle {
    font-size: 0.875rem;
    color: var(--text-light);
    font-style: italic;
    margin-left: auto;
}

.dimensions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.dimension-item {
    background: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: 6px;
    border: 1px solid var(--bg-gray);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
}

.dimension-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
    border-color: var(--electric-gold);
}

.dimension-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto var(--spacing-xs);
    color: var(--royal-navy);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dimension-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

.dimension-name {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--royal-navy);
    margin: 0;
    line-height: 1.3;
}

.dimension-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--royal-navy);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 4px;
    font-size: 0.75rem;
    max-width: 250px;
    white-space: normal;
    margin-bottom: var(--spacing-xs);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    pointer-events: none;
    z-index: 10;
    line-height: 1.4;
    text-align: left;
}

.dimension-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--royal-navy);
}

/* ============================================
   Royal Merit Ecosystem Section
   ============================================ */

.merit-ecosystem {
    padding: var(--spacing-xl) 0;
    background: var(--royal-navy-dark);
    color: white;
}

.merit-ecosystem .section-title,
.merit-ecosystem .section-subtitle {
    color: white;
}

.ecosystem-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.ecosystem-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hourglass-container {
    width: 100%;
    max-width: 300px;
}

.hourglass-svg {
    width: 100%;
    height: auto;
}

.particle {
    animation: particleFlow 3s ease-in-out infinite;
}

@keyframes particleFlow {
    0% { opacity: 0; transform: translateY(0); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translateY(100px); }
}

.ecosystem-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.ecosystem-feature {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--spacing-md);
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all var(--transition-base);
}

.ecosystem-feature:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--electric-gold);
    transform: translateX(4px);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-xs);
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--electric-gold);
    margin-bottom: var(--spacing-xs);
}

.feature-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin: 0;
}

/* ============================================
   Governance as a Service Section
   ============================================ */

.gaas {
    padding: var(--spacing-xl) 0;
    background: var(--bg-white);
}

.gaas-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.gaas-phase {
    position: relative;
}

.phase-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--electric-gold);
    margin-bottom: var(--spacing-sm);
    text-align: center;
}

.phase-card {
    background: var(--bg-light);
    padding: var(--spacing-lg);
    border-radius: 8px;
    border: 2px solid var(--bg-gray);
    transition: all var(--transition-base);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.phase-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(26, 35, 126, 0.15);
    border-color: var(--electric-gold);
}

.phase-card.phase-featured {
    border-color: var(--electric-gold);
    background: linear-gradient(135deg, var(--bg-light) 0%, rgba(255, 215, 0, 0.05) 100%);
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: var(--spacing-md);
    background: var(--electric-gold);
    color: var(--royal-navy);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.phase-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--royal-navy);
    margin-bottom: var(--spacing-xs);
}

.phase-type {
    color: var(--electric-gold);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.phase-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    flex: 1;
}

.phase-features {
    list-style: none;
    padding: 0;
    margin-bottom: var(--spacing-md);
}

.phase-features li {
    padding: var(--spacing-xs) 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.phase-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--electric-gold);
    font-weight: bold;
}

.phase-cta {
    margin-top: auto;
}

.btn-phase {
    display: block;
    text-align: center;
    background: var(--royal-navy);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-base);
    font-family: var(--font-primary);
}

.btn-phase:hover {
    background: var(--royal-navy-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 35, 126, 0.3);
}

.gaas-compliance {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--electric-gold);
}

.compliance-text {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.875rem;
}

.compliance-text strong {
    color: var(--royal-navy);
    font-weight: 600;
}

/* ============================================
   Insights Section
   ============================================ */

.insights {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.insight-card {
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: 8px;
    border: 1px solid var(--bg-gray);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.insight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(26, 35, 126, 0.1);
    border-color: var(--electric-gold);
}

.insight-category {
    display: inline-block;
    background: var(--royal-navy);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.insight-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--royal-navy);
    margin-bottom: var(--spacing-md);
    line-height: 1.4;
}

.insight-excerpt {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    flex: 1;
}

.insight-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--bg-gray);
}

.insight-date {
    color: var(--text-light);
    font-size: 0.875rem;
}

.insight-link {
    color: var(--royal-navy);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.insight-link:hover {
    color: var(--electric-gold);
}

.insights-cta {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--bg-white);
    border-radius: 8px;
}

.insights-note {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

/* ============================================
   Contact Section
   ============================================ */

.contact {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
    text-align: center;
}

.contact-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    font-size: 1.125rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.contact-item {
    text-align: center;
}

.contact-label {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-xs);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-value {
    color: var(--royal-navy);
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-value:hover {
    color: var(--electric-gold);
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--royal-navy-dark);
    color: white;
    padding: var(--spacing-lg) 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-brand .logo-text {
    color: white;
}

.footer-brand .logo-suffix {
    color: var(--electric-gold);
}

.footer-verified {
    margin-top: var(--spacing-xs);
}

.verified-badge {
    display: inline-block;
    background: rgba(255, 215, 0, 0.2);
    color: var(--electric-gold);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.footer-info {
    text-align: right;
}

.footer-brand-statement {
    margin-bottom: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-brand-statement strong {
    color: var(--electric-gold);
    font-weight: 600;
}

.footer-copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
    font-weight: 400;
}

.footer-copyright strong {
    color: var(--electric-gold);
    font-weight: 600;
}

.footer-location {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-xs);
    line-height: 1.6;
}

.footer-operator {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
    font-style: italic;
}

.footer-operator strong {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
}

/* ============================================
   Modal (Portal)
   ============================================ */

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: var(--bg-white);
    margin: 10% auto;
    padding: var(--spacing-lg);
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-close {
    color: var(--text-light);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color var(--transition-fast);
}

.modal-close:hover {
    color: var(--royal-navy);
}

.modal-content h2 {
    font-family: var(--font-heading);
    color: var(--royal-navy);
    margin-bottom: var(--spacing-md);
    clear: both;
}

.modal-content p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
}

.modal-content a {
    color: var(--royal-navy);
    text-decoration: none;
    font-weight: 600;
}

.modal-content a:hover {
    color: var(--electric-gold);
}

.modal-note {
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm);
    background: var(--bg-light);
    border-left: 4px solid var(--electric-gold);
    font-weight: 600;
    color: var(--royal-navy);
}

.modal-large {
    max-width: 700px;
}

.sample-report {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
}

.report-header {
    background: var(--royal-navy);
    color: white;
    padding: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.report-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--electric-gold);
}

.report-date {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.report-content {
    padding: var(--spacing-lg);
}

.report-section {
    margin-bottom: var(--spacing-lg);
}

.report-section h3 {
    font-family: var(--font-heading);
    color: var(--royal-navy);
    margin-bottom: var(--spacing-md);
    font-size: 1.25rem;
}

.report-masked {
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: 4px;
}

.mask-line {
    height: 12px;
    background: linear-gradient(90deg, var(--bg-gray) 0%, transparent 100%);
    margin-bottom: var(--spacing-xs);
    border-radius: 2px;
}

.mask-line:nth-child(1) {
    width: 100%;
}

.mask-line:nth-child(2) {
    width: 85%;
}

.mask-line:nth-child(3) {
    width: 90%;
}

.mask-line:nth-child(4) {
    width: 75%;
}

.report-footer {
    padding: var(--spacing-md);
    background: var(--bg-light);
    text-align: center;
}

.report-note {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-md);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .framework-grid {
        grid-template-columns: 1fr;
    }
    
    .diagnostic-content {
        grid-template-columns: 1fr;
    }
    
    .dimensions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .group-header {
        flex-wrap: wrap;
    }
    
    .group-subtitle {
        margin-left: 0;
        width: 100%;
        margin-top: var(--spacing-xs);
    }
    
    .ecosystem-content {
        grid-template-columns: 1fr;
    }
    
    .gaas-timeline {
        grid-template-columns: 1fr;
    }
    
    .insights-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        max-width: 100%;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
    }
    
    .benefit-icon {
        margin: 0 auto;
    }
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: stretch;
        padding: var(--spacing-md);
        gap: var(--spacing-sm);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transform: translateX(-100%);
        transition: transform var(--transition-base);
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateX(0);
    }
    
    .nav-link {
        padding: var(--spacing-sm);
        border-bottom: 1px solid var(--bg-gray);
        width: 100%;
        display: block;
        text-align: left;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .btn-portal {
        width: 100%;
        margin-top: var(--spacing-sm);
        text-align: center;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .diagnostic-title {
        font-size: 1.5rem;
    }
    
    .dimensions-grid {
        grid-template-columns: 1fr;
    }
    
    .group-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .group-subtitle {
        margin-left: 0;
        margin-top: var(--spacing-xs);
    }
    
    .floating-cta {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: var(--spacing-md);
        text-align: center;
    }
    
    .btn-sample-report {
        width: 100%;
    }
    
    .about-tagline {
        font-size: 1.25rem;
    }
    
    .philosophy-title {
        font-size: 1.25rem;
    }
    
    .why-title {
        font-size: 1.5rem;
    }
    
    .why-tagline {
        font-size: 1.125rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    .about-intro,
    .philosophy-section,
    .why-section {
        padding: var(--spacing-md);
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-info {
        text-align: center;
    }
}

/* ============================================
   Legal Pages (Terms & Privacy)
   ============================================ */

.legal-page {
    padding: calc(var(--spacing-xl) + 80px) 0 var(--spacing-xl);
    background: var(--bg-white);
    min-height: 100vh;
}

.legal-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--bg-gray);
}

.legal-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--royal-navy);
    margin-bottom: var(--spacing-sm);
}

.legal-subtitle {
    color: var(--text-light);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--electric-gold);
}

.legal-section-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--royal-navy);
    margin-bottom: var(--spacing-md);
}

.legal-text {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
}

.legal-text:last-child {
    margin-bottom: 0;
}

.legal-text strong {
    color: var(--royal-navy);
    font-weight: 600;
}

.legal-list {
    list-style: none;
    padding-left: 0;
    margin: var(--spacing-md) 0;
}

.legal-list li {
    padding: var(--spacing-xs) 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.8;
}

.legal-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--electric-gold);
    font-weight: bold;
}

.legal-contact {
    background: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: 6px;
    border: 1px solid var(--bg-gray);
    margin-top: var(--spacing-md);
    color: var(--text-secondary);
    line-height: 1.8;
}

.legal-contact strong {
    color: var(--royal-navy);
    font-weight: 600;
}

.legal-contact a {
    color: var(--royal-navy);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.legal-contact a:hover {
    color: var(--electric-gold);
}

.footer-links {
    margin: var(--spacing-md) 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    padding-top: var(--spacing-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color var(--transition-fast);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.footer-link:hover {
    color: var(--electric-gold);
    background: rgba(255, 215, 0, 0.1);
}

.footer-separator {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
    margin: 0 var(--spacing-xs);
}

@media (max-width: 640px) {
    .legal-title {
        font-size: 2rem;
    }
    
    .legal-section {
        padding: var(--spacing-md);
    }
    
    .footer-links {
        justify-content: center;
        margin-top: var(--spacing-md);
        padding-top: var(--spacing-md);
    }
    
    .footer-link {
        display: inline-block;
        margin: 0.25rem;
    }
}

/* ============================================
   Cookie Banner
   ============================================ */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--royal-navy) 0%, var(--royal-navy-dark) 100%);
    color: white;
    padding: var(--spacing-md);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1500;
    display: none;
    border-top: 2px solid var(--electric-gold);
}

.cookie-banner.show {
    display: block;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}

.cookie-link {
    color: var(--electric-gold);
    text-decoration: underline;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.cookie-link:hover {
    color: var(--electric-gold-light);
}

.cookie-accept-btn {
    background: var(--electric-gold);
    color: var(--royal-navy);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    font-family: var(--font-primary);
    font-size: 0.875rem;
    white-space: nowrap;
}

.cookie-accept-btn:hover {
    background: var(--electric-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.legal-subsection-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--royal-navy);
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

@media (max-width: 640px) {
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-accept-btn {
        width: 100%;
    }
}
