/* ============================================
   WebTrades GmbH — ULTRA PREMIUM Styles
   Monochrome: Black + White + Silver
   ============================================ */

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

:root {
    --black: #000000;
    --bg: #050506;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.07);
    --accent: #ffffff;
    --accent-dim: rgba(255, 255, 255, 0.10);
    --accent-glow: rgba(255, 255, 255, 0.06);
    --silver: #b0b0b0;
    --silver-dim: rgba(176, 176, 176, 0.12);
    --silver-glow: rgba(176, 176, 176, 0.06);
    --silver-light: #d0d0d0;
    --navy: #080a12;
    --white: #ffffff;
    --gray-100: #f0f0f0;
    --gray-200: #c8c8c8;
    --gray-300: #999999;
    --gray-400: #666666;
    --gray-500: #444444;
    --gray-600: #2a2a2a;
    --gray-700: #1a1a1a;
    --gray-800: #0d0d0f;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.20);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.3), rgba(255,255,255,0.1));
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(255,255,255,0.2), rgba(255,255,255,0.5), rgba(255,255,255,0.2));
}

body {
    font-family: var(--font-main);
    background: var(--bg);
    color: var(--gray-200);
    line-height: 1.6;
    overflow-x: hidden;
}

body.loading {
    overflow: hidden;
}

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

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

/* --- LOADING SCREEN --- */
.loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-inner {
    text-align: center;
}

.loader-logo {
    margin-bottom: 24px;
    animation: loaderPulse 1.2s ease-in-out infinite;
}

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

.loader-bar {
    width: 200px;
    height: 3px;
    background: var(--gray-700);
    border-radius: 3px;
    overflow: hidden;
}

.loader-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, rgba(255,255,255,0.1), rgba(255,255,255,0.7), rgba(255,255,255,0.1));
    border-radius: 3px;
    animation: loaderFill 1.2s ease-out forwards;
}

@keyframes loaderFill {
    to { width: 100%; }
}

/* --- CURSOR GLOW --- */
.cursor-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, rgba(176, 176, 176, 0.02) 30%, transparent 60%);
    pointer-events: none;
    z-index: 9998;
    transform: translate(-250px, -250px);
    will-change: transform;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cursor-glow.active {
    opacity: 1;
}

.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--white);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-4px, -4px);
    will-change: transform;
    opacity: 0;
    mix-blend-mode: difference;
    transition: width 0.2s ease, height 0.2s ease, opacity 0.4s ease;
}

.cursor-dot.active {
    opacity: 1;
}

.cursor-dot.hovering {
    width: 40px;
    height: 40px;
    transform: translate(-20px, -20px);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

/* --- PARTICLE CANVAS --- */
#particleCanvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
}

/* --- GLASS CARD --- */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, transparent 50%, rgba(255, 255, 255, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(255, 255, 255, 0.03),
        0 0 60px rgba(255, 255, 255, 0.02);
}

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

/* --- NAVIGATION --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s var(--ease-out-expo);
    background: transparent;
}

.nav.scrolled {
    background: rgba(5, 5, 6, 0.85);
    backdrop-filter: blur(30px) saturate(1.4);
    -webkit-backdrop-filter: blur(30px) saturate(1.4);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 0;
    transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
    transform: rotate(-8deg) scale(1.05);
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
    line-height: 1;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-300);
    transition: all 0.3s ease;
    letter-spacing: -0.01em;
    position: relative;
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0.8), rgba(176,176,176,0.4));
    transition: width 0.3s var(--ease-out-expo);
    border-radius: 2px;
}

.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-cta {
    background: var(--white);
    color: var(--black) !important;
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600 !important;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 16px 24px;
    background: rgba(5, 5, 6, 0.95);
    backdrop-filter: blur(30px);
    border-top: 1px solid var(--border);
}

.mobile-menu a {
    padding: 12px 0;
    font-size: 1rem;
    color: var(--gray-200);
    border-bottom: 1px solid var(--border);
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.mobile-menu a:hover {
    color: var(--white);
    padding-left: 8px;
}

.mobile-menu a:last-child {
    border-bottom: none;
    color: var(--white);
    font-weight: 600;
}

/* --- HERO --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0 60px;
    overflow: hidden;
    background: linear-gradient(180deg, var(--navy) 0%, var(--bg) 100%);
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
    animation: gridFloat 20s linear infinite;
}

@keyframes gridFloat {
    0% { transform: translate(0, 0); }
    50% { transform: translate(-30px, -30px); }
    100% { transform: translate(0, 0); }
}

.hero-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
    pointer-events: none;
    animation: glowPulse 6s ease-in-out infinite;
}

.hero-glow-cyan {
    top: -10%;
    left: 20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(200, 200, 200, 0.04) 0%, transparent 60%);
    animation: glowPulse 8s ease-in-out infinite reverse;
}

.hero-glow-pink {
    top: 10%;
    left: 75%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(150, 150, 150, 0.03) 0%, transparent 60%);
    animation: glowPulse 7s ease-in-out infinite 2s;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.15); }
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(60px);
}

.hero-orb-1 {
    width: 300px;
    height: 300px;
    top: 15%;
    right: 10%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent);
    animation: orbFloat 12s ease-in-out infinite;
}

.hero-orb-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 5%;
    background: radial-gradient(circle, rgba(200, 200, 200, 0.06), transparent);
    animation: orbFloat 10s ease-in-out infinite 3s;
}

.hero-orb-3 {
    width: 250px;
    height: 250px;
    top: 60%;
    right: 25%;
    background: radial-gradient(circle, rgba(176, 176, 176, 0.05), transparent);
    animation: orbFloat 14s ease-in-out infinite 6s;
}

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

.hero-noise {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
    mix-blend-mode: overlay;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--silver-light);
    margin-bottom: 28px;
    font-family: var(--font-mono);
    backdrop-filter: blur(10px);
    animation: badgeGlow 3s ease-in-out infinite;
}

@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(255, 255, 255, 0.05); }
    50% { box-shadow: 0 0 25px rgba(255, 255, 255, 0.1); }
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(255, 255, 255, 0.6); }
    50% { opacity: 0.3; box-shadow: 0 0 2px rgba(255, 255, 255, 0.3); }
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    color: var(--white);
    letter-spacing: -0.04em;
    margin-bottom: 24px;
}

.highlight {
    background: linear-gradient(135deg, #ffffff, #888888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-sub {
    font-size: 1.125rem;
    color: var(--gray-300);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.4s var(--ease-out-expo);
    cursor: pointer;
    border: none;
    letter-spacing: -0.01em;
    position: relative;
    overflow: hidden;
}

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

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    box-shadow:
        0 0 30px rgba(255, 255, 255, 0.2),
        0 0 60px rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

/* Ripple effect */
.btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
    transform: scale(0);
    animation: ripple 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple {
    to { transform: scale(4); opacity: 0; }
}

.btn-ghost {
    background: transparent;
    color: var(--gray-200);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* --- HERO METRICS --- */
.hero-metrics {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    backdrop-filter: blur(24px);
    flex-wrap: nowrap;
    max-width: 700px;
    position: relative;
    overflow: hidden;
}

.hero-metrics::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    padding: 22px 0;
    text-align: center;
    min-width: 0;
}

.metric-value {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
    white-space: nowrap;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

.metric-label {
    font-size: 0.7rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.metric-divider {
    width: 1px;
    height: 36px;
    background: linear-gradient(180deg, transparent, var(--border), transparent);
    flex-shrink: 0;
}

/* --- SECTIONS --- */
.section {
    padding: 70px 0;
    position: relative;
    z-index: 2;
}

.section-alt {
    background: var(--gray-800);
    position: relative;
}

.section-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), rgba(255,255,255,0.05), transparent);
}

.section-alt::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), rgba(255,255,255,0.08), transparent);
}

.section-header {
    margin-bottom: 56px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--silver-light);
    margin-bottom: 16px;
    letter-spacing: 0.02em;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.section-desc {
    margin-top: 16px;
    font-size: 1.05rem;
    color: var(--gray-300);
    max-width: 540px;
    line-height: 1.7;
}

/* --- ABOUT GRID --- */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.about-card {
    padding: 36px;
}

.about-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
}

.about-card:hover .about-card-icon {
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.1);
    transform: scale(1.1) rotate(-5deg);
}

.about-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.about-card p {
    font-size: 0.925rem;
    color: var(--gray-300);
    line-height: 1.7;
}

/* --- SERVICES GRID --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.service-card {
    padding: 36px;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0.05), rgba(255,255,255,0.4), rgba(255,255,255,0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
    background-size: 200% 100%;
    animation: borderGradient 3s linear infinite;
}

@keyframes borderGradient {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

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

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.02), transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-card:hover::after {
    opacity: 1;
}

.service-number {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    background: linear-gradient(135deg, #ffffff, #888888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.service-card p {
    font-size: 0.925rem;
    color: var(--gray-300);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-tags span {
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.06);
    color: var(--silver-light);
    border-radius: 100px;
    font-family: var(--font-mono);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.service-card:hover .service-tags span {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

/* --- BUSINESS MODEL TIMELINE --- */
.model-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.timeline-line {
    display: none;
}

.timeline-step {
    padding: 32px 24px;
    text-align: center;
    position: relative;
}

.timeline-step::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10px;
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
}

.timeline-step:last-child::after {
    display: none;
}

.step-marker {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.5s var(--ease-out-expo);
    position: relative;
}

.step-marker::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid transparent;
    transition: border-color 0.4s ease;
}

.step-marker span {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--silver-light);
}

.timeline-step:hover .step-marker {
    background: var(--white);
    border-color: var(--white);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.15);
    transform: scale(1.1);
}

.timeline-step:hover .step-marker::before {
    border-color: rgba(255, 255, 255, 0.12);
}

.timeline-step:hover .step-marker span {
    color: var(--black);
}

.step-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.step-content p {
    font-size: 0.875rem;
    color: var(--gray-300);
    line-height: 1.7;
}

/* --- STATS --- */
.section-stats {
    padding: 60px 0;
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    border-image: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), rgba(255,255,255,0.06), rgba(255,255,255,0.08), transparent) 1;
    background: linear-gradient(180deg, rgba(8, 10, 18, 0.5) 0%, var(--bg) 100%);
}

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

.stat-card {
    padding: 28px 24px;
    text-align: center;
}

.stat-icon {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    transition: transform 0.4s var(--ease-out-expo);
}

.stat-card:hover .stat-icon {
    transform: scale(1.15) translateY(-4px);
}

.stat-value {
    font-family: var(--font-mono);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- PARTNER GRID --- */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.partner-feature {
    padding: 32px;
}

.pf-icon {
    font-size: 1.2rem;
    color: var(--silver);
    margin-bottom: 14px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    transition: all 0.4s var(--ease-out-expo);
}

.partner-feature:hover .pf-icon {
    transform: scale(1.2) rotate(15deg);
    color: var(--white);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.partner-feature h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.partner-feature p {
    font-size: 0.875rem;
    color: var(--gray-300);
    line-height: 1.7;
}

/* --- CONTACT --- */
.section-contact {
    background: var(--gray-800);
    position: relative;
    overflow: hidden;
}

.section-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), rgba(255,255,255,0.05), transparent);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-desc {
    font-size: 1rem;
    color: var(--gray-300);
    line-height: 1.7;
    margin-top: 20px;
    margin-bottom: 36px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(6px);
}

.contact-item-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.contact-item:hover .contact-item-icon {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.contact-item-label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
}

.contact-item-value {
    font-size: 0.95rem;
    color: var(--white);
    font-weight: 500;
}

a.contact-item-value:hover {
    color: var(--silver-light);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

/* --- CONTACT FORM --- */
.contact-form-wrap {
    padding: 36px;
    position: relative;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-300);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-family: var(--font-main);
    font-size: 0.925rem;
    transition: all 0.4s var(--ease-out-expo);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-500);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06), 0 0 20px rgba(255, 255, 255, 0.03);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--gray-800);
    color: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form .btn {
    grid-column: 1 / -1;
    margin-top: 4px;
}

/* Form Success State */
.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

/* Submit button spinner */
.btn-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

button[disabled].btn-primary {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-success.show {
    display: block;
}

.form-success .success-icon {
    margin-bottom: 20px;
    animation: successPop 0.5s var(--ease-out-expo);
}

@keyframes successPop {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.form-success h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.form-success p {
    color: var(--gray-300);
    font-size: 0.95rem;
}

/* --- FOOTER --- */
.footer {
    padding: 40px 0;
    border-top: 1px solid transparent;
    border-image: linear-gradient(90deg, transparent, var(--border), transparent) 1;
    position: relative;
    z-index: 2;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-tagline {
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-top: 6px;
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--gray-400);
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--white);
    transition: width 0.3s var(--ease-out-expo);
}

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

.footer-links a:hover {
    color: var(--white);
}

.footer-legal {
    text-align: right;
}

.footer-legal p {
    font-size: 0.78rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* --- ANIMATIONS --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s var(--ease-out-expo);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.fade-in-stagger > * {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease, transform 0.6s var(--ease-out-expo);
}

.fade-in-stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.fade-in-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.fade-in-stagger.visible > *:nth-child(3) { transition-delay: 0.2s; }
.fade-in-stagger.visible > *:nth-child(4) { transition-delay: 0.3s; }
.fade-in-stagger.visible > *:nth-child(5) { transition-delay: 0.4s; }
.fade-in-stagger.visible > *:nth-child(6) { transition-delay: 0.5s; }

/* Scale-in for special elements */
.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s var(--ease-out-expo);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* --- TILT EFFECT OVERRIDES --- */
[data-tilt] {
    transition: none !important;
}

[data-tilt].reset {
    transition: transform 0.6s var(--ease-out-expo) !important;
}

/* --- RESPONSIVE --- */

/* iPad landscape & small laptops */
@media (max-width: 1024px) {
    .about-grid,
    .partner-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .timeline-step:nth-child(3)::after,
    .timeline-step:nth-child(5)::after {
        display: none;
    }

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

    .hero-metrics {
        max-width: 100%;
    }

    .contact-wrapper {
        gap: 32px;
    }

    .hero-orb { display: none; }
}

/* iPad portrait */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-menu.open {
        display: flex;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-metrics {
        max-width: 100%;
    }

    .metric-value {
        font-size: 1.1rem;
    }

    .metric-label {
        font-size: 0.65rem;
    }

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

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

    .timeline-step::after {
        display: none !important;
    }

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

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        text-align: center;
    }

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

    .section {
        padding: 50px 0;
    }

    .cursor-glow,
    .cursor-dot {
        display: none !important;
    }

    .hero-orb,
    .hero-noise {
        display: none;
    }

    #particleCanvas {
        opacity: 0.3;
    }
}

/* Mobile */
@media (max-width: 580px) {
    .container {
        padding: 0 18px;
    }

    .hero {
        padding: 90px 0 48px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-sub {
        font-size: 1rem;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 5px 12px;
    }

    .hero-actions {
        margin-bottom: 40px;
    }

    .hero-metrics {
        flex-wrap: wrap;
        border-radius: var(--radius-sm);
    }

    .metric {
        flex: 0 0 calc(50% - 0.5px);
        padding: 16px 8px;
        border-bottom: 1px solid var(--border);
    }

    .metric:nth-child(n+6) {
        border-bottom: none;
    }

    .metric-divider {
        display: none;
    }

    .metric-value {
        font-size: 1.15rem;
    }

    .metric-label {
        font-size: 0.65rem;
    }

    .about-grid,
    .services-grid,
    .partner-grid {
        grid-template-columns: 1fr;
    }

    .model-timeline {
        grid-template-columns: 1fr;
    }

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

    .contact-form {
        grid-template-columns: 1fr;
    }

    .contact-form-wrap {
        padding: 24px;
    }

    .section-title {
        font-size: 1.75rem;
    }
}

/* Small phones */
@media (max-width: 380px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

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

    .metric {
        flex: 0 0 calc(50% - 0.5px);
    }
}
