:root {
    /* Colors - Warm Terracotta Light Theme */
    --primary: #b45309;
    --primary-dark: #92400e;
    --primary-light: #d97706;
    --accent: #c2410c;
    --accent-glow: rgba(194, 65, 12, 0.15);
    
    --bg-dark: #fffbf7;
    --bg-darker: #fef7f0;
    --surface: rgba(180, 83, 9, 0.06);
    --surface-light: #fef3e2;
    --surface-elevated: rgba(180, 83, 9, 0.1);
    
    --text: #451a03;
    --text-muted: #78350f;
    --text-dim: rgba(120, 53, 15, 0.7);
    
    --border: rgba(180, 83, 9, 0.2);
    --border-light: rgba(180, 83, 9, 0.1);
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 10rem;
    
    /* Typography */
    --font-display: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    
    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    
    /* Shadows */
    --shadow-glow: 0 0 60px rgba(180, 83, 9, 0.1);
    --shadow-card: 0 25px 50px -12px rgba(69, 26, 3, 0.1);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% -20%, rgba(180, 83, 9, 0.06), transparent),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(194, 65, 12, 0.04), transparent);
    pointer-events: none;
    z-index: -1;
}

::selection {
    background: var(--accent);
    color: var(--bg-dark);
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ============================================
   CURSOR GLOW (Desktop)
   ============================================ */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(180, 83, 9, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@media (hover: hover) {
    .cursor-glow {
        opacity: 1;
    }
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 8vw, 5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.125rem; }

p {
    color: var(--text-muted);
    max-width: 65ch;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}
/* 
section {
    padding: var(--space-3xl) 0;
} */

/* ============================================
   NAVIGATION
   ============================================ */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: all 0.4s var(--ease-out);
}

.main-nav.scrolled {
    padding: var(--space-sm) var(--space-lg);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.55rem;
    color: var(--accent);
    transition: transform 0.3s var(--ease-out);
}

.logo:hover {
    transform: scale(1.02);
}

.logo svg {
    width: 40px;
    height: 40px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-links a {
    position: relative;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dim);
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s ease;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.875rem 1.75rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
}

.btn svg {
    transition: transform 0.3s var(--ease-out);
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(180, 83, 9, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(180, 83, 9, 0.4);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    background: var(--surface);
    border-color: var(--primary);
}

.btn-light {
    background: #ffffff;
    color: var(--primary);
    border: 1px solid var(--border);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.btn-large {
    padding: 1.125rem 2.25rem;
    font-size: 1rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 115vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(180deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 30%, rgba(255,255,255,0.1) 70%, rgba(255,255,255,0.5) 100%),
        radial-gradient(ellipse at center, transparent 0%, rgba(255,255,255,0.4) 80%);
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 900px;
    padding: var(--space-xl);
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.5rem 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
    margin-bottom: var(--space-md);
}

.hero-title .line {
    display: block;
    animation: fadeInUp 0.8s var(--ease-out) both;
}

.hero-title .line:first-child {
    animation-delay: 0.3s;
}

.hero-title .line.accent {
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation-delay: 0.4s;
}

.hero-subtitle {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto var(--space-xl);
    animation: fadeInUp 0.8s var(--ease-out) 0.5s both;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s var(--ease-out) 0.6s both;
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-dim);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: fadeInUp 0.8s var(--ease-out) 0.8s both;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, var(--primary), transparent);
    animation: scrollLine 2s ease infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Particles */
.particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.2;
    animation: float 20s ease-in-out infinite;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.particle:nth-child(2) { left: 80%; top: 30%; animation-delay: -4s; }
.particle:nth-child(3) { left: 30%; top: 70%; animation-delay: -8s; }
.particle:nth-child(4) { left: 70%; top: 80%; animation-delay: -12s; }
.particle:nth-child(5) { left: 50%; top: 50%; animation-delay: -16s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.2); }
    50% { transform: translate(-20px, 20px) scale(0.8); }
    75% { transform: translate(40px, 10px) scale(1.1); }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    padding: var(--space-2xl) 0;
    background: var(--surface-light);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.stat-card {
    text-align: center;
    padding: var(--space-lg);
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--text), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-sm);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.4;
}

/* ============================================
   ABOUT PREVIEW
   ============================================ */
.about-preview {
    padding: var(--space-2xl) 0;
}

.split-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: var(--space-md);
}

.content-left h2 {
    margin-bottom: var(--space-md);
}

.content-left p {
    margin-bottom: var(--space-lg);
}

.ethos-pills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.pill:hover {
    border-color: var(--primary);
    background: var(--surface-elevated);
}

.pill svg {
    color: var(--accent);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 500;
    color: var(--accent);
    transition: gap 0.3s var(--ease-out);
}

.link-arrow:hover {
    gap: var(--space-md);
}

/* Molecule Visual */
.molecule-visual {
    position: relative;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hex-grid {
    display: grid;
    grid-template-columns: repeat(3, 80px);
    gap: 10px;
    transform: rotate(30deg);
}

.hex {
    width: 80px;
    height: 92px;
    background: var(--surface);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    border: 1px solid var(--border);
    transition: all 0.5s var(--ease-out);
    animation: hexPulse 3s ease infinite;
}

.hex:nth-child(1) { animation-delay: 0s; }
.hex:nth-child(2) { animation-delay: 0.2s; }
.hex:nth-child(3) { animation-delay: 0.4s; }
.hex:nth-child(4) { animation-delay: 0.6s; }
.hex:nth-child(5) { animation-delay: 0.8s; }
.hex:nth-child(6) { animation-delay: 1s; }
.hex:nth-child(7) { animation-delay: 1.2s; }

@keyframes hexPulse {
    0%, 100% { background: var(--surface); }
    50% { background: var(--surface-elevated); }
}

.glow-orb {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(180, 83, 9, 0.12), transparent 70%);
    border-radius: 50%;
    animation: orbFloat 6s ease-in-out infinite;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
}

/* ============================================
   PROPERTIES SECTION
   ============================================ */
.properties-section {
    padding: var(--space-xl) 0;
    background: linear-gradient(180deg, transparent, var(--surface-light), transparent);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-2xl);
}

.section-header h2 {
    margin-bottom: var(--space-md);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-lg);
}

.property-card {
    text-align: center;
    padding: var(--space-xl) var(--space-md);
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 24px;
    transition: all 0.4s var(--ease-out);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.property-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(180, 83, 9, 0.1);
}

.property-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-md);
}

.property-card h3 {
    margin-bottom: var(--space-sm);
    color: var(--text);
}

.property-card p {
    font-size: 0.9rem;
    margin: 0 auto;
}

/* ============================================
   APPLICATIONS PREVIEW
   ============================================ */
.applications-preview {
    padding: var(--space-2xl) 0;
}

.app-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.app-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.app-card.large {
    grid-row: span 2;
}

.app-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
    z-index: 1;
}

.app-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 2;
    transition: background 0.4s ease;
}

.app-card:hover .app-card-img {
    transform: scale(1.08);
}

.app-card:hover .app-card-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.app-card-content {
    position: relative;
    height: 100%;
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 3;
    color: #ffffff;
}

.app-card-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient);
    opacity: 0.9;
    transition: transform 0.6s var(--ease-out);
}

.app-card:hover .app-card-bg {
    transform: scale(1.05);
}

.app-card-content {
    position: relative;
    height: 100%;
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 3;
    color: #ffffff;
}

.app-tag {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-sm);
}

.app-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    color: #ffffff;
}

.app-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-sm);
}

.app-link {
    font-weight: 500;
    color: #ffffff;
    opacity: 0.9;
    transition: all 0.3s var(--ease-out);
}

.app-card:hover .app-link {
    opacity: 1;
    padding-left: 8px;
}

.center-cta {
    text-align: center;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: var(--space-2xl) 0;
}

.cta-card {
    position: relative;
    padding: var(--space-2xl);
    background: var(--surface-light);
    border: 1px solid var(--border);
    border-radius: 32px;
    overflow: hidden;
}

.cta-content h2 {
    color: var(--text);
    margin-bottom: var(--space-md);
}

.cta-content p {
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
}

.cta-content {
    position: relative;
    max-width: 600px;
    z-index: 2;
}

.cta-decoration {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
}

.deco-circle {
    position: absolute;
    border: 1px solid var(--border-light);
    border-radius: 50%;
}

.deco-circle:nth-child(1) {
    width: 300px;
    height: 300px;
    right: 0;
    top: -150px;
}

.deco-circle:nth-child(2) {
    width: 400px;
    height: 400px;
    right: -50px;
    top: -200px;
}

.deco-circle:nth-child(3) {
    width: 500px;
    height: 500px;
    right: -100px;
    top: -250px;
}


/* ============================================
   FOOTER
   ============================================ */
.main-footer {
    padding: var(--space-2xl) 0 var(--space-xl);
    background: var(--bg-darker);
    border-top: 1px solid var(--border-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand .logo {
    margin-bottom: var(--space-md);
}

.footer-brand p {
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text);
    margin-bottom: var(--space-md);
}

.footer-links a,
.footer-contact a {
    display: block;
    font-size: 0.9rem;
    color: var(--text-dim);
    padding: 0.375rem 0;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-light);
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* ============================================
   PAGE HEADERS
   ============================================ */
.page-header {
    padding: calc(var(--space-3xl) + 80px) 0 var(--space-2xl);
    text-align: center;
    background: 
        radial-gradient(ellipse 60% 40% at 50% 0%, rgba(180, 83, 9, 0.08), transparent);
}

.page-header h1 {
    margin-bottom: var(--space-md);
}

.page-header p {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
/* .about-hero {
    padding: var(--space-3xl) 0;
} */

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-text h2 {
    margin-bottom: var(--space-lg);
}

.about-text p {
    margin-bottom: var(--space-md);
    font-size: 1.05rem;
}

.ethos-section {
    padding: var(--space-3xl) 0;
    background: var(--surface-light);
}

.ethos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.ethos-card {
    padding: var(--space-xl);
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s var(--ease-out);
}

.ethos-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
}

.ethos-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ethos-icon svg {
    width: 40px;
    height: 40px;
    color: var(--bg-dark);
}

.ethos-card h3 {
    margin-bottom: var(--space-sm);
}

/* ============================================
   CHITIN PAGE
   ============================================ */
.chitin-intro {
    padding: var(--space-3xl) 0;
}

.chitin-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.chitin-visual {
    position: relative;
    aspect-ratio: 1;
    background: var(--surface);
    border-radius: 32px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.molecule-animation {
    width: 80%;
    height: 80%;
    position: relative;
}

.molecule-ring {
    position: absolute;
    border: 2px solid var(--accent);
    border-radius: 50%;
    opacity: 0.3;
    animation: ringPulse 4s ease infinite;
}

.molecule-ring:nth-child(1) {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.molecule-ring:nth-child(2) {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    animation-delay: 1s;
}

.molecule-ring:nth-child(3) {
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    animation-delay: 2s;
}

.molecule-center {
    position: absolute;
    width: 20%;
    height: 20%;
    top: 40%;
    left: 40%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    animation: centerGlow 3s ease infinite;
}

@keyframes ringPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.05); opacity: 0.5; }
}

@keyframes centerGlow {
    0%, 100% { box-shadow: 0 0 30px var(--accent-glow); }
    50% { box-shadow: 0 0 60px var(--accent-glow); }
}

.benefits-list {
    margin-top: var(--space-xl);
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border-light);
}

.benefit-item:last-child {
    border-bottom: none;
}

.benefit-check {
    width: 24px;
    height: 24px;
    background: var(--surface-elevated);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent);
}

.benefit-item h4 {
    color: var(--text);
    margin-bottom: 4px;
}

.benefit-item p {
    font-size: 0.9rem;
    margin: 0;
}

/* ============================================
   APPLICATIONS PAGE
   ============================================ */
.applications-grid {
    padding: var(--space-3xl) 0;
}

.app-section {
    margin-bottom: var(--space-3xl);
    scroll-margin-top: 100px;
}

.app-section:last-child {
    margin-bottom: 0;
}

.app-detail {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-2xl);
    padding: var(--space-2xl);
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: 32px;
    align-items: start;
}

.app-detail.reverse {
    grid-template-columns: 1.5fr 1fr;
}

.app-detail.reverse .app-info {
    order: 2;
}

.app-icon-large {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 120px;
}

.app-icon-large svg {
    width: 50%;
    height: 50%;
    color: var(--text);
    opacity: 0.9;
}

.app-info h3 {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.app-subtitle {
    font-size: 1rem;
    color: var(--accent);
    margin-bottom: var(--space-lg);
}

.app-description {
    font-size: 1.05rem;
    margin-bottom: var(--space-xl);
}

.advantages-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.advantages-list {
    list-style: none;
}

.advantages-list li {
    position: relative;
    padding: var(--space-sm) 0 var(--space-sm) var(--space-lg);
    border-bottom: 1px solid var(--border-light);
    font-size: 0.95rem;
    color: var(--text-muted);
}

.advantages-list li:last-child {
    border-bottom: none;
}

.advantages-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
    padding: var(--space-md) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
}

.contact-info h2 {
    margin-bottom: var(--space-lg);
}

.contact-info > p {
    margin-bottom: var(--space-xl);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.contact-method:hover {
    border-color: var(--primary);
    transform: translateX(8px);
}

.method-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-icon svg {
    width: 24px;
    height: 24px;
    color: var(--bg-dark);
}

.method-info h4 {
    color: var(--text);
    margin-bottom: 4px;
}

.method-info p {
    margin: 0;
    font-size: 0.9rem;
}

.method-info a {
    color: var(--accent);
}

.contact-form-wrapper {
    padding: var(--space-xl);
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: 24px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: var(--space-md);
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.15);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .properties-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .app-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .app-card.large {
        grid-row: span 1;
    }
}

@media (max-width: 968px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        justify-content: center;
        padding: var(--space-xl);
        transition: right 0.4s var(--ease-out);
        border-left: 1px solid var(--border);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .split-content,
    .about-content,
    .chitin-content,
    .app-detail,
    .app-detail.reverse,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .app-detail.reverse .app-info {
        order: 0;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ethos-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    :root {
        --space-lg: 1.5rem;
        --space-xl: 2.5rem;
        --space-2xl: 4rem;
        --space-3xl: 6rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .properties-grid,
    .app-showcase {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }