* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Roboto Mono', monospace;
    font-weight: 600;
    background: transparent;
    color: #fff;
    overflow-x: hidden;
    text-transform: uppercase;
}

html {
    background: #0b0b0b;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #333 #0b0b0b;
}

/* Custom Scrollbar - Webkit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #0b0b0b;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #444;
}

::-webkit-scrollbar-corner {
    background: #0b0b0b;
}

/* Background Video */
.hero_bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -2;
}

.hero_bg .video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.nav-left {
    opacity: 0;
}

.nav-left.nav-visible {
    opacity: 1;
}

.nav-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    text-decoration: none;
    gap: 5px;
}

.nav-logo {
    width: 120px;
    height: auto;
}

.nav-logo-text {
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 0.2em;
}

.menu-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 12px 24px;
    font-family: 'Roboto Mono', monospace;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-btn::before {
    content: '';
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 18px;
    height: 8px;
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
    box-sizing: border-box;
}

.menu-btn {
    position: relative;
}

.menu-text-wrapper {
    position: relative;
    display: inline-block;
}

.menu-text,
.menu-text-hover {
    display: inline-block;
}

.menu-text-hover {
    position: absolute;
    left: 0;
    top: 0;
}

.menu-text-hover .char {
    opacity: 0;
}

.menu-text .char,
.menu-text-hover .char {
    display: inline-block;
}

.menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.hero-logo-wrapper {
    opacity: 0;
    filter: brightness(0.3);
}

.hero-logo {
    width: 300px;
    height: auto;
}

.hero-text {
    display: flex;
    gap: 0;
    margin-top: -10px;
}

.hero-char {
    font-size: 48px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0;
}

.hero-tagline {
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-top: 20px;
    text-align: center;
    transform-origin: center center;
}

/* Tagline becomes hero title after animation */
.hero-tagline.as-title {
    letter-spacing: 0.1em;
}

.hero-tagline.as-title .tag-char {
    opacity: 1;
}

.tagline-line {
    display: block;
    margin-bottom: 5px;
}

.tag-char {
    display: inline-block;
    opacity: 0;
}

.tag-char.space {
    width: 0.5em;
}

/* Countries Section (Second Page) */
.countries-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
    position: relative;
    background: #0b0b0b;
    z-index: 10;
}

.countries-container {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    position: relative;
}

/* PAGE 2: Logo & Countries Section */
.logo-section {
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    background: #0b0b0b;
    position: relative;
    z-index: 10;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.section-text {
    position: absolute;
    top: 8%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 15;
    opacity: 0;
}

.section-title {
    font-size: 36px;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
    color: #fff;
}

.section-subtitle {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.5);
}

.scroll-logo-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border: none;
    outline: none;
}

.scroll-logo {
    width: 350px;
    height: auto;
    filter: brightness(0.08);
    position: relative;
    z-index: 2;
}

.scroll-logo-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.4) 0%, rgba(201, 162, 39, 0.15) 30%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    z-index: 1;
    filter: blur(40px);
    pointer-events: none;
}

/* Document Types Flicker */
.doc-types-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 15;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

.doc-type {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    position: absolute;
    text-align: center;
    transform: scale(1.05);
    filter: blur(3px);
}

.doc-code {
    font-size: 72px;
    font-weight: 700;
    font-family: 'Roboto Mono', monospace;
    color: #C9A227;
    letter-spacing: 0.15em;
    text-shadow: 0 0 30px rgba(201, 162, 39, 0.6), 0 0 60px rgba(201, 162, 39, 0.3);
}

.doc-name {
    font-size: 14px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px;
}

.doc-period {
    font-size: 11px;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 5px;
    font-family: 'Roboto Mono', monospace;
}

/* Connection lines - modern glowing style */
.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow: visible;
}

.connection-lines.visible {
    visibility: visible;
}

.conn-line {
    stroke-width: 1.5;
    fill: none;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    filter: url(#glow);
    stroke-linecap: round;
    opacity: 0.8;
}

.conn-dot-center {
    display: none;
}

/* Countries positioned */
.country-item {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    opacity: 0;
    z-index: 8;
    top: 20%;
}

.country-top-left {
    left: 27%;
    top: 18%;
}

.country-top-right {
    right: 27%;
    top: 18%;
}

.country-bottom-left {
    left: 2%;
    top: 55%;
}

.country-bottom-right {
    right: 2%;
    top: 55%;
}

.country-svg-wrapper {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.country-svg {
    max-width: 100%;
    max-height: 100%;
    filter: brightness(0) invert(1);
    opacity: 0.85;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.country-svg:hover {
    transform: scale(1.1);
    opacity: 1;
}

.country-dot {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6), 0 0 15px rgba(201, 162, 39, 0.4);
    flex-shrink: 0;
    margin-bottom: 3px;
}

/* Energy pulse from logo */
.energy-pulse {
    position: absolute;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, #fff 0%, #C9A227 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 20;
    opacity: 0;
    box-shadow: 0 0 20px #C9A227, 0 0 40px rgba(201, 162, 39, 0.6), 0 0 60px rgba(201, 162, 39, 0.3);
}

.energy-pulse::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: energyGlow 0.3s ease-out infinite;
}

@keyframes energyGlow {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

.country-name {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: #fff;
    text-align: center;
}

.country-year {
    font-size: 10px;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
}

.countries-title {
    font-size: 48px;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(30px);
}

.countries-subtitle {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(20px);
}

.countries-connections {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 900px;
    height: 400px;
    pointer-events: none;
    z-index: 5;
    opacity: 0;
}

.connection-line {
    stroke: rgba(201, 162, 39, 0.4);
    stroke-width: 2;
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    filter: drop-shadow(0 0 3px rgba(201, 162, 39, 0.3));
}

.countries-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
    position: relative;
    z-index: 1;
    margin-bottom: 50px;
}

.country-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transform: translateY(40px);
}

.country-svg-wrapper {
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.country-svg {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.85;
    transition: all 0.4s ease;
}

.country-item:hover .country-svg {
    opacity: 1;
    transform: scale(1.1);
}

.country-name {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
}

.country-year {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
}

.countries-cta {
    display: inline-block;
    padding: 16px 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.countries-cta:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Hero Main Content (after intro) */
.hero-main {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    opacity: 0;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    box-sizing: border-box;
}

.hero-title {
    font-size: 64px;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 30px;
    line-height: 1.2;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(30px);
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.08em;
    opacity: 0;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-transform: uppercase;
    transform: translateY(20px);
    line-height: 1.4;
}

.hero-description {
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 0.01em;
    opacity: 0;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    transform: translateY(20px);
}

/* Hero About Text - Two Column Layout */
.hero-about {
    max-width: 1100px;
    margin: 25px auto 0;
    opacity: 0;
    transform: translateY(20px);
    padding: 0 40px;
}

.hero-about-columns {
    display: flex;
    gap: 80px;
    margin-bottom: 50px;
}

.hero-about-col {
    flex: 1;
}

.hero-about-text {
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 2.4;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: justify;
    margin: 0;
}

.hero-about-footer {
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #ffffff;
    text-align: center;
    margin: 0;
    animation: heartbeatGlow 2s ease-in-out infinite;
}

@keyframes heartbeatGlow {
    0%, 100% { text-shadow: 0 0 0 rgba(255, 255, 255, 0); }
    14% { text-shadow: 0 0 8px rgba(255, 255, 255, 0.4); }
    28% { text-shadow: 0 0 0 rgba(255, 255, 255, 0); }
    42% { text-shadow: 0 0 12px rgba(255, 255, 255, 0.5); }
    56% { text-shadow: 0 0 0 rgba(255, 255, 255, 0); }
}

/* Typing cursor - DOS style */
.typing-cursor {
    display: inline;
    margin-left: 2px;
    animation: cursorBlink 0.7s step-end infinite;
    color: rgba(255, 255, 255, 0.4);
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@media (max-width: 768px) {
    .hero-about {
        margin: 40px auto 0;
        padding: 0 20px;
    }

    .hero-about-title {
        font-size: 12px;
        margin-bottom: 30px;
    }

    .hero-about-columns {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 30px;
    }

    .hero-about-text {
        font-size: 10px;
        line-height: 1.9;
    }

    .hero-about-footer {
        font-size: 11px;
    }
}

/* Gold accent color */
.gold {
    color: #C9A227;
}

/* Era Timeline Animation */
.era-timeline {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 20px;
    opacity: 0;
    transform: translateY(20px);
    position: relative;
    padding: 20px 20px 20px;
}

.timeline-eras {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 0 10px;
    z-index: 2;
}

.era-point {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    opacity: 0;
    transform: translateY(10px);
    z-index: 2;
}

.era-name {
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
    margin-bottom: 8px;
    white-space: nowrap;
    transition: all 0.4s ease;
}

.era-point.active .era-name {
    color: rgba(255, 255, 255, 0.8);
}

.era-dot {
    width: 14px;
    height: 14px;
    background: #0b0b0b;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.era-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: transparent;
    border-radius: 50%;
    transition: all 0.4s ease;
}

.era-point.active .era-dot {
    background: #0b0b0b;
    border-color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

.era-point.active .era-dot::before {
    background: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.era-year {
    font-size: 12px;
    font-weight: 500;
    font-family: 'Roboto Mono', monospace;
    color: #ffffff;
    margin-top: 8px;
    transition: all 0.4s ease;
}

.era-point.active .era-year {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

/* Timeline Connecting Line */
.timeline-eras {
    position: relative;
}

.timeline-line-svg {
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 1;
    pointer-events: none;
    overflow: visible;
    opacity: 0;
    /* Positioned at dot level via JS */
}

.timeline-connector {
    stroke: rgba(255, 255, 255, 0.15);
    stroke-width: 2;
    fill: none;
}

.timeline-connector-glow {
    stroke: #ffffff;
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 12px rgba(255, 255, 255, 0.4));
}

/* Dot Pulse/Shine Animation */
.era-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: transparent;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    pointer-events: none;
}

.era-point.pulse .era-dot {
    animation: dotPulse 0.6s ease-out forwards;
}

.era-point.pulse .era-dot::after {
    animation: dotRing 0.6s ease-out forwards;
}

/* All labels turn white after pulse */
.era-point.pulsed .era-name,
.era-point.pulsed .era-year {
    color: #ffffff;
}

@keyframes dotPulse {
    0% {
        transform: scale(1);
        border-color: rgba(255, 255, 255, 0.2);
        box-shadow: 0 0 0 rgba(255, 255, 255, 0);
    }
    30% {
        transform: scale(1.4);
        border-color: #ffffff;
        box-shadow: 0 0 25px rgba(255, 255, 255, 0.9);
    }
    100% {
        transform: scale(1);
        border-color: rgba(255, 255, 255, 0.5);
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    }
}

@keyframes dotRing {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6);
    }
    100% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }
}

/* Final dot (2026) stays lit */
.era-point.final .era-dot {
    border-color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

.era-point.final .era-dot::before {
    background: #ffffff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.era-point.final .era-name,
.era-point.final .era-year {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

/* Page 3: Legal History - Vertical Timeline */
.timeline-section {
    min-height: 100vh;
    background: #0b0b0b;
    padding: 100px 40px;
    position: relative;
    z-index: 10;
}

.timeline-container {
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-header {
    text-align: center;
    margin-bottom: 60px;
}

.timeline-label {
    display: block;
    font-size: 14px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Roboto Mono', monospace;
    margin-bottom: 20px;
}

.timeline-title {
    font-size: 32px;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: #fff;
    line-height: 1.1;
    text-transform: uppercase;
}

/* Timeline Structure */
.timeline {
    position: relative;
    padding: 50px 0;
    color: #fff;
}

.timeline ol {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Vertical Line - base (dim) */
.timeline ol::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: rgba(201, 162, 39, 0.2);
}

/* Vertical Line - progress element */
.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 0%;
    background: #C9A227;
    box-shadow: 0 0 10px rgba(201, 162, 39, 0.5);
    z-index: 1;
}

/* Timeline Item */
.timeline ol li .item-inner {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 20px 0 20px 180px;
    margin-bottom: 8vh;
}

.timeline ol li .item-content {
    flex: 1;
    min-width: 0;
}

/* Timeline Image */
.timeline ol li .item-image {
    flex: 0 0 300px;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
}

.timeline ol li .image-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.timeline ol li .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Year/Time */
.timeline ol li .time-wrapper {
    position: relative;
    font-size: 4rem;
    font-weight: bold;
    line-height: 0.9;
    font-family: 'Roboto Mono', monospace;
    color: #C9A227;
}

/* Horizontal line + dot */
.timeline ol li .time-wrapper::before,
.timeline ol li .time-wrapper::after {
    content: "";
    position: absolute;
    background: #C9A227;
}

/* Horizontal line - uses --progress variable */
.timeline ol li .time-wrapper::before {
    top: 50%;
    left: -180px;
    transform: translateY(-50%) scaleX(var(--progress, 0));
    transform-origin: left center;
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, #C9A227, #C9A227);
    box-shadow: 0 0 8px rgba(201, 162, 39, calc(var(--progress, 0) * 0.6));
    transition: box-shadow 0.3s ease;
}

/* Dot - uses --progress variable */
.timeline ol li .time-wrapper::after {
    top: calc(50% - 8px);
    left: -60px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    transform: scale(calc(var(--progress, 0) * 1.2));
    transform-origin: center;
    box-shadow: 0 0 12px rgba(201, 162, 39, calc(var(--progress, 0) * 0.8));
    transition: box-shadow 0.3s ease;
}

/* Text elements */
.timeline ol li time {
    display: inline-block;
}

/* Details section */
.timeline ol li .details h3 {
    font-size: 1.5rem;
    line-height: 1;
    margin: 15px 0;
    color: #fff;
}

.timeline ol li .details p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    font-size: 15px;
}

/* Image zoom on scroll */
.timeline ol li .image-wrapper img {
    will-change: transform;
}

/* Responsive */
@media (max-width: 900px) {
    .timeline ol li .item-inner {
        flex-direction: column;
        gap: 30px;
    }

    .timeline ol li .item-image {
        flex: 0 0 auto;
        width: 100%;
        height: 250px;
    }
}

@media (max-width: 700px) {
    .timeline-section {
        padding: 60px 20px;
    }

    .timeline ol li .item-inner {
        padding: 20px 0 20px 50px;
    }

    .timeline ol li .time-wrapper {
        font-size: 2.5rem;
    }

    .timeline ol li .time-wrapper::before {
        display: none;
    }

    .timeline ol li .time-wrapper::after {
        left: -35px;
        transform-origin: center;
    }

    .timeline ol li .item-image {
        height: 180px;
    }

    .timeline-title {
        font-size: 24px;
    }
}

/* Page 3.5: Capabilities Section */
.capabilities-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.capabilities-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.capabilities-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 8s ease-out;
}

.capabilities-section.in-view .capabilities-bg-img {
    transform: scale(1.15);
}

.capabilities-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 40px;
}

.capabilities-header {
    margin-bottom: 80px;
}

.capabilities-label {
    display: block;
    font-size: 14px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Roboto Mono', monospace;
    margin-bottom: 20px;
}

.capabilities-title {
    font-size: 48px;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: #fff;
    text-transform: uppercase;
}

.capabilities-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.capability-item {
    display: flex;
    align-items: center;
    gap: 30px;
    opacity: 0;
    transform: translateY(40px);
}

.capability-item.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.capability-number {
    font-size: 14px;
    font-family: 'Roboto Mono', monospace;
    color: #C9A227;
    letter-spacing: 0.1em;
}

.capability-name {
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 0.15em;
    color: #fff;
    text-transform: uppercase;
}


@media (max-width: 768px) {
    .capabilities-title {
        font-size: 28px;
    }

    .capability-name {
        font-size: 20px;
        letter-spacing: 0.1em;
    }

    .capabilities-list {
        gap: 30px;
    }

    .capability-item {
        gap: 20px;
    }
}

/* Services Section - Ciridae Style */
.services-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.services-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.services-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

/* Services Section - No Background Variant */
.services-no-bg {
    background: #0b0b0b;
}

.services-no-bg .service-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 80px 20px rgba(0, 0, 0, 0.8),
                inset 0 0 120px 40px rgba(0, 0, 0, 0.5);
}

.services-no-bg .service-item:hover {
    border-color: rgba(201, 162, 39, 0.5);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: inset 0 0 100px 30px rgba(0, 0, 0, 0.9),
                inset 0 0 150px 50px rgba(0, 0, 0, 0.6);
}

.services-no-bg .service-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-no-bg .service-icon img {
    width: 100px;
    height: auto;
    opacity: 1;
    filter: brightness(1.1);
    transition: all 0.3s ease;
}

.services-no-bg .service-item:hover .service-icon img {
    filter: brightness(1.3);
    transform: scale(1.05);
}

.services-no-bg .service-icon .service-svg-icon {
    position: absolute;
    top: -8px;
    right: -10px;
    width: 24px;
    height: 24px;
    color: #c9a227;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.services-no-bg .service-item:hover .service-icon .service-svg-icon {
    opacity: 1;
    transform: scale(1.2);
    filter: drop-shadow(0 0 8px rgba(201, 162, 39, 0.7));
}

/* Blackhole cosmic glow animation */
.services-no-bg .service-icon .blackhole-slow {
    animation: blackhole-glow 5s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(201, 162, 39, 0.6))
            drop-shadow(0 0 15px rgba(255, 140, 50, 0.4))
            drop-shadow(0 0 30px rgba(201, 162, 39, 0.3));
}

@keyframes blackhole-glow {
    0%, 100% {
        filter: drop-shadow(0 0 8px rgba(201, 162, 39, 0.6))
                drop-shadow(0 0 15px rgba(255, 140, 50, 0.4))
                drop-shadow(0 0 30px rgba(201, 162, 39, 0.3));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(201, 162, 39, 1))
                drop-shadow(0 0 30px rgba(255, 140, 50, 0.8))
                drop-shadow(0 0 50px rgba(201, 162, 39, 0.6))
                drop-shadow(0 0 80px rgba(255, 100, 30, 0.3));
        transform: scale(1.02);
    }
}

/* Solar system wrapper for MULTI-JURISDICTION */
.services-no-bg .service-icon-solar {
    position: relative;
}

.services-no-bg .service-icon-solar .solar-system-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    color: #c9a227;
    opacity: 0.9;
    pointer-events: none;
    animation: rotate-solar 30s linear infinite;
}

.services-no-bg .service-item:hover .solar-system-icon {
    opacity: 1;
    filter: drop-shadow(0 0 6px rgba(201, 162, 39, 0.5));
}

@keyframes rotate-solar {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Sun glow animation */
.services-no-bg .service-icon .sun-glow {
    animation: sun-pulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 4px rgba(201, 162, 39, 0.8));
}

@keyframes sun-pulse {
    0%, 100% {
        filter: drop-shadow(0 0 4px rgba(201, 162, 39, 0.8));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 10px rgba(201, 162, 39, 1)) drop-shadow(0 0 20px rgba(201, 162, 39, 0.6));
        transform: scale(1.1);
    }
}

/* Spaceship flames animation */
.services-no-bg .service-icon .spaceship-icon {
    filter: drop-shadow(0 0 4px rgba(201, 162, 39, 0.5));
}

.services-no-bg .service-icon .spaceship-icon .flame-1 {
    animation: flame-flicker-1 0.15s ease-in-out infinite;
    transform-origin: center top;
}

.services-no-bg .service-icon .spaceship-icon .flame-2 {
    animation: flame-flicker-2 0.2s ease-in-out infinite;
    transform-origin: center top;
}

.services-no-bg .service-icon .spaceship-icon .flame-3 {
    animation: flame-flicker-3 0.12s ease-in-out infinite;
    transform-origin: center top;
}

@keyframes flame-flicker-1 {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.8); opacity: 0.8; }
}

@keyframes flame-flicker-2 {
    0%, 100% { transform: scaleY(0.9); opacity: 0.6; }
    50% { transform: scaleY(1.1); opacity: 0.8; }
}

@keyframes flame-flicker-3 {
    0%, 100% { transform: scaleY(1.1); opacity: 0.3; }
    50% { transform: scaleY(0.7); opacity: 0.5; }
}

.services-dark {
    background: #000;
}

.services-container {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.services-header {
    text-align: center;
    padding: 40px 40px 0;
}

.services-label {
    display: block;
    font-size: 12px;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.services-title {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #fff;
}

.services-grid {
    display: flex;
    gap: 24px;
    padding: 60px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    flex: 1;
    align-items: stretch;
}

.service-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 40px 30px;
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    min-height: 320px;
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* Align all items within service boxes */
.service-item .service-meta {
    height: 30px;
}

.service-item .service-name {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item .service-icon {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item .service-desc {
    flex: 1;
    display: flex;
    align-items: flex-start;
}

.service-item:hover {
    border-color: rgba(201, 162, 39, 0.5);
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
}

.service-meta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    font-family: 'Roboto Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    margin-bottom: 24px;
}

.service-number {
    color: #fff;
}

.service-divider {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 6px;
}

.service-code {
    color: #fff;
}

.service-name {
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 60px;
}

.service-icon {
    width: 120px;
    height: 120px;
    margin-bottom: 60px;
    opacity: 0.9;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.service-desc {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    max-width: 340px;
}

@media (max-width: 900px) {
    .services-grid {
        flex-direction: column;
        padding: 40px 20px;
        gap: 20px;
    }

    .service-item {
        padding: 50px 30px;
    }

    .service-name {
        font-size: 18px;
        letter-spacing: 0.1em;
        margin-bottom: 40px;
    }

    .service-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 40px;
    }
}

/* Page 4: How We Work / Workflow Section */
.workflow-section {
    min-height: 100vh;
    position: relative;
    padding: 120px 40px;
    overflow: hidden;
}

.workflow-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.workflow-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(0.15);
}

.workflow-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
        rgba(11, 11, 11, 0.95) 0%,
        rgba(11, 11, 11, 0.8) 50%,
        rgba(11, 11, 11, 0.95) 100%);
}

.workflow-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.workflow-header {
    text-align: center;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(30px);
}

.workflow-label {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #C9A227;
    margin-bottom: 20px;
    padding: 8px 20px;
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 30px;
}

.workflow-title {
    font-size: 14px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.workflow-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 80px;
}

.workflow-item {
    opacity: 0;
    transform: translateY(40px);
    position: relative;
    padding-left: 30px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.workflow-item::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 0;
    width: 1px;
    height: 0;
    background: linear-gradient(to bottom, #C9A227, transparent);
    transition: height 0.8s ease;
}

.workflow-item.active::before {
    height: 100%;
}

.workflow-number {
    font-size: 12px;
    font-family: 'Roboto Mono', monospace;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 15px;
    letter-spacing: 0.1em;
}

.workflow-code {
    font-size: 42px;
    font-weight: 700;
    color: #C9A227;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    text-shadow: 0 0 40px rgba(201, 162, 39, 0.3);
}

.workflow-name {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.workflow-desc {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.5);
}

/* Timeline Responsive */
@media (max-width: 900px) {
    .timeline-item {
        flex-direction: column;
        text-align: center;
    }

    .timeline-content {
        padding: 20px 0;
        order: 2;
    }

    .timeline-content.left,
    .timeline-content.right {
        text-align: center;
    }

    .timeline-content.left .timeline-text,
    .timeline-content.right .timeline-text {
        text-align: center;
        margin: 0 auto;
    }

    .timeline-content.left .timeline-image {
        margin: 0 auto;
    }

    .timeline-marker {
        order: 1;
        margin-bottom: 20px;
    }

    .timeline-line-vertical {
        display: none;
    }

    .timeline-image {
        max-width: 100%;
        height: 180px;
    }
}

/* Timeline Track - hidden */
.timeline-track {
    display: none;
}

.timeline-label {
    text-align: center;
    margin-top: 25px;
    opacity: 0;
}

.timeline-years {
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    transition: color 0.8s ease;
}

.timeline-label.active .timeline-years {
    color: #ffffff;
}

/* Workflow Responsive */
@media (max-width: 900px) {
    .workflow-section {
        padding: 80px 20px;
    }

    .workflow-items {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .workflow-code {
        font-size: 32px;
    }

    .workflow-name {
        font-size: 16px;
    }
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0b0b0b;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    overflow: hidden;
}

.menu-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.menu-header-left {
    display: flex;
    align-items: center;
}

.menu-header-right {
    display: flex;
    justify-content: flex-end;
    margin-left: auto;
}

.menu-top-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    top: 50%;
}

.menu-top-logo img {
    width: 80px;
    height: auto;
    margin-bottom: 5px;
}

.menu-top-logo span {
    display: block;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.2em;
}

.menu-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.menu-logo {
    width: 50px;
    height: auto;
}

.menu-logo-text {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2em;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hide nav when menu is open to prevent logo shift */
body.menu-open .nav {
    visibility: hidden;
}

.menu-content {
    position: absolute;
    top: 100px;
    bottom: 0;
    right: 0;
    text-align: right;
    width: 100%;
    max-width: 600px;
    padding: 40px;
    padding-right: 60px;
    overflow-y: auto;
}


.menu-close {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 12px 24px;
    font-family: 'Roboto Mono', monospace;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-icon {
    position: relative;
    width: 14px;
    height: 14px;
}

.close-icon::before,
.close-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
}

.close-icon::before {
    transform: rotate(45deg);
}

.close-icon::after {
    transform: rotate(-45deg);
}

.menu-close:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.menu-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.menu-link {
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.menu-link:hover {
    opacity: 0.6;
}

.menu-link.active {
    opacity: 0.4;
}

.menu-link-gold {
    color: #d4af37 !important;
    display: none;
}

.menu-link-gold:hover {
    color: #e5c349 !important;
    opacity: 1;
}

@media (max-width: 768px) {
    .menu-link-gold {
        display: block;
    }
}

.menu-footer {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.5;
}

.menu-footer p {
    margin: 10px 0;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 52px;
    }

    .hero-subtitle {
        font-size: 16px;
        max-width: 400px;
    }

    .nav-logo {
        width: 100px;
    }

    .nav-logo-text {
        font-size: 20px;
    }

    .countries-section {
        padding: 60px 30px;
    }

    .countries-title {
        font-size: 38px;
    }

    .countries-grid {
        gap: 40px;
    }

    .country-svg-wrapper {
        width: 130px;
        height: 130px;
    }

    .country-name {
        font-size: 12px;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .nav {
        padding: 15px 20px;
    }

    .nav-logo {
        width: 70px;
    }

    .nav-logo-text {
        font-size: 16px;
    }

    .menu-btn {
        padding: 10px 16px;
        font-size: 12px;
    }

    .menu-btn::before {
        width: 14px;
        height: 6px;
    }

    .hero-logo {
        width: 180px;
    }

    .hero-char {
        font-size: 32px;
    }

    .hero-tagline {
        font-size: 20px;
        letter-spacing: 0.15em;
    }

    .countries-section {
        padding: 50px 20px;
    }

    .countries-title {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .countries-subtitle {
        font-size: 12px;
        margin-bottom: 40px;
    }

    .countries-grid {
        gap: 25px;
        flex-wrap: wrap;
        max-width: 380px;
        margin: 0 auto 40px;
    }

    .country-svg-wrapper {
        width: 110px;
        height: 110px;
    }

    .country-name {
        font-size: 11px;
    }

    .country-year {
        font-size: 9px;
    }

    .countries-connections {
        display: none;
    }

    .countries-cta {
        padding: 14px 30px;
        font-size: 11px;
    }

    .hero-main {
        width: 90%;
        padding: 0 20px;
    }

    .hero-title {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 20px;
        margin-bottom: 30px;
        max-width: 100%;
    }

    .era-timeline {
        display: block;
        opacity: 1;
        transform: none;
        overflow: hidden;
        max-width: 100vw;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .era-timeline .timeline-line-svg {
        display: none;
    }

    .era-timeline .timeline-eras {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px 10px;
        justify-items: center;
        max-width: 300px;
        margin: 0 auto;
    }

    .era-timeline .era-point {
        opacity: 1;
        transform: none;
    }

    .era-timeline .era-name {
        font-size: 8px;
    }

    .era-timeline .era-year {
        font-size: 9px;
    }

    .era-timeline .era-dot {
        width: 6px;
        height: 6px;
        background: #d4af37;
        box-shadow: 0 0 6px rgba(212, 175, 55, 0.5);
    }

    .era-timeline .timeline-label {
        opacity: 1;
        margin-top: 15px;
    }

    .era-timeline .timeline-years {
        font-size: 9px;
    }

    .time-travel {
        max-width: 100%;
        margin-bottom: 30px;
        padding: 30px 15px;
    }

    .year-digit {
        font-size: 50px;
        min-width: 35px;
    }

    .decade-stream {
        height: 25px;
    }

    .decade-marker {
        font-size: 11px;
    }

    .docs-number {
        font-size: 28px;
    }

    .docs-label {
        font-size: 9px;
    }

    .hero-description {
        font-size: 24px;
        margin-bottom: 50px;
    }

    .hero-cta {
        padding: 14px 30px;
        font-size: 12px;
    }

    .menu-header {
        padding: 15px 20px;
    }

    .menu-header .nav-logo {
        width: 70px;
    }

    .menu-header .nav-logo-text {
        font-size: 16px;
    }

    .menu-top-logo {
        margin-bottom: 30px;
    }

    .menu-top-logo img {
        width: 60px;
    }

    .menu-top-logo span {
        font-size: 14px;
    }

    .menu-close {
        padding: 10px 16px;
        font-size: 12px;
    }

    .menu-content {
        padding: 20px;
    }

    .menu-links {
        gap: 12px;
        margin-bottom: 30px;
    }

    .menu-link {
        font-size: 20px;
    }

    .menu-footer {
        font-size: 10px;
    }
}

/* Responsive - Small Mobile */
@media (max-width: 480px) {
    .nav {
        padding: 12px 15px;
    }

    .nav-logo {
        width: 50px;
    }

    .nav-logo-text {
        font-size: 12px;
    }

    .menu-btn {
        padding: 8px 12px;
        font-size: 10px;
        gap: 6px;
    }

    .menu-header {
        padding: 12px 15px;
    }

    .menu-header .nav-logo {
        width: 50px;
    }

    .menu-header .nav-logo-text {
        font-size: 12px;
    }

    .hero-logo {
        width: 140px;
    }

    .hero-char {
        font-size: 24px;
    }

    .hero-tagline {
        font-size: 16px;
        letter-spacing: 0.1em;
    }

    .countries-section {
        padding: 40px 15px;
    }

    .countries-title {
        font-size: 24px;
    }

    .countries-subtitle {
        font-size: 10px;
        margin-bottom: 30px;
    }

    .countries-grid {
        gap: 20px;
        max-width: 280px;
    }

    .country-svg-wrapper {
        width: 80px;
        height: 80px;
    }

    .country-name {
        font-size: 9px;
    }

    .country-year {
        font-size: 7px;
    }

    .countries-cta {
        padding: 12px 24px;
        font-size: 10px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        display: block;
        font-size: 9px;
        letter-spacing: 0.03em;
        opacity: 0.7;
        margin-bottom: 25px;
        max-width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
        word-break: break-word;
    }

    .hero-main {
        overflow: hidden;
        max-width: 100vw;
    }

    .time-travel {
        margin-bottom: 20px;
        padding: 20px 10px;
    }

    .time-era {
        margin-bottom: 10px;
    }

    .era-text {
        font-size: 9px;
        padding: 3px 12px;
    }

    .year-digit {
        font-size: 36px;
        min-width: 25px;
    }

    .year-container {
        gap: 2px;
    }

    .decade-stream {
        height: 22px;
        margin-bottom: 15px;
    }

    .decade-marker {
        font-size: 9px;
    }

    .docs-number {
        font-size: 24px;
    }

    .docs-label {
        font-size: 8px;
    }

    .hero-description {
        font-size: 18px;
        margin-bottom: 35px;
    }

    .hero-cta {
        padding: 12px 24px;
        font-size: 10px;
    }

    .menu-link {
        font-size: 16px;
    }
}

/* Site Footer */
.site-footer {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.footer-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.85) 40%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 1;
}

.footer-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 40px;
}

.footer-logo {
    margin-bottom: 15px;
}

.footer-logo img {
    width: 50px;
    height: auto;
}

.footer-tagline {
    font-size: 14px;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.footer-links {
    font-size: 12px;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #d4af37;
}

.footer-copyright {
    font-size: 11px;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    margin-top: 10px;
}

.footer-credits {
    font-size: 11px;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    margin-top: 15px;
}

.footer-credits a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-credits a:hover {
    color: #c9a227;
}

.footer-credit-logo {
    height: 18px;
    width: auto;
    vertical-align: middle;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
    margin: 0 3px;
}

.footer-credits a:hover .footer-credit-logo {
    filter: grayscale(0%);
    opacity: 1;
}

.footer-partners {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
    margin: 15px 0;
}

.footer-partners img {
    height: 30px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
}

@media (max-width: 768px) {
    .footer-content {
        padding: 30px 20px;
    }

    .footer-logo img {
        width: 40px;
    }

    .footer-tagline {
        font-size: 12px;
    }
}

/* ============================================
   TRUSTED PARTNERS SECTION
   ============================================ */

.partners-section {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.partners-section-standalone {
    position: relative;
    padding: 80px 0;
    background: #000;
}

.partners-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.partners-label {
    display: block;
    text-align: left;
    font-size: 11px;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 40px;
    text-transform: uppercase;
}

.partners-track-wrapper {
    overflow: visible;
}

.partners-track {
    display: flex;
    gap: 60px;
    justify-content: flex-start;
    align-items: center;
}

.partner-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.partner-logo span {
    font-size: 14px;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    white-space: nowrap;
}

.partner-logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(0) invert(1);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Hide duplicate logos on desktop */
.partner-logo.mobile-duplicate {
    display: none;
}

@media (max-width: 768px) {
    /* Show duplicate logos on mobile for seamless scroll */
    .partner-logo.mobile-duplicate {
        display: flex;
    }
    .partners-section {
        padding: 40px 0 30px;
    }

    .partners-container {
        padding: 0 20px;
    }

    .partners-label {
        font-size: 10px;
        margin-bottom: 30px;
    }

    .partners-track-wrapper {
        overflow: hidden;
        mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
        -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    }

    .partners-track {
        gap: 40px;
        animation: scrollLogos 15s linear infinite;
        width: max-content;
    }

    .partner-logo {
        padding: 12px 20px;
    }

    .partner-logo span {
        font-size: 12px;
    }

    .partner-logo img {
        height: 35px;
    }

    @keyframes scrollLogos {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-50%);
        }
    }
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials-section {
    position: relative;
    padding: 100px 0;
    background: #0b0b0b;
    overflow: hidden;
}

.testimonials-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.testimonials-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.testimonials-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(11, 11, 11, 0.5), rgba(11, 11, 11, 0.7));
}

.testimonials-header {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 60px;
    padding: 0 40px;
}

.testimonials-label {
    display: block;
    font-size: 12px;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.testimonials-title {
    font-family: 'Lato', sans-serif;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
}

.testimonials-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.testimonials-track {
    display: flex;
    gap: 30px;
    animation: scrollTestimonials 40s linear infinite;
    width: max-content;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

@keyframes scrollTestimonials {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.testimonial-card {
    flex-shrink: 0;
    width: 400px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(201, 162, 39, 0.3);
}

.testimonial-content {
    margin-bottom: 30px;
}

.testimonial-content p {
    font-family: 'Domine', serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    text-transform: none;
    position: relative;
}

.testimonial-content p::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 60px;
    color: rgba(201, 162, 39, 0.3);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.author-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.05em;
}

.author-title {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Testimonials Responsive */
@media (max-width: 1024px) {
    .testimonials-section {
        padding: 80px 0;
    }

    .testimonials-title {
        font-size: 26px;
    }

    .testimonial-card {
        width: 350px;
        padding: 30px;
    }

    .testimonial-content p {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 0;
    }

    .testimonials-header {
        margin-bottom: 40px;
    }

    .testimonials-title {
        font-size: 20px;
    }

    .testimonial-card {
        width: 300px;
        padding: 25px;
    }

    .testimonial-content p {
        font-size: 14px;
    }

    .testimonial-content p::before {
        font-size: 40px;
        top: -15px;
        left: -5px;
    }

    .author-name {
        font-size: 13px;
    }

    .author-title {
        font-size: 10px;
    }
}

/* ============================================
   DEMO VIDEO SECTION
   ============================================ */

.demo-section {
    position: relative;
    min-height: 100vh;
    padding: 100px 0;
    background: #0b0b0b;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.demo-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.demo-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(11, 11, 11, 0.5), rgba(11, 11, 11, 0.7));
}

.demo-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.demo-header {
    text-align: center;
    margin-bottom: 60px;
}

.demo-label {
    display: block;
    font-size: 12px;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.demo-title {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #fff;
}

.demo-video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
}

.demo-video::-webkit-media-controls-panel {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

.video-poster {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.video-poster::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/assets/images/bg/sri-lanka-flag-gray.jpg') center/cover no-repeat;
    opacity: 0.15;
    filter: brightness(0.8);
    z-index: 0;
}

.video-poster:hover {
    background: #111;
}

.video-poster:hover .video-play-btn {
    transform: scale(1.1);
    border-color: rgba(201, 162, 39, 0.8);
}

.video-poster-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    gap: 20px;
}

.video-poster-logo {
    position: absolute;
    width: 90px;
    height: auto;
    opacity: 0.5;
    z-index: 1;
}

.video-poster-text {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    text-align: center;
    z-index: 1;
}

.video-play-btn {
    position: relative;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.video-play-btn .play-icon {
    position: relative;
    width: 35px;
    height: 35px;
    color: #fff;
    z-index: 2;
    margin-left: 4px;
    z-index: 2;
}

/* Demo Responsive */
@media (max-width: 1024px) {
    .demo-section {
        padding: 80px 0;
    }

    .demo-title {
        font-size: 26px;
    }

    .demo-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .demo-section {
        padding: 60px 0;
    }

    .demo-container {
        padding: 0 20px;
    }

    .demo-title {
        font-size: 20px;
    }

    .demo-video-wrapper {
        border-radius: 4px;
    }
}

/* ============================================
   WHY CHOOSE LEX SECTION
   ============================================ */

.why-lex-section {
    position: relative;
    padding: 100px 0;
    background: #0b0b0b;
}

.why-lex-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.why-lex-header {
    text-align: center;
    margin-bottom: 60px;
}

.why-lex-label {
    display: block;
    font-size: 12px;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.why-lex-title {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #fff;
}

.why-lex-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-lex-item {
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.why-lex-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(201, 162, 39, 0.3);
}

.why-lex-number {
    display: block;
    font-size: 12px;
    color: rgba(201, 162, 39, 0.8);
    letter-spacing: 0.2em;
    margin-bottom: 15px;
}

.why-lex-name {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #fff;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.why-lex-desc {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    text-transform: none;
}

/* Why Lex Responsive */
@media (max-width: 1024px) {
    .why-lex-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .why-lex-section {
        padding: 60px 0;
    }

    .why-lex-container {
        padding: 0 20px;
    }

    .why-lex-title {
        font-size: 24px;
    }

    .why-lex-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .why-lex-item {
        padding: 25px;
    }
}

/* ============================================
   WHO IT'S FOR SECTION
   ============================================ */

.who-section {
    position: relative;
    padding: 100px 0;
    background: #000;
}

.who-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.who-header {
    text-align: center;
    margin-bottom: 60px;
}

.who-label {
    display: block;
    font-size: 12px;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.who-title {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #fff;
}

.who-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.who-item {
    text-align: center;
    padding: 40px 25px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.who-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(201, 162, 39, 0.3);
}

.who-item:hover .who-icon {
    color: rgba(201, 162, 39, 0.8);
}

.who-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
}

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

.who-name {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.who-desc {
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    text-transform: none;
}

/* Who Section Responsive */
@media (max-width: 1024px) {
    .who-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .who-section {
        padding: 60px 0;
    }

    .who-container {
        padding: 0 20px;
    }

    .who-title {
        font-size: 24px;
    }

    .who-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .who-item {
        padding: 30px 20px;
    }
}

/* ============================================
   CTA BUTTON STYLES
   ============================================ */

.cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-width: 180px;
    padding: 18px 40px;
    background: #d4af37;
    color: #0b0b0b;
    border: none;
    border-radius: 50px;
    font-family: 'Lato', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    text-indent: 0.1em;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cta-primary:hover {
    background: #e5c349;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
}

/* Pill CTA Button - Like menu button but gold */
.cta-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: #d4af37;
    color: #000000;
    border: none;
    border-radius: 50px;
    font-family: 'Roboto Mono', monospace;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cta-pill:hover {
    background: #e5c349;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.cta-icon {
    display: inline-block;
    transition: transform 0.3s ease;
}

.cta-pill:hover .cta-icon {
    transform: translateX(4px);
}

/* Bottom CTA Section for inner pages - Fixed at bottom right */
.page-bottom-cta {
    position: fixed;
    bottom: 30px;
    right: 40px;
    z-index: 999;
}

@media (max-width: 768px) {
    .page-bottom-cta {
        right: 20px;
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .page-bottom-cta {
        right: 15px;
        bottom: 15px;
    }

    .page-bottom-cta .cta-pill {
        padding: 10px 18px;
        font-size: 12px;
    }
}

/* Scroll reveal for CTA on homepage */
.page-bottom-cta.cta-scroll-reveal {
    opacity: 0 !important;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.page-bottom-cta.cta-scroll-reveal.visible {
    opacity: 1 !important;
    transform: translateY(0);
    pointer-events: auto;
}

.page-bottom-cta .cta-pill {
    padding: 12px 24px;
    font-size: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 18px 40px;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-family: 'Lato', sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    text-indent: 0.125em;
    transition: color 0.4s ease, border-color 0.4s ease;
    cursor: pointer;
}

.cta-secondary:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}

/* Nav CTA Button */
.nav-cta {
    padding: 12px 28px;
    font-size: 10px;
    letter-spacing: 0.2em;
    margin-right: 20px;
}

/* Hero CTA Container */
.hero-cta-container {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 50px;
    margin-bottom: 60px;
}

/* Footer CTA Section */
.footer-cta {
    margin-bottom: 30px;
}

/* Section CTA */
.section-cta-container {
    text-align: center;
    padding: 80px 0;
    background: #0b0b0b;
}

.section-cta-text {
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 30px;
}

/* Article CTA */
.article-cta-section {
    text-align: center;
    padding: 50px 0;
    margin-top: 50px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.article-cta-text {
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.35);
    margin-bottom: 30px;
}

.article-cta-section .cta-primary {
    background: #1a1a1a;
    color: #d4af37;
}

.article-cta-section .cta-primary:hover {
    background: #2a2a2a;
}

/* CTA Responsive */
@media (max-width: 768px) {
    .cta-primary,
    .cta-secondary {
        padding: 16px 32px;
        font-size: 10px;
        letter-spacing: 0.2em;
    }

    .nav-cta {
        padding: 10px 20px;
        font-size: 9px;
        margin-right: 12px;
    }

    .hero-cta-container {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .section-cta-container {
        padding: 60px 24px;
    }

    .section-cta-text {
        font-size: 11px;
    }
}

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

    .cta-primary,
    .cta-secondary {
        padding: 14px 28px;
        font-size: 10px;
    }
}

