/* ============================================
   Tallybase - Main Stylesheet
   ============================================ */

/* --------------------------------------------
   CSS Variables & Design Tokens
   -------------------------------------------- */
:root {
    /* Colors */
    --color-bg: #F8F6F3;
    --color-bg-alt: #EFECE7;
    --color-bg-dark: #1A1917;
    --color-text: #1A1917;
    --color-text-muted: #6B6762;
    --color-text-light: #F8F6F3;
    --color-accent: #2D5A4A;
    --color-accent-light: #3D7A64;
    --color-border: #D4D0C8;
    
    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, sans-serif;
    
    /* Animations */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

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

/* --------------------------------------------
   Page Transitions
   -------------------------------------------- */
body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    font-weight: 300;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    opacity: 0;
    animation: pageLoad 0.6s var(--ease-out) forwards;
}

@keyframes pageLoad {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

body.page-transitioning {
    opacity: 0;
    transition: opacity 0.3s var(--ease-out);
}

::selection {
    background: var(--color-accent);
    color: var(--color-text-light);
}

/* --------------------------------------------
   Typography
   -------------------------------------------- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(3rem, 8vw, 6.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
    font-size: 1.0625rem;
    max-width: 65ch;
}

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

/* --------------------------------------------
   Layout
   -------------------------------------------- */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
}

section {
    padding: clamp(5rem, 12vh, 10rem) 0;
}

/* --------------------------------------------
   Navigation
   -------------------------------------------- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    background: transparent;
    transition: all 0.5s var(--ease-out);
}

nav.scrolled {
    background: rgba(248, 246, 243, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    position: relative;
    padding: 0.25rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width 0.4s var(--ease-out);
}

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

.nav-cta {
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 0.75rem 1.75rem;
    border: 1px solid var(--color-text);
    transition: all 0.4s var(--ease-out);
}

.nav-cta:hover {
    background: var(--color-text);
    color: var(--color-text-light);
}

/* Mobile Navigation */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-nav-toggle span {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--color-text);
    margin: 6px 0;
    transition: all 0.3s var(--ease-out);
}

/* --------------------------------------------
   Hero Section
   -------------------------------------------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 6rem;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(45, 90, 74, 0.06) 0%, transparent 60%);
    animation: pulse 12s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
}

.hero-content {
    position: relative;
}

.hero-eyebrow {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-out) 0.2s forwards;
}

.hero h1 {
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s var(--ease-out) 0.4s forwards;
}

.hero h1 em {
    font-style: italic;
    color: var(--color-accent);
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    max-width: 48ch;
    margin-bottom: 3.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s var(--ease-out) 0.6s forwards;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9375rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-accent);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s var(--ease-out) 0.8s forwards;
    transition: gap 0.4s var(--ease-out);
}

.hero-cta:hover {
    gap: 1.5rem;
}

.hero-cta svg {
    width: 24px;
    transition: transform 0.4s var(--ease-out);
}

.hero-cta:hover svg {
    transform: translateX(4px);
}

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

.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    animation: fadeUp 1s var(--ease-out) 1.2s forwards;
}

.hero-scroll span {
    font-size: 0.6875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-border), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: var(--color-accent);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(400%); }
}

/* Voice Waveform Visualization */
.hero-visual {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: fadeUp 1.2s var(--ease-out) 0.6s forwards;
}

.waveform-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.waveform-svg {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.wave-path {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wave-1 {
    stroke: url(#waveGradient1);
    stroke-width: 3;
    animation: waveFlow1 8s ease-in-out infinite;
}

.wave-2 {
    stroke: url(#waveGradient2);
    stroke-width: 2.5;
    animation: waveFlow2 10s ease-in-out infinite;
}

.wave-3 {
    stroke: url(#waveGradient3);
    stroke-width: 2;
    animation: waveFlow3 12s ease-in-out infinite;
}

.wave-4 {
    stroke: url(#waveGradient4);
    stroke-width: 1.5;
    animation: waveFlow4 9s ease-in-out infinite;
}

.wave-5 {
    stroke: url(#waveGradient5);
    stroke-width: 1;
    animation: waveFlow5 11s ease-in-out infinite;
}

@keyframes waveFlow1 {
    0%, 100% { 
        d: path("M0,250 Q80,180 160,250 T320,250 T480,250 T640,250");
        opacity: 0.9;
    }
    25% { 
        d: path("M0,250 Q80,320 160,250 T320,250 T480,250 T640,250");
    }
    50% { 
        d: path("M0,250 Q80,200 160,280 T320,220 T480,280 T640,250");
        opacity: 1;
    }
    75% { 
        d: path("M0,250 Q80,280 160,220 T320,280 T480,220 T640,250");
    }
}

@keyframes waveFlow2 {
    0%, 100% { 
        d: path("M0,250 Q100,200 200,250 T400,250 T600,250");
        opacity: 0.7;
    }
    33% { 
        d: path("M0,250 Q100,300 200,230 T400,270 T600,250");
    }
    66% { 
        d: path("M0,250 Q100,220 200,280 T400,220 T600,250");
        opacity: 0.85;
    }
}

@keyframes waveFlow3 {
    0%, 100% { 
        d: path("M0,250 Q120,230 240,250 T480,250 T720,250");
        opacity: 0.5;
    }
    50% { 
        d: path("M0,250 Q120,270 240,230 T480,270 T720,250");
        opacity: 0.7;
    }
}

@keyframes waveFlow4 {
    0%, 100% { 
        d: path("M0,250 Q90,260 180,240 T360,260 T540,240 T720,250");
        opacity: 0.4;
    }
    50% { 
        d: path("M0,250 Q90,240 180,260 T360,240 T540,260 T720,250");
        opacity: 0.6;
    }
}

@keyframes waveFlow5 {
    0%, 100% { 
        d: path("M0,250 Q70,245 140,255 T280,245 T420,255 T560,245 T700,250");
        opacity: 0.3;
    }
    50% { 
        d: path("M0,250 Q70,255 140,245 T280,255 T420,245 T560,255 T700,250");
        opacity: 0.5;
    }
}

.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.particle-1 {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    top: 20%;
    right: 25%;
    animation: float1 6s ease-in-out infinite;
    opacity: 0.6;
}

.particle-2 {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    top: 60%;
    right: 15%;
    animation: float2 8s ease-in-out infinite;
    opacity: 0.5;
}

.particle-3 {
    width: 6px;
    height: 6px;
    background: var(--color-accent-light);
    top: 35%;
    right: 10%;
    animation: float3 7s ease-in-out infinite;
    opacity: 0.7;
}

.particle-4 {
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #3D7A64, #5A9A84);
    top: 75%;
    right: 30%;
    animation: float4 9s ease-in-out infinite;
    opacity: 0.4;
}

.particle-5 {
    width: 4px;
    height: 4px;
    background: var(--color-accent);
    top: 15%;
    right: 40%;
    animation: float5 5s ease-in-out infinite;
    opacity: 0.8;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, 30px) scale(1.2); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -20px) scale(0.8); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-15px, -25px); }
}

@keyframes float4 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(25px, 15px) scale(1.1); }
}

@keyframes float5 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10px, 20px); }
}

.glow-orb {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, 
        rgba(61, 122, 100, 0.25) 0%, 
        rgba(45, 90, 74, 0.15) 30%, 
        rgba(45, 90, 74, 0.05) 60%,
        transparent 80%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orbPulse 8s ease-in-out infinite;
    filter: blur(40px);
}

@keyframes orbPulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 1;
    }
}

.ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--color-accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: ringExpand 4s ease-out infinite;
}

.ring-1 { width: 100px; height: 100px; animation-delay: 0s; }
.ring-2 { width: 100px; height: 100px; animation-delay: 1s; }
.ring-3 { width: 100px; height: 100px; animation-delay: 2s; }
.ring-4 { width: 100px; height: 100px; animation-delay: 3s; }

@keyframes ringExpand {
    0% { width: 100px; height: 100px; opacity: 0.4; }
    100% { width: 400px; height: 400px; opacity: 0; }
}

/* Responsive hero */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-visual {
        height: 350px;
        order: -1;
    }
    
    .glow-orb {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .hero-visual {
        height: 280px;
    }
    
    .glow-orb {
        width: 200px;
        height: 200px;
    }
    
    .particle {
        display: none;
    }
}

/* --------------------------------------------
   Proposition Section
   -------------------------------------------- */
.proposition {
    background: var(--color-bg-alt);
    position: relative;
}

.proposition-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.proposition-intro h2 {
    margin-bottom: 2rem;
}

.proposition-intro p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.proposition-pillars {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.pillar {
    padding-left: 2rem;
    border-left: 1px solid var(--color-border);
    transition: border-color 0.4s var(--ease-out);
}

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

.pillar-number {
    font-family: var(--font-display);
    font-size: 0.875rem;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
    display: block;
}

.pillar h3 {
    margin-bottom: 1rem;
    font-size: 1.375rem;
}

.pillar p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

/* --------------------------------------------
   Technology Section
   -------------------------------------------- */
.technology {
    position: relative;
}

.technology-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.technology-header h2 {
    margin-bottom: 1.5rem;
}

.technology-header p {
    color: var(--color-text-muted);
    margin: 0 auto;
}

.tech-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.tech-card {
    background: var(--color-bg-alt);
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s var(--ease-out);
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out);
}

.tech-card:hover {
    transform: translateY(-4px);
}

.tech-card:hover::before {
    transform: scaleX(1);
}

.tech-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 2rem;
    color: var(--color-accent);
}

.tech-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.tech-card p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

/* --------------------------------------------
   Use Cases Section
   -------------------------------------------- */
.use-cases {
    background: var(--color-bg-dark);
    color: var(--color-text-light);
    position: relative;
    overflow: hidden;
}

.use-cases::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(45, 90, 74, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(45, 90, 74, 0.1) 0%, transparent 35%);
    pointer-events: none;
}

.use-cases-header {
    margin-bottom: 5rem;
}

.use-cases-header h2 {
    margin-bottom: 1.5rem;
}

.use-cases-header p {
    color: rgba(248, 246, 243, 0.6);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(248, 246, 243, 0.1);
}

.use-case {
    background: var(--color-bg-dark);
    padding: 3rem;
    position: relative;
    transition: background 0.5s var(--ease-out);
}

.use-case:hover {
    background: rgba(45, 90, 74, 0.15);
}

.use-case-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 1.5rem;
    color: var(--color-accent-light);
}

.use-case h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

.use-case p {
    font-size: 0.9375rem;
    color: rgba(248, 246, 243, 0.6);
    line-height: 1.7;
}

/* --------------------------------------------
   Impact Section
   -------------------------------------------- */
.impact {
    position: relative;
}

.impact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: center;
}

.impact-text h2 {
    margin-bottom: 2rem;
}

.impact-text p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.impact-framework {
    background: var(--color-bg-alt);
    padding: 3.5rem;
    position: relative;
}

.impact-framework::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid var(--color-border);
    transform: translate(12px, 12px);
    pointer-events: none;
}

.framework-title {
    font-family: var(--font-display);
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 2.5rem;
}

.framework-items {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.framework-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.framework-marker {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.framework-item h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.375rem;
}

.framework-item p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* --------------------------------------------
   Standards Alignment
   -------------------------------------------- */
.standards-alignment {
    margin-top: 5rem;
    padding-top: 5rem;
    border-top: 1px solid var(--color-border);
}

.standards-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3.5rem;
    gap: 3rem;
}

.standards-intro {
    max-width: 550px;
}

.standards-intro h3 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.standards-intro p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

.gov-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    flex-shrink: 0;
}

.gov-badge-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gov-badge-icon svg {
    width: 100%;
    height: 100%;
}

.gov-badge-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.gov-badge-label {
    font-size: 0.6875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.gov-badge-title {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-text);
}

.fundamentals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--color-border);
    border: 1px solid var(--color-border);
}

.fundamental {
    background: var(--color-bg);
    padding: 2rem;
    position: relative;
    transition: all 0.4s var(--ease-out);
}

.fundamental:hover {
    background: var(--color-bg-alt);
}

.fundamental::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}

.fundamental:hover::before {
    transform: scaleX(1);
}

.fundamental-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 1.25rem;
    color: var(--color-accent);
}

.fundamental h4 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.fundamental p {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.fundamentals-note {
    margin-top: 2.5rem;
    padding: 1.5rem 2rem;
    background: var(--color-bg-alt);
    border-left: 3px solid var(--color-accent);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.fundamentals-note-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--color-accent);
    margin-top: 0.125rem;
}

.fundamentals-note p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin: 0;
}

.fundamentals-note a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.fundamentals-note a:hover {
    color: var(--color-accent-light);
}

/* --------------------------------------------
   Perspectives Section
   -------------------------------------------- */
.perspectives {
    background: var(--color-bg-alt);
}

.perspectives-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 4rem;
}

.perspectives-header h2 {
    max-width: 500px;
}

.perspectives-link {
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-accent);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: gap 0.4s var(--ease-out);
}

.perspectives-link:hover {
    gap: 1.25rem;
}

.perspectives-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.perspective-card {
    background: var(--color-bg);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.5s var(--ease-out);
}

.perspective-card:hover {
    transform: translateY(-4px);
}

.perspective-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.perspective-card-link:hover h3 {
  text-decoration: underline;
}


.perspective-category {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.perspective-card h3 {
    font-size: 1.375rem;
    line-height: 1.35;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.perspective-meta {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

/* --------------------------------------------
   CTA Section
   -------------------------------------------- */
.cta-section {
    background: var(--color-bg-dark);
    color: var(--color-text-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(45, 90, 74, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: 1.5rem;
}

.cta-content p {
    color: rgba(248, 246, 243, 0.6);
    margin: 0 auto 3rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-text-light);
    padding: 1rem 2.5rem;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid var(--color-accent);
    transition: all 0.4s var(--ease-out);
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--color-accent-light);
    border-color: var(--color-accent-light);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text-light);
    padding: 1rem 2.5rem;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid rgba(248, 246, 243, 0.3);
    transition: all 0.4s var(--ease-out);
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: var(--color-text-light);
}

/* --------------------------------------------
   Footer
   -------------------------------------------- */
footer {
    background: var(--color-bg-dark);
    color: var(--color-text-light);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(248, 246, 243, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.footer-brand p {
    color: rgba(248, 246, 243, 0.5);
    font-size: 0.9375rem;
    max-width: 300px;
}

.footer-column h4 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: rgba(248, 246, 243, 0.4);
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column a {
    font-size: 0.9375rem;
    color: rgba(248, 246, 243, 0.7);
    transition: color 0.3s var(--ease-out);
}

.footer-column a:hover {
    color: var(--color-text-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(248, 246, 243, 0.1);
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(248, 246, 243, 0.4);
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    font-size: 0.8125rem;
    color: rgba(248, 246, 243, 0.4);
    transition: color 0.3s var(--ease-out);
}

.footer-legal a:hover {
    color: var(--color-text-light);
}

/* --------------------------------------------
   Scroll Animations
   -------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* --------------------------------------------
   Responsive Styles
   -------------------------------------------- */
@media (max-width: 1024px) {
    .proposition-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

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

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

    .impact-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

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

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

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

    .standards-header {
        flex-direction: column;
    }

    .gov-badge {
        align-self: flex-start;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta {
        display: none;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .tech-cards,
    .use-cases-grid,
    .perspectives-grid,
    .fundamentals-grid {
        grid-template-columns: 1fr;
    }

    .perspectives-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }
}