/* ==========================================
   NexOrb - Experience. Intelligence.
   Premium Dark Theme - Ultra Luxury
   ========================================== */

/* --- Variables --- */
:root {
    --bg-primary: #080810;
    --bg-secondary: #0e0e16;
    --bg-card: #161628;
    --bg-card-hover: #1e1e34;
    --border: rgba(255, 255, 255, 0.16);
    --border-hover: rgba(255, 255, 255, 0.28);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.88);
    --text-muted: rgba(255, 255, 255, 0.64);
    --accent: #00D4AA;
    --accent-hover: #00e8bb;
    --accent-glow: rgba(0, 212, 170, 0.24);
    --accent-secondary: #0088CC;
    --gradient: linear-gradient(135deg, #00D4AA 0%, #0088CC 100%);
    --gradient-text: linear-gradient(135deg, #00D4AA 0%, #0088CC 50%, #6C5CE7 100%);
    --gradient-border: linear-gradient(135deg, rgba(0, 212, 170, 0.45), rgba(0, 136, 204, 0.45), rgba(108, 92, 231, 0.45));
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --radius: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 100px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-glow: 0 0 60px rgba(0, 212, 170, 0.18);
}

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

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

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 17.3px; /* +8% from default 16px */
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

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

.section {
    padding: 120px 0;
    position: relative;
}

/* --- Loader --- */
.loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--bg-primary);
    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-orb {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    animation: loaderPulse 1.5s ease-in-out infinite;
}

.loader-ring {
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: loaderSpin 1.2s linear infinite;
}

@keyframes loaderSpin { to { transform: rotate(360deg); } }
@keyframes loaderPulse { 0%, 100% { opacity: 0.6; transform: scale(0.95); } 50% { opacity: 1; transform: scale(1); } }

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(5, 5, 18, 0.93);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    padding: 8px 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient);
}

.nav-dropdown { position: relative; }

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -16px;
    min-width: 220px;
    padding: 12px 0;
    background: rgba(8, 8, 20, 0.97);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 13px;
    color: var(--text-secondary);
}

.dropdown-menu a:hover {
    color: var(--accent);
    background: rgba(0, 212, 170, 0.05);
}

.nav-cta {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 10px 24px;
    border: 1px solid var(--accent);
    border-radius: var(--radius-pill);
    color: var(--accent);
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--accent);
    color: var(--bg-primary);
}

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

.nav-toggle span {
    width: 24px;
    height: 1.5px;
    background: var(--text-primary);
    transition: var(--transition);
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--gradient);
    color: var(--bg-primary);
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 212, 170, 0.3);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-hover);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 15px;
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-gradient-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 30%, rgba(0, 212, 170, 0.11) 0%, transparent 60%),
                radial-gradient(ellipse at 50% 80%, rgba(0, 136, 204, 0.08) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
}

.hero-logo-showcase {
    margin-bottom: 40px;
}

.hero-main-logo {
    width: 184px;
    height: 184px;
    object-fit: contain;
    margin: 0 auto;
    filter: drop-shadow(0 0 60px rgba(0, 212, 170, 0.55)) drop-shadow(0 0 120px rgba(0, 136, 204, 0.20));
    animation: heroLogoFloat 6s ease-in-out infinite;
}

@keyframes heroLogoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title-line {
    display: block;
}

.hero-title-line:last-child {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

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

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

.hero-scroll span {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* --- Section Headers --- */
.section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 20px;
}

.text-accent {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-header .section-desc {
    margin: 0 auto;
}

/* --- Philosophy --- */
.philosophy-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.philosophy-desc {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 48px;
}

.philosophy-pillars {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pillar {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 16px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.pillar:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.pillar-num {
    grid-row: span 2;
    font-size: 28px;
    font-weight: 300;
    color: var(--accent);
    font-family: var(--font-display);
    align-self: center;
}

.pillar h4 {
    font-size: 15px;
    font-weight: 600;
}

.pillar p {
    font-size: 13px;
    color: var(--text-muted);
}

.philosophy-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.orb-showcase {
    position: relative;
    width: 560px;
    height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orb-image {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 80px rgba(0, 212, 170, 0.38), 0 0 140px rgba(0, 136, 204, 0.14);
}

/* 4 orbit rings with dots */
.orb-ring {
    position: absolute;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.orb-ring-1 {
    width: 290px;
    height: 290px;
    border: 1px solid rgba(0, 212, 170, 0.58);
    box-shadow: 0 0 18px rgba(0, 212, 170, 0.22), inset 0 0 18px rgba(0, 212, 170, 0.06);
    animation: orbRotate 18s linear infinite;
}
.orb-ring-1::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    width: 8px;
    height: 8px;
    background: #00D4AA;
    border-radius: 50%;
    box-shadow: 0 0 14px #00D4AA, 0 0 28px rgba(0,212,170,0.4);
    transform: translateX(-50%);
}

.orb-ring-2 {
    width: 380px;
    height: 380px;
    border: 1px solid rgba(0, 136, 204, 0.52);
    box-shadow: 0 0 20px rgba(0, 136, 204, 0.20), inset 0 0 20px rgba(0, 136, 204, 0.05);
    animation: orbRotate 26s linear infinite reverse;
}
.orb-ring-2::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    width: 8px;
    height: 8px;
    background: #0088CC;
    border-radius: 50%;
    box-shadow: 0 0 14px #0088CC, 0 0 28px rgba(0,136,204,0.4);
    transform: translateX(-50%);
}

.orb-ring-3 {
    width: 470px;
    height: 470px;
    border: 1px solid rgba(108, 92, 231, 0.44);
    box-shadow: 0 0 22px rgba(108, 92, 231, 0.18), inset 0 0 22px rgba(108, 92, 231, 0.04);
    animation: orbRotate 36s linear infinite;
}
.orb-ring-3::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    width: 7px;
    height: 7px;
    background: #6C5CE7;
    border-radius: 50%;
    box-shadow: 0 0 14px #6C5CE7, 0 0 28px rgba(108,92,231,0.4);
    transform: translateX(-50%);
}

.orb-ring-4 {
    width: 560px;
    height: 560px;
    border: 1px solid rgba(0, 212, 170, 0.30);
    box-shadow: 0 0 26px rgba(0, 212, 170, 0.14);
    animation: orbRotate 50s linear infinite reverse;
}
.orb-ring-4::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: rgba(0, 212, 170, 0.7);
    border-radius: 50%;
    box-shadow: 0 0 10px #00D4AA;
    transform: translateX(-50%);
}

@keyframes orbRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* --- Constellation Layout (Desktop) --- */
.orbs-constellation {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 700px;
    margin: 0 auto;
}

.constellation-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.constellation-line {
    stroke: rgba(0, 212, 170, 0.24);
    stroke-width: 1;
    stroke-dasharray: 6 4;
    animation: lineDash 20s linear infinite;
}

.line-pulse {
    fill: var(--accent);
    opacity: 0.6;
    filter: blur(1px);
}

@keyframes lineDash {
    to { stroke-dashoffset: -200; }
}

.constellation-node {
    position: absolute;
    z-index: 2;
    text-align: center;
}

.constellation-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    transition: all 0.4s ease;
    width: 220px;
}

.constellation-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55), var(--shadow-glow);
}

.constellation-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 2px;
}

.constellation-card p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-top: 8px;
}

.constellation-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 12px;
}

.constellation-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--border);
}

/* Center CoreOrb - larger & featured */
.constellation-card-center {
    width: 260px;
    padding: 32px 24px;
    border-color: rgba(0, 212, 170, 0.36);
    background: linear-gradient(180deg, rgba(0, 212, 170, 0.08) 0%, var(--bg-card) 100%);
}

.constellation-icon-center {
    width: 88px;
    height: 88px;
    margin-bottom: 16px;
}

.constellation-icon-center img {
    border-color: rgba(0, 212, 170, 0.55);
    box-shadow: 0 0 40px rgba(0, 212, 170, 0.30), 0 0 80px rgba(0, 212, 170, 0.10);
}

.constellation-card-center h3 {
    font-size: 22px;
}

/* Pulse rings around CoreOrb */
/* Static orbit rings */
.core-orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

.core-orbit-ring-1 {
    width: 240px;
    height: 240px;
    border: 1px solid rgba(0, 212, 170, 0.55);
    box-shadow: 0 0 18px rgba(0, 212, 170, 0.22), inset 0 0 18px rgba(0, 212, 170, 0.07);
    animation: orbitRotate 20s linear infinite;
}

.core-orbit-ring-2 {
    width: 380px;
    height: 380px;
    border: 1px solid rgba(0, 136, 204, 0.45);
    box-shadow: 0 0 22px rgba(0, 136, 204, 0.20), inset 0 0 22px rgba(0, 136, 204, 0.07);
    animation: orbitRotate 30s linear infinite reverse;
}

.core-orbit-ring-3 {
    width: 520px;
    height: 520px;
    border: 1px solid rgba(108, 92, 231, 0.38);
    box-shadow: 0 0 26px rgba(108, 92, 231, 0.16), inset 0 0 26px rgba(108, 92, 231, 0.05);
    animation: orbitRotate 45s linear infinite;
}

.core-orbit-ring-4 {
    width: 660px;
    height: 660px;
    border: 1px solid rgba(0, 212, 170, 0.26);
    box-shadow: 0 0 30px rgba(0, 212, 170, 0.12);
    animation: orbitRotate 60s linear infinite reverse;
}

@keyframes orbitRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Orbit dots — sit at the top edge of each ring */
.orbit-dot {
    position: absolute;
    top: -4px;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.orbit-dot-1 {
    background: #00D4AA;
    box-shadow: 0 0 8px #00D4AA, 0 0 16px rgba(0, 212, 170, 0.6);
}

.orbit-dot-2 {
    background: #0088CC;
    box-shadow: 0 0 8px #0088CC, 0 0 16px rgba(0, 136, 204, 0.6);
}

.orbit-dot-3 {
    background: #6C5CE7;
    box-shadow: 0 0 8px #6C5CE7, 0 0 16px rgba(108, 92, 231, 0.6);
}

.orbit-dot-4 {
    background: #00D4AA;
    width: 6px;
    height: 6px;
    box-shadow: 0 0 6px #00D4AA, 0 0 12px rgba(0, 212, 170, 0.4);
}

/* Pulse rings */
.core-pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(0, 212, 170, 0.72);
    border-radius: 50%;
    animation: corePulse 4s ease-out infinite;
    pointer-events: none;
    z-index: 0;
}

.core-pulse-ring-2 {
    animation-delay: 2s;
}

@keyframes corePulse {
    0% { transform: translate(-50%, -50%) scale(0.7); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(2.2); opacity: 0; }
}

/* Node positions */
.node-tl { top: 20px; left: 40px; }
.node-tr { top: 20px; right: 40px; }
.node-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.node-bl { bottom: 20px; left: 40px; }
.node-br { bottom: 20px; right: 40px; }

/* Mobile fallback */
.orbs-grid-mobile {
    display: none;
}

.orb-mobile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    transition: var(--transition);
}

.orb-mobile-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.orb-mobile-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 2px;
}

.orb-mobile-featured {
    border-color: rgba(0, 212, 170, 0.2);
    background: linear-gradient(180deg, rgba(0, 212, 170, 0.03) 0%, var(--bg-card) 100%);
}

/* --- Orb Cards (Legacy) --- */
.orbs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.orb-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.orb-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.orb-card-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
    transition: left 0.6s ease;
}

.orb-card:hover .orb-card-shine {
    left: 100%;
}

.orb-card-featured {
    border-color: rgba(0, 212, 170, 0.2);
    background: linear-gradient(180deg, rgba(0, 212, 170, 0.03) 0%, var(--bg-card) 100%);
}

.orb-card-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 20px;
}

.orb-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--border);
}

.orb-card-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
}

.orb-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.orb-card-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.orb-features {
    margin-bottom: 20px;
}

.orb-features li {
    font-size: 12px;
    color: var(--text-muted);
    padding: 4px 0;
    padding-left: 16px;
    position: relative;
}

.orb-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.5;
    transform: translateY(-50%);
}

.orb-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.orb-link span {
    transition: transform var(--transition);
}

.orb-link:hover span {
    transform: translateX(4px);
}

/* --- Timeline --- */
.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 32px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--accent), transparent);
}

.timeline-item {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    align-items: flex-start;
}

.timeline-marker {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--bg-card);
    position: relative;
    z-index: 1;
}

.timeline-marker span {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
}

.timeline-content {
    padding-top: 12px;
}

.timeline-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}

.timeline-content h3 {
    font-size: 20px;
    font-family: var(--font-display);
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Hub Section --- */
.hub-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.hub-visual {
    position: relative;
}

.hub-image {
    border-radius: var(--radius-xl);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.hub-content .section-title {
    margin-bottom: 20px;
}

.hub-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
}

.hub-stats {
    display: flex;
    gap: 32px;
}

.hub-stat {
    text-align: center;
}

.hub-stat-num {
    display: block;
    font-size: 28px;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.hub-stat-label {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* --- Device Cards Grid --- */
.device-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.device-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 28px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--bg-card);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.device-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.device-card:hover {
    border-color: rgba(0, 212, 170, 0.3);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 212, 170, 0.08);
}

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

.device-card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: rgba(0, 212, 170, 0.08);
    color: var(--accent);
    transition: var(--transition);
}

.device-card-icon svg {
    width: 24px;
    height: 24px;
}

.device-card:hover .device-card-icon {
    background: rgba(0, 212, 170, 0.15);
    transform: scale(1.05);
}

.device-card h4 {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.device-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    flex: 1;
}

.device-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    margin-top: 4px;
    transition: var(--transition);
}

.device-card-link svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.device-card:hover .device-card-link {
    color: var(--accent-hover);
}

.device-card:hover .device-card-link svg {
    transform: translateX(4px);
}

/* --- Markets --- */
.markets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.market-card {
    padding: 40px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.market-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.market-card:hover::before {
    transform: scaleX(1);
}

.market-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.market-num {
    display: block;
    font-size: 36px;
    font-weight: 200;
    font-family: var(--font-display);
    color: var(--accent);
    opacity: 0.4;
    margin-bottom: 16px;
}

.market-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.market-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Premium Market Cards --- */
.market-card-premium {
    padding: 40px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.market-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.market-card-premium:hover::before {
    transform: scaleX(1);
}

.market-card-premium:hover {
    border-color: rgba(0, 212, 170, 0.2);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 212, 170, 0.05);
}

.market-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--accent);
    transition: var(--transition);
}

.market-card-premium:hover .market-icon {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.15);
    background: rgba(0, 212, 170, 0.05);
}

.market-card-premium h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.market-card-premium p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.market-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    padding: 4px 14px;
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: var(--radius-pill);
    opacity: 0.7;
}

.market-card-premium:hover .market-badge {
    opacity: 1;
    background: rgba(0, 212, 170, 0.05);
}

/* --- Luxury --- */
.luxury-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.luxury-card {
    padding: 48px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: var(--transition);
}

.luxury-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.luxury-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--accent);
}

.luxury-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.luxury-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Stats --- */
.stats-section {
    background: rgba(8, 8, 20, 0.95);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.stat-number {
    font-size: 56px;
    font-weight: 200;
    font-family: var(--font-display);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-suffix {
    font-size: 32px;
    font-weight: 300;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-top: 8px;
}

/* --- CTA Section --- */
.cta-section {
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(0, 212, 170, 0.04) 0%, transparent 70%);
}

.cta-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto 32px;
    opacity: 0.8;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 400;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
    padding: 80px 0 40px;
    background: rgba(6, 6, 16, 0.97);
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 60px;
}

.footer-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 16px;
    opacity: 0.9;
}

.footer-tagline {
    font-family: var(--font-display);
    font-size: 16px;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.footer-company {
    font-size: 12px;
    color: var(--text-muted);
}

.footer-company strong {
    color: var(--text-secondary);
}

.footer-col h4 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    padding: 6px 0;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--text-muted);
}

.footer-made {
    margin-top: 8px;
    color: var(--accent) !important;
    opacity: 0.5;
}

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

body > section,
body > footer,
body > .whatsapp-float {
    position: relative;
    z-index: 1;
}

/* --- Footer Social --- */
.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-social a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0, 212, 170, 0.05);
}

/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 32px rgba(37, 211, 102, 0.5);
}

/* --- Page Hero (Solutions/Contact) --- */
.page-hero {
    padding: 160px 0 80px;
    text-align: center;
    background: linear-gradient(to bottom, rgba(0, 212, 170, 0.02), transparent);
}

/* --- Solutions Page Constellation Hero --- */
.solutions-constellation-hero {
    padding: 0 0 60px 0;
    position: relative;
    overflow: hidden;
}

.solutions-constellation-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(0, 212, 170, 0.14) 0%, rgba(0,0,0,0) 60%),
                radial-gradient(ellipse at 30% 30%, rgba(0, 136, 204, 0.09) 0%, rgba(0,0,0,0) 50%),
                radial-gradient(ellipse at 70% 70%, rgba(108, 92, 231, 0.07) 0%, rgba(0,0,0,0) 50%);
    z-index: 0;
}

.solutions-constellation {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 500px;
    margin: 0 auto;
    z-index: 1;
}

.solutions-constellation .constellation-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.solutions-constellation .constellation-line {
    stroke: url(#solLineGrad);
    stroke-width: 1.5;
    stroke-dasharray: 8 4;
    animation: lineDash 20s linear infinite;
    filter: drop-shadow(0 0 4px rgba(0, 212, 170, 0.3));
}

.solutions-constellation .line-pulse {
    fill: var(--accent);
    filter: drop-shadow(0 0 6px var(--accent));
}

.sol-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 2;
    text-decoration: none;
    transition: transform 0.4s ease;
}

.sol-node:hover {
    transform: scale(1.08);
}

.sol-node-tl { top: 2%; left: 5%; }
.sol-node-tr { top: 2%; right: 5%; }
.sol-node-bl { bottom: 2%; left: 5%; }
.sol-node-br { bottom: 2%; right: 5%; }
.sol-node-center { top: 50%; left: 50%; transform: translate(-50%, -55%); }
.sol-node-center:hover { transform: translate(-50%, -55%) scale(1.08); }

.sol-node-orb {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(0, 212, 170, 0.50);
    box-shadow: 0 0 36px rgba(0, 212, 170, 0.28), 0 0 70px rgba(0, 212, 170, 0.08);
    transition: all 0.4s ease;
}

.sol-node:hover .sol-node-orb {
    border-color: var(--accent);
    box-shadow: 0 0 60px rgba(0, 212, 170, 0.50), 0 0 100px rgba(0, 212, 170, 0.15);
}

.sol-node-center .sol-node-orb {
    width: 120px;
    height: 120px;
    border-color: rgba(0, 212, 170, 0.70);
    box-shadow: 0 0 60px rgba(0, 212, 170, 0.38), 0 0 120px rgba(0, 212, 170, 0.12);
}

.sol-node-center .sol-pulse-ring {
    position: absolute;
    width: 160px;
    height: 160px;
    border: 1px solid rgba(0, 212, 170, 0.15);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: corePulse 3s ease-in-out infinite;
}

.sol-node-center .sol-pulse-ring:nth-child(2) {
    width: 200px;
    height: 200px;
    animation-delay: 1s;
    border-color: rgba(0, 136, 204, 0.1);
}

.sol-node-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.sol-node-tag {
    font-size: 10px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .solutions-constellation-hero { display: none; }
}

/* --- Pricing Section (The Offering) --- */
.pricing-section {
    position: relative;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto 48px auto;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px 20px;
    text-align: center;
    transition: var(--transition);
}

.pricing-card:hover {
    border-color: rgba(0, 212, 170, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.price {
    font-size: 28px;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.price-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.free-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.free-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 16px;
    text-align: center;
    transition: var(--transition);
}

.free-item span {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.original-price {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-bottom: 4px;
}

.free-tag {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1px;
}

/* --- Product Range / Control Cards (What We Control) --- */
.product-range-section {
    position: relative;
}

.control-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.control-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
}

.control-card:hover {
    border-color: var(--border-hover);
}

.control-card.open {
    border-color: rgba(0, 212, 170, 0.3);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3), 0 0 24px rgba(0, 212, 170, 0.05);
}

.control-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
}

.control-card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    flex-shrink: 0;
    color: var(--text-secondary);
    transition: var(--transition);
}

.control-card-icon svg {
    width: 24px;
    height: 24px;
}

.control-card:hover .control-card-icon,
.control-card.open .control-card-icon {
    color: var(--accent);
    border-color: rgba(0, 212, 170, 0.3);
    background: rgba(0, 212, 170, 0.05);
}

.control-card-header h4 {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.control-card-arrow {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.control-card.open .control-card-arrow {
    transform: rotate(180deg);
    color: var(--accent);
}

.control-card-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.control-card.open .control-card-body {
    max-height: 300px;
}

.control-card-body p {
    padding: 0 24px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.control-card-body ul {
    padding: 0 24px 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.control-card-body ul li {
    font-size: 11px;
    color: var(--accent);
    padding: 4px 12px;
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: var(--radius-pill);
    letter-spacing: 0.3px;
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .free-items {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .free-items {
        grid-template-columns: 1fr 1fr;
    }
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Solution Detail --- */
.solution-detail {
    padding: 80px 0;
    border-top: 1px solid var(--border);
}

.solution-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.solution-layout.reverse {
    direction: rtl;
}

.solution-layout.reverse > * {
    direction: ltr;
}

.solution-info .section-label {
    margin-bottom: 8px;
}

.solution-info h2 {
    font-size: 36px;
    font-family: var(--font-display);
    margin-bottom: 4px;
}

.solution-subtitle {
    font-size: 14px;
    color: var(--accent);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.solution-info > p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
}

.solution-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.solution-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 14px;
}

.solution-feature svg {
    flex-shrink: 0;
    color: var(--accent);
}

.solution-price {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    padding: 8px 20px;
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: var(--radius-pill);
}

.solution-visual {
    display: flex;
    justify-content: center;
}

.solution-orb-img {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--border);
    box-shadow: 0 0 60px rgba(0, 212, 170, 0.1);
}


/* --- Contact --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info h2 {
    font-family: var(--font-display);
    font-size: 32px;
    margin-bottom: 16px;
}

.contact-info > p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

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

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    flex-shrink: 0;
    color: var(--accent);
}

.contact-detail h4 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
}

.contact-detail a,
.contact-detail p {
    font-size: 14px;
    color: var(--text-secondary);
}

.contact-detail a:hover {
    color: var(--accent);
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px;
}

.contact-form h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 14px;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    background: rgba(0, 212, 170, 0.02);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='rgba(255,255,255,0.3)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

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

.form-submit {
    width: 100%;
    margin-top: 8px;
}

/* --- Budget Slider --- */
.budget-slider-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.budget-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(to right, var(--accent) 0%, var(--accent) 12%, rgba(255,255,255,0.12) 12%);
    outline: none;
    cursor: pointer;
    border: none !important;
    padding: 0 !important;
}

.budget-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 212, 170, 0.5);
    border: 2px solid rgba(255,255,255,0.2);
    transition: box-shadow 0.2s;
}

.budget-slider::-webkit-slider-thumb:hover {
    box-shadow: 0 0 18px rgba(0, 212, 170, 0.7);
}

.budget-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    border: 2px solid rgba(255,255,255,0.2);
    box-shadow: 0 0 10px rgba(0, 212, 170, 0.5);
}

.budget-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-muted);
}

.budget-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--accent);
    background: rgba(0, 212, 170, 0.08);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 170, 0.2);
}

[data-theme="light"] .budget-slider {
    background: linear-gradient(to right, var(--accent) 0%, var(--accent) 12%, rgba(0,0,0,0.1) 12%);
}

[data-theme="light"] .budget-value {
    background: rgba(0, 212, 170, 0.1);
}

/* --- Founder Quote --- */
.founder-quote {
    margin-top: 48px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.founder-quote blockquote {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.founder-quote .founder-name {
    font-size: 14px;
    font-weight: 600;
}

.founder-quote .founder-title {
    font-size: 12px;
    color: var(--accent);
}

/* --- Animations --- */
[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Animated gradient border for featured card --- */
.orb-card-featured {
    position: relative;
}

.orb-card-featured::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-xl);
    padding: 1px;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary), #6C5CE7, var(--accent));
    background-size: 300% 300%;
    animation: gradientShift 6s ease infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.65;
    z-index: 0;
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    .philosophy-layout,
    .hub-layout,
    .solution-layout,
    .solution-layout.reverse,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .solution-layout.reverse {
        direction: ltr;
    }

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

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

    .orb-showcase {
        width: 340px;
        height: 340px;
        overflow: visible;
    }

    .orb-image {
        width: 160px;
        height: 160px;
    }

    .orb-ring-1 { width: 210px; height: 210px; }
    .orb-ring-2 { width: 270px; height: 270px; }
    .orb-ring-3 { width: 330px; height: 330px; }
    .orb-ring-4 { width: 390px; height: 390px; }
}

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .nav-cta { display: none; }
    .nav-toggle { display: flex; }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        padding: 24px;
        border-bottom: 1px solid var(--border);
        gap: 8px;
    }

    .nav-menu.active .nav-link {
        padding: 12px 0;
        font-size: 16px;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        padding: 0 0 0 16px;
    }

    .section { padding: 80px 0; }

    .hero-main-logo { width: 138px; height: 138px; }

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

    .stat-number { font-size: 40px; }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .markets-grid,
    .luxury-grid {
        grid-template-columns: 1fr;
    }

    .hub-stats { flex-wrap: wrap; }

    .orbs-constellation {
        display: none;
    }

    .orbs-grid-mobile {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

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

    .device-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

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

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }

    .device-cards-grid {
        grid-template-columns: 1fr;
    }

    .timeline-item { gap: 20px; }
    .timeline-marker { width: 48px; height: 48px; }
    .timeline-line { left: 24px; }
}

/* ==========================================
   Footer Link / Contact column styles
   (matches footer-col styling)
   ========================================== */
.footer-links h4,
.footer-contact h4 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li a,
.footer-contact p,
.footer-contact p a {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    padding: 6px 0;
    transition: var(--transition);
}

.footer-links ul li a:hover,
.footer-contact p a:hover {
    color: var(--accent);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 16px;
}

.footer-bottom-links a {
    font-size: 12px;
    color: var(--text-muted);
    transition: var(--transition);
}

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

/* ==========================================
   Theme Toggle Button
   ========================================== */
.theme-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-hover);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
    margin-right: 8px;
}

.theme-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-glow);
}

/* Default = dark mode → show moon, hide sun */
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }

/* Light mode → show sun, hide moon */
[data-theme="light"] .theme-toggle .icon-sun  { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* ==========================================
   Light Theme
   ========================================== */
[data-theme="light"] {
    --bg-primary:    #eef1f9;
    --bg-secondary:  #e2e6f2;
    --bg-card:       #ffffff;
    --bg-card-hover: #f4f7fe;
    --border:        rgba(0, 0, 0, 0.13);
    --border-hover:  rgba(0, 0, 0, 0.26);
    --text-primary:  #080812;
    --text-secondary: rgba(8, 8, 18, 0.80);
    --text-muted:    rgba(8, 8, 18, 0.58);
    --accent-glow:   rgba(0, 212, 170, 0.16);
    --shadow-glow:   0 0 60px rgba(0, 212, 170, 0.20);
}

/* Body background in light mode */
[data-theme="light"] body {
    background: var(--bg-primary);
    color: var(--text-primary);
}

/* Navbar scrolled state */
[data-theme="light"] .navbar.scrolled {
    background: rgba(238, 241, 249, 0.96);
    border-bottom-color: rgba(0, 0, 0, 0.13);
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.06);
}

/* Dropdown */
[data-theme="light"] .dropdown-menu {
    background: rgba(255, 255, 255, 0.97);
    border-color: rgba(0, 0, 0, 0.10);
}

/* Mobile nav slide-down */
[data-theme="light"] .nav-menu.active {
    background: rgba(242, 245, 251, 0.97);
}

/* Stats band */
[data-theme="light"] .stats-section {
    background: rgba(225, 230, 245, 0.90);
}

/* Footer band */
[data-theme="light"] .footer {
    background: rgba(225, 230, 245, 0.92);
}

/* Page hero tint */
[data-theme="light"] .page-hero {
    background: linear-gradient(to bottom, rgba(0, 212, 170, 0.04), transparent);
}

/* Form fields */
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea {
    background-color: rgba(0, 0, 0, 0.03);
    color: var(--text-primary);
}

/* Select arrow icon — dark stroke for light bg */
[data-theme="light"] .form-group select {
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='rgba(13,13,26,0.45)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

/* Glass button */
[data-theme="light"] .btn-glass {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.16);
    color: var(--text-primary);
}

[data-theme="light"] .btn-glass:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: var(--accent);
}

/* Loader */
[data-theme="light"] .loader {
    background: var(--bg-primary);
}

/* Star canvas — full opacity in light mode; JS draws dark colors for visibility */
[data-theme="light"] #starCanvas {
    opacity: 1;
}

/* Hub image shadow */
[data-theme="light"] .hub-image {
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.12);
}

/* Card hover shadows */
[data-theme="light"] .constellation-card:hover,
[data-theme="light"] .orb-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14), var(--shadow-glow);
}

[data-theme="light"] .pricing-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.13);
}

[data-theme="light"] .market-card-premium:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.14), 0 0 40px rgba(0, 212, 170, 0.10);
}

[data-theme="light"] .control-card.open {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12), 0 0 24px rgba(0, 212, 170, 0.10);
}

/* Solutions constellation hero gradient */
[data-theme="light"] .solutions-constellation-hero::before {
    background: radial-gradient(ellipse at 50% 50%, rgba(0, 212, 170, 0.07) 0%, transparent 60%),
                radial-gradient(ellipse at 30% 30%, rgba(0, 136, 204, 0.05) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 70%, rgba(108, 92, 231, 0.04) 0%, transparent 50%);
}

/* Mobile: keep theme toggle visible always */
@media (max-width: 768px) {
    .theme-toggle {
        margin-right: 4px;
    }
}
