@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

/* CSS Variables & Theme */
:root {
    /* Colors */
    --obsidian-black: #030303;
    --slate-gray: #111113;
    --card-bg: rgba(20, 20, 22, 0.4);
    --crimson-red: #d90429;
    --vibrant-red: #ff2a2a;
    --metallic-gray: #8d99ae;
    --pure-white: #ffffff;
    
    /* Advanced Gradients */
    --gradient-cloud: linear-gradient(135deg, #3d0000 0%, #0a0000 100%);
    --gradient-text: linear-gradient(135deg, var(--pure-white) 0%, #a0aabf 100%);
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    
    /* Layout */
    --container-width: 1280px;
    --section-padding-y: clamp(80px, 10vw, 150px);
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base setup */
body {
    font-family: var(--font-primary);
    background-color: var(--obsidian-black);
    color: var(--pure-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    /* Custom Cursor only on non-touch devices */
}

/* Only apply custom cursor if device has pointer (mouse) */
@media (hover: hover) and (pointer: fine) {
    * { cursor: none !important; }
}

body.loading {
    overflow: hidden; /* Prevent scroll during preloader */
}

/* Global Noise Overlay - Optimized */
.noise {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.02;
    /* Removed heavy feTurbulence SVG. Using a lightweight CSS pattern or just disabling it. */
    background-image: repeating-linear-gradient(45deg, #000 25%, transparent 25%, transparent 75%, #000 75%, #000), repeating-linear-gradient(45deg, #000 25%, var(--obsidian-black) 25%, var(--obsidian-black) 75%, #000 75%, #000);
    background-position: 0 0, 2px 2px;
    background-size: 4px 4px;
    will-change: transform;
}

/* Custom Cursor */
.cursor-dot, .cursor-outline {
    position: fixed;
    top: 0; left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    will-change: transform;
}

@media (hover: none) and (pointer: coarse) {
    .cursor-dot, .cursor-outline { display: none !important; }
}

.cursor-dot {
    width: 6px; height: 6px;
    background-color: var(--vibrant-red);
}

.cursor-outline {
    width: 36px; height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.cursor-outline.hovering {
    width: 60px; height: 60px;
    background-color: rgba(255, 42, 42, 0.1);
    border-color: rgba(255, 42, 42, 0.5);
    backdrop-filter: blur(2px);
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--obsidian-black);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preloader-content {
    display: flex; flex-direction: column; align-items: center; gap: 2rem;
}

.logo-reveal {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    display: flex; gap: 10px;
    overflow: hidden;
}

.reveal-text {
    display: inline-block;
    transform: translateY(100%);
}

.text-red { color: var(--crimson-red); }

.loading-bar {
    width: clamp(150px, 30vw, 300px); height: 2px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px; overflow: hidden;
}

.loading-progress { width: 0%; height: 100%; background: var(--crimson-red); }

/* Layout Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.section-padding { padding: var(--section-padding-y) 0; }
.center { text-align: center; }

/* Navbar */
.navbar {
    position: fixed; top: 0; width: 100%;
    padding: clamp(1rem, 2vw, 1.5rem) 0;
    background: rgba(3, 3, 3, 0.6);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    transition: transform 0.4s ease, background-color 0.3s ease;
}

.navbar.hidden { transform: translateY(-100%); }

.nav-container {
    max-width: var(--container-width); margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
    display: flex; justify-content: space-between; align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 700; letter-spacing: 0.05em; text-decoration: none;
}
.logo-capix { color: var(--pure-white); }
.logo-studios { color: var(--crimson-red); }

.nav-links { display: flex; gap: clamp(1.5rem, 3vw, 2.5rem); }

.magnetic-link {
    color: var(--pure-white); text-decoration: none;
    font-size: 0.9rem; font-weight: 500;
    opacity: 0.6; transition: opacity 0.3s ease, color 0.3s ease;
    display: inline-block;
}
.magnetic-link:hover { opacity: 1; color: var(--pure-white); }

/* Mobile Hamburger Menu (Reactbits Inspired) */
.mobile-menu-btn {
    display: none; background: none; border: none;
    width: 44px; height: 44px; align-items: center; justify-content: center;
    position: relative; z-index: 101; cursor: pointer !important;
    border-radius: 50%;
    transition: background 0.3s ease;
}
.mobile-menu-btn:hover { background: rgba(255,255,255,0.05); }

.hamburger-lines {
    width: 24px; height: 16px; position: relative;
    display: flex; flex-direction: column; justify-content: space-between;
}
.hamburger-lines .line {
    display: block; height: 2px; width: 100%; border-radius: 2px;
    background: var(--pure-white);
    transition: transform 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6), opacity 0.3s ease, width 0.4s ease;
}
.hamburger-lines .line-1 { transform-origin: top left; }
.hamburger-lines .line-2 { width: 70%; transition-delay: 0.05s; }
.hamburger-lines .line-3 { width: 50%; transform-origin: bottom left; transition-delay: 0.1s; }

/* Menu Open State for Hamburger */
.menu-open .hamburger-lines .line-1 { transform: rotate(45deg) translate(-1px, -2px); width: 26px; }
.menu-open .hamburger-lines .line-2 { opacity: 0; transform: translateX(10px); }
.menu-open .hamburger-lines .line-3 { transform: rotate(-45deg) translate(-1px, 2px); width: 26px; }

/* Hero Section */
.hero {
    min-height: 100vh; min-height: 100dvh;
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
    padding-top: 80px; /* offset navbar */
}

.hero-background { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 0; }

.mesh-orb { position: absolute; border-radius: 50%; opacity: 0.6; will-change: transform; pointer-events: none; }
.orb-1 { width: 40vw; height: 40vw; min-width: 300px; min-height: 300px; background: radial-gradient(circle, var(--crimson-red) 0%, transparent 70%); top: -10%; left: -10%; }
.orb-2 { width: 35vw; height: 35vw; min-width: 250px; min-height: 250px; background: radial-gradient(circle, #333344 0%, transparent 70%); bottom: -10%; right: -10%; }
.orb-3 { width: 30vw; height: 30vw; min-width: 200px; min-height: 200px; background: radial-gradient(circle, #5a0010 0%, transparent 70%); top: 40%; left: 40%; }

.hero-content {
    position: relative; z-index: 1; text-align: center;
    max-width: clamp(600px, 80vw, 900px);
    padding: 0 1rem; display: flex; flex-direction: column; align-items: center;
}

.hero-badge {
    display: inline-block; padding: 0.5rem 1.2rem;
    border: 1px solid rgba(255,255,255,0.1); border-radius: 30px;
    font-size: clamp(0.7rem, 1.5vw, 0.8rem); letter-spacing: 0.1em;
    margin-bottom: 2rem; background: rgba(255,255,255,0.03);
    backdrop-filter: blur(10px); color: var(--metallic-gray);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 700; line-height: 1.1; letter-spacing: -0.04em;
    margin-bottom: 1.5rem; display: flex; flex-direction: column; align-items: center;
}

.title-line { overflow: hidden; display: block; }
.title-word { display: inline-block; transform: translateY(110%); }
.gradient-text { background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.4rem); color: var(--metallic-gray);
    margin-bottom: 2rem; font-weight: 400; max-width: 700px; opacity: 0;
}

.capix-acronym {
    margin-bottom: clamp(2rem, 4vw, 3rem);
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem; opacity: 0;
}
.acronym-title {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.2rem); font-weight: 700;
    letter-spacing: 0.3em; color: var(--crimson-red);
}
.acronym-desc {
    font-size: clamp(0.8rem, 1.5vw, 1rem); color: var(--pure-white);
    letter-spacing: 0.05em; opacity: 0.8;
}

.hero-cta { opacity: 0; }

.magnetic-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: clamp(1rem, 2vw, 1.2rem) clamp(1.5rem, 3vw, 2.5rem);
    background: var(--pure-white); color: var(--obsidian-black);
    text-decoration: none; font-weight: 600; font-size: clamp(0.9rem, 1.5vw, 1rem);
    border-radius: 50px; position: relative; overflow: hidden;
}

.btn-text { position: relative; z-index: 2; margin-right: 10px; }
.btn-icon { position: relative; z-index: 2; width: 20px; height: 20px; transition: transform 0.3s ease; }
.magnetic-btn:hover .btn-icon { transform: translateX(5px); }

/* Scroll Indicator */
.scroll-indicator {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); opacity: 0;
}
.mouse {
    width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.3);
    border-radius: 20px; position: relative;
}
.wheel {
    width: 4px; height: 8px; background: var(--pure-white); border-radius: 2px;
    position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
    animation: scrollWheel 2s infinite cubic-bezier(0.15, 0.41, 0.69, 0.94);
}
@keyframes scrollWheel { 0% { transform: translate(-50%, 0); opacity: 1; } 100% { transform: translate(-50%, 15px); opacity: 0; } }

/* Infinite Marquee */
.marquee-container {
    width: 100vw; overflow: hidden; background: rgba(255,255,255,0.02);
    border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: clamp(1rem, 2vw, 1.5rem) 0; white-space: nowrap; display: flex; position: relative;
}
.marquee-content {
    display: inline-flex; align-items: center; animation: marquee 25s linear infinite;
    font-family: var(--font-display); font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 700; letter-spacing: 0.1em;
}
.marquee-content span { margin: 0 clamp(1rem, 3vw, 2rem); color: var(--metallic-gray); }
.marquee-content .marquee-red { color: var(--crimson-red); }
.marquee-content .marquee-dot { color: rgba(255,255,255,0.2); font-size: 0.8rem; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Section Titles */
.section-header { position: relative; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-title { font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 4rem); letter-spacing: -0.02em; }
.text-stroke {
    color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.1);
    position: absolute; top: -2rem; left: 0; font-size: clamp(3.5rem, 10vw, 6rem);
    z-index: 0; white-space: nowrap;
}
.center .text-stroke { left: 50%; transform: translateX(-50%); }
.overlay-title { position: relative; z-index: 1; }
.section-desc {
    font-size: clamp(1rem, 1.8vw, 1.2rem); color: var(--metallic-gray);
    max-width: 600px; margin-top: 1rem; position: relative; z-index: 1;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--card-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 20px rgba(255,255,255,0.02), 0 20px 40px rgba(0,0,0,0.4);
    border-radius: 24px; padding: clamp(2rem, 4vw, 3rem); position: relative; transform-style: preserve-3d;
}
.card-icon-wrapper {
    position: relative; margin-bottom: 2rem; width: 60px; height: 60px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.03); border-radius: 16px; border: 1px solid rgba(255,255,255,0.05); transform: translateZ(30px);
}
.card-icon { color: var(--crimson-red); position: relative; z-index: 2; }
.icon-glow { position: absolute; width: 100%; height: 100%; background: var(--crimson-red); filter: blur(20px); opacity: 0.2; z-index: 1; }
.glass-card h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); margin-bottom: 1rem; transform: translateZ(20px); }
.glass-card p { color: var(--metallic-gray); transform: translateZ(10px); font-size: clamp(0.95rem, 1.2vw, 1rem); }

/* Grids */
.philosophy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr)); gap: clamp(1.5rem, 4vw, 3rem); }
.ecosystem-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 3vw, 2rem); }

/* Ecosystem Cards */
.brand-card {
    position: relative; border-radius: 32px; padding: clamp(2rem, 4vw, 3.5rem); overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05); transform-style: preserve-3d;
}
.card-border-glow {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: 32px;
    opacity: 0; transition: opacity 0.5s ease; box-shadow: inset 0 0 0 2px rgba(255,255,255,0.1); pointer-events: none;
}
@media (hover: hover) { .brand-card:hover .card-border-glow { opacity: 1; } }
.brand-content { position: relative; z-index: 2; transform: translateZ(30px); }
.brand-header { display: flex; align-items: center; gap: 1rem; margin-bottom: clamp(1.5rem, 3vw, 2rem); flex-wrap: wrap; }
.launch-badge {
    font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
    padding: 0.35rem 0.8rem; background: rgba(217, 4, 41, 0.1);
    color: var(--crimson-red); border: 1px solid rgba(217, 4, 41, 0.3);
    border-radius: 20px; margin-left: auto;
    animation: pulse-badge 2s infinite;
}
.tbd-badge {
    background: rgba(255, 255, 255, 0.05); color: var(--metallic-gray);
    border-color: rgba(255, 255, 255, 0.1); animation: none;
}
@keyframes pulse-badge {
    0% { box-shadow: 0 0 0 0 rgba(217, 4, 41, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(217, 4, 41, 0); }
    100% { box-shadow: 0 0 0 0 rgba(217, 4, 41, 0); }
}

.countdown-wrapper { margin-top: clamp(1.5rem, 3vw, 2rem); position: relative; z-index: 10; }
.primary-countdown::before {
    content: ''; position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(45deg, var(--vibrant-red), var(--crimson-red), transparent);
    border-radius: 18px; z-index: -1; filter: blur(10px); opacity: 0.5;
    animation: pulse-glow 4s infinite alternate;
}
@keyframes pulse-glow { 0% { opacity: 0.3; filter: blur(8px); } 100% { opacity: 0.7; filter: blur(15px); } }

.countdown-glass {
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(0, 0, 0, 0.03); border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px; padding: clamp(1rem, 2vw, 1.5rem);
    box-shadow: inset 0 0 15px rgba(0,0,0,0.02);
}
.active-glass {
    background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1), inset 0 0 20px rgba(255,255,255,0.8);
}
.tbd-glass {
    opacity: 0.4; filter: grayscale(100%);
    background: rgba(0,0,0,0.2); border: 1px dashed rgba(255,255,255,0.1);
}

.countdown-item { display: flex; flex-direction: column; align-items: center; min-width: 45px; }
.countdown-value {
    font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700; line-height: 1; color: var(--pure-white);
    font-variant-numeric: tabular-nums;
}
.active-glass .countdown-value { color: var(--obsidian-black); }
.scramble-text { color: var(--metallic-gray) !important; font-family: monospace; letter-spacing: 2px; }

.countdown-label {
    font-size: 0.65rem; font-weight: 700; letter-spacing: 0.15em;
    color: rgba(255,255,255,0.4); margin-top: 0.5rem;
}
.active-glass .countdown-label { color: rgba(0,0,0,0.6); }

.countdown-separator {
    font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 700; color: rgba(255,255,255,0.15); margin-top: -1rem;
}
.active-glass .countdown-separator { color: rgba(0,0,0,0.2); }
.brand-icon { width: 50px; height: 50px; background: rgba(255,255,255,0.1); border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.brand-focus { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.15em; opacity: 0.6; font-weight: 600; }
.brand-name { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 1rem; }
.brand-desc { font-size: clamp(0.95rem, 1.5vw, 1.1rem); line-height: 1.6; }

.mouse-glow {
    position: absolute; width: 600px; height: 600px; background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; opacity: 0; transition: opacity 0.3s ease; z-index: 1;
    will-change: transform, opacity;
}
.dark-glow { background: radial-gradient(circle, rgba(0,0,0,0.08) 0%, transparent 70%); }
@media (hover: hover) { .brand-card:hover .mouse-glow { opacity: 1; } }

/* Brand Specifics */
.capix-tech { background: var(--slate-gray); color: var(--pure-white); }
.capix-tech .brand-icon { color: var(--crimson-red); }
.capix-web { background: var(--pure-white); color: var(--obsidian-black); }
.capix-web .brand-desc { color: #444; }
.capix-web .brand-icon { background: rgba(0,0,0,0.05); }
.capix-cloud { background: var(--gradient-cloud); }
.capix-cloud .brand-icon { color: var(--pure-white); }
.capix-solutions { background: var(--vibrant-red); }
.capix-solutions .brand-desc { color: rgba(255,255,255,0.9); }
.capix-solutions .brand-icon { background: rgba(0,0,0,0.15); }

/* Visit Button in Cards */
.visit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 2rem;
    padding: 0.8rem 1.5rem;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
}

.capix-web .visit-btn {
    background: var(--obsidian-black);
    color: var(--pure-white);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.capix-tech .visit-btn, 
.capix-cloud .visit-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--pure-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.capix-solutions .visit-btn {
    background: rgba(0, 0, 0, 0.2);
    color: var(--pure-white);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.visit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.visit-btn i {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.visit-btn:hover i {
    transform: translate(2px, -2px);
}

/* Synergy */
.glass-panel {
    background: var(--card-bg); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.05); border-radius: clamp(24px, 4vw, 40px);
    padding: clamp(2rem, 5vw, 5rem); display: flex; align-items: center; gap: clamp(2rem, 5vw, 5rem);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
.badge-red {
    display: inline-block; padding: 0.4rem 1rem; background: rgba(217, 4, 41, 0.1);
    color: var(--crimson-red); border: 1px solid rgba(217, 4, 41, 0.2); border-radius: 20px;
    font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; margin-bottom: 1.5rem;
}
.synergy-text { flex: 1; }
.lead-text { font-size: clamp(1.2rem, 2vw, 1.5rem); margin-bottom: 1.5rem; color: var(--pure-white); }
.synergy-text p { color: var(--metallic-gray); margin-bottom: 2.5rem; font-size: clamp(0.95rem, 1.5vw, 1rem); }

.synergy-features { display: flex; flex-direction: column; gap: 1.2rem; }
.feature {
    display: flex; align-items: center; gap: 1.2rem; font-size: clamp(0.95rem, 1.5vw, 1.1rem); font-weight: 500;
    padding: clamp(0.8rem, 2vw, 1rem); background: rgba(255,255,255,0.02); border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.03); transition: transform 0.3s ease, background 0.3s ease;
}
@media (hover: hover) { .feature:hover { transform: translateX(10px); background: rgba(255,255,255,0.05); } }
.feature-icon { color: var(--crimson-red); display: flex; }

.synergy-visual { flex: 1; display: flex; justify-content: center; align-items: center; min-height: clamp(300px, 40vw, 400px); }
.core-system { position: relative; width: clamp(100px, 15vw, 140px); height: clamp(100px, 15vw, 140px); }
.core-center {
    width: 100%; height: 100%; background: var(--vibrant-red); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-weight: 800; font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    letter-spacing: 0.1em; box-shadow: 0 0 50px rgba(255, 42, 42, 0.5); position: relative; z-index: 10;
}
.core-rings { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1; }
.ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border: 1px solid rgba(255,255,255,0.05); border-radius: 50%; }

/* Responsive Rings */
.ring-1 { width: clamp(160px, 25vw, 220px); height: clamp(160px, 25vw, 220px); animation: pulse 4s infinite; }
.ring-2 { width: clamp(220px, 35vw, 300px); height: clamp(220px, 35vw, 300px); animation: pulse 4s infinite 1s; }
.ring-3 { width: clamp(280px, 45vw, 380px); height: clamp(280px, 45vw, 380px); animation: pulse 4s infinite 2s; border-style: dashed; animation: spin 20s linear infinite; }

@keyframes pulse { 0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; } 50% { transform: translate(-50%, -50%) scale(1.05); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; } }
@keyframes spin { 100% { transform: translate(-50%, -50%) rotate(360deg); } }

.orbit-container {
    position: absolute; top: 50%; left: 50%;
    width: clamp(280px, 45vw, 380px); height: clamp(280px, 45vw, 380px);
    transform: translate(-50%, -50%); animation: spin 30s linear infinite; z-index: 5;
}
.orbit-node {
    position: absolute; width: clamp(40px, 6vw, 60px); height: clamp(40px, 6vw, 60px);
    background: var(--slate-gray); border-radius: 50%; display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 10px 20px rgba(0,0,0,0.5); animation: spin-reverse 30s linear infinite;
}
@keyframes spin-reverse { 100% { transform: rotate(-360deg); } }
.node-1 { top: 0; left: 50%; transform: translate(-50%, -50%); }
.node-2 { top: 50%; right: 0; transform: translate(50%, -50%); }
.node-3 { bottom: 0; left: 50%; transform: translate(-50%, 50%); }
.node-4 { top: 50%; left: 0; transform: translate(-50%, -50%); }

/* Huge CTA */
.massive-title {
    font-family: var(--font-display); font-size: clamp(3.5rem, 10vw, 8rem); font-weight: 800; letter-spacing: -0.05em;
    background: linear-gradient(180deg, var(--pure-white) 0%, rgba(255,255,255,0.2) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 1rem;
}
.cta-subtitle { font-size: clamp(1.1rem, 2vw, 1.5rem); color: var(--metallic-gray); margin-bottom: 3rem; }

/* Footer */
.footer { border-top: 1px solid rgba(255,255,255,0.05); padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem); background: rgba(0,0,0,0.5); }
.footer-content { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; }
.footer-brand .logo { text-decoration: none; display: block; }
.footer-brand p { color: var(--metallic-gray); font-size: 0.9rem; margin-top: 0.5rem; }
.footer-links { display: flex; gap: 2rem; justify-content: center; }
.footer-legal { text-align: right; }
.footer-legal p { color: var(--metallic-gray); font-size: 0.8rem; }

/* ========================================= */
/* EXTENSIVE MEDIA QUERIES FOR ULTRA-EPIC RESPONSIVENESS */
/* ========================================= */

/* Ultra Wide (4K) */
@media (min-width: 1600px) {
    :root { --container-width: 1500px; }
    .hero-title { font-size: 7.5rem; }
}

/* Laptops / Smaller Desktops */
@media (max-width: 1200px) {
    .glass-panel { padding: 4rem 3rem; gap: 3rem; }
    .text-stroke { font-size: clamp(3rem, 8vw, 5rem); }
}

/* Tablets Landscape & Portrait */
@media (max-width: 992px) {
    .glass-panel { flex-direction: column; text-align: center; }
    .synergy-features { align-items: center; }
    .ecosystem-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-legal { text-align: center; }
}

/* Mobile & Hamburger Menu Setup */
@media (max-width: 768px) {
    .mobile-menu-btn { display: flex; }
    
    .nav-links {
        position: fixed; top: 0; right: 0; width: 100vw; height: 100vh;
        background: rgba(3, 3, 3, 0.98); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
        flex-direction: column; align-items: center; justify-content: center;
        gap: 3rem; 
        z-index: 100;
        
        /* Reactbits modern fluid reveal */
        clip-path: circle(0px at calc(100% - 40px) 40px);
        transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.175, 1);
        pointer-events: none;
    }
    
    .nav-links.active { 
        clip-path: circle(150% at calc(100% - 40px) 40px); 
        pointer-events: all;
    }
    
    .nav-links .magnetic-link { 
        font-size: 2.5rem; font-family: var(--font-display); font-weight: 700; 
        text-transform: uppercase; letter-spacing: 0.05em;
        opacity: 0; transform: translateY(30px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }
    
    /* Staggered delay for links when active */
    .nav-links.active .magnetic-link:nth-child(1) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
    .nav-links.active .magnetic-link:nth-child(2) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
    .nav-links.active .magnetic-link:nth-child(3) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
    .nav-links.active .magnetic-link:nth-child(4) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }
    
    .hero-content { padding-top: 2rem; }
    
    /* Make synergy core system smaller */
    .synergy-visual { min-height: 350px; }
}

/* Small Mobile */
@media (max-width: 480px) {
    .section-padding { padding: 60px 0; }
    .glass-card, .brand-card { padding: 1.5rem; border-radius: 20px; }
    .glass-panel { padding: 2rem 1.5rem; }
    .feature { flex-direction: column; text-align: center; gap: 0.5rem; }
    .hero-badge { margin-bottom: 1.5rem; }
    .magnetic-btn { width: 100%; padding: 1rem; }
}
