/* =====================================================
   M2SC.tech - Design System & Styles
   Based on modern, high-tech industrial aesthetic
   ===================================================== */

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

:root {
    /* Color Tokens */
    --color-black: #000000;
    --color-white: #ffffff;
    --color-gray-light: #f5f5f5;
    --color-gray-dark: #1a1a1a;
    --color-accent-blue: #00c9ff;
    --color-accent-teal: #00ffcc;
    --color-accent-glow: rgba(0, 201, 255, 0.3);

    /* Typography */
    --font-primary: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;
    --font-weight-black: 900;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --spacing-xxl: 8rem;

    /* Layout */
    --max-width: 1200px;
    --section-padding: 6rem 2rem;

    /* Effects */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-glow: 0 0 40px var(--color-accent-glow);
}

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

body {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    color: var(--color-black);
    background: #000000;
    /* Deep space black */
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ... */

.section-dark {
    background: transparent;
    /* Allow stars to show through */
    color: var(--color-white);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Keep living background fog/gradient but maybe adjust opacity if needed */
.section-dark::before {
    /* ... (unchanged content handled by match) ... */
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(20, 30, 40, 0.4) 0%, transparent 60%);
    opacity: 0.6;
    animation: livingBgFloat 25s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    pointer-events: none;
    z-index: -1;
}

.hero {
    min-height: 100vh;
    background: transparent;
    /* Allow stars to show through */
    color: var(--color-white);
    /* ... */
}

/* === TYPOGRAPHY === */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: var(--font-weight-black);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-transform: uppercase;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    text-transform: uppercase;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.8;
}

/* === NAVIGATION === */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 1000;
    padding: 1rem 2rem;
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-white);
    border-radius: 3px;
    transition: var(--transition-smooth);
}

/* Nav Toggle Animation */
.nav-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: var(--font-weight-black);
    color: var(--color-white);
    text-decoration: none;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

@keyframes floatRotate {
    0% {
        background-position: 50% 50%;
        background-size: 110%;
        filter: brightness(0.9) contrast(1.1);
    }

    50% {
        background-position: 40% 60%;
        background-size: 110%;
        filter: brightness(0.9) contrast(1.15);
    }

    100% {
        background-position: 50% 50%;
        background-size: 110%;
        filter: brightness(0.9) contrast(1.1);
    }
}

.hero-animated {
    animation: floatRotate 30s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.nav-logo-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 201, 255, 0.5));
    transition: var(--transition-smooth);
}

.nav-logo:hover .nav-logo-icon {
    filter: drop-shadow(0 0 20px rgba(0, 201, 255, 0.8));
    transform: scale(1.05);
}

.nav-logo-text {
    font-size: 1.5rem;
    font-weight: var(--font-weight-black);
    letter-spacing: -0.02em;
    text-transform: uppercase;
    font-family: 'Outfit', sans-serif;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--color-white) !important;
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    position: relative;
}

.nav-link::after {
    display: none !important;
    background: transparent !important;
}

.nav-link:hover {
    color: var(--color-white) !important;
}

.nav-link:hover::after {
    width: 0 !important;
    display: none !important;
}

/* === HERO SECTION === */
.hero {
    min-height: 100vh;
    background: transparent;
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--section-padding);
    padding-top: 8rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 2;
}

.hero-graphic {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 0 auto var(--spacing-lg);
    animation: float-rotate 8s ease-in-out infinite;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

@keyframes float-rotate {
    0% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }

    25% {
        transform: translateY(-15px) rotate(5deg) scale(1.05);
    }

    50% {
        transform: translateY(-25px) rotate(0deg) scale(1);
    }

    75% {
        transform: translateY(-15px) rotate(-5deg) scale(1.05);
    }

    100% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }
}

.hero-title {
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-accent-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--spacing-lg);
    color: rgba(255, 255, 255, 0.8);
}

.hero-tagline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: var(--spacing-md);
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* === SECTION LAYOUT === */
.section {
    padding: var(--section-padding);
}

.section-dark {
    background: transparent;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Global Living Background Effect */
.section-dark::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(20, 30, 40, 0.4) 0%, transparent 60%);
    opacity: 0.6;
    animation: livingBgFloat 25s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    pointer-events: none;
    z-index: -1;
}

/* Container fix for z-indexing over background */
.section-dark .container {
    position: relative;
    z-index: 2;
}

.section-light {
    background: var(--color-white);
    color: var(--color-black);
}

@keyframes livingBgFloat {
    0% {
        transform: rotate(0deg) translate(0, 0);
    }

    33% {
        transform: rotate(5deg) translate(2%, 2%);
    }

    66% {
        transform: rotate(-5deg) translate(-2%, 1%);
    }

    100% {
        transform: rotate(0deg) translate(0, 0);
    }
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title {
    margin-bottom: var(--spacing-md);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent-blue), var(--color-accent-teal));
}

.section-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: clamp(1rem, 2vw, 1.25rem);
    opacity: 0.9;
}

/* === GRID LAYOUTS === */
.grid {
    display: grid;
    gap: var(--spacing-lg);
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

/* === CARDS === */
.card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent-blue);
    box-shadow: 0 20px 60px rgba(0, 201, 255, 0.2);
}

.card-light {
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.card-light:hover {
    border-color: var(--color-accent-blue);
    box-shadow: 0 20px 60px rgba(0, 201, 255, 0.15);
}

.card-number {
    font-size: 3rem;
    font-weight: var(--font-weight-black);
    background: linear-gradient(135deg, var(--color-accent-blue), var(--color-accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
}

.card-title {
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.3;
}

.card-text {
    opacity: 0.9;
    line-height: 1.75;
    font-size: 1.05rem;
    flex-grow: 1;
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 2px solid;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent-blue), var(--color-accent-teal));
    color: var(--color-white);
    border-color: transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 201, 255, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-black);
}

/* === TABLE === */
.table-container {
    overflow-x: auto;
    margin: var(--spacing-lg) 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow: hidden;
}

thead {
    background: linear-gradient(135deg, var(--color-accent-blue), var(--color-accent-teal));
}

th {
    padding: 1.5rem 1rem;
    text-align: left;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    color: var(--color-white);
}

td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

tr:last-child td {
    border-bottom: none;
}

tbody tr {
    transition: var(--transition-smooth);
}

tbody tr:hover {
    background: rgba(0, 201, 255, 0.05);
}

/* === LIST STYLES === */
.feature-list {
    list-style: none;
    margin: var(--spacing-md) 0;
}

.feature-list li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.8;
}

.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent-blue);
    font-weight: var(--font-weight-bold);
    font-size: 1.5rem;
}

/* === TWO COLUMN LAYOUT === */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

/* === FOOTER === */
.footer {
    background: var(--color-black);
    color: var(--color-white);
    padding: var(--spacing-lg) 2rem;
    text-align: center;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: var(--font-weight-black);
    margin-bottom: var(--spacing-md);
}

.footer-text {
    opacity: 0.7;
    font-size: 0.875rem;
    margin-bottom: var(--spacing-sm);
}

.footer-address {
    font-style: normal;
    opacity: 0.8;
    margin-top: var(--spacing-md);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(25px) saturate(180%);
        -webkit-backdrop-filter: blur(25px) saturate(180%);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 2rem;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.25rem;
        opacity: 0;
        transform: translateY(20px);
        transition: 0.4s ease forwards;
    }

    .nav-menu.active .nav-link {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered animation for links */
    .nav-menu.active .nav-link:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-menu.active .nav-link:nth-child(2) {
        transition-delay: 0.2s;
    }

    .nav-menu.active .nav-link:nth-child(3) {
        transition-delay: 0.3s;
    }

    .nav-menu.active .nav-link:nth-child(4) {
        transition-delay: 0.4s;
    }

    .nav-menu.active .nav-link:nth-child(5) {
        transition-delay: 0.5s;
    }

    .two-column {
        grid-template-columns: 1fr;
    }

    .grid,
    .grid-2,
    .grid-3 {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        gap: 1.5rem;
        padding-bottom: 2rem;
        padding-left: 1rem;
        padding-right: 1rem;
        margin-left: -1rem;
        margin-right: -1rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .grid>*,
    .grid-2>*,
    .grid-3>* {
        min-width: 85vw !important;
        max-width: 85vw !important;
        flex-shrink: 0 !important;
        scroll-snap-align: center;
        margin-bottom: 0 !important;
    }

    /* Mobile Scroll Indicators */
    .scroll-indicators {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 1.5rem;
        padding-bottom: 1rem;
    }

    .scroll-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        transition: all 0.3s ease;
    }

    .scroll-dot.active {
        background: #00c9ff;
        width: 24px;
        border-radius: 4px;
    }

    :root {
        --section-padding: 4rem 1.5rem;
    }
}

/* Hide scroll indicators on desktop */
@media (min-width: 769px) {
    .scroll-indicators {
        display: none !important;
    }
}

/* === UTILITIES === */
.text-center {
    text-align: center;
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-accent-blue), var(--color-accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

@keyframes expandWidth {
    from {
        width: 0;
    }

    to {
        width: 100px;
    }
}

/* Page entrance */
body {
    animation: fadeIn 0.5s ease-out;
}

/* Scroll-triggered section animations */
.section {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

.section-header {
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.2s forwards;
}

/* Enhanced title underline animation */
.section-title::after {
    animation: expandWidth 1s ease-out 0.6s forwards;
    width: 0;
}

/* Card stagger animations */
.card {
    opacity: 0;
    position: relative;
    animation: scaleIn 0.6s ease-out forwards;
    overflow: hidden;
}

.card:nth-child(1) {
    animation-delay: 0.1s;
}

.card:nth-child(2) {
    animation-delay: 0.2s;
}

.card:nth-child(3) {
    animation-delay: 0.3s;
}

.card:nth-child(4) {
    animation-delay: 0.4s;
}

/* Card premium hover effect */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 201, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 16px;
    pointer-events: none;
}

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

/* Card number glow effect */
.card-number {
    position: relative;
    display: inline-block;
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
}

.card-number::before {
    content: '';
    position: absolute;
    width: 70px;
    height: 70px;
    background: radial-gradient(circle, rgba(0, 201, 255, 0.3), transparent);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.card:hover .card-number::before {
    transform: translate(-50%, -50%) scale(1.8);
}

/* Grid stagger animations */
.grid>* {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.grid>*:nth-child(1) {
    animation-delay: 0.1s;
}

.grid>*:nth-child(2) {
    animation-delay: 0.2s;
}

.grid>*:nth-child(3) {
    animation-delay: 0.3s;
}

.grid>*:nth-child(4) {
    animation-delay: 0.4s;
}

.grid>*:nth-child(5) {
    animation-delay: 0.5s;
}

.grid>*:nth-child(6) {
    animation-delay: 0.6s;
}

/* Two-column layout animations */
.two-column>div:first-child {
    opacity: 0;
    animation: slideInLeft 1s ease-out 0.3s forwards;
}

.two-column>div:last-child {
    opacity: 0;
    animation: slideInRight 1s ease-out 0.3s forwards;
}

/* Feature list cascade */
.feature-list li {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.feature-list li:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-list li:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-list li:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-list li:nth-child(4) {
    animation-delay: 0.4s;
}

.feature-list li:nth-child(5) {
    animation-delay: 0.5s;
}

/* Hero text reveal */
.hero-title,
.hero-subtitle,
.hero-tagline {
    opacity: 0;
}

.hero-title {
    animation: fadeInUp 1s ease-out 0.8s forwards;
}

.hero-subtitle {
    animation: fadeInUp 1s ease-out 1s forwards;
}

.hero-tagline {
    animation: fadeInUp 1s ease-out 1.2s forwards;
}

/* Premium image interactions */
img {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    image-rendering: crisp-edges;
    image-rendering: -webkit-optimize-contrast;
}

img:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 201, 255, 0.3);
}

/* Technical diagrams with sophisticated animations */
.section img[src*="battery-anodes"],
.section img[src*="nano-fluids"],
.section img[src*="integration-methods"],
.section img[src*="cno-comparison"],
.section img[src*="oil-recovery"],
.section img[src*="value-proposition"],
.section img[src*="dunkirk-ecosystem"],
.section img[src*="strategic-location"],
.section img[src*="roadmap-2026"] {
    opacity: 0;
    animation: fadeInUp 1.2s ease-out forwards;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.section img[src*="battery-anodes"]:hover,
.section img[src*="nano-fluids"]:hover,
.section img[src*="integration-methods"]:hover,
.section img[src*="cno-comparison"]:hover,
.section img[src*="oil-recovery"]:hover,
.section img[src*="value-proposition"]:hover,
.section img[src*="dunkirk-ecosystem"]:hover,
.section img[src*="strategic-location"]:hover,
.section img[src*="roadmap-2026"]:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow: 0 30px 80px rgba(0, 201, 255, 0.5);
}

/* Navigation micro-interactions */
.nav-link {
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 201, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

/* Button ripple effect */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::after {
    width: 300px;
    height: 300px;
}

/* Table row animations */
tbody tr {
    opacity: 0;
    animation: fadeInUp 0.5s ease-out forwards;
}

tbody tr:nth-child(1) {
    animation-delay: 0.1s;
}

tbody tr:nth-child(2) {
    animation-delay: 0.2s;
}

tbody tr:nth-child(3) {
    animation-delay: 0.3s;
}

/* Footer entrance */
.footer {
    opacity: 0;
    animation: fadeIn 1s ease-out 0.5s forwards;
}

/* Gradient text shimmer */
.gradient-text {
    background-size: 200% auto;
    animation: shimmer 4s linear infinite;
}

/* Sophisticated focus states */
a:focus,
button:focus {
    outline: 2px solid var(--color-accent-blue);
    outline-offset: 4px;
    transition: outline-offset 0.2s ease;
}

/* Professional smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* === PARTNER LOGOS === */
.partner-strip {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.partner-logo {
    height: 24px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.7);
    opacity: 0.6;
    transition: var(--transition-smooth);
}

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

.partner-text {
    font-size: 0.9rem;
    font-weight: 800;
    color: #fff;
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    cursor: default;
    white-space: nowrap;
}

.partner-text:hover {
    opacity: 1;
    text-shadow: 0 0 15px rgba(0, 201, 255, 0.6);
    color: var(--color-accent-blue);
}

.partner-label {
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    display: block;
    width: 100%;
}

/* Enhanced text rendering */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}