:root {
    /* Theme tokens (dark mode only) */
    color-scheme: dark;
    --color-bg: #08090c;
    --color-bg-elevated: rgba(12, 14, 20, 0.85);
    --color-surface: #0e1017;
    --color-surface-2: #12141c;
    --color-text-primary: rgba(255, 255, 255, 0.95);
    --color-text-secondary: rgba(255, 255, 255, 0.6);
    --color-text-tertiary: rgba(255, 255, 255, 0.4);
    --color-accent: #7c9bdd;
    --color-accent-light: #a3b8e8;
    --color-accent-subtle: rgba(124, 155, 221, 0.1);
    --color-accent-glow: rgba(124, 155, 221, 0.2);
    --color-border: rgba(255, 255, 255, 0.06);
    --color-border-strong: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 80px rgba(124, 155, 221, 0.15);

    /* Type */
    --font-display: 'Source Serif 4', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Layout */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 7rem;
    --space-3xl: 12rem;
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* Motion */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Subtle steel blue glow on text hover */
p:hover,
h1:hover,
h2:hover,
h3:hover,
h4:hover,
span:hover,
li:hover,
dt:hover,
dd:hover,
a:hover {
    text-shadow: 0 0 8px rgba(70, 130, 180, 0.35);
    transition: text-shadow 0.2s var(--ease-out);
}

/* Galaxy Canvas Background */
#galaxy {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Mesh/Particle Background (Three.js) */
#mesh-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

#mesh-background canvas {
    pointer-events: none;
}

/* Nebula overlay */
.nebula {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(88, 28, 135, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(30, 64, 175, 0.12) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 50%, rgba(67, 56, 202, 0.08) 0%, transparent 60%);
    animation: nebulaPulse 12s ease-in-out infinite alternate;
}

@keyframes nebulaPulse {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

/* Floating orbs */
.orb {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
    filter: blur(60px);
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(124, 155, 221, 0.2) 0%, transparent 70%);
    top: -10%;
    right: -5%;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    bottom: -5%;
    left: -5%;
    animation-delay: -7s;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
    top: 40%;
    left: 20%;
    animation-delay: -14s;
}

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

main {
    position: relative;
    z-index: 1;
}

.skip-link {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    background: var(--color-surface);
    border: 1px solid var(--color-border-strong);
    color: var(--color-text-primary);
    font-weight: 500;
    transform: translateY(-140%);
    transition: transform 200ms var(--ease-out);
    z-index: 1000;
}

.skip-link:focus {
    transform: translateY(0);
}

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

/* Layout */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

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

.nav.scrolled {
    background: var(--color-bg-elevated);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

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

.nav__logo {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--color-text-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.875rem;
    transition: opacity 0.3s ease;
}

.nav__logo:hover {
    opacity: 0.7;
}

.logo-mark {
    width: 28px;
    height: 28px;
    color: var(--color-text-primary);
    flex: 0 0 auto;
    display: block;
    overflow: visible;
}

.logo-mark.observer-logo-interactive {
    /* Ensure the logo mark SVG scales properly */
    min-width: 28px;
    min-height: 28px;
    background: transparent;
    visibility: visible;
}

.nav__brand {
    color: var(--color-text-primary);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.nav__meta {
    color: var(--color-text-tertiary);
    font-weight: 400;
    font-size: 0.8rem;
    letter-spacing: 0.01em;
    white-space: nowrap;
    padding-left: 0.75rem;
    border-left: 1px solid var(--color-border-strong);
    margin-left: 0.25rem;
}

.nav__links {
    display: flex;
    gap: var(--space-xs);
    list-style: none;
}

.nav__link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s var(--ease-out);
    position: relative;
}

.nav__link:hover {
    color: var(--color-text-primary);
    background: var(--color-accent-subtle);
}

/* Magnetic Buttons */
.magnetic {
    transition: transform 0.1s ease-out;
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    .magnetic {
        transition: none;
    }
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-3xl) 0 var(--space-2xl);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--color-accent-glow) 0%, transparent 70%);
    opacity: 0.5;
    pointer-events: none;
    filter: blur(60px);
}

.hero__content {
    max-width: 720px;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: var(--space-2xl);
    align-items: center;
}

.hero__aside {
    display: grid;
    gap: var(--space-md);
    align-content: start;
}

.hero__mark {
    border: 1px solid var(--color-border);
    background: linear-gradient(145deg, var(--color-surface) 0%, var(--color-surface-2) 100%);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md), var(--shadow-glow);
    padding: var(--space-xl);
    position: relative;
    overflow: hidden;
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.hero__mark:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.hero__mark::before {
    content: '';
    position: absolute;
    top: -100%;
    right: -50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--color-accent-subtle) 0%, transparent 60%);
    opacity: 1;
    pointer-events: none;
}

.hero__mark::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -30%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--color-accent-glow) 0%, transparent 70%);
    opacity: 0.5;
    pointer-events: none;
}

.hero__logo {
    width: 100%;
    height: auto;
    max-width: 320px;
    display: block;
    margin: 0 auto;
    color: var(--color-text-primary);
    position: relative;
    z-index: 1;
}

.hero__logo.observer-logo-interactive {
    /* Ensure the hero logo SVG maintains aspect ratio */
    aspect-ratio: 200 / 250;
    background: transparent;
    visibility: visible;
}

.hero__facts {
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: grid;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
}

.hero__fact {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1rem;
    align-items: baseline;
}

.hero__fact dt {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.hero__fact dd {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

.hero__eyebrow {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s var(--ease-out) 0.2s forwards;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.hero__eyebrow::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--color-accent);
    border-radius: 1px;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--color-text-primary);
    margin-bottom: var(--space-lg);
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s var(--ease-out) 0.35s forwards;
}

.hero__subtitle {
    font-family: var(--font-body);
    font-size: clamp(1.125rem, 2vw, 1.35rem);
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-text-secondary);
    max-width: 540px;
    margin-bottom: var(--space-xl);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s var(--ease-out) 0.5s forwards;
}

.hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-surface);
    background: var(--color-text-primary);
    text-decoration: none;
    padding: 1rem 1.75rem;
    border-radius: var(--radius-md);
    transition: all 0.4s var(--ease-out);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s var(--ease-out) 0.65s forwards;
    box-shadow: var(--shadow-md);
}

.hero__cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    gap: 1rem;
}

.hero__cta svg {
    width: 18px;
    height: 18px;
    transition: transform 0.4s var(--ease-out);
}

.hero__cta:hover svg {
    transform: translateX(4px);
}

.hero__scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    opacity: 0;
    animation: fadeIn 1s var(--ease-out) 1.5s forwards;
}

.hero__scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
    animation: scrollPulse 2.5s var(--ease-in-out) infinite;
}

/* Symbols Section - Seek, Learn, Integrate */
.symbols {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background: transparent;
    padding: var(--space-2xl) 0;
}

.symbols__canvas {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 300px;
    margin: 0 auto;
    overflow: hidden;
}

.symbols__canvas canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.symbols__labels {
    display: flex;
    justify-content: center;
    gap: var(--space-3xl);
    margin-top: var(--space-lg);
    width: 100%;
    max-width: 900px;
}

.symbols__label {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.symbols__label[data-symbol="seek"] {
    transition-delay: 0s;
}

.symbols__label[data-symbol="learn"] {
    transition-delay: 0.3s;
}

.symbols__label[data-symbol="integrate"] {
    transition-delay: 0.6s;
}

@media (max-width: 768px) {
    .symbols {
        min-height: 50vh;
    }
    
    .symbols__canvas {
        height: 300px;
    }
    
    .symbols__labels {
        gap: var(--space-xl);
    }
}

@media (max-width: 480px) {
    .symbols__canvas {
        height: 220px;
    }
    
    .symbols__labels {
        gap: var(--space-lg);
    }
    
    .symbols__label {
        font-size: 0.75rem;
    }
}

/* Sections */
section {
    padding: var(--space-3xl) 0;
    position: relative;
}

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

.section-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.section-label::before,
.section-label::after {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--color-accent);
    opacity: 0.5;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
}

/* Philosophy */
.philosophy {
    background: rgba(14, 16, 23, 0.85); /* Semi-transparent to show stars */
    position: relative;
    overflow: hidden;
}


.philosophy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    opacity: 0.3;
}

.philosophy::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border-strong), transparent);
}

.philosophy__grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: var(--space-2xl);
    align-items: start;
}

.philosophy__intro {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    line-height: 1.4;
    color: var(--color-text-primary);
    position: sticky;
    top: 120px;
}

.philosophy__details {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.philosophy__text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

.philosophy__values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.value {
    padding: var(--space-lg);
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.value::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}

.value:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

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

.value--symbol {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-lg);
}

.value__symbol {
    width: 140px;
    height: 168px;
    margin-bottom: var(--space-xs);
    color: var(--color-text-primary);
    opacity: 1;
    transition: all 0.4s var(--ease-out);
}

.value--symbol:hover .value__symbol {
    opacity: 1;
    transform: scale(1.08);
}

.value__title {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.value__desc {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Work */
.work {
    background: rgba(8, 9, 12, 0.85); /* Semi-transparent to show stars */
}


.work__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    gap: var(--space-md);
}

.project-card {
    position: relative;
    padding: var(--space-xl);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    transition: all 0.5s var(--ease-out);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
}

@media (min-width: 1025px) {
    .project-card:nth-child(even) {
        margin-top: var(--space-xl);
    }
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--color-accent-subtle) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-accent), var(--color-accent-light));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.5s var(--ease-out);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: transparent;
}

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

.project-card:hover::after {
    transform: scaleY(1);
}

.project-card__industry {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
}

.project-card__problem {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--color-text-primary);
    line-height: 1.35;
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
}

.project-card__solution {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.project-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
    position: relative;
    z-index: 1;
}

.project-card__tag {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-accent);
    padding: 6px 12px;
    background: var(--color-accent-subtle);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.project-card:hover .project-card__tag {
    background: var(--color-accent);
    color: white;
}

.work__cta {
    display: flex;
    justify-content: center;
    margin-top: var(--space-2xl);
    padding-top: var(--space-2xl);
}

.work__cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-primary);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.3s var(--ease-out);
    box-shadow: var(--shadow-sm);
}

.work__cta-button:hover {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), var(--shadow-glow);
}

.work__cta-button svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s var(--ease-out);
}

.work__cta-button:hover svg {
    transform: translateX(4px);
}

.work--listing .work__grid {
    padding: var(--space-2xl) 0;
}

.work__back {
    display: flex;
    justify-content: center;
    margin-top: var(--space-2xl);
    padding-top: var(--space-2xl);
}

.work__back-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-primary);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.3s var(--ease-out);
    box-shadow: var(--shadow-sm);
}

.work__back-button:hover {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), var(--shadow-glow);
}

.work__back-button svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s var(--ease-out);
}

.work__back-button:hover svg {
    transform: translateX(-4px);
}

/* Capabilities */
.capabilities {
    background: rgba(14, 16, 23, 0.85); /* Semi-transparent to show stars */
    position: relative;
}


.capabilities::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--color-accent-glow) 0%, transparent 70%);
    opacity: 0.3;
    pointer-events: none;
}

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

.capabilities__cta {
    display: flex;
    justify-content: center;
    margin-top: var(--space-2xl);
    padding-top: var(--space-2xl);
}

.capabilities__cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-primary);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.3s var(--ease-out);
    box-shadow: var(--shadow-sm);
}

.capabilities__cta-button:hover {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), var(--shadow-glow);
}

.capabilities__cta-button svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s var(--ease-out);
}

.capabilities__cta-button:hover svg {
    transform: translateX(4px);
}

.capabilities--listing .capabilities__grid {
    padding: var(--space-2xl) 0;
}

.capabilities__back {
    display: flex;
    justify-content: center;
    margin-top: var(--space-2xl);
    padding-top: var(--space-2xl);
}

.capabilities__back-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-primary);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.3s var(--ease-out);
    box-shadow: var(--shadow-sm);
}

.capabilities__back-button:hover {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), var(--shadow-glow);
}

.capabilities__back-button svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s var(--ease-out);
}

.capabilities__back-button:hover svg {
    transform: translateX(-4px);
}

.capability {
    padding: var(--space-xl);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    transition: all 0.5s var(--ease-out);
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.capability::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--color-accent-subtle) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.capability:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    background: var(--color-surface);
}

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

.capability__icon-wrapper {
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-md);
    padding: 10px;
    background: var(--color-accent-subtle);
    border-radius: var(--radius-md);
    transition: all 0.4s var(--ease-out);
    display: flex;
    align-items: center;
    justify-content: center;
}

.capability__icon {
    width: 100%;
    height: 100%;
    color: var(--color-accent);
    transition: color 0.4s var(--ease-out);
}

.capability__icon-wrapper .lottie-icon {
    width: 100%;
    height: 100%;
}

.capability:hover .capability__icon-wrapper {
    background: var(--color-accent);
    transform: scale(1.1);
}

.capability:hover .capability__icon {
    color: white;
}

.capability__title {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--space-xs);
}

.capability__desc {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Testimonials */
.testimonials {
    background: rgba(8, 9, 12, 0.85);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border-strong), transparent);
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.testimonial-card {
    position: relative;
    padding: var(--space-xl);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    transition: all 0.5s var(--ease-out);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--color-accent-subtle) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: transparent;
}

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

.testimonial-card__quote {
    position: absolute;
    top: var(--space-md);
    left: var(--space-lg);
    font-size: 4rem;
    line-height: 1;
    color: var(--color-accent);
    opacity: 0.15;
    font-family: Georgia, serif;
    z-index: 0;
}

.testimonial-card__content {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--color-text-primary);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 1;
    flex: 1;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: auto;
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
    position: relative;
    z-index: 1;
}

.testimonial-card__avatar {
    width: 48px;
    height: 48px;
    background: var(--color-accent-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
}

.testimonial-card__info {
    flex: 1;
}

.testimonial-card__name {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 2px;
}

.testimonial-card__role {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    color: var(--color-text-secondary);
}

.testimonial-card__rating {
    display: flex;
    gap: 2px;
}

.testimonial-card__star {
    width: 16px;
    height: 16px;
    color: var(--color-accent);
}

.testimonial-card__star--empty {
    color: var(--color-border-strong);
}

.testimonials__empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--space-2xl);
    color: var(--color-text-tertiary);
    font-size: 1rem;
}

@media (max-width: 1024px) {
    .testimonials__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* About */
.about {
    background: rgba(8, 9, 12, 0.85); /* Semi-transparent to show stars */
    position: relative;
}


.about::before {
    content: '';
    position: absolute;
    top: 0;
    right: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-accent-glow) 0%, transparent 70%);
    opacity: 0.4;
    pointer-events: none;
    filter: blur(40px);
}

.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.about__text-group {
    padding-right: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.about__text-group .section-header {
    text-align: left;
    margin-bottom: var(--space-md);
}

.about__text-group .section-label::before,
.about__text-group .section-label::after {
    display: none;
}

.about__lead {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    line-height: 1.4;
    color: var(--color-text-primary);
}

.about__body {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

.about__visual {
    position: relative;
    aspect-ratio: 1/1;
    background: linear-gradient(145deg, var(--color-surface) 0%, var(--color-surface-2) 100%);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about__visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 50px,
            var(--color-border) 50px,
            var(--color-border) 51px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 50px,
            var(--color-border) 50px,
            var(--color-border) 51px
        );
    opacity: 0.4;
}

.about__visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, var(--color-accent-glow) 0%, transparent 50%);
    opacity: 0.5;
}

.about__visual-text {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 300;
    color: var(--color-text-tertiary);
    letter-spacing: -0.02em;
}

/* Footer / Contact */
.footer {
    background: rgba(10, 10, 15, 0.9); /* Semi-transparent to show stars, slightly more opaque for readability */
    color: var(--color-bg);
    padding: var(--space-3xl) 0 var(--space-xl);
    position: relative;
    overflow: hidden;
}


.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    opacity: 0.5;
}

.footer {
    background: #050507;
    color: rgba(255, 255, 255, 0.95);
}

.footer__main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-3xl);
}

.footer__cta-group {
    max-width: 520px;
}

.footer__cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    line-height: 1.15;
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.footer__cta-subtitle {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.footer__email {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    transition: all 0.4s var(--ease-out);
    cursor: pointer;
    font: inherit;
}

.footer__email:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.footer__nav {
    display: flex;
    gap: var(--space-2xl);
}

.footer__nav-group h4 {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: var(--space-md);
}

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

.footer__nav-group a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer__nav-group a:hover {
    color: white;
    transform: translateX(4px);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.35);
}

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

.footer__legal a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__legal a:hover {
    color: rgba(255, 255, 255, 0.7);
}

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

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes scrollPulse {
    0%, 100% {
        transform: scaleY(1);
        opacity: 1;
    }
    50% {
        transform: scaleY(0.5);
        opacity: 0.3;
    }
}

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

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

/* Responsive */
@media (max-width: 1024px) {
    .hero__grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .hero__aside {
        max-width: 400px;
    }

    .nav__meta {
        display: none;
    }

    .philosophy__grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .philosophy__intro {
        position: static;
    }

    .work__grid {
        grid-template-columns: 1fr;
    }

    .about__content {
        grid-template-columns: 1fr;
    }

    .about__visual {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }

    .footer__main {
        flex-direction: column;
        gap: var(--space-2xl);
    }

    .footer__nav {
        flex-wrap: wrap;
        gap: var(--space-xl);
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 var(--space-md);
    }

    .nav__links {
        display: none;
    }

    .philosophy__values {
        grid-template-columns: 1fr;
    }

    .capabilities__grid {
        grid-template-columns: 1fr;
    }

    .footer__bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .hero__scroll-line {
        animation: none;
    }
}

/* Product Modal */
.product-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease-out), visibility 0.4s var(--ease-out);
}

.product-modal[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}

.product-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.product-modal__backdrop {
    background: rgba(0, 0, 0, 0.75);
}

.product-modal__container {
    position: relative;
    width: 100%;
    max-width: 720px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    transform: translateY(20px) scale(0.98);
    transition: transform 0.5s var(--ease-out);
}

.product-modal[aria-hidden="false"] .product-modal__container {
    transform: translateY(0) scale(1);
}

.product-modal__content {
    padding: var(--space-xl);
}

.product-modal__close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface-2);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.product-modal__close:hover {
    background: var(--color-accent-subtle);
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.product-modal__close svg {
    width: 20px;
    height: 20px;
}

.product-modal__header {
    text-align: center;
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: var(--space-lg);
}

.product-modal__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    padding: 14px;
    background: var(--color-accent-subtle);
    border-radius: var(--radius-lg);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-modal__icon svg,
.product-modal__icon .modal-icon {
    width: 100%;
    height: 100%;
    color: inherit;
}

.product-modal__icon .lottie-icon {
    width: 100%;
    height: 100%;
}

.product-modal__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 300;
    color: var(--color-text-primary);
    margin-bottom: var(--space-xs);
    letter-spacing: -0.02em;
}

.product-modal__subtitle {
    font-size: 1.0625rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    max-width: 540px;
    margin: 0 auto;
}

.product-modal__body {
    padding-bottom: var(--space-lg);
}

.product-modal__description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
}

.product-modal__description h2,
.product-modal__description h3 {
    font-family: var(--font-display);
    color: var(--color-text-primary);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.product-modal__description h2 {
    font-size: 1.5rem;
    font-weight: 400;
}

.product-modal__description h3 {
    font-size: 1.25rem;
    font-weight: 400;
}

.product-modal__description p {
    margin-bottom: var(--space-md);
}

.product-modal__features {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.product-modal__features-title {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

.product-modal__features-list {
    list-style: none;
    display: grid;
    gap: var(--space-sm);
}

.product-modal__features-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.product-modal__features-list li::before {
    content: '';
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    margin-top: 0.5em;
    background: var(--color-accent);
    border-radius: 50%;
}

.product-modal__screenshots {
    position: relative;
    margin-top: var(--space-lg);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-bg);
    width: 100%;
    min-height: 300px;
}

.product-modal__screenshots-carousel {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
    width: 100%;
}

.product-modal__screenshot-item {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
    min-height: 300px;
}

.product-modal__screenshot {
    max-width: 100%;
    max-height: 600px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    background: var(--color-bg);
}

.product-modal__screenshots-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
    backdrop-filter: blur(8px);
}

.product-modal__screenshots-nav:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.product-modal__screenshots-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.product-modal__screenshots-nav svg {
    width: 20px;
    height: 20px;
}

.product-modal__screenshots-nav--prev {
    left: var(--space-md);
}

.product-modal__screenshots-nav--next {
    right: var(--space-md);
}

.product-modal__screenshots-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.product-modal__screenshots-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: var(--space-md);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    z-index: 10;
}

.product-modal__screenshots-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
}

.product-modal__screenshots-indicator:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.product-modal__screenshots-indicator.active {
    background: #fff;
    width: 24px;
    border-radius: 4px;
}

.product-modal__footer {
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.product-modal__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-surface);
    background: var(--color-text-primary);
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    transition: all 0.4s var(--ease-out);
    box-shadow: var(--shadow-md);
}

.product-modal__cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    gap: 1rem;
}

.product-modal__cta svg {
    width: 18px;
    height: 18px;
    transition: transform 0.4s var(--ease-out);
}

.product-modal__cta:hover svg {
    transform: translateX(4px);
}

.product-modal__footer--hidden {
    display: none;
}

/* Capability card clickable state */
.capability--clickable {
    cursor: pointer;
}

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

/* Modal scrollbar styling */
.product-modal__container::-webkit-scrollbar {
    width: 8px;
}

.product-modal__container::-webkit-scrollbar-track {
    background: var(--color-surface-2);
    border-radius: 4px;
}

.product-modal__container::-webkit-scrollbar-thumb {
    background: var(--color-border-strong);
    border-radius: 4px;
}

.product-modal__container::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent);
}

@media (max-width: 640px) {
    .product-modal {
        padding: var(--space-sm);
    }

    .product-modal__container {
        max-height: 95vh;
        border-radius: var(--radius-lg);
    }

    .product-modal__content {
        padding: var(--space-lg);
    }

    .product-modal__close {
        top: var(--space-sm);
        right: var(--space-sm);
        width: 40px;
        height: 40px;
    }
}

/* Contact Section */
.contact-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-3xl) 0 var(--space-2xl);
    position: relative;
}

.contact-section__header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--space-2xl);
}

.contact-section__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
}

.contact-section__subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

.contact-section__form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
}

/* Contact Form */
.contact-form {
    display: grid;
    gap: var(--space-lg);
}

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

.contact-form .form-label {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-primary);
}

.contact-form .form-input {
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 0.75rem 1rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text-primary);
    transition: all 0.3s var(--ease-out);
}

.contact-form .form-input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px var(--color-accent-subtle);
}

.contact-form .form-textarea {
    resize: vertical;
    min-height: 150px;
    font-family: var(--font-body);
    line-height: 1.6;
}

.contact-form .form-actions {
    display: flex;
    justify-content: flex-end;
}

.contact-form .btn {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-form .btn-primary {
    background: var(--color-accent);
    color: white;
    box-shadow: var(--shadow-sm);
}

.contact-form .btn-primary:hover:not(:disabled) {
    background: var(--color-accent-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), var(--shadow-glow);
}

.contact-form .btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.contact-form .form-message {
    padding: var(--space-md);
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.contact-form .form-message--success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.contact-form .form-message--error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

@media (max-width: 768px) {
    .contact-section {
        padding: var(--space-2xl) 0 var(--space-xl);
    }

    .contact-section__form {
        padding: var(--space-md);
    }
}

/* FAQ Section */
.faq-section {
    padding: var(--space-3xl) 0 var(--space-xl);
    background: rgba(8, 9, 12, 0.85);
    position: relative;
}

.faq__accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.faq__item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s var(--ease-out);
}

.faq__item:hover {
    border-color: var(--color-border-strong);
}

.faq__item.active {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-md);
}

.faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--color-text-primary);
    transition: all 0.3s var(--ease-out);
}

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

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

.faq__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--color-text-tertiary);
    transition: transform 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

.faq__item.active .faq__icon {
    transform: rotate(180deg);
    color: var(--color-accent);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out);
}

.faq__item.active .faq__answer {
    max-height: 500px;
}

.faq__answer-content {
    padding: 0 var(--space-lg) var(--space-lg);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

.faq__answer-content p {
    margin-bottom: var(--space-sm);
}

.faq__answer-content p:last-child {
    margin-bottom: 0;
}

.faq__empty {
    text-align: center;
    padding: var(--space-2xl);
    color: var(--color-text-tertiary);
    font-size: 1rem;
}

.faq__category {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
    opacity: 0.7;
}

@media (max-width: 768px) {
    .faq-section {
        padding: var(--space-2xl) 0 var(--space-lg);
    }

    .faq__question {
        padding: var(--space-md);
        font-size: 1rem;
    }

    .faq__answer-content {
        padding: 0 var(--space-md) var(--space-md);
    }
}

