/* Modern Light Theme CSS - Codey */

:root {
    --primary-color: #6366f1;
    --secondary-color: #ec4899;
    --accent-color: #14b8a6;
    --warning-color: #f59e0b;
    --success-color: #10b981;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --gradient-5: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --utility-height: 48px;
    --navbar-height: 78px;
}

body.theme-dark {
    --primary-color: #818cf8;
    --secondary-color: #f472b6;
    --accent-color: #2dd4bf;
    --warning-color: #fbbf24;
    --success-color: #22d3ee;
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --bg-primary: #0f172a;
    --bg-secondary: #111c30;
    --bg-tertiary: #15213a;
    --border-color: rgba(148, 163, 184, 0.25);
    --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.4);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.6);
    --shadow-lg: 0 12px 30px rgba(15, 23, 42, 0.55);
    --shadow-xl: 0 28px 60px rgba(15, 23, 42, 0.6);
}

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

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    border: 0;
    white-space: nowrap;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    background-image: linear-gradient(180deg, rgba(241, 245, 249, 0.7) 0%, rgba(255, 255, 255, 0.95) 55%, rgba(226, 232, 240, 0.65) 100%);
    overflow-x: hidden;
    position: relative;
    padding-top: calc(var(--utility-height) + var(--navbar-height));
    transition: padding-top 0.4s ease;
}

body.header-compact {
    padding-top: var(--navbar-height);
}

body.nav-open {
    overflow: hidden;
}

body.palette-open {
    overflow: hidden;
}

body.modal-open {
    overflow: hidden;
}

body.theme-dark {
    background: var(--bg-primary);
    background-image: linear-gradient(180deg, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.9) 55%, rgba(15, 23, 42, 0.98) 100%);
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 22px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 18px;
    }
}

/* Header & Navigation */
.site-header {
    position: relative;
    z-index: 1200;
}

.header-top {
    position: fixed;
    top: 0;
    inset-inline: 0;
    min-height: var(--utility-height);
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.9));
    color: #e2e8f0;
    backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow: 0 24px 42px rgba(8, 15, 31, 0.35);
    transition: transform 0.4s ease, opacity 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
    z-index: 1200;
    padding: 6px 0;
}

.header-top-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(16px, 3vw, 28px);
}

.header-top-announcement {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    justify-self: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: #f8fafc;
    white-space: nowrap;
}

.header-top-brand,
.header-top-actions {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    white-space: nowrap;
}

.announcement-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.25);
    border: 1px solid rgba(129, 140, 248, 0.45);
    letter-spacing: 0.35px;
}

.announcement-badge i {
    color: #facc15;
}

.announcement-dates {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fbbf24;
}

.announcement-note {
    font-size: 0.8rem;
    color: rgba(226, 232, 240, 0.78);
}

.header-tagline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    color: rgba(226, 232, 240, 0.82);
}

.header-tagline i {
    color: rgba(250, 204, 21, 0.95);
}

.header-top-link {
    color: rgba(226, 232, 240, 0.82);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    transition: color 0.3s ease;
}

.header-top-link:hover {
    color: #ffffff;
}

.site-header.is-compact .header-top {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.navbar {
    position: fixed;
    top: var(--utility-height);
    inset-inline: 0;
    z-index: 1190;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(22px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 22px 42px rgba(15, 23, 42, 0.08);
    transition: top 0.4s ease, padding 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    padding: 18px 0;
}

.navbar.scrolled {
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.96);
}

.theme-dark .navbar.scrolled {
    background: rgba(15, 23, 42, 0.94);
    box-shadow: 0 28px 54px rgba(8, 15, 31, 0.55);
}

.site-header.is-compact .navbar {
    top: 0;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
    padding: 12px 0;
}

body.theme-dark .navbar {
    background: rgba(17, 24, 39, 0.9);
    border-bottom: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow: 0 24px 50px rgba(8, 15, 31, 0.55);
}

body.theme-dark .header-top {
    background: linear-gradient(135deg, rgba(10, 19, 36, 0.96), rgba(17, 28, 48, 0.92));
    border-bottom-color: rgba(62, 74, 100, 0.6);
}

body.theme-dark .announcement-badge {
    background: rgba(99, 102, 241, 0.35);
    border-color: rgba(129, 140, 248, 0.55);
}

body.theme-dark .announcement-note {
    color: rgba(203, 213, 225, 0.78);
}

body.theme-dark .header-top-link {
    color: rgba(226, 232, 240, 0.85);
}

.nav-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(18px, 4vw, 32px);
    padding: 0 clamp(12px, 4vw, 30px);
    position: relative;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--text-primary);
}

.nav-logo-mark {
    position: relative;
    width: 68px;
    height: 68px;
    border-radius: 22px;
    border: 1px solid rgba(99, 102, 241, 0.4);
    background: radial-gradient(circle at 28% 28%, rgba(255, 255, 255, 0.95), rgba(236, 72, 153, 0.22) 68%, rgba(148, 163, 184, 0.12) 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 36px rgba(99, 102, 241, 0.22), 0 22px 44px rgba(236, 72, 153, 0.18);
    overflow: hidden;
}

.nav-logo-mark::after {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    opacity: 0.85;
}

.nav-logo-mark img {
    width: 80%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 7px 14px rgba(79, 70, 229, 0.3));
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
    font-weight: 700;
    line-height: 1.1;
    font-size: 1.12rem;
    letter-spacing: 0.2px;
}

.nav-logo-sub {
    font-size: 0.74rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.4px;
}

.nav-links {
    display: inline-flex;
    align-items: center;
    gap: clamp(6px, 1.6vw, 16px);
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.2);
    backdrop-filter: blur(18px);
}

.nav-link {
    position: relative;
    padding: 8px 16px;
    border-radius: 999px;
    color: var(--text-primary);
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.2px;
    overflow: hidden;
    white-space: nowrap;
    transition: transform 0.3s ease, color 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.16), rgba(236, 72, 153, 0.16));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-link.is-active::before {
    opacity: 1;
}

.nav-link.is-active {
    color: var(--primary-color);
}

.nav-link:hover::before,
.nav-link:focus-visible::before {
    opacity: 1;
}

.nav-link:hover {
    transform: translateY(-3px);
    color: var(--primary-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

body.theme-dark .nav-logo-mark {
    border-color: rgba(129, 140, 248, 0.55);
    background: radial-gradient(circle at 28% 28%, rgba(30, 41, 59, 0.92), rgba(79, 70, 229, 0.4) 60%, rgba(236, 72, 153, 0.28) 100%);
    box-shadow: 0 20px 38px rgba(17, 24, 39, 0.55), 0 16px 32px rgba(99, 102, 241, 0.3);
}

body.theme-dark .nav-logo-mark::after {
    border-color: rgba(255, 255, 255, 0.08);
}

body.theme-dark .nav-links {
    background: rgba(15, 23, 42, 0.55);
    border-color: rgba(99, 102, 241, 0.28);
}


body.theme-dark .nav-link {
    color: rgba(226, 232, 240, 0.92);
}

body.theme-dark .nav-link.is-active {
    color: var(--secondary-color);
}

.theme-toggle {
    position: relative;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(255, 255, 255, 0.8);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.theme-toggle .theme-icon {
    position: absolute;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.25s ease, transform 0.25s ease;
    color: var(--primary-color);
    font-size: 1rem;
}

.theme-toggle .theme-icon.sun {
    opacity: 1;
    transform: scale(1);
}

body.theme-dark .theme-toggle .theme-icon.sun {
    opacity: 0;
    transform: scale(0.6);
}

body.theme-dark .theme-toggle .theme-icon.moon {
    opacity: 1;
    transform: scale(1);
    color: var(--secondary-color);
}

.theme-toggle:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(99, 102, 241, 0.18);
}

body.theme-dark .theme-toggle {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(148, 163, 184, 0.35);
}

.palette-toggle {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(255, 255, 255, 0.8);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    color: var(--primary-color);
    font-size: 1rem;
}

.palette-toggle:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(99, 102, 241, 0.18);
}

body.theme-dark .palette-toggle {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(148, 163, 184, 0.35);
    color: rgba(148, 163, 184, 0.9);
}

.nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-pill:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(99, 102, 241, 0.32);
}

.menu-toggle {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid rgba(99, 102, 241, 0.25);
    background: rgba(99, 102, 241, 0.12);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--text-primary);
    transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
}

.menu-toggle:hover {
    transform: translateY(-2px);
    background: rgba(99, 102, 241, 0.18);
}

.menu-toggle.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    width: 22px;
}

.menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    width: 22px;
}

.nav-mobile-panel {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 30% -10%, rgba(99, 102, 241, 0.32), transparent 55%),
                radial-gradient(circle at 80% 120%, rgba(236, 72, 153, 0.28), transparent 60%),
                rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 1300;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: clamp(24px, 5vh, 40px) clamp(16px, 6vw, 48px) clamp(32px, 6vh, 48px);
    padding-top: calc(var(--utility-height) + var(--navbar-height) + 12px);
    overflow-y: auto;
}

.nav-mobile-panel.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-inner {
    background: rgba(255, 255, 255, 0.96);
    width: min(420px, 92vw);
    max-height: calc(100vh - (var(--utility-height) + var(--navbar-height) + 32px));
    padding: 32px clamp(20px, 6vw, 32px) clamp(28px, 8vh, 36px);
    display: flex;
    flex-direction: column;
    gap: 28px;
    transform: translateY(36px) scale(0.96);
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.16, 0.75, 0.3, 1), opacity 0.3s ease;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    border-radius: 28px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 32px 80px rgba(15, 23, 42, 0.28);
    padding-bottom: max(28px, env(safe-area-inset-bottom, 0px));
    will-change: transform, opacity;
}

.nav-mobile-panel.active .mobile-inner {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.mobile-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.mobile-headline {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 70%;
}

.mobile-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.mobile-label i {
    font-size: 0.85rem;
}

.mobile-sub {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

body.theme-dark .mobile-inner {
    background: rgba(13, 19, 33, 0.96);
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow: 0 36px 90px rgba(4, 7, 15, 0.65);
}

body.theme-dark .mobile-label {
    color: rgba(129, 140, 248, 0.95);
}

body.theme-dark .mobile-sub {
    color: rgba(203, 213, 225, 0.75);
}

.mobile-close {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, color 0.3s ease;
}

.mobile-close:hover {
    background: rgba(99, 102, 241, 0.12);
    color: var(--primary-color);
}

body.theme-dark .mobile-close {
    border-color: rgba(99, 102, 241, 0.45);
    color: rgba(226, 232, 240, 0.82);
}

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 20px;
    background: rgba(248, 250, 252, 0.92);
    color: var(--text-primary);
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(148, 163, 184, 0.25);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.mobile-link.is-active {
    border-color: rgba(99, 102, 241, 0.5);
    background: rgba(99, 102, 241, 0.12);
    color: var(--primary-color);
}

.mobile-link:hover {
    transform: translateY(-3px);
    border-color: rgba(99, 102, 241, 0.4);
}

body.theme-dark .mobile-link {
    background: rgba(17, 24, 39, 0.92);
    border-color: rgba(129, 140, 248, 0.25);
    color: rgba(226, 232, 240, 0.9);
}

body.theme-dark .mobile-link.is-active {
    border-color: rgba(129, 140, 248, 0.55);
    background: rgba(79, 70, 229, 0.18);
    color: rgba(129, 140, 248, 0.95);
}

.mobile-footer {
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.mobile-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

body.theme-dark .mobile-footer {
    color: rgba(148, 163, 184, 0.78);
}

body.theme-dark .mobile-footer a {
    color: rgba(236, 72, 153, 0.65);
}

.mobile-social {
    display: flex;
    gap: 12px;
}

.mobile-social a {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary-color);
    transition: transform 0.3s ease, background 0.3s ease;
}

.mobile-social a:hover {
    background: rgba(99, 102, 241, 0.18);
    transform: translateY(-3px);
}

.scroll-progress {
    position: fixed;
    top: calc(var(--utility-height) + var(--navbar-height) - 4px);
    inset-inline: 0;
    height: 2px;
    background: rgba(148, 163, 184, 0.2);
    z-index: 1185;
    pointer-events: none;
    transition: top 0.4s ease;
}

.scroll-progress-bar {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    transform-origin: right;
    transition: width 0.2s ease;
}

.site-header.is-compact .scroll-progress {
    top: calc(var(--navbar-height) - 4px);
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.08), transparent 55%),
                radial-gradient(circle at 80% 25%, rgba(236, 72, 153, 0.08), transparent 50%),
                linear-gradient(180deg, #ffffff 0%, #f8fafc 45%, #eef2ff 100%);
}

body.theme-dark .hero {
    background: radial-gradient(circle at 20% 20%, rgba(79, 70, 229, 0.35), transparent 45%),
                radial-gradient(circle at 70% 20%, rgba(236, 72, 153, 0.25), transparent 55%),
                linear-gradient(180deg, #0f172a 0%, #111c30 55%, #101a2c 100%);
}

.flagship-hero {
    padding: clamp(80px, 14vw, 200px) 0 clamp(100px, 14vw, 160px);
}

.hero-atmosphere {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.hero-glow {
    position: absolute;
    width: clamp(280px, 38vw, 460px);
    height: clamp(280px, 38vw, 460px);
    border-radius: 50%;
    filter: blur(0);
    opacity: 0.6;
    mix-blend-mode: screen;
    animation: heroGlow 22s ease-in-out infinite;
}

.hero-glow.glow-1 {
    top: -18%;
    right: -12%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.35) 0%, rgba(99, 102, 241, 0) 70%);
}

.hero-glow.glow-2 {
    bottom: -20%;
    left: -16%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.28) 0%, rgba(236, 72, 153, 0) 70%);
    animation-duration: 26s;
}

.hero-glow.glow-3 {
    top: 32%;
    left: 42%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.22) 0%, rgba(20, 184, 166, 0) 75%);
    animation-duration: 30s;
}

.hero-gridlines {
    position: absolute;
    inset: 18% 12% 12% 12%;
    border-radius: 40px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: repeating-linear-gradient(
        90deg,
        rgba(148, 163, 184, 0.12),
        rgba(148, 163, 184, 0.12) 1px,
        transparent 1px,
        transparent 40px
    ),
    repeating-linear-gradient(
        0deg,
        rgba(148, 163, 184, 0.12),
        rgba(148, 163, 184, 0.12) 1px,
        transparent 1px,
        transparent 40px
    );
    opacity: 0.4;
    transform: rotate(-2deg);
}

body.theme-dark .hero-gridlines {
    border-color: rgba(148, 163, 184, 0.15);
    background: repeating-linear-gradient(
        0deg,
        rgba(148, 163, 184, 0.08),
        rgba(148, 163, 184, 0.08) 1px,
        transparent 1px,
        transparent 36px
    ),
    repeating-linear-gradient(
        90deg,
        rgba(148, 163, 184, 0.08),
        rgba(148, 163, 184, 0.08) 1px,
        transparent 1px,
        transparent 36px
    );
    opacity: 0.35;
}

@keyframes heroGlow {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    40% { transform: translate3d(18px, -22px, 0) scale(1.05); }
    70% { transform: translate3d(-12px, 16px, 0) scale(0.95); }
}

.hero-shell {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(320px, 1.05fr) minmax(280px, 0.95fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: stretch;
}

.hero-narrative {
    display: flex;
    flex-direction: column;
    gap: 26px;
    max-width: 560px;
    justify-self: end;
}

.hero-chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 16px 36px rgba(148, 163, 184, 0.18);
    overflow: hidden;
}

body.theme-dark .hero-chip {
    background: rgba(17, 24, 39, 0.88);
    border-color: rgba(148, 163, 184, 0.28);
    box-shadow: 0 28px 44px rgba(8, 15, 31, 0.5);
}

.chip-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.18) 0%, rgba(236, 72, 153, 0.18) 100%);
    opacity: 0.85;
}

body.theme-dark .chip-glow {
    opacity: 0.55;
}

.chip-text {
    position: relative;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.chip-text i {
    color: var(--secondary-color);
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
}

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

.hero-line.highlight {
    background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-secondary);
}

.hero-highlights {
    list-style: none;
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 0;
}

.hero-highlights li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.98rem;
}

.hero-highlights i {
    color: var(--success-color);
}

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

.hero-status-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
}

.status-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 18px 32px rgba(148, 163, 184, 0.18);
}

body.theme-dark .status-card {
    background: rgba(17, 24, 39, 0.92);
    border-color: rgba(148, 163, 184, 0.22);
    box-shadow: 0 28px 48px rgba(8, 15, 31, 0.55);
}

.status-card .status-label {
    font-size: 0.75rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: rgba(100, 116, 139, 0.85);
}

.status-card .status-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.status-card .status-sub {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.hero-blueprint {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px 22px;
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.1);
}

body.theme-dark .hero-blueprint {
    background: rgba(17, 24, 39, 0.88);
    border-color: rgba(148, 163, 184, 0.22);
    box-shadow: 0 28px 48px rgba(8, 15, 31, 0.5);
}

.hero-blueprint .blueprint-head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.hero-blueprint .blueprint-head i {
    color: var(--secondary-color);
}

.blueprint-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blueprint-step {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 0;
}

.blueprint-step::after {
    content: '';
    position: absolute;
    inset: -12px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.16), rgba(236, 72, 153, 0.14));
    opacity: 0;
    transition: opacity 0.35s ease, transform 0.35s ease;
    z-index: -1;
}

.blueprint-step.is-active::after {
    opacity: 1;
    transform: scale(1.02);
}

.blueprint-step .step-index {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.12);
    color: var(--primary-color);
    font-weight: 700;
}

.blueprint-step.is-active .step-index {
    background: linear-gradient(135deg, #6366f1, #ec4899);
    color: #ffffff;
    box-shadow: 0 0 14px rgba(99, 102, 241, 0.4);
}

.blueprint-step.is-active .step-label {
    color: var(--primary-color);
}

.blueprint-step.is-active .step-description {
    color: var(--text-primary);
}

.blueprint-step .step-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.blueprint-step .step-label {
    font-weight: 700;
    color: var(--text-primary);
}

.blueprint-step .step-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.btn-icon {
    transition: transform 0.3s ease;
    margin-right: 8px;
}

.btn:hover .btn-icon {
    transform: translateX(-4px);
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    color: #ffffff;
    box-shadow: 0 18px 40px rgba(99, 102, 241, 0.28);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 50px rgba(99, 102, 241, 0.34);
}

.btn-ghost {
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary-color);
    border: 1px solid rgba(99, 102, 241, 0.18);
}

.btn-ghost:hover {
    transform: translateY(-4px);
    background: rgba(99, 102, 241, 0.12);
    box-shadow: 0 18px 36px rgba(148, 163, 184, 0.25);
}

.btn-ghost-light {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 18px 40px rgba(148, 163, 184, 0.2);
}

.btn-ghost-light:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.3);
}

.hero-avatars {
    display: flex;
    align-items: center;
    gap: 18px;
}

.avatar-stack {
    display: flex;
}

.avatar {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    color: #ffffff;
    border: 3px solid #ffffff;
    box-shadow: 0 18px 30px rgba(148, 163, 184, 0.35);
    background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    margin-left: -14px;
}

.avatar:first-child {
    margin-left: 0;
}

.avatar-text {
    font-weight: 600;
    color: var(--text-secondary);
}

.avatar-text strong {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-left: 6px;
}

.hero-moments {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.hero-insight {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 22px;
    padding: 18px 22px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: right;
    backdrop-filter: blur(8px);
}

body.theme-dark .hero-insight {
    background: rgba(17, 24, 39, 0.9);
    border-color: rgba(148, 163, 184, 0.22);
    box-shadow: 0 26px 46px rgba(8, 15, 31, 0.45);
}

.hero-insight .insight-title {
    font-size: 0.85rem;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.hero-insight .insight-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
}

.hero-insight .insight-note {
    font-size: 0.8rem;
    color: rgba(100, 116, 139, 0.8);
}

.hero-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: clamp(360px, 50vw, 560px);
    justify-self: start;
    gap: 32px;
    padding-bottom: 0;
}

.hero-mission {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 14px 22px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 24px 44px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(12px);
}

body.theme-dark .hero-mission {
    background: rgba(17, 24, 39, 0.92);
    border-color: rgba(148, 163, 184, 0.25);
    box-shadow: 0 32px 60px rgba(8, 15, 31, 0.6);
}

.mission-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(236, 72, 153, 0.18));
    color: var(--text-primary);
}

.mission-badge i {
    color: var(--secondary-color);
}

.mission-feed {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.mission-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.mission-item i {
    font-size: 0.4rem;
    color: var(--secondary-color);
}

.mission-item.is-active {
    color: var(--primary-color);
    font-weight: 700;
    animation: missionGlow 1.8s ease-in-out infinite;
}

.mission-item.is-active i {
    color: var(--primary-color);
    transform: scale(1.4);
    animation: missionPulse 1.8s ease-in-out infinite;
}

@keyframes missionGlow {
    0%, 100% { text-shadow: 0 0 0 rgba(99, 102, 241, 0); }
    50% { text-shadow: 0 0 12px rgba(99, 102, 241, 0.45); }
}

@keyframes missionPulse {
    0%, 100% { opacity: 0.6; transform: scale(1.2); }
    50% { opacity: 1; transform: scale(1.6); }
}

.hero-orbit {
    position: relative;
    width: clamp(320px, 44vw, 520px);
    padding-bottom: 140px;
}

.hero-parallax {
    position: relative;
    height: clamp(360px, 55vw, 560px);
    perspective: 1400px;
    transform-style: preserve-3d;
    border-radius: 42px;
    padding: 32px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.4));
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 50px 90px rgba(15, 23, 42, 0.14);
    overflow: hidden;
}

body.theme-dark .hero-parallax {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.95), rgba(30, 41, 59, 0.6));
    border-color: rgba(148, 163, 184, 0.25);
    box-shadow: 0 60px 110px rgba(8, 15, 31, 0.65);
}

.parallax-layer {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    pointer-events: none;
    --parallax-x: 0px;
    --parallax-y: 0px;
    --base-translate-x: 0px;
    --base-translate-y: 0px;
    transform: translate3d(calc(var(--base-translate-x) + var(--parallax-x)), calc(var(--base-translate-y) + var(--parallax-y)), 0);
}

.layer-grid .layer-gridlines {
    position: absolute;
    inset: 0;
    border-radius: 32px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: repeating-linear-gradient(
        0deg,
        rgba(148, 163, 184, 0.12),
        rgba(148, 163, 184, 0.12) 1px,
        transparent 1px,
        transparent 36px
    ),
    repeating-linear-gradient(
        90deg,
        rgba(148, 163, 184, 0.12),
        rgba(148, 163, 184, 0.12) 1px,
        transparent 1px,
        transparent 36px
    );
    border-radius: 32px;
}

.layer-grid .layer-axis {
    position: absolute;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.6), rgba(236, 72, 153, 0.6));
    opacity: 0.4;
    border-radius: 999px;
}

.layer-grid .axis-horizontal {
    height: 2px;
    inset-inline: 10%;
    top: 50%;
}

.layer-grid .axis-vertical {
    width: 2px;
    inset-block: 12%;
    left: 50%;
    transform: translateX(-50%);
}

.layer-roadmap {
    top: 50px;
    right: 28px;
    left: 28px;
    bottom: 160px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.35);
    padding: 22px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.15);
}

.roadmap-headline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.roadmap-label {
    font-weight: 700;
    color: var(--primary-color);
}

.roadmap-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color);
    font-weight: 600;
}

.roadmap-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.roadmap-steps li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 16px;
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.2);
    font-size: 0.95rem;
}

.step-state {
    font-weight: 700;
    color: var(--text-secondary);
}

.step-state.accent {
    color: var(--secondary-color);
}

.layer-report {
    left: 36px;
    right: 36px;
    bottom: 60px;
    height: 160px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.92), rgba(236, 72, 153, 0.92));
    padding: 20px 24px;
    color: #ffffff;
    box-shadow: 0 24px 60px rgba(99, 102, 241, 0.28);
}

body.theme-dark .layer-report {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.85), rgba(236, 72, 153, 0.75));
    box-shadow: 0 34px 80px rgba(59, 130, 246, 0.45);
}

.report-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.report-chip {
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

.report-value {
    font-weight: 800;
    font-size: 1.4rem;
}

.report-bars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    align-items: end;
    height: 70px;
    margin-bottom: 14px;
}

.report-bars .bar {
    display: block;
    width: 100%;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.4);
    animation: barPulse 3.2s ease-in-out infinite;
}

.report-bars .bar-1 { height: 62%; }
.report-bars .bar-2 { height: 76%; animation-delay: 0.3s; }
.report-bars .bar-3 { height: 100%; animation-delay: 0.6s; }
.report-bars .bar-4 { height: 56%; animation-delay: 0.9s; }

.report-foot {
    font-size: 0.85rem;
    opacity: 0.85;
}

@keyframes barPulse {
    0%, 100% { transform: scaleY(1); opacity: 0.95; }
    50% { transform: scaleY(1.15); opacity: 1; }
}

.layer-card {
    width: 220px;
    padding: 18px 18px 24px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
    top: 30px;
    left: 50%;
    --base-translate-x: -50%;
}

.layer-card .card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.layer-card .card-title i {
    color: var(--secondary-color);
}

.layer-card .card-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.layer-card .card-metric {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--text-primary);
}

.layer-card .card-caption {
    font-size: 0.85rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.layer-card .card-footer {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.layer-card .card-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--success-color);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.5);
}

.hero-orbit .hero-hotspots {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-orbit .hero-hotspot {
    position: absolute;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-orbit .hotspot-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.2);
    animation: hotspotPulse 2.6s ease-out infinite;
}

.hero-orbit .hotspot-core {
    position: relative;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    box-shadow: 0 0 16px rgba(99, 102, 241, 0.6);
}

.hero-orbit .hero-hotspot.is-active .hotspot-core {
    transform: scale(1.2);
    box-shadow: 0 0 22px rgba(236, 72, 153, 0.55);
}

.hero-orbit .hero-hotspot.is-active .hotspot-pulse {
    background: rgba(99, 102, 241, 0.28);
}

@keyframes hotspotPulse {
    0% { transform: scale(1); opacity: 0.65; }
    70% { transform: scale(1.8); opacity: 0; }
    100% { transform: scale(1.8); opacity: 0; }
}

.hero-orbit .hero-hotspot-panel {
    position: absolute;
    bottom: -110px;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(240px, 26vw, 320px);
    background: rgba(15, 23, 42, 0.82);
    color: #ffffff;
    border-radius: 24px;
    padding: 22px 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 26px 50px rgba(15, 23, 42, 0.35);
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.hero-orbit .hero-hotspot-panel.is-engaged {
    border-color: rgba(236, 72, 153, 0.35);
    box-shadow: 0 32px 60px rgba(236, 72, 153, 0.28);
}

.hero-orbit .hero-hotspot-panel .panel-label {
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.85);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.hero-orbit .hero-hotspot-panel .panel-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.hero-orbit .hero-hotspot-panel .panel-description {
    font-size: 0.92rem;
    color: rgba(226, 232, 240, 0.85);
    line-height: 1.6;
}

.hero-orbit .hero-hotspot-panel.is-hidden {
    opacity: 0;
    transform: translate(-50%, -10px);
}

.hero-stage::before {
    content: '';
    position: absolute;
    inset: -60px -40px auto;
    height: 120px;
    background: radial-gradient(circle, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0) 70%);
    z-index: 0;
}

.hero-stage > * {
    z-index: 1;
}

.hero-telemetry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    width: 100%;
}

.telemetry-card {
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.1);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

body.theme-dark .telemetry-card {
    background: rgba(17, 24, 39, 0.9);
    border-color: rgba(148, 163, 184, 0.2);
    box-shadow: 0 28px 60px rgba(8, 15, 31, 0.5);
}

/* Hero 2024 layout */
.hero-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    border-radius: 50%;
    mix-blend-mode: screen;
    opacity: 0.55;
    animation: heroGlow 28s ease-in-out infinite;
}

.hero-gradient.gradient-one {
    width: 540px;
    height: 540px;
    top: -260px;
    right: -220px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, rgba(99, 102, 241, 0) 70%);
}

.hero-gradient.gradient-two {
    width: 460px;
    height: 460px;
    bottom: -200px;
    left: -200px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.22) 0%, rgba(236, 72, 153, 0) 70%);
    animation-duration: 32s;
}

.hero-grid {
    position: absolute;
    inset: 16% 12% 18% 12%;
    border-radius: 42px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: repeating-linear-gradient(
        0deg,
        rgba(148, 163, 184, 0.12),
        rgba(148, 163, 184, 0.12) 1px,
        transparent 1px,
        transparent 42px
    ),
    repeating-linear-gradient(
        90deg,
        rgba(148, 163, 184, 0.12),
        rgba(148, 163, 184, 0.12) 1px,
        transparent 1px,
        transparent 42px
    );
    opacity: 0.45;
    transform: rotate(-2deg);
}

.hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(36px, 8vw, 80px);
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 3vw, 26px);
    max-width: 620px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 22px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.12);
    color: var(--primary-color);
    font-weight: 600;
    width: fit-content;
    letter-spacing: 0.6px;
}

body.theme-dark .hero-label {
    background: rgba(99, 102, 241, 0.22);
    color: #c7d2fe;
}

.hero-content h1 {
    font-size: clamp(2.6rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: clamp(1.15, 2vw, 1.25);
    color: var(--text-primary);
}

.hero-content p {
    font-size: 1.08rem;
    color: var(--text-secondary);
    line-height: 1.9;
}

.hero-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.hero-points li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.98rem;
    color: var(--text-secondary);
}

.hero-points i {
    color: var(--primary-color);
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-secondary {
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary-color);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.hero-secondary:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 44px rgba(148, 163, 184, 0.22);
}

body.theme-dark .hero-secondary {
    background: rgba(30, 41, 59, 0.9);
    color: rgba(226, 232, 240, 0.9);
    border-color: rgba(148, 163, 184, 0.28);
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: clamp(18px, 4vw, 36px);
    flex-wrap: wrap;
}

.trust-rating {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.trust-stars {
    color: #facc15;
    letter-spacing: 2px;
}

.trust-score {
    font-weight: 700;
    color: var(--text-primary);
}

.trust-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.trust-logos {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.trust-logos span {
    padding: 10px 16px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(248, 250, 252, 0.9);
    font-weight: 600;
    color: rgba(100, 116, 139, 0.95);
}

body.theme-dark .trust-logos span {
    background: rgba(17, 24, 39, 0.85);
    border-color: rgba(148, 163, 184, 0.28);
    color: rgba(226, 232, 240, 0.85);
}

.hero-showcase {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1400px;
    margin-top: clamp(12px, 4vw, 32px);
}

.hero-scene {
    position: relative;
    width: clamp(320px, 38vw, 440px);
    height: clamp(320px, 38vw, 420px);
    transform-style: preserve-3d;
}

.hero-scene::before {
    content: '';
    position: absolute;
    inset: -18% -16% -16% -16%;
    background: radial-gradient(circle at 50% 30%, rgba(99, 102, 241, 0.28), transparent 65%);
    filter: blur(22px);
    transform: translateZ(-160px);
}

.scene-rig {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    animation: sceneOrbit 16s ease-in-out infinite;
}

.scene-ring {
    position: absolute;
    inset: 0;
    border-radius: 42%;
    border: 1px dashed rgba(148, 163, 184, 0.35);
    transform: rotateX(74deg) rotateZ(0deg);
    animation: ringPulse 12s linear infinite;
}

.scene-ring--inner {
    inset: 16%;
    border-style: solid;
    opacity: 0.6;
    animation-duration: 18s;
}

.scene-logo {
    position: absolute;
    top: 8%;
    left: 50%;
    transform: translate3d(-50%, 0, 220px) rotateX(-6deg);
    animation: logoPulse 6s ease-in-out infinite;
    pointer-events: none;
}

.scene-logo img {
    width: clamp(140px, 30vw, 210px);
    filter: drop-shadow(0 18px 34px rgba(99, 102, 241, 0.38));
}

.scene-window {
    position: absolute;
    bottom: 2%;
    left: 50%;
    width: 74%;
    transform: translate3d(-50%, 0, 110px) rotateX(10deg) rotateY(-9deg);
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.95), rgba(226, 232, 240, 0.85));
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.32);
    box-shadow: 0 34px 80px rgba(15, 23, 42, 0.18);
    overflow: hidden;
    animation: windowFloat 7s ease-in-out infinite;
}

body.theme-dark .scene-window {
    background: linear-gradient(155deg, rgba(17, 24, 39, 0.96), rgba(30, 41, 59, 0.85));
    border-color: rgba(99, 102, 241, 0.28);
    box-shadow: 0 40px 90px rgba(8, 15, 31, 0.55);
}

.window-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(148, 163, 184, 0.12);
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.window-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #22c55e; }

.window-path {
    margin-inline-start: auto;
    font-size: 0.78rem;
    color: var(--text-secondary);
    letter-spacing: 0.4px;
}

.window-code {
    font-family: 'Space Grotesk', 'Fira Code', monospace;
    padding: 18px 20px 22px;
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.92), rgba(226, 232, 240, 0.92));
}

body.theme-dark .window-code {
    color: rgba(226, 232, 240, 0.92);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.86), rgba(30, 41, 59, 0.86));
}

.window-code code {
    display: block;
    white-space: pre-wrap;
}

.code-comment {
    color: rgba(99, 102, 241, 0.9);
    display: block;
    margin-bottom: 10px;
}

.scene-badge {
    position: absolute;
    top: 42%;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.26);
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.16);
    transform: translateZ(180px);
    animation: badgeFloat 6s ease-in-out infinite;
    pointer-events: none;
}

body.theme-dark .scene-badge {
    background: rgba(17, 24, 39, 0.9);
    border-color: rgba(148, 163, 184, 0.35);
}

.scene-badge--left {
    left: -18%;
    top: 38%;
}

.scene-badge--right {
    right: -18%;
    top: 58%;
    animation-delay: 1.2s;
}

.scene-badge i {
    color: var(--secondary-color);
    font-size: 1rem;
}

.badge-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.badge-value {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary-color);
}

body.theme-dark .badge-value {
    color: rgba(129, 140, 248, 0.95);
}

.showcase-shadow {
    position: absolute;
    bottom: -48px;
    width: 68%;
    height: 140px;
    border-radius: 140px;
    filter: blur(60px);
    background: radial-gradient(circle, rgba(99, 102, 241, 0.35) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

body.theme-dark .showcase-shadow {
    background: radial-gradient(circle, rgba(79, 70, 229, 0.4) 0%, rgba(8, 15, 31, 0) 70%);
}

@keyframes sceneOrbit {
    0%, 100% {
        transform: rotateX(12deg) rotateY(-18deg);
    }
    50% {
        transform: rotateX(18deg) rotateY(12deg);
    }
}

@keyframes ringPulse {
    0% {
        transform: rotateX(74deg) rotateZ(0deg);
        opacity: 0.85;
    }
    50% {
        transform: rotateX(80deg) rotateZ(180deg);
        opacity: 0.5;
    }
    100% {
        transform: rotateX(74deg) rotateZ(360deg);
        opacity: 0.85;
    }
}

@keyframes windowFloat {
    0%, 100% {
        transform: translate3d(-50%, 0, 110px) rotateX(10deg) rotateY(-9deg) translateY(0);
    }
    50% {
        transform: translate3d(-50%, 0, 110px) rotateX(6deg) rotateY(-3deg) translateY(-14px);
    }
}

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

@keyframes logoPulse {
    0%, 100% {
        letter-spacing: 4px;
        text-shadow: 0 12px 24px rgba(99, 102, 241, 0.35);
    }
    50% {
        letter-spacing: 6px;
        text-shadow: 0 16px 30px rgba(236, 72, 153, 0.35);
    }
}

@media (prefers-reduced-motion: reduce) {
    .scene-rig,
    .scene-ring,
    .scene-window,
    .scene-logo,
    .scene-badge {
        animation: none !important;
    }
}

.telemetry-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.telemetry-label i {
    color: var(--secondary-color);
}

.telemetry-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
}

.telemetry-meta {
    font-size: 0.85rem;
    color: rgba(100, 116, 139, 0.85);
}

.command-palette {
    position: fixed;
    inset: 0;
    z-index: 2500;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 120px 20px 40px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.command-palette.is-open {
    pointer-events: auto;
    opacity: 1;
}

.palette-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(12px);
    opacity: 0;
    transition: opacity 0.25s ease;
}

body.theme-dark .palette-backdrop {
    background: rgba(8, 15, 31, 0.55);
}

.command-palette.is-open .palette-backdrop {
    opacity: 1;
}

.palette-panel {
    position: relative;
    max-width: 640px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 40px 90px rgba(15, 23, 42, 0.18);
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 26px;
    transform: translateY(-20px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.command-palette.is-open .palette-panel {
    transform: translateY(0);
    opacity: 1;
}

.palette-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.palette-label {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.palette-label i {
    color: var(--secondary-color);
}

.palette-shortcut {
    display: inline-flex;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 0.75rem;
}

.palette-shortcut .key {
    min-width: 26px;
    padding: 6px 8px;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(248, 250, 252, 0.9);
    text-align: right;
    line-height: 1;
    font-weight: 600;
}

.palette-search {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(248, 250, 252, 0.95);
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    padding: 12px 18px;
    gap: 12px;
}

.palette-search i {
    color: var(--text-secondary);
}

.palette-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    color: var(--text-primary);
    text-align: right;
    direction: rtl;
}

.palette-input:focus {
    outline: none;
}

.palette-close {
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}

.palette-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.palette-body {
    display: grid;
    gap: 22px;
    max-height: min(420px, 55vh);
    overflow-y: auto;
    padding-inline-end: 6px;
}

.palette-empty {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 40px 20px;
    text-align: right;
    color: var(--text-secondary);
}

.palette-empty i {
    font-size: 1.6rem;
    color: var(--primary-color);
}

.palette-empty.is-visible {
    display: flex;
}

.palette-section {
    display: grid;
    gap: 12px;
}

.section-heading {
    font-size: 0.78rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.palette-list {
    list-style: none;
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.palette-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    border-radius: 16px;
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.22);
    cursor: pointer;
    transition: transform 0.25s ease, border 0.25s ease, background 0.25s ease;
}

.palette-item:hover,
.palette-item.is-active {
    transform: translateX(-6px);
    border-color: rgba(99, 102, 241, 0.45);
    background: rgba(99, 102, 241, 0.12);
}

.palette-item .item-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-primary);
}

.palette-item .item-title i {
    color: var(--primary-color);
}

.palette-item .item-meta {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

body.theme-dark .command-palette .palette-panel {
    background: rgba(17, 24, 39, 0.95);
    border-color: rgba(148, 163, 184, 0.2);
    box-shadow: 0 48px 110px rgba(8, 15, 31, 0.65);
}

body.theme-dark .palette-search {
    background: rgba(15, 23, 42, 0.85);
    border-color: rgba(148, 163, 184, 0.22);
}

body.theme-dark .palette-shortcut .key {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(148, 163, 184, 0.28);
    color: rgba(226, 232, 240, 0.85);
}

body.theme-dark .palette-item {
    background: rgba(15, 23, 42, 0.85);
    border-color: rgba(148, 163, 184, 0.2);
}

body.theme-dark .palette-item:hover,
body.theme-dark .palette-item.is-active {
    background: rgba(99, 102, 241, 0.18);
    border-color: rgba(99, 102, 241, 0.45);
}

.hero-marquee {
    position: relative;
    margin-top: clamp(60px, 8vw, 120px);
    overflow: hidden;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(255, 255, 255, 0.7);
}

body.theme-dark .hero-marquee {
    background: rgba(15, 23, 42, 0.88);
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.marquee-track {
    display: flex;
    width: max-content;
    gap: 60px;
    padding: 18px 0;
    animation: marqueeScroll 22s linear infinite;
    will-change: transform;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-group {
    display: flex;
    align-items: center;
    gap: clamp(16px, 4vw, 28px);
}

.marquee-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: rgba(71, 85, 105, 0.85);
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(6px);
}

body.theme-dark .marquee-pill {
    background: rgba(17, 24, 39, 0.9);
    border-color: rgba(148, 163, 184, 0.25);
    color: rgba(226, 232, 240, 0.92);
    box-shadow: 0 20px 40px rgba(8, 15, 31, 0.5);
}

.marquee-pill i {
    color: var(--primary-color);
}

.marquee-pill.accent {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(236, 72, 153, 0.18));
    border-color: rgba(99, 102, 241, 0.25);
    color: var(--primary-color);
}

body.theme-dark .marquee-pill.accent {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.32), rgba(236, 72, 153, 0.28));
    color: #fbcfe8;
}

.marquee-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 18px 40px rgba(99, 102, 241, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.marquee-cta i {
    transform: translateX(-2px);
}

.marquee-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 54px rgba(236, 72, 153, 0.32);
}

body.theme-dark .marquee-cta {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.75), rgba(236, 72, 153, 0.65));
    box-shadow: 0 26px 60px rgba(59, 130, 246, 0.4);
}

@keyframes ringPulse {
    0% { transform: rotate(0deg) scale(1); opacity: 0.6; }
    50% { opacity: 0.3; }
    100% { transform: rotate(-360deg) scale(1); opacity: 0.6; }
}

@keyframes coreGlow {
    0%, 100% { box-shadow: 0 18px 40px rgba(99, 102, 241, 0.3); transform: scale(1); }
    50% { box-shadow: 0 24px 50px rgba(236, 72, 153, 0.35); transform: scale(1.05); }
}

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

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Services Section */
.services {
    position: relative;
    padding: clamp(90px, 12vw, 150px) 0;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 60%, #f1f5ff 100%);
    overflow: hidden;
}

body.theme-dark .services {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.96) 0%, rgba(17, 24, 39, 0.92) 60%, rgba(15, 23, 42, 0.96) 100%);
}

.services::before,
.services::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(0);
    opacity: 0.5;
    pointer-events: none;
}

.services::before {
    width: 480px;
    height: 480px;
    top: -220px;
    right: -160px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, rgba(99, 102, 241, 0) 70%);
    animation: floatGlow 16s ease-in-out infinite alternate;
}

body.theme-dark .services::before {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.28) 0%, rgba(99, 102, 241, 0) 70%);
}

.services::after {
    width: 420px;
    height: 420px;
    bottom: -180px;
    left: -140px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.16) 0%, rgba(236, 72, 153, 0) 70%);
    animation: floatGlow 18s ease-in-out infinite alternate-reverse;
}

body.theme-dark .services::after {
    background: radial-gradient(circle, rgba(236, 72, 153, 0.26) 0%, rgba(236, 72, 153, 0) 70%);
}

@keyframes floatGlow {
    0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.6; }
    50% { transform: translate3d(30px, -25px, 0) scale(1.05); opacity: 0.75; }
    100% { transform: translate3d(-25px, 25px, 0) scale(0.96); opacity: 0.6; }
}

.section-header {
    text-align: center;
    margin-bottom: clamp(48px, 6vw, 80px);
    position: relative;
    z-index: 2;
}

.section-label {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 999px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 22px;
    letter-spacing: 0.5px;
}

body.theme-dark .section-label {
    background: rgba(99, 102, 241, 0.22);
    color: #c7d2f3;
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 18px;
}

.title-decoration {
    position: relative;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

body.theme-dark .section-subtitle {
    color: rgba(226, 232, 240, 0.78);
}

.services {
    position: relative;
    padding: clamp(80px, 10vw, 140px) 0;
    overflow: hidden;
}

.services::before,
.services::after {
    content: '';
    position: absolute;
    inset: -40% -10% auto -20%;
    height: 420px;
    pointer-events: none;
    background: radial-gradient(circle at 40% 40%, rgba(99, 102, 241, 0.15), transparent 65%);
    transform: rotate(-8deg);
}

.services::after {
    inset: auto -15% -45% 35%;
    background: radial-gradient(circle at 30% 30%, rgba(236, 72, 153, 0.15), transparent 65%);
}

.services-intro {
    position: relative;
    display: grid;
    grid-template-columns: minmax(300px, 1.3fr) minmax(260px, 1fr);
    gap: clamp(32px, 6vw, 60px);
    padding-bottom: clamp(60px, 8vw, 90px);
    z-index: 1;
}

.services-intro-copy {
    display: flex;
    flex-direction: column;
    gap: clamp(24px, 3vw, 36px);
}

.services-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: clamp(16px, 3vw, 24px);
}

.highlight-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 22px 46px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(6px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card div {
    text-align: right;
}

.highlight-card i {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(236, 72, 153, 0.18));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.05rem;
}

.highlight-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.highlight-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.highlight-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.12);
}

body.theme-dark .highlight-card {
    background: rgba(17, 24, 39, 0.92);
    border-color: rgba(148, 163, 184, 0.22);
    color: rgba(226, 232, 240, 0.9);
    box-shadow: 0 28px 60px rgba(8, 15, 31, 0.55);
}

body.theme-dark .highlight-card p {
    color: rgba(203, 213, 225, 0.75);
}

.services-intro-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(16px, 3vw, 24px);
}

.intro-metric {
    flex: 1 1 180px;
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

body.theme-dark .intro-metric {
    background: rgba(17, 24, 39, 0.92);
    border-color: rgba(148, 163, 184, 0.22);
    box-shadow: 0 28px 60px rgba(8, 15, 31, 0.55);
}

body.theme-dark .intro-label {
    color: rgba(203, 213, 225, 0.75);
}

.intro-value {
    font-size: clamp(1.8rem, 3.2vw, 2.4rem);
    font-weight: 800;
    color: var(--primary-color);
}

.intro-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.services-intro-panel {
    display: flex;
    align-items: stretch;
}

.intro-panel-card {
    position: relative;
    background: radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.12), transparent 60%),
                radial-gradient(circle at 90% 10%, rgba(236, 72, 153, 0.14), transparent 65%),
                linear-gradient(140deg, rgba(255, 255, 255, 0.98), rgba(236, 242, 255, 0.94));
    border-radius: 32px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow: 0 46px 120px rgba(15, 23, 42, 0.14);
    padding: clamp(32px, 3.8vw, 44px);
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: hidden;
    text-align: right;
    transition: transform 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
}

.intro-panel-card::before,
.intro-panel-card::after {
    content: '';
    position: absolute;
    inset: -25% 25% -35% -20%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(236, 72, 153, 0.18));
    opacity: 0.45;
    filter: blur(0);
    transform: rotate(-6deg);
    transition: opacity 0.45s ease, transform 0.45s ease;
    pointer-events: none;
}

.intro-panel-card::before {
    inset: 45% -25% -25% 35%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(129, 140, 248, 0.16));
    opacity: 0.35;
}

.intro-panel-card:hover {
    transform: translateY(-18px);
    box-shadow: 0 58px 140px rgba(15, 23, 42, 0.16);
    border-color: rgba(99, 102, 241, 0.45);
}

.intro-panel-card:hover::after {
    opacity: 0.65;
    transform: rotate(0deg) translate(-8px, -12px);
}

.intro-panel-card:hover::before {
    opacity: 0.55;
    transform: rotate(6deg) translate(12px, 14px);
}

body.theme-dark .intro-panel-card {
    background: radial-gradient(circle at 20% 20%, rgba(129, 140, 248, 0.18), transparent 65%),
                radial-gradient(circle at 80% 15%, rgba(236, 72, 153, 0.2), transparent 70%),
                linear-gradient(140deg, rgba(12, 19, 33, 0.98), rgba(17, 27, 46, 0.94));
    border-color: rgba(99, 102, 241, 0.35);
    color: rgba(226, 232, 240, 0.92);
    box-shadow: 0 52px 130px rgba(4, 7, 15, 0.72);
}

body.theme-dark .intro-panel-card::after {
    background: linear-gradient(135deg, rgba(129, 140, 248, 0.35), rgba(236, 72, 153, 0.28));
}

body.theme-dark .intro-panel-card::before {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.28), rgba(129, 140, 248, 0.24));
}

body.theme-dark .intro-panel-card p,
body.theme-dark .intro-panel-card li {
    color: rgba(203, 213, 225, 0.8);
}

body.theme-dark .panel-chip {
    background: linear-gradient(135deg, rgba(129, 140, 248, 0.28), rgba(236, 72, 153, 0.24));
    color: rgba(226, 232, 240, 0.9);
}

body.theme-dark .timeline-node {
    background: rgba(17, 24, 39, 0.92);
    border-color: rgba(129, 140, 248, 0.25);
    box-shadow: 0 22px 44px rgba(4, 7, 15, 0.6);
}

body.theme-dark .node-index {
    background: rgba(129, 140, 248, 0.22);
    color: rgba(226, 232, 240, 0.95);
}

body.theme-dark .node-body h4 {
    color: rgba(226, 232, 240, 0.92);
}


.intro-panel-card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
}

.intro-panel-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.intro-panel-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
    color: var(--text-secondary);
}

.intro-panel-card li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.intro-panel-card li i {
    color: var(--primary-color);
    font-size: 0.7rem;
}

.blueprint-head {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.panel-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.16), rgba(236, 72, 153, 0.14));
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 700;
    width: fit-content;
}

.panel-chip i {
    font-size: 0.9rem;
}

.blueprint-timeline {
    display: grid;
    gap: 16px;
    z-index: 1;
}

.timeline-node {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(248, 250, 252, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.24);
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    direction: rtl;
}

.timeline-node::after {
    content: '';
    position: absolute;
    inset: -40% 55% 45% -45%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.16), rgba(236, 72, 153, 0.12));
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.timeline-node:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 48px rgba(15, 23, 42, 0.14);
    border-color: rgba(99, 102, 241, 0.35);
}

.timeline-node:hover::after {
    opacity: 1;
}

.node-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(99, 102, 241, 0.12);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.node-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: right;
    direction: rtl;
}

.node-body h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.node-body p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

body.theme-dark .node-body h4 {
    color: rgba(226, 232, 240, 0.92);
}

body.theme-dark .node-body p,
body.theme-dark .blueprint-note {
    color: rgba(203, 213, 225, 0.75);
}

.blueprint-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 6px;
    z-index: 1;
}

.blueprint-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.blueprint-note i {
    color: var(--primary-color);
}

body.theme-dark .blueprint-note i {
    color: rgba(129, 140, 248, 0.9);
}

.panel-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 18px;
    border: 1px solid rgba(99, 102, 241, 0.35);
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    width: fit-content;
    transition: transform 0.3s ease, box-shadow 0.3s ease, gap 0.3s ease;
}

.panel-cta:hover {
    gap: 14px;
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(24px, 4vw, 36px);
    margin-top: clamp(48px, 6vw, 72px);
}

.service-stack {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: clamp(28px, 3vw, 36px);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(199, 210, 254, 0.45);
    box-shadow: 0 32px 72px rgba(15, 23, 42, 0.12);
    overflow: hidden;
    transition: transform 0.45s cubic-bezier(0.16, 0.75, 0.3, 1), box-shadow 0.45s ease, border-color 0.45s ease;
    text-align: right;
}

.service-stack::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(236, 72, 153, 0.08));
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
}

.service-stack::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.48), rgba(99, 102, 241, 0.32));
    mix-blend-mode: screen;
    clip-path: circle(0% at 0% 0%);
    opacity: 0;
    transition: clip-path 0.6s ease, opacity 0.6s ease;
    pointer-events: none;
}

.service-stack:hover {
    transform: translateY(-16px) scale(1.01);
    box-shadow: 0 52px 120px rgba(15, 23, 42, 0.16);
    border-color: rgba(99, 102, 241, 0.35);
}

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

.service-stack:hover::after {
    opacity: 0.85;
    clip-path: ellipse(90% 65% at 95% -15%);
}

body.theme-dark .service-stack {
    background: rgba(13, 19, 33, 0.95);
    border-color: rgba(99, 102, 241, 0.28);
    color: rgba(226, 232, 240, 0.9);
    box-shadow: 0 46px 120px rgba(4, 7, 15, 0.7);
}

body.theme-dark .service-stack::before {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.16), rgba(236, 72, 153, 0.12));
}

body.theme-dark .service-stack::after {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.58), rgba(129, 140, 248, 0.4));
    mix-blend-mode: screen;
}

body.theme-dark .stack-head p,
body.theme-dark .stack-body li {
    color: rgba(203, 213, 225, 0.75);
}

body.theme-dark .stack-kpi {
    background: rgba(79, 70, 229, 0.22);
    color: rgba(129, 140, 248, 0.95);
}

body.theme-dark .panel-cta {
    border-color: rgba(129, 140, 248, 0.45);
    color: rgba(226, 232, 240, 0.92);
}

body.theme-dark .panel-cta:hover {
    box-shadow: 0 22px 46px rgba(129, 140, 248, 0.35);
}

.stack-head h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
}

.stack-head p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.stack-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    width: fit-content;
}

.stack-pill.primary { background: rgba(99, 102, 241, 0.15); color: var(--primary-color); }
.stack-pill.secondary { background: rgba(236, 72, 153, 0.15); color: var(--secondary-color); }
.stack-pill.tertiary { background: rgba(20, 184, 166, 0.18); color: #0f766e; }

.stack-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
    direction: rtl;
}

.stack-body li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.stack-body li i {
    color: var(--success-color);
    font-size: 0.85rem;
    margin-top: 4px;
}

.stack-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.stack-kpi {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.stack-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 16px;
    border: 1px solid rgba(99, 102, 241, 0.35);
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, gap 0.3s ease;
}

.stack-link:hover {
    transform: translateY(-4px);
    gap: 14px;
    box-shadow: 0 18px 36px rgba(99, 102, 241, 0.2);
}

.services-showcase {
    margin-top: clamp(60px, 8vw, 90px);
}

.showcase-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(280px, 1.4fr) minmax(220px, 1fr);
    gap: clamp(24px, 5vw, 48px);
    padding: clamp(32px, 5vw, 52px);
    border-radius: 32px;
    background: linear-gradient(140deg, rgba(15, 23, 42, 0.95), rgba(51, 65, 85, 0.92));
    color: white;
    overflow: hidden;
}

body.theme-dark .showcase-inner {
    background: linear-gradient(140deg, rgba(4, 7, 15, 0.96), rgba(13, 19, 33, 0.95));
}

.showcase-inner::before {
    content: '';
    position: absolute;
    inset: -20% -15% 10% 40%;
    background: radial-gradient(circle at top left, rgba(129, 140, 248, 0.35), transparent 65%);
    opacity: 0.85;
}

.showcase-inner::after {
    content: '';
    position: absolute;
    inset: 30% 55% -25% -20%;
    background: radial-gradient(circle at bottom right, rgba(236, 72, 153, 0.28), transparent 65%);
    opacity: 0.85;
}

.showcase-copy {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    z-index: 1;
    text-align: right;
}

.showcase-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(236, 72, 153, 0.2);
    font-weight: 700;
    width: fit-content;
}

.showcase-copy h3 {
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    font-weight: 800;
    line-height: 1.4;
}

.showcase-copy p {
    color: rgba(226, 232, 240, 0.85);
    line-height: 1.7;
    font-size: 1.05rem;
}

.showcase-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.showcase-stats {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 18px;
    text-align: right;
}

.showcase-stat {
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 22px;
    padding: 20px 22px;
    box-shadow: 0 28px 60px rgba(8, 15, 31, 0.5);
}

body.theme-dark .showcase-stat {
    background: rgba(17, 24, 39, 0.92);
    border-color: rgba(129, 140, 248, 0.3);
}

.showcase-stat .stat-title {
    display: block;
    font-size: 1.9rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.showcase-stat .stat-caption {
    font-size: 0.95rem;
    color: rgba(226, 232, 240, 0.75);
}

/* Portfolio Section */

.portfolio {
    position: relative;
    padding: clamp(110px, 12vw, 180px) 0;
    background: linear-gradient(180deg, #ffffff 0%, #f6f8ff 52%, #eef2ff 100%);
    overflow: hidden;
}

body.theme-dark .portfolio {
    background: linear-gradient(180deg, rgba(9, 14, 26, 0.98) 0%, rgba(12, 18, 34, 0.95) 55%, rgba(8, 13, 24, 0.93) 100%);
}

.portfolio::before,
.portfolio::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.42;
    pointer-events: none;
}

.portfolio::before {
    width: 540px;
    height: 540px;
    top: -240px;
    right: -160px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.32), transparent 70%);
}

.portfolio::after {
    width: 520px;
    height: 520px;
    bottom: -260px;
    left: -200px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.26), transparent 70%);
}

.portfolio-header {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: clamp(36px, 6vw, 72px);
    align-items: center;
    margin-bottom: clamp(72px, 9vw, 120px);
}

.portfolio-lead {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 3vw, 28px);
}

.portfolio-eyebrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.portfolio-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.14);
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 0.4px;
}

.portfolio-badge i {
    font-size: 0.92rem;
}

.portfolio-signal {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(236, 72, 153, 0.12);
    color: rgba(99, 102, 241, 0.92);
    font-weight: 600;
}

body.theme-dark .portfolio-badge {
    background: rgba(79, 70, 229, 0.28);
    color: rgba(199, 210, 254, 0.92);
}

body.theme-dark .portfolio-signal {
    background: rgba(236, 72, 153, 0.24);
    color: rgba(244, 224, 255, 0.92);
}

.portfolio-title {
    font-size: clamp(2.4rem, 5vw, 3.2rem);
    line-height: 1.2;
    color: var(--text-primary);
}

.portfolio-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.85;
    max-width: 620px;
}

.portfolio-promise {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.portfolio-promise li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    color: var(--text-primary);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.portfolio-promise i {
    color: var(--primary-color);
}

body.theme-dark .portfolio-promise li {
    background: rgba(17, 24, 39, 0.88);
    color: rgba(226, 232, 240, 0.92);
    box-shadow: 0 24px 60px rgba(3, 7, 18, 0.7);
}

.portfolio-scores {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: clamp(18px, 3vw, 24px);
}

.score-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: clamp(20px, 4vw, 28px);
    border-radius: 24px;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.95), rgba(244, 247, 255, 0.9));
    border: 1px solid rgba(226, 232, 240, 0.7);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
    text-align: center;
}

.score-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(99, 102, 241, 0.85);
    letter-spacing: 0.35px;
}

.score-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.score-note {
    font-size: 0.92rem;
    color: var(--text-secondary);
}

body.theme-dark .score-card {
    background: linear-gradient(150deg, rgba(17, 24, 39, 0.96), rgba(15, 23, 42, 0.9));
    border-color: rgba(88, 103, 148, 0.45);
    box-shadow: 0 30px 80px rgba(3, 7, 18, 0.8);
}

body.theme-dark .score-label {
    color: rgba(165, 180, 252, 0.9);
}

body.theme-dark .score-value {
    color: rgba(226, 232, 240, 0.95);
}

body.theme-dark .score-note {
    color: rgba(203, 213, 225, 0.8);
}

.case-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: clamp(32px, 5vw, 44px);
}

.case-card {
    --accent: #6366f1;
    --accent-secondary: #ec4899;
    --accent-soft: rgba(99, 102, 241, 0.16);
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(28px, 4vw, 36px);
    align-items: stretch;
    padding: clamp(32px, 5vw, 44px);
    border-radius: clamp(28px, 5vw, 36px);
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.95), rgba(244, 247, 255, 0.9));
    border: 1px solid rgba(226, 232, 240, 0.65);
    box-shadow: 0 40px 84px rgba(15, 23, 42, 0.12);
    overflow: hidden;
    transition: transform 0.6s ease, box-shadow 0.6s ease, border-color 0.6s ease;
}

.case-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(170deg, var(--accent-soft), rgba(255, 255, 255, 0));
    opacity: 0.9;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.case-card:hover,
.case-card.is-active {
    transform: translateY(-12px);
    box-shadow: 0 52px 120px rgba(15, 23, 42, 0.18);
    border-color: rgba(99, 102, 241, 0.3);
}

.case-card:hover::before,
.case-card.is-active::before {
    opacity: 1;
}

body.theme-dark .case-card {
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.96), rgba(17, 24, 39, 0.92));
    border-color: rgba(77, 90, 130, 0.45);
    box-shadow: 0 48px 120px rgba(3, 7, 18, 0.85);
}

body.theme-dark .case-card::before {
    background: linear-gradient(170deg, rgba(99, 102, 241, 0.22), rgba(2, 6, 23, 0.45));
}

body.theme-dark .case-card:hover,
body.theme-dark .case-card.is-active {
    border-color: rgba(129, 140, 248, 0.55);
}

.accent-iris {
    --accent: #6366f1;
    --accent-secondary: #a855f7;
    --accent-soft: rgba(99, 102, 241, 0.16);
}

.accent-citrus {
    --accent: #f97316;
    --accent-secondary: #facc15;
    --accent-soft: rgba(249, 115, 22, 0.14);
}

.accent-ocean {
    --accent: #14b8a6;
    --accent-secondary: #38bdf8;
    --accent-soft: rgba(20, 184, 166, 0.18);
}

.accent-flame {
    --accent: #f97316;
    --accent-secondary: #ef4444;
    --accent-soft: rgba(248, 113, 113, 0.16);
}

.accent-sky {
    --accent: #0ea5e9;
    --accent-secondary: #6366f1;
    --accent-soft: rgba(56, 189, 248, 0.14);
}

.accent-royal {
    --accent: #7c3aed;
    --accent-secondary: #22d3ee;
    --accent-soft: rgba(124, 58, 237, 0.16);
}

.case-media {
    position: relative;
    border-radius: clamp(24px, 4vw, 30px);
    overflow: hidden;
    min-height: clamp(280px, 35vw, 340px);
    background:
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0)),
        linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0)),
        linear-gradient(165deg, var(--accent-soft), rgba(255, 255, 255, 0));
    border: 1px solid rgba(226, 232, 240, 0.55);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.case-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0));
    mix-blend-mode: screen;
    opacity: 0.7;
}

body.theme-dark .case-media {
    background:
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.25), rgba(30, 41, 59, 0)),
        linear-gradient(145deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.88)),
        linear-gradient(165deg, rgba(99, 102, 241, 0.25), rgba(0, 0, 0, 0));
    border-color: rgba(77, 90, 130, 0.55);
    box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.18);
}

.case-chip {
    position: absolute;
    top: 24px;
    right: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.15);
    z-index: 2;
}

.case-chip i {
    font-size: 0.9rem;
}

body.theme-dark .case-chip {
    background: rgba(17, 24, 39, 0.92);
    color: rgba(224, 231, 255, 0.92);
    border: 1px solid rgba(129, 140, 248, 0.45);
    box-shadow: 0 22px 50px rgba(3, 7, 18, 0.7);
}

.case-media-inner {
    position: absolute;
    inset: clamp(30px, 5vw, 42px);
    border-radius: clamp(22px, 4vw, 28px);
    border: 1px dashed rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.4);
    z-index: 1;
}

body.theme-dark .case-media-inner {
    border-color: rgba(148, 163, 184, 0.5);
    background: rgba(11, 18, 33, 0.65);
}

.case-orbit {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    animation: caseDrift 12s ease-in-out infinite;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 2;
}

.case-orbit.orbit-a {
    width: 140px;
    height: 140px;
    top: -30px;
    right: 8px;
}

.case-orbit.orbit-b {
    width: 220px;
    height: 220px;
    bottom: -60px;
    left: -40px;
    background: rgba(255, 255, 255, 0.3);
    animation-delay: 1.8s;
}

.case-orbit.orbit-c {
    width: 110px;
    height: 110px;
    bottom: 20px;
    right: 40px;
    animation-delay: 3.2s;
}

body.theme-dark .case-orbit {
    background: rgba(129, 140, 248, 0.25);
}

body.theme-dark .case-orbit.orbit-b {
    background: rgba(236, 72, 153, 0.25);
}

body.theme-dark .case-orbit.orbit-c {
    background: rgba(20, 184, 166, 0.25);
}

.case-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: clamp(20px, 4vw, 28px);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.18);
    transform: scale(1.02);
    transition: transform 0.6s ease, object-position 0.6s ease;
}

.case-card:hover .case-image,
.case-card.is-active .case-image {
    transform: scale(1.05);
    object-position: top center;
}

body.theme-dark .case-image {
    box-shadow: 0 32px 70px rgba(3, 7, 18, 0.65);
}

@keyframes caseDrift {
    0%, 100% {
        transform: scale(0.9) translateY(0);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.1) translateY(-18px);
        opacity: 1;
    }
}

.case-content {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 3vw, 24px);
    z-index: 1;
}

.case-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.case-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.12);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.35px;
    width: fit-content;
}

.case-title {
    font-size: clamp(1.8rem, 3.6vw, 2.4rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.25;
}

.case-summary {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-secondary);
}

body.theme-dark .case-label {
    background: rgba(129, 140, 248, 0.22);
    color: rgba(224, 231, 255, 0.92);
}

body.theme-dark .case-title {
    color: rgba(226, 232, 240, 0.96);
}

body.theme-dark .case-summary {
    color: rgba(203, 213, 225, 0.86);
}

.case-highlights {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.case-highlights li {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.96rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.case-highlights i {
    color: var(--accent);
    font-size: 1rem;
    margin-top: 4px;
}

body.theme-dark .case-highlights li {
    color: rgba(203, 213, 225, 0.85);
}

.case-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.metric-chip {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 18px;
    border-radius: 16px;
    background: rgba(99, 102, 241, 0.12);
    color: var(--accent);
    font-weight: 700;
    min-width: 150px;
}

.metric-chip strong {
    font-size: 1.25rem;
    letter-spacing: 0.4px;
}

.metric-chip span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

body.theme-dark .metric-chip {
    background: rgba(129, 140, 248, 0.2);
    color: rgba(224, 231, 255, 0.95);
}

body.theme-dark .metric-chip span {
    color: rgba(203, 213, 225, 0.8);
}

.case-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: auto;
}

.case-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 26px;
    border-radius: 18px;
    background: linear-gradient(140deg, var(--accent), var(--accent-secondary));
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
    box-shadow: 0 24px 50px rgba(99, 102, 241, 0.25);
}

.case-action:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(99, 102, 241, 0.28);
}

.case-action--ghost {
    background: transparent;
    border: 1px solid rgba(99, 102, 241, 0.4);
    color: var(--accent);
    box-shadow: none;
}

.case-action--ghost:hover {
    transform: translateY(-4px);
    background: rgba(99, 102, 241, 0.08);
    box-shadow: 0 18px 40px rgba(99, 102, 241, 0.18);
}

body.theme-dark .case-action {
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.65);
}

body.theme-dark .case-action--ghost {
    border-color: rgba(129, 140, 248, 0.5);
    color: rgba(224, 231, 255, 0.92);
}

body.theme-dark .case-action--ghost:hover {
    background: rgba(129, 140, 248, 0.14);
    box-shadow: 0 20px 48px rgba(3, 7, 18, 0.68);
}

.portfolio-footer {
    position: relative;
    z-index: 1;
    margin-top: clamp(72px, 10vw, 120px);
    padding: clamp(32px, 5vw, 48px);
    border-radius: clamp(26px, 4vw, 32px);
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.94), rgba(235, 241, 255, 0.88));
    border: 1px solid rgba(226, 232, 240, 0.65);
    box-shadow: 0 32px 70px rgba(15, 23, 42, 0.12);
    display: grid;
    gap: clamp(24px, 4vw, 32px);
}

.footer-highlight {
    display: grid;
    gap: 12px;
}

.footer-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.12);
    color: var(--primary-color);
    font-weight: 700;
    width: fit-content;
}

.footer-title {
    font-size: clamp(1.8rem, 3.6vw, 2.4rem);
    font-weight: 800;
    color: var(--text-primary);
}

.footer-description {
    font-size: 1.02rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 680px;
}

.footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-marquee {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-marquee span {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.18);
    color: rgba(30, 41, 59, 0.8);
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.3px;
}

body.theme-dark .portfolio-footer {
    background: linear-gradient(140deg, rgba(15, 23, 42, 0.95), rgba(17, 24, 39, 0.9));
    border-color: rgba(77, 90, 130, 0.45);
    box-shadow: 0 40px 110px rgba(3, 7, 18, 0.82);
}

body.theme-dark .footer-eyebrow {
    background: rgba(129, 140, 248, 0.24);
    color: rgba(224, 231, 255, 0.95);
}

body.theme-dark .footer-title {
    color: rgba(226, 232, 240, 0.95);
}

body.theme-dark .footer-description {
    color: rgba(203, 213, 225, 0.85);
}

body.theme-dark .footer-marquee span {
    background: rgba(99, 102, 241, 0.18);
    color: rgba(226, 232, 240, 0.85);
}

@media (max-width: 1080px) {
    .portfolio-header {
        grid-template-columns: 1fr;
    }

    .portfolio-scores {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 900px) {
    .case-card {
        grid-template-columns: 1fr;
    }

    .case-media {
        min-height: clamp(220px, 60vw, 280px);
    }

    .case-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .case-action,
    .case-action--ghost {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .portfolio-promise li {
        font-size: 0.92rem;
    }

    .portfolio-footer {
        padding: clamp(28px, 8vw, 36px);
    }

    .footer-actions {
        flex-direction: column;
        align-items: stretch;
    }

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

    .footer-marquee span {
        justify-content: center;
    }
}



/* Process Section */
.process {
    position: relative;
    padding: clamp(110px, 11vw, 180px) 0;
    background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 54%, #eef2ff 100%);
    overflow: hidden;
}

.process::before,
.process::after {
    content: '';
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(0);
}

.process::before {
    width: 520px;
    height: 520px;
    top: -220px;
    left: -160px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.18), rgba(236, 72, 153, 0));
    opacity: 0.6;
    animation: floatGlow 22s ease-in-out infinite;
}

.process::after {
    width: 540px;
    height: 540px;
    bottom: -260px;
    right: -200px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.18), rgba(99, 102, 241, 0));
    opacity: 0.6;
    animation: floatGlow 26s ease-in-out infinite reverse;
}

body.theme-dark .process {
    background: linear-gradient(180deg, rgba(12, 18, 31, 0.96) 0%, rgba(9, 14, 26, 0.94) 52%, rgba(6, 10, 20, 0.95) 100%);
}

body.theme-dark .process::before {
    background: radial-gradient(circle, rgba(236, 72, 153, 0.28), rgba(236, 72, 153, 0));
}

body.theme-dark .process::after {
    background: radial-gradient(circle, rgba(129, 140, 248, 0.34), rgba(129, 140, 248, 0));
}

.process-shell {
    position: relative;
    display: grid;
    gap: clamp(48px, 7vw, 64px);
    z-index: 1;
}

.process-intro {
    display: grid;
    gap: clamp(24px, 4vw, 32px);
    padding: clamp(40px, 6vw, 64px);
    border-radius: clamp(28px, 4vw, 36px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(244, 246, 255, 0.9));
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 48px 110px rgba(17, 24, 39, 0.1);
    position: relative;
    overflow: hidden;
}

.process-intro::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(99, 102, 241, 0.12), rgba(236, 72, 153, 0.18), rgba(59, 130, 246, 0.16));
    opacity: 0.45;
    pointer-events: none;
}

body.theme-dark .process-intro {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(18, 27, 46, 0.9));
    border-color: rgba(77, 90, 130, 0.32);
    box-shadow: 0 48px 140px rgba(3, 7, 18, 0.78);
}

.process-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.16);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.92rem;
    width: fit-content;
    position: relative;
    z-index: 1;
}

.process-badge i {
    font-size: 0.85rem;
}

body.theme-dark .process-badge {
    background: rgba(129, 140, 248, 0.28);
    color: rgba(224, 231, 255, 0.92);
}

.process-title {
    position: relative;
    z-index: 1;
    font-size: clamp(2.2rem, 4.4vw, 3.15rem);
    line-height: 1.22;
    color: var(--text-primary);
    max-width: 840px;
}

.process-description {
    position: relative;
    z-index: 1;
    font-size: 1.05rem;
    line-height: 1.95;
    color: var(--text-secondary);
    max-width: 900px;
}

.process-pillars {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: clamp(16px, 3vw, 24px);
}

.pillar-item {
    display: flex;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.pillar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(236, 72, 153, 0.18));
    color: var(--primary-color);
    font-size: 1.1rem;
}

.pillar-content {
    display: grid;
    gap: 6px;
}

.pillar-title {
    font-weight: 700;
    color: var(--text-primary);
}

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

body.theme-dark .pillar-item {
    background: rgba(15, 23, 42, 0.92);
    border-color: rgba(77, 90, 130, 0.34);
    box-shadow: 0 28px 70px rgba(3, 7, 18, 0.66);
}

body.theme-dark .pillar-icon {
    background: linear-gradient(135deg, rgba(129, 140, 248, 0.26), rgba(236, 72, 153, 0.28));
    color: rgba(224, 231, 255, 0.9);
}

body.theme-dark .pillar-title {
    color: rgba(226, 232, 240, 0.95);
}

body.theme-dark .pillar-text {
    color: rgba(203, 213, 225, 0.85);
}

.process-metrics {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: clamp(16px, 3vw, 24px);
    padding-top: clamp(8px, 2vw, 12px);
}

.metric-card {
    display: grid;
    gap: 6px;
    padding: 18px 22px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
}

.metric-label {
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: rgba(99, 102, 241, 0.95);
}

.metric-value {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--text-primary);
}

.metric-note {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

body.theme-dark .metric-card {
    background: rgba(17, 24, 39, 0.92);
    border-color: rgba(77, 90, 130, 0.34);
    box-shadow: 0 32px 80px rgba(3, 7, 18, 0.72);
}

body.theme-dark .metric-label {
    color: rgba(224, 231, 255, 0.88);
}

body.theme-dark .metric-value {
    color: rgba(226, 232, 240, 0.96);
}

body.theme-dark .metric-note {
    color: rgba(203, 213, 225, 0.82);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(28px, 4vw, 36px);
}

.phase-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: clamp(18px, 2.6vw, 28px);
    padding: clamp(28px, 4.5vw, 38px);
    border-radius: clamp(26px, 4vw, 32px);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(244, 247, 255, 0.92));
    border: 1px solid rgba(226, 232, 240, 0.52);
    box-shadow: 0 40px 88px rgba(15, 23, 42, 0.12);
    overflow: hidden;
    transition: transform 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
}

.phase-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(236, 72, 153, 0.12), transparent 55%), radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.12), transparent 60%);
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
}

.phase-card:hover,
.phase-card.is-active {
    transform: translateY(-12px);
    box-shadow: 0 50px 120px rgba(15, 23, 42, 0.18);
    border-color: rgba(99, 102, 241, 0.4);
}

.phase-card:hover::before,
.phase-card.is-active::before {
    opacity: 1;
}

body.theme-dark .phase-card {
    background: linear-gradient(150deg, rgba(15, 23, 42, 0.96), rgba(21, 32, 52, 0.92));
    border-color: rgba(77, 90, 130, 0.34);
    box-shadow: 0 44px 120px rgba(3, 7, 18, 0.78);
}

body.theme-dark .phase-card::before {
    background: radial-gradient(circle at 20% 20%, rgba(236, 72, 153, 0.18), transparent 55%), radial-gradient(circle at 80% 80%, rgba(129, 140, 248, 0.18), transparent 60%);
}

body.theme-dark .phase-card:hover,
body.theme-dark .phase-card.is-active {
    border-color: rgba(129, 140, 248, 0.48);
}

.phase-header {
    display: flex;
    align-items: center;
    gap: clamp(16px, 3vw, 24px);
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.phase-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 1.1rem;
    color: #ffffff;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    box-shadow: 0 18px 42px rgba(236, 72, 153, 0.3);
}

.phase-meta {
    display: grid;
    gap: 6px;
    min-width: 200px;
}

.phase-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
}

.phase-tag {
    font-size: 0.92rem;
    font-weight: 600;
    color: rgba(99, 102, 241, 0.82);
    letter-spacing: 0.35px;
}

.phase-duration {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.12);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
}

.phase-duration i {
    font-size: 0.9rem;
}

body.theme-dark .phase-index {
    background: linear-gradient(135deg, #818cf8, #f472b6);
    box-shadow: 0 20px 46px rgba(236, 72, 153, 0.42);
}

body.theme-dark .phase-name {
    color: rgba(226, 232, 240, 0.96);
}

body.theme-dark .phase-tag {
    color: rgba(224, 231, 255, 0.76);
}

body.theme-dark .phase-duration {
    background: rgba(129, 140, 248, 0.22);
    color: rgba(224, 231, 255, 0.88);
}

.phase-summary {
    position: relative;
    z-index: 1;
    font-size: 1.02rem;
    color: var(--text-secondary);
    line-height: 1.82;
}

.phase-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 3vw, 24px);
}

.phase-column {
    display: grid;
    gap: 12px;
}

.column-title {
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: rgba(99, 102, 241, 0.92);
    text-transform: uppercase;
}

.phase-list {
    list-style: none;
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0;
}

.phase-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
}

.phase-list li i {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-top: 3px;
}

.phase-footer {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding-top: clamp(12px, 2vw, 18px);
    border-top: 1px dashed rgba(148, 163, 184, 0.4);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

.phase-output,
.phase-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.9rem;
}

.phase-output {
    background: rgba(255, 255, 255, 0.82);
    color: var(--primary-color);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
}

.phase-status {
    background: rgba(236, 72, 153, 0.16);
    color: rgba(236, 72, 153, 0.92);
}

body.theme-dark .phase-summary,
body.theme-dark .phase-list li {
    color: rgba(203, 213, 225, 0.82);
}

body.theme-dark .column-title {
    color: rgba(224, 231, 255, 0.78);
}

body.theme-dark .phase-list li i {
    color: rgba(224, 231, 255, 0.92);
}

body.theme-dark .phase-output {
    background: rgba(17, 24, 39, 0.92);
    color: rgba(224, 231, 255, 0.9);
    box-shadow: 0 20px 44px rgba(3, 7, 18, 0.62);
}

body.theme-dark .phase-status {
    background: rgba(236, 72, 153, 0.24);
    color: rgba(248, 191, 217, 0.92);
}

.process-footer {
    display: grid;
    gap: clamp(18px, 3vw, 28px);
    padding: clamp(32px, 5vw, 46px);
    border-radius: clamp(26px, 4vw, 32px);
    background: linear-gradient(140deg, rgba(99, 102, 241, 0.12), rgba(236, 72, 153, 0.28), rgba(59, 130, 246, 0.18));
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 36px 90px rgba(15, 23, 42, 0.14);
}

.process-footer-intro {
    display: grid;
    gap: 12px;
}

.process-footer-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--primary-color);
    font-weight: 700;
    width: fit-content;
}

.process-footer-label i {
    font-size: 0.92rem;
}

.process-footer-title {
    font-size: clamp(1.8rem, 3.6vw, 2.4rem);
    font-weight: 800;
    color: var(--text-primary);
    max-width: 860px;
    line-height: 1.35;
}

.process-footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

body.theme-dark .process-footer {
    background: linear-gradient(140deg, rgba(15, 23, 42, 0.96), rgba(18, 27, 46, 0.92));
    border-color: rgba(77, 90, 130, 0.34);
    box-shadow: 0 44px 120px rgba(3, 7, 18, 0.8);
}

body.theme-dark .process-footer-label {
    background: rgba(224, 231, 255, 0.16);
    color: rgba(224, 231, 255, 0.9);
}

body.theme-dark .process-footer-title {
    color: rgba(226, 232, 240, 0.95);
}

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

    .phase-content {
        grid-template-columns: 1fr;
    }

    .phase-header {
        align-items: flex-start;
    }
}

@media (max-width: 840px) {
    .process-intro {
        padding: clamp(28px, 8vw, 40px);
    }

    .process-pillars,
    .process-metrics {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .phase-index {
        width: 54px;
        height: 54px;
    }

    .phase-duration {
        width: 100%;
        justify-content: center;
    }

    .phase-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .process-footer-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Contact Section */
.contact {
    position: relative;
    padding: clamp(90px, 10vw, 140px) 0;
    background: linear-gradient(180deg, #ffffff 0%, #f3f7ff 100%);
    overflow: hidden;
}

.contact-backdrop {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.contact-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(0);
    opacity: 0.45;
    mix-blend-mode: screen;
    animation: blobDrift 18s ease-in-out infinite;
}

.contact-glow.glow-1 {
    width: 420px;
    height: 420px;
    top: -240px;
    right: -160px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, rgba(255, 255, 255, 0) 70%);
}

.contact-glow.glow-2 {
    width: 380px;
    height: 380px;
    bottom: -200px;
    left: -160px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.18) 0%, rgba(255, 255, 255, 0) 70%);
    animation-duration: 22s;
}

.contact-wrapper {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: clamp(32px, 6vw, 56px);
    align-items: start;
}

.contact-intro {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.12);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    width: fit-content;
}

.contact-title {
    font-size: clamp(2.1rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.3;
    color: var(--text-primary);
}

.contact-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.contact-points {
    margin: 0;
    padding: 0 18px 0 0;
    list-style: disc;
    display: grid;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.contact-details span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.contact-details i {
    color: var(--primary-color);
}

.contact-form-basic {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 24px;
    padding: clamp(24px, 4vw, 36px);
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.1);
    display: grid;
    gap: 18px;
}

.contact-form-basic .form-group {
    display: grid;
    gap: 6px;
}

.quiz-group .quiz-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 14px;
    padding: 12px 16px;
}

.quiz-question {
    font-weight: 600;
    color: var(--text-primary);
}

.quiz-input {
    width: 120px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: #ffffff;
    font-size: 0.95rem;
    text-align: center;
}

.quiz-input:focus {
    outline: none;
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.contact-form-basic label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.contact-form-basic input,
.contact-form-basic textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(248, 250, 252, 0.9);
    font-size: 0.95rem;
    text-align: right;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-basic textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form-basic input:focus,
.contact-form-basic textarea:focus {
    outline: none;
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
    background: #ffffff;
}

.contact-form-basic .hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.contact-form-basic .form-actions {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.contact-form-basic .form-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.contact-form-basic .form-note i {
    color: var(--primary-color);
}

body.theme-dark .contact {
    background: linear-gradient(180deg, rgba(12, 18, 31, 0.96) 0%, rgba(9, 14, 26, 0.94) 100%);
}

body.theme-dark .contact-form-basic {
    background: rgba(15, 23, 42, 0.92);
    border-color: rgba(148, 163, 184, 0.28);
    box-shadow: 0 34px 90px rgba(3, 7, 18, 0.72);
}

body.theme-dark .contact-form-basic input,
body.theme-dark .contact-form-basic textarea {
    background: rgba(15, 23, 42, 0.85);
    border-color: rgba(77, 90, 130, 0.45);
    color: var(--text-primary);
}

body.theme-dark .contact-description,
body.theme-dark .contact-points,
body.theme-dark .contact-details,
body.theme-dark .contact-form-basic label {
    color: rgba(224, 231, 255, 0.86);
}

body.theme-dark .contact-form-basic .form-note {
    color: rgba(203, 213, 225, 0.82);
}

body.theme-dark .quiz-group .quiz-wrap {
    background: rgba(17, 24, 39, 0.86);
    border-color: rgba(77, 90, 130, 0.45);
}

body.theme-dark .quiz-question {
    color: rgba(224, 231, 255, 0.92);
}

body.theme-dark .quiz-input {
    background: rgba(15, 23, 42, 0.88);
    border-color: rgba(77, 90, 130, 0.42);
    color: var(--text-primary);
}

@media (max-width: 900px) {
    .contact-wrapper {
        gap: 32px;
    }

    .contact-form-basic .form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-form-basic .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .contact-title {
        font-size: 1.9rem;
    }

    .contact-form-basic {
        padding: 22px;
    }
}



.status-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: linear-gradient(180deg, #ffffff 0%, #f3f7ff 100%);
}

.status-card {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 24px;
    padding: 48px 36px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.1);
    display: grid;
    gap: 18px;
}

.status-card.status-success {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(226, 232, 240, 0.85));
    border: 1px solid rgba(99, 102, 241, 0.25);
}

.status-card.status-error {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(254, 242, 242, 0.88));
    border: 1px solid rgba(248, 113, 113, 0.3);
}

.status-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 12px;
}

.btn.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.btn-ghost:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(148, 163, 184, 0.18);
}

.status-card h1 {
    font-size: 1.8rem;
    color: var(--text-primary);
}

.status-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    font-size: 2rem;
    margin: 0 auto 8px;
}

.status-icon.success {
    background: rgba(34, 197, 94, 0.14);
    color: rgba(22, 163, 74, 1);
}

.status-icon.error {
    background: rgba(248, 113, 113, 0.14);
    color: rgba(220, 38, 38, 1);
}

body.theme-dark .status-page {
    background: linear-gradient(180deg, rgba(12, 18, 31, 0.96) 0%, rgba(9, 14, 26, 0.94) 100%);
}

body.theme-dark .status-card {
    background: rgba(15, 23, 42, 0.92);
    border-color: rgba(77, 90, 130, 0.38);
    box-shadow: 0 34px 90px rgba(3, 7, 18, 0.72);
}

body.theme-dark .status-card h1,
body.theme-dark .status-card p {
    color: rgba(224, 231, 255, 0.88);
}
/* Footer */
/* Footer */
.footer {
    position: relative;
    color: #ffffff;
    background: linear-gradient(180deg, #0f172a 0%, #0b1221 100%);
}

.footer-cta {
    position: relative;
    padding: clamp(60px, 7vw, 96px) 0;
    background: radial-gradient(circle at 50% -120%, rgba(99, 102, 241, 0.25), transparent 65%),
                linear-gradient(180deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.85) 100%);
    overflow: hidden;
}

.footer-cta::before,
.footer-cta::after {
    content: "";
    position: absolute;
    width: clamp(220px, 35vw, 480px);
    height: clamp(220px, 35vw, 480px);
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
}

.footer-cta::before {
    top: -40%;
    right: 5%;
    background: rgba(99, 102, 241, 0.45);
}

.footer-cta::after {
    bottom: -45%;
    left: 10%;
    background: rgba(236, 72, 153, 0.35);
}

.footer-cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: clamp(24px, 4vw, 48px);
    padding: clamp(32px, 5vw, 48px);
    border-radius: clamp(24px, 4vw, 36px);
    background: linear-gradient(125deg, rgba(34, 40, 63, 0.85) 0%, rgba(52, 31, 66, 0.82) 48%, rgba(36, 49, 94, 0.88) 100%);
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 32px 70px rgba(8, 15, 31, 0.52);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(22px);
}

.footer-cta-inner::after {
    content: "";
    position: absolute;
    inset: -40% 40% 40% -30%;
    background: radial-gradient(circle, rgba(148, 185, 255, 0.28) 0%, transparent 70%);
    opacity: 0.7;
    pointer-events: none;
}

.footer-cta-text {
    display: grid;
    gap: 14px;
    max-width: 520px;
    position: relative;
    z-index: 1;
}

.footer-cta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.35);
    font-weight: 700;
    letter-spacing: 0.4px;
    color: #e0e7ff;
}

.footer-cta-title {
    font-size: clamp(1.9rem, 4vw, 2.4rem);
    font-weight: 800;
    color: #f8fafc;
    line-height: 1.25;
}

.footer-cta-description {
    color: rgba(226, 232, 240, 0.8);
    line-height: 1.8;
    font-size: 1.02rem;
}

.footer-cta-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.32), rgba(236, 72, 153, 0.28));
    color: rgba(241, 245, 249, 0.9);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.footer-cta-badge i {
    color: rgba(250, 248, 255, 0.9);
}

.footer-cta-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    position: relative;
    z-index: 1;
    min-width: clamp(240px, 28vw, 300px);
}

.footer-cta-actions .btn-primary {
    padding: clamp(16px, 3vw, 20px) clamp(32px, 5vw, 42px);
    font-size: 1.05rem;
    border-radius: 18px;
    box-shadow: 0 30px 60px rgba(99, 102, 241, 0.45);
    background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
}

.footer-cta-actions .btn-primary:hover {
    box-shadow: 0 38px 70px rgba(99, 102, 241, 0.5);
}

.footer-cta-contact {
    display: grid;
    gap: 6px;
    padding: 14px 18px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(148, 163, 184, 0.24);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    width: 100%;
}

.footer-cta-contact-label {
    font-size: 0.82rem;
    color: rgba(226, 232, 240, 0.72);
    letter-spacing: 0.4px;
}

.footer-cta-mail {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: #f8fafc;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-cta-mail i {
    font-size: 1rem;
    color: rgba(129, 140, 248, 0.9);
}

.footer-cta-mail:hover {
    color: #c7d2fe;
    transform: translateY(-2px);
}

.footer-main {
    padding: clamp(48px, 6vw, 72px) 0;
    background: radial-gradient(circle at 50% -80%, rgba(99, 102, 241, 0.18), transparent 60%);
}

.footer-tagline {
    color: rgba(226, 232, 240, 0.78);
    line-height: 1.85;
    max-width: 400px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.3fr) repeat(auto-fit, minmax(220px, 1fr));
    gap: clamp(24px, 4vw, 48px);
}

.footer-about {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 700;
    color: #e2e8f0;
    letter-spacing: 0.4px;
}

.footer-list {
    list-style: none;
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.footer-list a {
    color: rgba(226, 232, 240, 0.75);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-list a:hover {
    color: #fbcfe8;
    transform: translateX(-4px);
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(226, 232, 240, 0.85);
    flex-wrap: wrap;
}

.contact-list li a,
.contact-list li span {
    word-break: break-word;
}

.contact-list i {
    color: rgba(236, 72, 153, 0.85);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.footer-logo-orbit {
    position: relative;
    width: clamp(82px, 7vw, 110px);
    height: clamp(82px, 7vw, 110px);
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.88) 60%, rgba(99, 102, 241, 0.4) 100%);
    border: 1px solid rgba(148, 163, 184, 0.5);
    box-shadow: 0 24px 58px rgba(15, 23, 42, 0.45), inset 0 0 28px rgba(79, 70, 229, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.footer-logo-orbit::after {
    content: "";
    position: absolute;
    inset: 16%;
    border-radius: 50%;
    border: 1px solid rgba(226, 232, 240, 0.2);
    background: radial-gradient(circle, rgba(96, 165, 250, 0.18), rgba(236, 72, 153, 0.08) 70%, transparent 100%);
    opacity: 0.8;
    animation: orbitPulse 9s ease-in-out infinite;
}

.footer-logo-orbit img {
    width: 68%;
    height: 68%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(15, 23, 42, 0.55));
}

body.theme-dark .footer-logo-orbit {
    background: radial-gradient(circle at 28% 28%, rgba(17, 24, 39, 0.95), rgba(30, 41, 59, 0.9) 60%, rgba(129, 140, 248, 0.45) 100%);
    border-color: rgba(148, 163, 184, 0.55);
}

.footer-highlights {
    list-style: none;
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
    color: rgba(226, 232, 240, 0.78);
}

.footer-highlights li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 1.6;
}

.footer-highlights i {
    font-size: 0.5rem;
    color: rgba(129, 140, 248, 0.85);
}

.footer-contact-text {
    color: rgba(226, 232, 240, 0.78);
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-contact-card {
    display: grid;
    gap: 10px;
    margin-top: 16px;
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.22);
    border: 1px solid rgba(148, 163, 184, 0.32);
}

.footer-contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.22), rgba(236, 72, 153, 0.18));
    color: #f8fafc;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-contact-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(99, 102, 241, 0.26);
}

.footer-contact-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(226, 232, 240, 0.7);
    font-size: 0.88rem;
}

.footer-contact-meta i {
    color: rgba(129, 140, 248, 0.85);
}

.footer-hosting {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 18px 22px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.16);
    border: 1px solid rgba(148, 163, 184, 0.28);
    color: rgba(226, 232, 240, 0.82);
}

.footer-hosting h5 {
    font-size: 0.96rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f8fafc;
    margin: 0;
}

.footer-hosting .hosting-provider {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(203, 213, 225, 0.88);
    letter-spacing: 0.2px;
}

.footer-hosting .hosting-note {
    margin: 0;
    color: rgba(203, 213, 225, 0.74);
    line-height: 1.6;
}

.footer-hosting a {
    color: #c7d2fe;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-hosting a:hover {
    color: #fbcfe8;
}

body.theme-dark .footer-hosting {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.78), rgba(15, 23, 42, 0.85));
    border-color: rgba(99, 102, 241, 0.32);
    color: rgba(224, 231, 255, 0.86);
}

body.theme-dark .footer-hosting .hosting-provider {
    color: rgba(224, 231, 255, 0.9);
}

body.theme-dark .footer-hosting .hosting-note {
    color: rgba(203, 213, 225, 0.78);
}

.footer-bottom-links {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-bottom-links a {
    color: rgba(226, 232, 240, 0.7);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #c7d2fe;
}
.footer-bar {
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    padding: 26px 0;
    background: radial-gradient(circle at 50% -40%, rgba(99, 102, 241, 0.18), transparent 60%);
}

.footer-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    color: rgba(226, 232, 240, 0.7);
    font-size: 0.9rem;
}

.footer-meta > span, .footer-credit {
    white-space: nowrap;
}

.footer-credit a {
    color: #fbcfe8;
    font-weight: 600;
    text-decoration: none;
}

.footer-credit a:hover {
    text-decoration: underline;
}

@media (max-width: 1200px) {
    .footer-grid {
        gap: 32px;
    }
}

@media (max-width: 900px) {
    .header-top {
        padding: 10px 0;
    }

    .header-top-inner {
        grid-template-columns: 1fr;
        gap: 12px;
        text-align: center;
    }

    .header-top-brand,
    .header-top-actions {
        justify-content: center;
        flex-wrap: wrap;
        white-space: normal;
    }

    .header-top-announcement {
        justify-content: center;
        flex-wrap: wrap;
        white-space: normal;
    }


    .footer-grid {
        gap: 28px;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-about {
        align-items: center;
        text-align: center;
        gap: 18px;
    }

    .footer-column {
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .footer-list {
        justify-items: center;
    }

    .footer-highlights {
        justify-items: center;
    }

    .footer-highlights li {
        justify-content: center;
    }

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

    .footer-hosting h5 {
        justify-content: center;
    }

    .footer-meta {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 14px;
    }

    .footer-meta > span, .footer-credit {
        white-space: normal;
    }
}

/* Cursor Effect */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.1s ease;
    transform: translate(-50%, -50%);
}

.cursor-follower {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    :root {
        --utility-height: 54px;
        --navbar-height: 74px;
    }

    .header-top-inner {
        grid-template-columns: 1fr;
        gap: 12px;
        text-align: center;
    }

    .header-top-brand,
    .header-top-actions {
        justify-content: center;
        flex-wrap: wrap;
        white-space: normal;
    }

    .header-top-announcement {
        justify-self: center;
        flex-wrap: wrap;
        white-space: normal;
        text-align: center;
    }

    .header-top-cta {
        order: 3;
        width: auto;
        justify-content: center;
    }

    .nav-main {
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }

    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        width: 100%;
        padding: 0;
        margin: 0;
        background: transparent;
        border: 0;
    }

    .nav-link {
        padding: 10px 14px;
        background: rgba(148, 163, 184, 0.16);
        border-radius: 999px;
    }

    .nav-hide-mobile {
        display: none;
    }

    .palette-toggle,
    .theme-toggle {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .palette-toggle {
        font-size: 0.9rem;
    }

    .theme-toggle .theme-icon {
        font-size: 0.9rem;
    }

    .nav-actions {
        order: 3;
        justify-content: center;
        gap: 10px;
    }

    .hero-shell {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }

    .hero-content {
        align-items: center;
    }

    .hero-content h1 {
        max-width: 600px;
    }

    .hero-points li {
        justify-content: center;
    }

    .hero-narrative {
        align-items: center;
    }

    .hero-highlights li {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-avatars {
        justify-content: center;
    }

    .hero-stage {
        margin-top: 40px;
        padding-bottom: 0;
    }

    .hero-showcase {
        width: 100%;
    }

    .hero-scene {
        margin: 0 auto;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-mission {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .mission-feed {
        justify-content: center;
    }

    .hero-parallax {
        width: min(100%, 420px);
        height: 420px;
        margin: 0 auto;
    }

    .hero-orbit {
        width: 100%;
        padding-bottom: 120px;
    }

    .hero-showcase {
        perspective: 1100px;
    }

    .hero-scene {
        width: min(100%, 420px);
        height: 360px;
    }

    .hero-status-bar {
        width: 100%;
    }

    .hero-blueprint {
        align-items: center;
        text-align: center;
    }

    .blueprint-step {
        justify-content: center;
    }

    .hero-hotspots {
        position: static;
        pointer-events: auto;
    }

    .hero-hotspot {
        display: none;
    }

    .hero-hotspot-panel {
        position: static;
        transform: none;
        margin-top: 24px;
        width: 100%;
        pointer-events: auto;
    }

    .hero-telemetry {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    .services-showcase .showcase-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .showcase-actions {
        justify-content: center;
    }

    .showcase-stats {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }

    .process-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

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

@media (max-width: 768px) {
    :root {
        --utility-height: 0px;
        --navbar-height: 60px;
    }

    body {
        padding-top: var(--navbar-height);
    }

    .header-top {
        display: none;
    }

    .navbar {
        top: 0;
        padding: 8px 0;
        background: rgba(255, 255, 255, 0.92);
        border-bottom: 1px solid rgba(148, 163, 184, 0.22);
        box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12);
    }

    body.theme-dark .navbar {
        background: rgba(17, 24, 39, 0.94);
        border-bottom-color: rgba(77, 90, 130, 0.35);
        box-shadow: 0 24px 46px rgba(8, 15, 31, 0.58);
    }

    .hero-scene {
        width: min(100%, 330px);
        height: 290px;
    }

    .nav-main {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 8px;
        width: 100%;
    }

    .nav-logo {
        gap: 8px;
        order: initial;
        flex: 0 0 auto;
    }

    .nav-logo-mark {
        width: 44px;
        height: 44px;
        border-radius: 16px;
    }

    .nav-logo-text {
        font-size: 0.92rem;
    }

    .nav-logo-sub {
        font-size: 0.64rem;
    }

    .nav-links {
        order: initial;
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 5px;
        width: 100%;
        flex: 1 1 auto;
        padding: 3px 10px;
        margin: 0;
        background: rgba(148, 163, 184, 0.12);
        border: 1px solid rgba(148, 163, 184, 0.2);
        border-radius: 999px;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    body.theme-dark .nav-links {
        background: rgba(30, 41, 59, 0.6);
        border-color: rgba(77, 90, 130, 0.32);
    }

    .nav-link {
        padding: 6px 10px;
        font-size: 0.86rem;
        background: transparent;
        white-space: nowrap;
    }

    body.theme-dark .nav-link {
        color: rgba(226, 232, 240, 0.9);
    }

    .nav-actions {
        order: initial;
        justify-self: end;
        justify-content: flex-end;
        gap: 6px;
        flex: 0 0 auto;
    }

    .palette-toggle,
    .theme-toggle {
        width: 32px;
        height: 32px;
        border-radius: 9px;
    }

    .palette-toggle {
        display: none;
    }

    .palette-toggle {
        font-size: 0.78rem;
    }

    .theme-toggle .theme-icon {
        font-size: 0.78rem;
    }

    .scene-logo img {
        width: clamp(120px, 40vw, 180px);
    }

    .scene-badge {
        display: none;
    }

    .scene-window {
        animation-duration: 6s;
    }

    .scene-logo {
        text-align: center;
        width: 100%;
    }

    .services-intro {
        grid-template-columns: 1fr;
    }

    .services-intro-panel {
        order: -1;
    }

    .intro-panel-card {
        text-align: center;
    }

    .intro-panel-card ul {
        text-align: right;
    }

    .services-intro-metrics {
        gap: 16px;
    }

    .service-stack {
        gap: 20px;
    }

    .header-top-announcement {
        flex-direction: column;
        align-items: center;
        gap: 6px;
        text-align: center;
    }

    .announcement-note {
        max-width: 360px;
    }

    .brand-orbit {
        width: 88px;
        height: 88px;
    }

    .brand-subtitle {
        font-size: 0.7rem;
    }

    .hero-layout {
        grid-template-columns: 1fr;
    }

    .hero-content {
        align-items: center;
        text-align: center;
    }

    .hero-content h1 {
        max-width: 520px;
    }

    .hero-points li {
        justify-content: center;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-trust {
        justify-content: center;
        text-align: center;
    }

    .hero-showcase {
        width: 100%;
    }

    .hero-scene {
        margin: 0 auto;
    }

    .services-highlights {
        grid-template-columns: 1fr;
    }

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

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

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

    .process-rail {
        display: none;
    }

    .process-insights {
        flex-direction: column;
        align-items: stretch;
    }

    .insight-loader {
        margin-inline-start: 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }

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

    .contact-form {
        padding: 28px;
    }

    .footer-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        text-align: right;
    }

    .footer-cta-text {
        max-width: 100%;
    }

    .footer-cta-badges {
        width: 100%;
        justify-content: flex-start;
    }

    .footer-cta-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }

    .footer-cta-actions .btn-primary {
        width: 100%;
        justify-content: center;
    }

    .footer-cta-contact {
        width: 100%;
    }

    .footer-cta-mail {
        justify-content: center;
    }

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

    .footer-about {
        align-items: flex-start;
        text-align: right;
    }

    .footer-bottom-links {
        gap: 12px;
    }

    .footer-meta {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    :root {
        --utility-height: 0px;
        --navbar-height: 58px;
    }

    .navbar {
        padding: 6px 0;
    }

    .nav-logo-mark {
        width: 40px;
        height: 40px;
    }

    .nav-logo-text {
        font-size: 0.88rem;
    }

    .nav-links {
        padding: 3px 8px;
        gap: 4px;
    }

    .nav-link {
        padding: 5px 9px;
        font-size: 0.82rem;
    }

    .palette-toggle,
    .theme-toggle {
        width: 30px;
        height: 30px;
        border-radius: 8px;
    }

    .palette-toggle {
        font-size: 0.74rem;
    }

    .theme-toggle .theme-icon {
        font-size: 0.74rem;
    }

    .footer-cta-badges {
        flex-direction: column;
        gap: 8px;
    }

    .footer-cta-badge {
        width: 100%;
        justify-content: center;
    }

    .footer-cta-contact {
        padding: 16px;
        text-align: center;
    }

    .footer-cta-mail {
        justify-content: center;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 8px;
    }

    .header-top-inner {
        text-align: center;
        gap: 8px;
    }

    .hero-showcase {
        width: 100%;
    }

    .hero-scene {
        width: min(100%, 320px);
        height: 300px;
    }

    .mobile-inner {
        width: 94vw;
        padding: 28px 20px clamp(24px, 8vh, 32px);
        border-radius: 22px;
    }

    .mobile-head {
        align-items: stretch;
        flex-direction: column;
    }

    .mobile-close {
        align-self: flex-end;
    }

    .mobile-sub {
        font-size: 0.85rem;
    }

    .mobile-headline {
        max-width: 100%;
    }

    .services-intro-metrics {
        flex-direction: column;
    }

    .blueprint-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .panel-cta {
        justify-content: center;
    }

    .showcase-inner {
        grid-template-columns: 1fr;
    }

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

    .window-code {
        font-size: 0.78rem;
    }

    .header-top-announcement {
        gap: 4px;
    }

    .nav-logo-mark {
        width: 58px;
        height: 58px;
    }

    .nav-actions {
        gap: 12px;
    }

    .hero-content h1 {
        font-size: 2.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-points li {
        justify-content: center;
    }

    .hero-trust {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .trust-logos {
        justify-content: center;
    }

    .scene-badge {
        display: none;
        padding: 24px;
    }

    .showcase-insight {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .services-showcase .showcase-inner {
        padding: 26px;
    }

    .showcase-actions {
        flex-direction: column;
        align-items: stretch;
    }

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

    .process-step {
        padding: 22px;
    }

    .contact-form {
        padding: 24px;
    }

    .cta-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .footer-hosting {
        gap: 8px;
    }

    .footer-meta {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .services::before,
    .services::after,
    .spotlight-orbit,
    .core-pulse,
    .hero-glow,
    .constellation-dot,
    .hotspot-pulse,
    .report-bars .bar,
    .process::before,
    .process::after,
    .process-rail::after,
    .loader-spark,
    .insight-dot {
        animation: none !important;
    }
}

body.theme-dark .status-card.status-success {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(21, 32, 52, 0.9));
    border-color: rgba(129, 140, 248, 0.35);
}

body.theme-dark .status-card.status-error {
    background: linear-gradient(135deg, rgba(30, 27, 75, 0.94), rgba(127, 29, 29, 0.9));
    border-color: rgba(248, 113, 113, 0.32);
}

body.theme-dark .btn.btn-ghost {
    border-color: rgba(148, 163, 184, 0.4);
    color: rgba(224, 231, 255, 0.9);
}
