/* ==========================================================
   FCC CODE STUDIO - Premium Website Stylesheet
   Pure HTML5 & CSS3 | No JavaScript | No Frameworks
   ========================================================== */

/* ==========================================================
   CSS CUSTOM PROPERTIES (LIGHT THEME - DEFAULT)
   ========================================================== */
:root {
    /* Colors */
    --color-primary: #4F5DFF;
    --color-secondary: #3B49E8;
    --color-accent: #6E7CFF;

    /* Theme Colors — Space */
    --bg-primary: #050816;
    --bg-secondary: #0A0F1C;
    --bg-card: #0D1321;
    --text-primary: #E8ECF4;
    --text-secondary: #8B95A8;
    --text-muted: #5A6478;
    --border-color: rgba(79, 93, 255, 0.1);
    --header-bg: rgba(5, 8, 22, 0.92);
    --glass-bg: rgba(13, 19, 33, 0.6);
    --glass-border: rgba(79, 93, 255, 0.12);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 60px rgba(79, 93, 255, 0.15);
    --input-bg: #0D1321;
    --input-border: rgba(79, 93, 255, 0.15);
    --card-overlay: rgba(0, 0, 0, 0.6);
    --code-line-bg: rgba(13, 19, 33, 0.8);
    --hero-visual-bg: rgba(79, 93, 255, 0.04);
    --stat-bar-bg: rgba(79, 93, 255, 0.12);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #4F5DFF, #3B49E8);
    --gradient-accent: linear-gradient(135deg, #6E7CFF, #4F5DFF);
    --gradient-subtle: linear-gradient(135deg, rgba(79, 93, 255, 0.08), rgba(110, 124, 255, 0.04));
    --gradient-hero: linear-gradient(135deg, #00113A 0%, #0B2EFF 25%, #2D63FF 50%, #6C74FF 75%, #0A1F7A 100%);

    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-heading: 'Montserrat', sans-serif;

    /* Spacing */
    --section-padding: clamp(64px, 8vw, 120px);
    --container-max: 1200px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-spring: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-full: 50%;
}

/* ==========================================================
   DARK THEME (CSS-ONLY via :has() selector)
   ========================================================== */
html:has(#theme-toggle:checked) {
    --bg-primary: #030610;
    --bg-secondary: #070B16;
    --bg-card: #0A0F1C;
    --text-primary: #D0D8E8;
    --text-secondary: #7A86A0;
    --text-muted: #4A5468;
    --border-color: rgba(79, 93, 255, 0.07);
    --header-bg: rgba(3, 6, 16, 0.94);
    --glass-bg: rgba(10, 15, 28, 0.55);
    --glass-border: rgba(79, 93, 255, 0.08);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.65);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.75);
    --shadow-glow: 0 0 80px rgba(79, 93, 255, 0.12);
    --input-bg: #0A0F1C;
    --input-border: rgba(79, 93, 255, 0.1);
    --card-overlay: rgba(0, 0, 0, 0.7);
    --code-line-bg: rgba(7, 11, 22, 0.9);
    --hero-visual-bg: rgba(79, 93, 255, 0.03);
    --stat-bar-bg: rgba(79, 93, 255, 0.1);
    --gradient-hero: linear-gradient(135deg, #00113A 0%, #0B2EFF 25%, #2D63FF 50%, #6C74FF 75%, #0A1F7A 100%);
}

/* Toggled space background — slightly different deep-space hue */
html:has(#theme-toggle:checked) .space-bg {
    background: radial-gradient(ellipse 120% 80% at 50% 0%, #070A14 0%, #030610 50%, #010205 100%);
}

html:has(#theme-toggle:checked) .space-bg__nebula--1 {
    background: radial-gradient(ellipse, rgba(59, 73, 232, 0.18), rgba(40, 55, 180, 0.06), transparent 70%);
}

html:has(#theme-toggle:checked) .space-bg__nebula--2 {
    background: radial-gradient(ellipse, rgba(80, 100, 220, 0.12), rgba(59, 73, 232, 0.04), transparent 70%);
}

html:has(#theme-toggle:checked) .space-bg__nebula--3 {
    background: radial-gradient(ellipse, rgba(40, 55, 180, 0.08), rgba(20, 35, 100, 0.03), transparent 70%);
}

/* ==========================================================
   HIDDEN THEME TOGGLE INPUT
   ========================================================== */
.theme-toggle__input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

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

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

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: transparent;
    overflow-x: hidden;
    transition: color 0.5s ease;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-base);
}

ul {
    list-style: none;
}

button {
    border: none;
    outline: none;
    cursor: pointer;
    font-family: inherit;
}

input, textarea {
    border: none;
    outline: none;
    font-family: inherit;
}

/* ==========================================================
   FOCUS-VISIBLE (Keyboard Accessibility)
   ========================================================== */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
    border-radius: 4px;
}

.btn:focus-visible {
    outline-offset: 4px;
    box-shadow: 0 0 0 4px rgba(79, 93, 255, 0.25);
}

.nav__link:focus-visible {
    outline-offset: 6px;
}

.form-input:focus-visible {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(79, 93, 255, 0.15);
}

.theme-toggle:focus-visible {
    outline-offset: 4px;
    border-radius: 100px;
}

/* ==========================================================
   SPACE BACKGROUND
   ========================================================== */
.space-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background: radial-gradient(ellipse 120% 80% at 50% 0%, #0A0F1C 0%, #050816 50%, #020408 100%);
}

/* Nebula layers */
.space-bg__nebula {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    animation: nebula-drift 40s ease-in-out infinite alternate;
}

.space-bg__nebula--1 {
    width: 800px;
    height: 600px;
    top: -15%;
    right: -10%;
    background: radial-gradient(ellipse, rgba(79, 93, 255, 0.25), rgba(59, 73, 232, 0.08), transparent 70%);
    animation-duration: 45s;
}

.space-bg__nebula--2 {
    width: 600px;
    height: 500px;
    bottom: 10%;
    left: -8%;
    background: radial-gradient(ellipse, rgba(110, 124, 255, 0.18), rgba(79, 93, 255, 0.06), transparent 70%);
    animation-duration: 55s;
    animation-delay: -10s;
}

.space-bg__nebula--3 {
    width: 500px;
    height: 400px;
    top: 40%;
    left: 30%;
    background: radial-gradient(ellipse, rgba(59, 73, 232, 0.12), rgba(30, 50, 120, 0.05), transparent 70%);
    animation-duration: 60s;
    animation-delay: -20s;
}

@keyframes nebula-drift {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.04); }
    66% { transform: translate(-20px, 15px) scale(0.97); }
    100% { transform: translate(10px, -10px) scale(1.02); }
}

/* Aurora */
.space-bg__aurora {
    position: absolute;
    top: -20%;
    left: -10%;
    right: -10%;
    height: 50%;
    background:
        linear-gradient(180deg,
            rgba(79, 93, 255, 0.06) 0%,
            rgba(110, 124, 255, 0.03) 30%,
            transparent 60%);
    filter: blur(40px);
    animation: aurora-pulse 20s ease-in-out infinite alternate;
}

@keyframes aurora-pulse {
    0% { opacity: 0.6; transform: translateY(0) scaleY(1); }
    50% { opacity: 0.9; transform: translateY(-10px) scaleY(1.05); }
    100% { opacity: 0.7; transform: translateY(5px) scaleY(0.98); }
}

/* Space fog */
.space-bg__fog {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 100% 50% at 50% 100%, rgba(5, 8, 22, 0.8), transparent 60%),
        radial-gradient(ellipse 80% 40% at 20% 80%, rgba(79, 93, 255, 0.04), transparent 50%),
        radial-gradient(ellipse 60% 30% at 80% 20%, rgba(110, 124, 255, 0.03), transparent 50%);
    pointer-events: none;
}

/* Star canvases */
.space-bg__stars,
.space-bg__constellations {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.space-bg__constellations {
    z-index: 1;
}

/* Floating glass orbs */
.space-bg__orb {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(79, 93, 255, 0.08);
    background: radial-gradient(circle at 30% 30%, rgba(79, 93, 255, 0.04), transparent 60%);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    pointer-events: none;
}

.space-bg__orb--1 {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 8%;
    animation: float 20s ease-in-out infinite;
}

.space-bg__orb--2 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    right: 12%;
    animation: float 25s ease-in-out infinite reverse;
}

.space-bg__orb--3 {
    width: 60px;
    height: 60px;
    top: 55%;
    left: 65%;
    animation: float 18s ease-in-out infinite 5s;
}

/* Light rays */
.space-bg__ray {
    position: absolute;
    width: 2px;
    background: linear-gradient(180deg, rgba(79, 93, 255, 0.15), transparent);
    pointer-events: none;
    opacity: 0.4;
}

.space-bg__ray--1 {
    height: 40vh;
    top: 0;
    left: 25%;
    transform: rotate(8deg);
    animation: ray-fade 12s ease-in-out infinite alternate;
}

.space-bg__ray--2 {
    height: 35vh;
    top: 5%;
    right: 30%;
    transform: rotate(-5deg);
    animation: ray-fade 15s ease-in-out infinite alternate-reverse;
}

@keyframes ray-fade {
    0% { opacity: 0.2; }
    50% { opacity: 0.5; }
    100% { opacity: 0.15; }
}

/* ==========================================================
   UTILITY CLASSES
   ========================================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 32px);
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

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

/* Section Headers */
.section__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto clamp(40px, 6vw, 72px);
}

.section__badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--color-primary);
    background: var(--gradient-subtle);
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.section__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.section__subtitle {
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 560px;
    margin: 0 auto;
}

/* ==========================================================
   BUTTONS
   ========================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: clamp(12px, 2vw, 16px) clamp(24px, 3vw, 36px);
    border-radius: 14px;
    font-size: clamp(13px, 1.5vw, 15px);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn--primary {
    background: linear-gradient(135deg, #00113A 0%, #0B2EFF 25%, #2D63FF 50%, #6C74FF 75%, #0A1F7A 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 20px rgba(11, 46, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    background-size: 200% 200%;
    animation: gradient-shift 4s ease infinite;
}

.btn--primary:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow:
        0 8px 40px rgba(11, 46, 255, 0.55),
        0 0 80px rgba(79, 93, 255, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    background-position: 100% 50%;
}

.btn--primary:active {
    transform: translateY(0) scale(1);
}

.btn--outline {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn--outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-3px) scale(1.04);
    box-shadow:
        0 8px 32px rgba(79, 93, 255, 0.2),
        0 0 40px rgba(79, 93, 255, 0.08);
    background: rgba(79, 93, 255, 0.05);
}

.btn--lg {
    padding: clamp(14px, 2.5vw, 18px) clamp(28px, 4vw, 42px);
    font-size: clamp(14px, 1.6vw, 16px);
}

.btn--sm {
    padding: clamp(8px, 1.5vw, 11px) clamp(18px, 2.5vw, 24px);
    font-size: clamp(12px, 1.3vw, 14px);
    border-radius: var(--radius-sm);
}

.btn--full {
    width: 100%;
}

/* ==========================================================
   THEME TOGGLE (CSS-ONLY)
   ========================================================== */
.theme-toggle {
    cursor: pointer;
    margin-left: 12px;
    z-index: 1001;
    flex-shrink: 0;
}

.theme-toggle__track {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 52px;
    height: 28px;
    padding: 0 6px;
    border-radius: 100px;
    background: var(--gradient-primary);
    position: relative;
    transition: background 0.4s ease;
}

.theme-toggle__track::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #FFFFFF;
    top: 3px;
    left: 3px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.theme-toggle__input:checked ~ .header .theme-toggle__track::after {
    transform: translateX(24px);
}

.theme-toggle__icon {
    width: 14px;
    height: 14px;
    color: #FFFFFF;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.theme-toggle__icon--moon {
    display: none;
}

html:has(#theme-toggle:checked) .theme-toggle__icon--sun {
    display: none;
}

html:has(#theme-toggle:checked) .theme-toggle__icon--moon {
    display: block;
}

/* ==========================================================
   HEADER / NAVIGATION
   ========================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-slow);
}

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

.nav__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    z-index: 1001;
}

.nav__logo-icon {
    flex-shrink: 0;
}

.logo {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    overflow: hidden;
    display: block;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__cta {
    margin-left: 16px;
}

/* Mobile Toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    padding: 4px;
}

.nav__toggle-bar {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.nav__toggle-input {
    display: none;
}

/* ==========================================================
   HERO SECTION
   ========================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 76px;
}

.hero__bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero__shape {
    position: absolute;
    border-radius: var(--radius-full);
    opacity: 0.5;
}

.hero__shape--1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(79, 93, 255, 0.12), transparent 70%);
    top: -100px;
    right: -100px;
    animation: float-slow 20s ease-in-out infinite;
}

.hero__shape--2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(110, 124, 255, 0.1), transparent 70%);
    bottom: 10%;
    left: -50px;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.hero__shape--3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(59, 73, 232, 0.08), transparent 70%);
    top: 40%;
    right: 30%;
    animation: float-slow 18s ease-in-out infinite;
}

.hero__shape--4 {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(79, 93, 255, 0.15), transparent 70%);
    top: 20%;
    left: 15%;
    animation: float-slow 12s ease-in-out infinite reverse;
}

.hero__shape--5 {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(110, 124, 255, 0.12), transparent 70%);
    bottom: 20%;
    right: 15%;
    animation: float-slow 10s ease-in-out infinite;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
    width: 100%;
}

.hero__badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    background: var(--gradient-subtle);
    border: 1px solid var(--border-color);
    margin-bottom: 28px;
    letter-spacing: 0.5px;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.hero__subtitle {
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 520px;
    margin-bottom: 36px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

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

.hero__avatars {
    display: flex;
}

.hero__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 14px;
    border: 2px solid var(--bg-primary);
    margin-left: -10px;
}

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

.hero__clients-text {
    font-size: 14px;
    color: var(--text-muted);
}

.hero__clients-text strong {
    color: var(--color-primary);
}

/* Hero Visual */
.hero__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(400px, 50vw, 580px);
}

.hero__scene {
    position: relative;
    width: 100%;
    height: clamp(380px, 48vw, 560px);
    perspective: 1200px;
}

/* ==========================================================
   SCENE BACKGROUND FX
   ========================================================== */
.hero__scene-grid {
    position: absolute;
    inset: -40px;
    background-image:
        linear-gradient(rgba(79, 93, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 93, 255, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 75%);
    pointer-events: none;
}

.hero__scene-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(79, 93, 255, 0.18) 0%, rgba(79, 93, 255, 0.06) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transition: transform 0.3s ease-out, opacity 0.3s ease;
    animation: hero-glow-pulse 5s ease-in-out infinite;
}

@keyframes hero-glow-pulse {
    0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.08); }
}

.hero__scene-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px solid rgba(79, 93, 255, 0.1);
    pointer-events: none;
    animation: ring-rotate 20s linear infinite;
}

.hero__scene-ring--1 {
    width: 340px;
    height: 340px;
    margin-left: -170px;
    margin-top: -170px;
    border-color: rgba(79, 93, 255, 0.12);
    animation-duration: 22s;
}

.hero__scene-ring--2 {
    width: 420px;
    height: 420px;
    margin-left: -210px;
    margin-top: -210px;
    border-color: rgba(110, 124, 255, 0.08);
    animation-duration: 30s;
    animation-direction: reverse;
}

.hero__scene-ring--3 {
    width: 500px;
    height: 500px;
    margin-left: -250px;
    margin-top: -250px;
    border-color: rgba(59, 73, 232, 0.05);
    animation-duration: 38s;
    border-style: dashed;
}

@keyframes ring-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero__scene-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero__scene-circle--1 {
    width: 60px;
    height: 60px;
    top: 12%;
    left: 8%;
    background: rgba(79, 93, 255, 0.06);
    border: 1px solid rgba(79, 93, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: float 8s ease-in-out infinite;
}

.hero__scene-circle--2 {
    width: 40px;
    height: 40px;
    bottom: 18%;
    right: 10%;
    background: rgba(110, 124, 255, 0.08);
    border: 1px solid rgba(110, 124, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: float 7s ease-in-out infinite 1s reverse;
}

.hero__scene-circle--3 {
    width: 28px;
    height: 28px;
    top: 60%;
    left: 5%;
    background: rgba(59, 73, 232, 0.07);
    border: 1px solid rgba(59, 73, 232, 0.1);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: float 6s ease-in-out infinite 2s;
}

.hero__scene-particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(79, 93, 255, 0.5);
    pointer-events: none;
    animation: particle-drift linear infinite;
}

.hero__scene-particle--1 { width: 3px; height: 3px; top: 20%; left: 15%; animation-duration: 12s; opacity: 0.6; }
.hero__scene-particle--2 { width: 2px; height: 2px; top: 70%; left: 20%; animation-duration: 10s; opacity: 0.4; animation-delay: 1s; }
.hero__scene-particle--3 { width: 4px; height: 4px; top: 30%; right: 12%; animation-duration: 14s; opacity: 0.5; animation-delay: 2s; }
.hero__scene-particle--4 { width: 2px; height: 2px; top: 80%; right: 20%; animation-duration: 11s; opacity: 0.3; animation-delay: 3s; }
.hero__scene-particle--5 { width: 3px; height: 3px; top: 10%; left: 45%; animation-duration: 13s; opacity: 0.5; animation-delay: 0.5s; }
.hero__scene-particle--6 { width: 2px; height: 2px; top: 50%; left: 5%; animation-duration: 9s; opacity: 0.4; animation-delay: 1.5s; }
.hero__scene-particle--7 { width: 3px; height: 3px; top: 85%; left: 55%; animation-duration: 15s; opacity: 0.35; animation-delay: 4s; }
.hero__scene-particle--8 { width: 2px; height: 2px; top: 15%; right: 30%; animation-duration: 11s; opacity: 0.45; animation-delay: 2.5s; }

@keyframes particle-drift {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-80px) translateX(30px); opacity: 0; }
}

/* ==========================================================
   3D DEVELOPER CHARACTER — PREMIUM PHOTOREALISTIC CSS
   ========================================================== */
.hero__character {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 580px;
    z-index: 5;
    transform-style: preserve-3d;
    perspective: 1200px;
}

.hero__char-body {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 480px;
    transform-style: preserve-3d;
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero__char-shadow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 24px;
    background: radial-gradient(ellipse, rgba(79, 93, 255, 0.3) 0%, rgba(79, 93, 255, 0.08) 40%, transparent 70%);
    border-radius: 50%;
    animation: shadow-pulse 3s ease-in-out infinite;
}

@keyframes shadow-pulse {
    0%, 100% { transform: translateX(-50%) scaleX(1); opacity: 0.9; }
    50% { transform: translateX(-50%) scaleX(1.08); opacity: 0.55; }
}

/* ─── HEAD ─── */
.hero__char-head {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 160px;
    border-radius: 48% 48% 42% 42%;
    background:
        radial-gradient(ellipse 80% 60% at 60% 35%, rgba(255,220,185,0.35), transparent 60%),
        radial-gradient(ellipse 50% 40% at 35% 55%, rgba(160,100,60,0.12), transparent 50%),
        radial-gradient(ellipse 60% 50% at 65% 55%, rgba(160,100,60,0.08), transparent 50%),
        linear-gradient(175deg, #E8C9A8 0%, #D9B48E 25%, #CDA07A 50%, #C49570 75%, #B8896A 100%);
    z-index: 10;
    transform-style: preserve-3d;
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow:
        inset -6px -8px 20px rgba(120,70,30,0.12),
        inset 6px 4px 16px rgba(255,240,220,0.2),
        inset 0 -12px 24px rgba(100,60,20,0.08),
        0 4px 20px rgba(0,0,0,0.15),
        0 8px 40px rgba(0,0,0,0.1);
}

/* ─── HAIR ─── */
.hero__char-hair {
    position: absolute;
    top: -10px;
    left: -8px;
    right: -8px;
    height: 88px;
    background:
        radial-gradient(ellipse 80% 50% at 55% 30%, rgba(60,50,70,0.4), transparent 60%),
        linear-gradient(175deg, #1C1B2E 0%, #252438 30%, #1E1D30 60%, #16152A 100%);
    border-radius: 48% 48% 28% 28%;
    z-index: 2;
    box-shadow:
        0 -3px 12px rgba(0,0,0,0.25),
        inset 0 4px 12px rgba(79,93,255,0.06);
    overflow: hidden;
}

.hero__char-hair__highlight {
    position: absolute;
    top: 6px;
    left: 12px;
    right: 30px;
    height: 40px;
    background: linear-gradient(160deg, rgba(79,93,255,0.12) 0%, rgba(110,124,255,0.06) 40%, transparent 70%);
    border-radius: 50%;
}

.hero__char-hair__strand {
    position: absolute;
    background: rgba(40,35,55,0.5);
    border-radius: 40%;
}
.hero__char-hair__strand--1 { top: 30px; left: 10px; width: 20px; height: 35px; transform: rotate(-8deg); }
.hero__char-hair__strand--2 { top: 25px; left: 35px; width: 16px; height: 40px; transform: rotate(5deg); }
.hero__char-hair__strand--3 { top: 28px; right: 15px; width: 18px; height: 38px; transform: rotate(-3deg); }

.hero__char-hair-side--l {
    position: absolute;
    top: 35px;
    left: -7px;
    width: 22px;
    height: 60px;
    background: linear-gradient(180deg, #1C1B2E, #252438);
    border-radius: 50% 18% 35% 50%;
    z-index: 1;
}

.hero__char-hair-side--r {
    position: absolute;
    top: 35px;
    right: -7px;
    width: 22px;
    height: 60px;
    background: linear-gradient(180deg, #1C1B2E, #252438);
    border-radius: 18% 50% 50% 35%;
    z-index: 1;
}

/* ─── EARS ─── */
.hero__char-ear {
    position: absolute;
    top: 50px;
    width: 18px;
    height: 28px;
    background:
        radial-gradient(ellipse 60% 50% at 50% 50%, rgba(180,120,70,0.4), transparent 70%),
        linear-gradient(180deg, #D4A87A, #C4976E);
    border-radius: 50% 50% 50% 50%;
    z-index: 0;
    box-shadow:
        inset -2px -2px 4px rgba(100,60,20,0.15),
        inset 2px 2px 4px rgba(255,220,180,0.15);
}

.hero__char-ear--l { left: -5px; }
.hero__char-ear--r { right: -5px; }

.hero__char-ear__inner {
    position: absolute;
    top: 6px;
    left: 4px;
    right: 4px;
    bottom: 6px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(160,100,55,0.35), rgba(140,85,45,0.15));
    box-shadow: inset 0 1px 3px rgba(80,40,10,0.2);
}

/* ─── FACE ─── */
.hero__char-face {
    position: absolute;
    top: 35px;
    left: 12px;
    right: 12px;
    bottom: 18px;
    z-index: 3;
}

.hero__char-face__highlight {
    position: absolute;
    top: -8px;
    left: 25%;
    right: 15%;
    height: 40px;
    background: radial-gradient(ellipse 80% 50% at 55% 50%, rgba(255,235,210,0.25), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero__char-face__cheek {
    position: absolute;
    width: 30px;
    height: 22px;
    border-radius: 50%;
    pointer-events: none;
}
.hero__char-face__cheek--l {
    top: 52%;
    left: 2%;
    background: radial-gradient(ellipse, rgba(200,130,100,0.18), transparent 70%);
}
.hero__char-face__cheek--r {
    top: 52%;
    right: 2%;
    background: radial-gradient(ellipse, rgba(200,130,100,0.18), transparent 70%);
}

.hero__char-face__jaw {
    position: absolute;
    bottom: 0;
    left: 8%;
    right: 8%;
    height: 35px;
    background: linear-gradient(180deg, transparent 0%, rgba(120,75,35,0.08) 100%);
    border-radius: 0 0 40% 40%;
    pointer-events: none;
}

/* ─── EYES ─── */
.hero__char-eyes {
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    margin-top: 28px;
    position: relative;
}

.hero__char-eye {
    width: 30px;
    height: 26px;
    background: #F5F0EC;
    border-radius: 45% 45% 42% 42%;
    position: relative;
    box-shadow:
        inset 0 2px 4px rgba(0,0,0,0.08),
        0 2px 6px rgba(0,0,0,0.06);
    overflow: visible;
}

.hero__char-eye__lid--top {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    height: 14px;
    background: linear-gradient(180deg,
        #D4A87A 0%,
        #D9B088 40%,
        rgba(217,176,136,0.6) 70%,
        transparent 100%);
    border-radius: 48% 48% 0 0;
    z-index: 5;
    pointer-events: none;
}

.hero__char-eye__lid--bot {
    position: absolute;
    bottom: -2px;
    left: -2px;
    right: -2px;
    height: 10px;
    background: linear-gradient(0deg,
        #D4A87A 0%,
        rgba(212,168,122,0.5) 50%,
        transparent 100%);
    border-radius: 0 0 42% 42%;
    z-index: 5;
    pointer-events: none;
}

.hero__char-iris {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background:
        radial-gradient(circle at 38% 38%, rgba(100,140,180,0.4), transparent 45%),
        radial-gradient(circle, #3D5A6E 0%, #2C4556 30%, #1E3240 55%, #15252F 75%, #0D1A22 100%);
    box-shadow:
        0 0 0 1.5px rgba(15,25,35,0.3),
        inset 0 0 4px rgba(0,0,0,0.3);
    z-index: 3;
    transition: transform 0.12s ease-out;
    overflow: hidden;
}

.hero__char-iris__pattern {
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background:
        repeating-conic-gradient(
            from 0deg,
            rgba(80,120,160,0.15) 0deg 8deg,
            transparent 8deg 16deg
        );
    opacity: 0.7;
}

.hero__char-pupil {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #080808 40%, #0A0A0A 100%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    transition: transform 0.12s ease-out;
}

.hero__char-eye__catchlight {
    position: absolute;
    top: 28%;
    left: 35%;
    width: 4px;
    height: 4px;
    background: #FFFFFF;
    border-radius: 50%;
    z-index: 6;
    box-shadow: 0 0 2px rgba(255,255,255,0.8);
}

/* Under-eye */
.hero__char-undereye {
    position: absolute;
    width: 22px;
    height: 5px;
    border-radius: 50%;
    pointer-events: none;
}
.hero__char-undereye--l { top: 42%; left: 12%; background: radial-gradient(ellipse, rgba(160,110,90,0.12), transparent 70%); }
.hero__char-undereye--r { top: 42%; right: 12%; background: radial-gradient(ellipse, rgba(160,110,90,0.12), transparent 70%); }

/* ─── EYEBROWS ─── */
.hero__char-brow {
    position: absolute;
    width: 30px;
    height: 5px;
    border-radius: 3px;
    transition: transform 0.3s ease;
    z-index: 6;
}

.hero__char-brow--l {
    top: 22px;
    left: 10px;
    background: linear-gradient(90deg, #1A192C, #222138);
    transform: rotate(-3deg);
}

.hero__char-brow--r {
    top: 22px;
    right: 10px;
    background: linear-gradient(90deg, #222138, #1A192C);
    transform: rotate(3deg);
}

/* ─── NOSE ─── */
.hero__char-nose {
    position: absolute;
    top: 42%;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 28px;
    z-index: 2;
}

.hero__char-nose__bridge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 20px;
    background:
        linear-gradient(90deg,
            rgba(170,115,70,0.12) 0%,
            rgba(200,150,110,0.08) 30%,
            rgba(220,180,145,0.15) 50%,
            rgba(200,150,110,0.08) 70%,
            rgba(170,115,70,0.12) 100%);
    border-radius: 4px;
}

.hero__char-nose__tip {
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 12px;
    background:
        radial-gradient(ellipse 70% 60% at 50% 45%, rgba(210,165,125,0.3), transparent 70%),
        radial-gradient(ellipse 50% 40% at 50% 60%, rgba(165,105,65,0.15), transparent 60%);
    border-radius: 50%;
}

.hero__char-nose__nostril {
    position: absolute;
    bottom: 0;
    width: 6px;
    height: 4px;
    background: radial-gradient(ellipse, rgba(140,85,45,0.25), transparent 70%);
    border-radius: 50%;
}
.hero__char-nose__nostril--l { left: 2px; }
.hero__char-nose__nostril--r { right: 2px; }

/* ─── MOUTH / LIPS ─── */
.hero__char-mouth {
    position: absolute;
    top: 62%;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 14px;
    z-index: 2;
}

.hero__char-lip--upper {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 6px;
    background:
        linear-gradient(180deg, rgba(180,115,85,0.6) 0%, rgba(175,110,80,0.75) 100%);
    border-radius: 40% 40% 20% 20%;
    clip-path: polygon(10% 100%, 30% 0%, 50% 30%, 70% 0%, 90% 100%);
}

.hero__char-lip--lower {
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 7px;
    background:
        radial-gradient(ellipse 70% 60% at 50% 40%, rgba(190,125,95,0.5), transparent 70%),
        linear-gradient(180deg, rgba(175,110,80,0.5) 0%, rgba(165,100,70,0.35) 100%);
    border-radius: 20% 20% 50% 50%;
}

.hero__char-mouth__smile {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 3px;
    border-bottom: 1.5px solid rgba(150,90,60,0.25);
    border-radius: 0 0 50% 50%;
}

/* ─── CHIN ─── */
.hero__char-chin {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 14px;
    background: radial-gradient(ellipse 70% 50% at 50% 30%, rgba(255,230,200,0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* ─── HEAD RIM LIGHT ─── */
.hero__char-head__rim {
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: transparent;
    box-shadow:
        inset -3px 0 12px rgba(79, 93, 255, 0.15),
        inset 3px 0 8px rgba(79, 93, 255, 0.06);
    pointer-events: none;
    z-index: 11;
    border-radius: 48% 48% 42% 42%;
    transition: box-shadow 0.35s ease;
}

/* ─── NECK ─── */
.hero__char-neck {
    position: absolute;
    top: 155px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 42px;
    background:
        radial-gradient(ellipse 80% 50% at 50% 30%, rgba(220,180,145,0.2), transparent 60%),
        linear-gradient(180deg, #CDA07A 0%, #C49570 50%, #BA8A66 100%);
    border-radius: 0 0 10px 10px;
    z-index: 5;
    transform-style: preserve-3d;
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: inset 0 -4px 8px rgba(100,60,25,0.1);
}

.hero__char-neck__shadow {
    position: absolute;
    top: -6px;
    left: 10%;
    right: 10%;
    height: 12px;
    background: linear-gradient(180deg, rgba(120,75,35,0.15), transparent);
    border-radius: 0 0 50% 50%;
}

.hero__char-neck__tendon {
    position: absolute;
    top: 8px;
    width: 6px;
    height: 22px;
    background: linear-gradient(180deg, rgba(170,115,70,0.08), transparent);
    border-radius: 3px;
}
.hero__char-neck__tendon--l { left: 10px; transform: rotate(3deg); }
.hero__char-neck__tendon--r { right: 10px; transform: rotate(-3deg); }

/* ─── SHOULDERS ─── */
.hero__char-shoulders {
    position: absolute;
    top: 190px;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 290px;
    transform-style: preserve-3d;
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ─── HOODIE ─── */
.hero__char-hoodie {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    height: 260px;
    background:
        radial-gradient(ellipse 70% 30% at 50% 10%, rgba(50,45,65,0.3), transparent 60%),
        radial-gradient(ellipse 50% 40% at 30% 50%, rgba(40,35,55,0.2), transparent 50%),
        radial-gradient(ellipse 50% 40% at 70% 50%, rgba(40,35,55,0.15), transparent 50%),
        linear-gradient(180deg, #1A192E 0%, #15142A 20%, #111026 50%, #0D0C20 80%, #0A0918 100%);
    border-radius: 40px 40px 24px 24px;
    box-shadow:
        inset 3px 0 24px rgba(79, 93, 255, 0.06),
        inset -3px 0 24px rgba(79, 93, 255, 0.03),
        0 8px 40px rgba(0, 0, 0, 0.35),
        0 20px 60px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.hero__char-hoodie__fold--l {
    position: absolute;
    top: 15px;
    left: 18px;
    width: 40px;
    height: 120px;
    background: linear-gradient(180deg, rgba(79,93,255,0.06), transparent 70%);
    border-radius: 0 0 20px 20px;
    transform: rotate(2deg);
}

.hero__char-hoodie__fold--r {
    position: absolute;
    top: 15px;
    right: 18px;
    width: 40px;
    height: 120px;
    background: linear-gradient(180deg, rgba(79,93,255,0.04), transparent 70%);
    border-radius: 0 0 20px 20px;
    transform: rotate(-2deg);
}

.hero__char-hoodie__zipper {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 55%;
    background: linear-gradient(180deg,
        rgba(79,93,255,0.2) 0%,
        rgba(79,93,255,0.12) 40%,
        rgba(79,93,255,0.06) 70%,
        transparent 100%);
}

.hero__char-hoodie__rim-light {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow:
        inset -4px 0 20px rgba(79, 93, 255, 0.1),
        inset 4px 0 15px rgba(79, 93, 255, 0.05);
    pointer-events: none;
}

/* T-shirt neckline */
.hero__char-tshirt {
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 20px;
    background:
        radial-gradient(ellipse 80% 60% at 50% 20%, rgba(20,25,45,0.9), transparent 80%),
        linear-gradient(180deg, #14192D 0%, #181D33 100%);
    border-radius: 0 0 50% 50%;
    z-index: 1;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.15);
}

/* ─── ARMS ─── */
.hero__char-arm {
    position: absolute;
    top: 10px;
    width: 50px;
    height: 180px;
    background:
        linear-gradient(180deg, #1A192E 0%, #15142A 40%, #111026 70%, #0D0C20 100%);
    border-radius: 24px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
    transform-origin: top center;
}

.hero__char-arm--l {
    left: -8px;
    transform: rotate(5deg);
}

.hero__char-arm--r {
    right: -8px;
    transform: rotate(-5deg);
}

.hero__char-arm__rim {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset -3px 0 12px rgba(79, 93, 255, 0.08);
}

/* ==========================================================
   FLOATING TECH LABELS
   ========================================================== */
.hero__tech-float {
    position: absolute;
    z-index: 8;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero__tech-float--1 { top: 8%; left: 4%; animation: float 7s ease-in-out infinite; }
.hero__tech-float--2 { top: 28%; right: 2%; animation: float 6s ease-in-out infinite 0.5s; }
.hero__tech-float--3 { bottom: 28%; left: 0%; animation: float 8s ease-in-out infinite 1s; }
.hero__tech-float--4 { bottom: 12%; right: 6%; animation: float 7.5s ease-in-out infinite 1.5s; }
.hero__tech-float--5 { top: 60%; left: -4%; animation: float 6.5s ease-in-out infinite 2s; }
.hero__tech-float--6 { top: 5%; right: 8%; animation: float 7s ease-in-out infinite 0.8s reverse; }

.hero__tech-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.3px;
    transition: background 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}

.hero__tech-card svg {
    flex-shrink: 0;
}

/* ==========================================================
   SERVICES SECTION
   ========================================================== */
.services {
    background: rgba(5, 8, 22, 0.6);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2.5vw, 28px);
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

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

.service-card__icon {
    width: 68px;
    height: 68px;
    border-radius: var(--radius-lg);
    background: var(--gradient-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.service-card__title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.service-card__desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    transition: all var(--transition-base);
}

.service-card__link:hover {
    gap: 12px;
}

/* ==========================================================
   WHY CHOOSE US
   ========================================================== */
.why {
    background: rgba(10, 15, 28, 0.7);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    position: relative;
}

.why__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.why__desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
}

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

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

.why__feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--gradient-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

.why__feature h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

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

/* Stats Cards */
.why__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(12px, 2vw, 20px);
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 32px 28px;
    text-align: center;
    transition: all var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(79, 93, 255, 0.3);
}

.stat-card__number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-card__label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 16px;
    display: block;
}

.stat-card__bar {
    height: 4px;
    background: var(--border-color);
    border-radius: 100px;
    overflow: hidden;
}

.stat-card__fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 100px;
    transition: width 1.5s ease;
}

/* ==========================================================
   FEATURE SECTION
   ========================================================== */
.feature {
    background: rgba(5, 8, 22, 0.65);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.feature__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
    margin-bottom: clamp(60px, 8vw, 100px);
}

.feature__row:last-child {
    margin-bottom: 0;
}

.feature__row--reverse .feature__visual {
    order: 2;
}

.feature__row--reverse .feature__content {
    order: 1;
}

.feature__desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

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

.feature__list-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.feature__list-item svg {
    flex-shrink: 0;
}

/* Feature Art - Geometric */
.feature__art {
    position: relative;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature__art--1 {
    background: var(--gradient-subtle);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.feature__hex {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.feature__hex--1 {
    top: 15%;
    left: 10%;
    animation: float 5s ease-in-out infinite;
}

.feature__hex--2 {
    top: 50%;
    right: 10%;
    animation: float 6s ease-in-out infinite 1s;
}

.feature__hex--3 {
    bottom: 15%;
    left: 20%;
    animation: float 7s ease-in-out infinite 2s;
}

.feature__glass-card {
    position: absolute;
    bottom: 10%;
    right: 15%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-lg);
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease;
}

.feature__glass-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.feature__mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 60px;
    margin-bottom: 10px;
}

.feature__bar {
    width: 12px;
    background: var(--gradient-primary);
    border-radius: 4px 4px 0 0;
    transition: height var(--transition-slow);
}

.feature__chart-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Feature Art - Orbit */
.feature__art--2 {
    background: var(--gradient-subtle);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.feature__orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 240px;
    height: 240px;
}

.feature__orbit-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px dashed rgba(79, 93, 255, 0.25);
    animation: spin-slow 30s linear infinite;
}

.feature__orbit-dot {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--gradient-primary);
    box-shadow: 0 0 16px rgba(79, 93, 255, 0.4);
}

.feature__orbit-dot--1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.feature__orbit-dot--2 {
    bottom: 15%;
    right: 5%;
}

.feature__orbit-dot--3 {
    bottom: 15%;
    left: 5%;
}

.feature__center-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease;
}

.feature__center-badge:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 28px rgba(79, 93, 255, 0.2);
}

.feature__glass-card--alt {
    position: absolute;
    bottom: 12%;
    left: 12%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    z-index: 2;
    min-width: 160px;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease;
}

.feature__glass-card--alt:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.feature__cloud-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-primary);
    display: block;
    margin-bottom: 8px;
}

.feature__cloud-bar {
    height: 6px;
    background: var(--border-color);
    border-radius: 100px;
    overflow: hidden;
}

.feature__cloud-fill {
    height: 100%;
    width: 99.9%;
    background: var(--gradient-primary);
    border-radius: 100px;
}

/* ==========================================================
   PROJECTS SECTION
   ========================================================== */
.projects {
    background: rgba(10, 15, 28, 0.7);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.projects__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2.5vw, 28px);
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
}

.project-card__img {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.project-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-slow);
}

.project-card__overlay {
    position: absolute;
    inset: 0;
    background: var(--card-overlay);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.project-card:hover .project-card__overlay {
    opacity: 1;
}

.project-card__info {
    padding: 28px;
}

.project-card__cat {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary);
    background: var(--gradient-subtle);
    border: 1px solid var(--border-color);
    margin-bottom: 12px;
}

.project-card__title {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.project-card__desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==========================================================
   PROCESS SECTION
   ========================================================== */
.process {
    background: rgba(5, 8, 22, 0.65);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.process__timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.process__line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
    transform: translateX(-50%);
}

.process__step {
    display: flex;
    align-items: flex-start;
    gap: 48px;
    margin-bottom: 56px;
    position: relative;
}

.process__step:last-child {
    margin-bottom: 0;
}

.process__step-number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 4px 20px rgba(79, 93, 255, 0.35);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.process__step-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 32px;
    width: calc(50% - 56px);
    transition: all var(--transition-base);
}

.process__step:nth-child(odd) .process__step-content {
    margin-right: auto;
}

.process__step:nth-child(even) .process__step-content {
    margin-left: auto;
}

.process__step-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--gradient-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border: 1px solid var(--border-color);
}

.process__step-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.process__step-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==========================================================
   TESTIMONIALS SECTION
   ========================================================== */
.testimonials {
    background: rgba(10, 15, 28, 0.7);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2.5vw, 28px);
}

.testimonial-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 36px;
    transition: all var(--transition-base);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.testimonial-card__stars {
    display: flex;
    gap: 3px;
    margin-bottom: 20px;
}

.testimonial-card__quote {
    margin-bottom: 16px;
}

.testimonial-card__text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 28px;
    font-style: italic;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.testimonial-card__name {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.testimonial-card__role {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ==========================================================
   ABOUT SECTION
   ========================================================== */
.about {
    background: rgba(5, 8, 22, 0.65);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.about__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2.5vw, 28px);
}

.about__card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    text-align: center;
    transition: all var(--transition-base);
}

.about__card-icon {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: var(--gradient-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.about__card-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.about__card-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ==========================================================
   CONTACT SECTION
   ========================================================== */
.contact {
    background: rgba(10, 15, 28, 0.7);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: flex-start;
}

.contact__desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
}

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

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

.contact__detail-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--gradient-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.contact__detail:hover .contact__detail-icon {
    background: var(--gradient-primary);
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(79, 93, 255, 0.3);
    transform: scale(1.08) translateY(-2px);
}

.contact__detail:hover .contact__detail-icon svg {
    stroke: #FFFFFF;
}

.contact__detail strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.contact__detail p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Contact Form */
.contact__form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(12px, 2vw, 20px);
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--text-primary);
    font-size: 15px;
    transition: all var(--transition-base);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(79, 93, 255, 0.1);
}

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

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
    background: rgba(5, 8, 22, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-top: 1px solid var(--border-color);
    padding: 72px 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: clamp(24px, 4vw, 48px);
    margin-bottom: clamp(32px, 4vw, 56px);
}

.footer__brand {
    max-width: 300px;
}

.footer__brand-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 18px 0 24px;
}

.footer__social {
    display: flex;
    gap: 12px;
}

.footer__social-link {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: var(--gradient-subtle);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-base);
}

.footer__social-link:hover {
    background: var(--gradient-primary);
    color: #FFFFFF;
    border-color: transparent;
    transform: translateY(-3px) scale(1.08) rotate(-2deg);
    box-shadow: 0 6px 24px rgba(79, 93, 255, 0.35);
}

.footer__col-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer__links li {
    margin-bottom: 12px;
}

.footer__links a {
    font-size: 15px;
    color: var(--text-secondary);
    transition: all var(--transition-base);
}

.footer__links a:hover {
    color: var(--color-primary);
    padding-left: 4px;
}

.footer__bottom {
    border-top: 1px solid var(--border-color);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

/* ==========================================================
   ANIMATIONS
   ========================================================== */

/* Fade Up */
@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fade-up 0.8s ease forwards;
}

/* Float */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-16px);
    }
}

/* Float Slow */
@keyframes float-slow {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(20px, -20px);
    }
    50% {
        transform: translate(-10px, 15px);
    }
    75% {
        transform: translate(15px, 10px);
    }
}

/* Spin Slow */
@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Gradient Shift */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Ripple Expand */
@keyframes ripple-expand {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ==========================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1),
                transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================
   ENHANCED NAV LINK ANIMATIONS
   ========================================================== */
.nav__link {
    position: relative;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.35s cubic-bezier(0.23, 1, 0.32, 1), left 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav__link:hover,
.nav__link.active {
    color: var(--color-primary);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 60%;
    left: 20%;
}

/* ==========================================================
   GLASSMORPHISM SHINE EFFECT
   ========================================================== */
.glass-card,
.testimonial-card {
    position: relative;
    overflow: hidden;
}

.glass-card::before,
.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        600px circle at var(--shine-x, 50%) var(--shine-y, 50%),
        rgba(255, 255, 255, 0.06),
        transparent 40%
    );
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

/* ==========================================================
   ENHANCED CARD HOVER (subtle rotation)
   ========================================================== */
.service-card,
.project-card,
.about__card {
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.4s ease,
                border-color 0.4s ease;
    will-change: transform;
}

.service-card:hover,
.project-card:hover,
.about__card:hover {
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border-color: rgba(79, 93, 255, 0.3);
}

/* ==========================================================
   IMAGE ZOOM ON HOVER
   ========================================================== */
.project-card__placeholder {
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.project-card:hover .project-card__placeholder {
    transform: scale(1.08);
}

/* ==========================================================
   ICON HOVER EFFECTS
   ========================================================== */
.service-card__icon,
.about__card-icon,
.process__step-icon,
.why__feature-icon,
.contact__detail-icon {
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-card:hover .service-card__icon,
.about__card:hover .about__card-icon {
    background: var(--gradient-primary);
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(79, 93, 255, 0.3);
    transform: scale(1.08);
}

.service-card:hover .service-card__icon svg,
.about__card:hover .about__card-icon svg {
    stroke: #FFFFFF;
}

.process__step:hover .process__step-icon {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: scale(1.06) rotate(-4deg);
}

.process__step:hover .process__step-icon svg {
    stroke: #FFFFFF;
}

/* ==========================================================
   STAT CARD HOVER
   ========================================================== */
.stat-card {
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.stat-card:hover .stat-card__number {
    transform: scale(1.05);
}

.stat-card__number {
    display: inline-block;
    transition: transform 0.3s ease;
}

/* ==========================================================
   PROCESS STEP HOVER
   ========================================================== */
.process__step-content {
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.4s ease,
                border-color 0.4s ease;
}

.process__step-content:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(79, 93, 255, 0.3);
}

/* ==========================================================
   WHY FEATURE HOVER
   ========================================================== */
.why__feature {
    transition: transform 0.3s ease;
    padding: 12px;
    border-radius: var(--radius-md);
}

.why__feature:hover {
    transform: translateX(6px);
    background: var(--gradient-subtle);
}

.why__feature:hover .why__feature-icon {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: scale(1.1);
}

.why__feature:hover .why__feature-icon svg {
    stroke: #FFFFFF;
}

/* ==========================================================
   CTA BUTTON GLOW HOVER
   ========================================================== */
.btn--primary::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, #4F5DFF, #6C74FF, #0B2EFF);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
    filter: blur(12px);
}

.btn--primary:hover::before {
    opacity: 0.7;
    filter: blur(16px);
}

.btn--primary {
    position: relative;
    z-index: 1;
}

/* ==========================================================
   FOOTER LINK HOVER
   ========================================================== */
.footer__links a {
    position: relative;
    display: inline-block;
}

.footer__links a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.footer__links a:hover::after {
    width: 100%;
}

/* ==========================================================
   HEADER SCROLLED STATE
   ========================================================== */
.header--scrolled {
    background: var(--header-bg) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

html:has(#theme-toggle:checked) .header--scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ==========================================================
   FEATURE VISUAL ANIMATION
   ========================================================== */
.feature__hex {
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.4s ease;
}

.feature__hex:hover {
    transform: scale(1.12) !important;
    box-shadow: var(--shadow-lg);
}

/* ==========================================================
   HERO SHAPE SMOOTH TRANSITION
   ========================================================== */
.hero__shape {
    transition: transform 0.15s ease-out;
    will-change: transform;
}

.hero__tech-float {
    will-change: transform;
}

.hero__character {
    will-change: transform;
}

.hero__char-head,
.hero__char-body,
.hero__char-shoulders {
    will-change: transform;
}

/* ==========================================================
   PREFERS-REDUCED-MOTION
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .hero__tech-float,
    .hero__shape,
    .hero__scene-particle,
    .hero__scene-ring,
    .hero__scene-circle,
    .feature__hex,
    .space-bg__nebula,
    .space-bg__aurora,
    .space-bg__orb,
    .space-bg__ray {
        animation: none !important;
        transform: none !important;
    }
}

/* ==========================================================
   RESPONSIVE — LARGE SCREENS (min-width: 1440px)
   ========================================================== */
@media (min-width: 1440px) {
    .container {
        max-width: 1320px;
    }
}

@media (min-width: 1920px) {
    .container {
        max-width: 1440px;
    }
}

/* ==========================================================
   RESPONSIVE — LAPTOP (max-width: 1280px)
   ========================================================== */
@media (max-width: 1280px) {
    .container {
        max-width: 1100px;
    }

    .hero__character {
        width: 270px;
        height: 520px;
    }

    .hero__char-body {
        width: 240px;
        height: 435px;
    }

    .hero__char-head {
        width: 126px;
        height: 144px;
    }

    .hero__char-hoodie {
        width: 210px;
        height: 232px;
    }

    .hero__char-shoulders {
        width: 240px;
        height: 256px;
    }

    .hero__char-arm {
        width: 44px;
        height: 160px;
    }
}

/* ==========================================================
   RESPONSIVE — TABLET LANDSCAPE (max-width: 1024px)
   ========================================================== */
@media (max-width: 1024px) {
    .hero__container {
        grid-template-columns: 1fr;
        gap: clamp(40px, 5vw, 60px);
        text-align: center;
    }

    .hero__content {
        order: 1;
    }

    .hero__visual {
        order: 2;
        min-height: clamp(320px, 40vw, 440px);
    }

    .hero__scene {
        height: clamp(320px, 40vw, 420px);
    }

    .hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__clients {
        justify-content: center;
    }

    .hero__character {
        width: 240px;
        height: 450px;
    }

    .hero__char-body {
        width: 215px;
        height: 380px;
    }

    .hero__char-head {
        width: 110px;
        height: 128px;
    }

    .hero__char-hair {
        height: 68px;
    }

    .hero__char-hoodie {
        width: 185px;
        height: 205px;
    }

    .hero__char-shoulders {
        width: 215px;
        height: 228px;
    }

    .hero__char-arm {
        width: 40px;
        height: 144px;
    }

    .hero__char-neck {
        width: 38px;
        height: 32px;
    }

    .hero__scene-ring--1 { width: 250px; height: 250px; margin-left: -125px; margin-top: -125px; }
    .hero__scene-ring--2 { width: 310px; height: 310px; margin-left: -155px; margin-top: -155px; }
    .hero__scene-ring--3 { width: 370px; height: 370px; margin-left: -185px; margin-top: -185px; }

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

    .why__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .feature__row,
    .feature__row--reverse {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .feature__row--reverse .feature__visual {
        order: 1;
    }

    .feature__row--reverse .feature__content {
        order: 2;
    }

    .feature__row {
        margin-bottom: clamp(60px, 8vw, 100px);
    }

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

    .process__line {
        display: none;
    }

    .process__step {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .process__step-number {
        position: relative;
        left: auto;
        transform: none;
    }

    .process__step-content {
        width: 100%;
    }

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

    .testimonials__grid .testimonial-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }

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

    .about__grid .about__card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }

    .contact__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

/* ==========================================================
   RESPONSIVE — TABLET PORTRAIT (max-width: 768px)
   ========================================================== */
@media (max-width: 768px) {
    /* --- Navigation: Full-screen glassmorphism mobile menu --- */
    .nav__menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        height: 100dvh;
        background: rgba(5, 8, 22, 0.92);
        backdrop-filter: blur(30px) saturate(1.4);
        -webkit-backdrop-filter: blur(30px) saturate(1.4);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 80px 32px 48px;
        opacity: 0;
        visibility: hidden;
        transform: scale(1.05);
        transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    visibility 0.4s,
                    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        border-left: none;
        box-shadow: none;
    }

    .nav__toggle {
        display: flex;
    }

    .nav__cta {
        display: none;
    }

    .nav__toggle-input:checked ~ .nav__menu {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
    }

    .nav__toggle-input:checked ~ .nav__toggle .nav__toggle-bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav__toggle-input:checked ~ .nav__toggle .nav__toggle-bar:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .nav__toggle-input:checked ~ .nav__toggle .nav__toggle-bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .nav__link {
        font-size: clamp(1.1rem, 3vw, 1.4rem);
        padding: 12px 24px;
    }

    /* --- Hero --- */
    .hero {
        min-height: auto;
        padding-top: clamp(100px, 14vw, 140px);
        padding-bottom: clamp(40px, 6vw, 80px);
    }

    .hero__container {
        gap: clamp(32px, 5vw, 48px);
    }

    .hero__visual {
        min-height: clamp(280px, 45vw, 380px);
    }

    .hero__scene {
        height: clamp(280px, 45vw, 350px);
    }

    .hero__character {
        width: clamp(170px, 30vw, 220px);
        height: clamp(300px, 52vw, 400px);
    }

    .hero__char-body {
        width: clamp(150px, 27vw, 200px);
        height: clamp(255px, 45vw, 340px);
    }

    .hero__char-head {
        width: clamp(80px, 15vw, 105px);
        height: clamp(94px, 17vw, 120px);
    }

    .hero__char-hair {
        height: clamp(52px, 10vw, 66px);
    }

    .hero__char-eye { width: clamp(18px, 3.5vw, 24px); height: clamp(16px, 3vw, 20px); }
    .hero__char-iris { width: clamp(10px, 2vw, 14px); height: clamp(10px, 2vw, 14px); }
    .hero__char-pupil { width: clamp(5px, 1vw, 7px); height: clamp(5px, 1vw, 7px); }

    .hero__char-hoodie {
        width: clamp(135px, 24vw, 175px);
        height: clamp(148px, 26vw, 185px);
    }

    .hero__char-shoulders {
        width: clamp(155px, 28vw, 205px);
        height: clamp(162px, 28vw, 205px);
    }

    .hero__char-arm {
        width: clamp(28px, 5vw, 38px);
        height: clamp(102px, 18vw, 132px);
    }

    .hero__char-neck {
        width: clamp(28px, 5vw, 38px);
        height: clamp(24px, 4vw, 32px);
    }

    .hero__scene-ring--1 { width: 200px; height: 200px; margin-left: -100px; margin-top: -100px; }
    .hero__scene-ring--2 { width: 260px; height: 260px; margin-left: -130px; margin-top: -130px; }
    .hero__scene-ring--3 { width: 320px; height: 320px; margin-left: -160px; margin-top: -160px; }

    /* --- Section grids --- */
    .services__grid {
        grid-template-columns: 1fr;
        gap: clamp(16px, 3vw, 24px);
    }

    .service-card {
        padding: clamp(24px, 4vw, 36px);
    }

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

    .stat-card {
        padding: clamp(20px, 3vw, 32px);
    }

    .feature__art {
        height: clamp(260px, 40vw, 340px);
    }

    .feature__glass-card {
        padding: clamp(14px, 2vw, 20px);
    }

    .projects__grid {
        grid-template-columns: 1fr;
        gap: clamp(16px, 3vw, 24px);
    }

    .project-card__info {
        padding: clamp(20px, 3vw, 28px);
    }

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

    .testimonials__grid .testimonial-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }

    .testimonial-card {
        padding: clamp(24px, 4vw, 36px);
    }

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

    .about__grid .about__card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }

    .about__card {
        padding: clamp(28px, 4vw, 40px);
    }

    .process__step-content {
        padding: clamp(24px, 3.5vw, 32px);
    }

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

    .contact__form {
        padding: clamp(24px, 4vw, 40px);
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: clamp(24px, 4vw, 36px);
    }

    .footer__brand {
        max-width: 100%;
    }

    .footer {
        padding: clamp(48px, 6vw, 72px) 0 0;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* ==========================================================
   RESPONSIVE — LARGE MOBILE (max-width: 480px)
   ========================================================== */
@media (max-width: 480px) {
    .hero {
        padding-top: clamp(88px, 16vw, 120px);
        padding-bottom: clamp(32px, 6vw, 48px);
    }

    .hero__badge {
        font-size: 12px;
        padding: 5px 14px;
    }

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

    .hero__actions .btn {
        width: 100%;
        text-align: center;
    }

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

    .hero__visual {
        min-height: clamp(220px, 55vw, 300px);
    }

    .hero__scene {
        height: clamp(220px, 55vw, 280px);
    }

    .hero__character {
        width: clamp(110px, 30vw, 140px);
        height: clamp(200px, 55vw, 250px);
    }

    .hero__char-body {
        width: clamp(85px, 24vw, 110px);
        height: clamp(165px, 46vw, 210px);
    }

    .hero__char-head {
        width: clamp(50px, 15vw, 65px);
        height: clamp(58px, 17vw, 72px);
    }

    .hero__char-hair {
        height: clamp(32px, 9vw, 42px);
    }

    .hero__char-eye { width: clamp(12px, 4vw, 16px); height: clamp(11px, 3.5vw, 15px); }
    .hero__char-iris { width: clamp(8px, 2.5vw, 11px); height: clamp(8px, 2.5vw, 11px); }
    .hero__char-pupil { width: clamp(4px, 1.5vw, 6px); height: clamp(4px, 1.5vw, 6px); }
    .hero__char-eye__catchlight { width: 3px; height: 3px; }
    .hero__char-brow { width: clamp(16px, 5vw, 22px); height: 3px; }

    .hero__char-hoodie {
        width: clamp(95px, 26vw, 120px);
        height: clamp(102px, 28vw, 128px);
    }

    .hero__char-shoulders {
        width: clamp(108px, 30vw, 135px);
        height: clamp(112px, 31vw, 140px);
    }

    .hero__char-arm {
        width: clamp(18px, 5.5vw, 24px);
        height: clamp(65px, 18vw, 82px);
    }

    .hero__char-neck {
        width: clamp(22px, 6.5vw, 28px);
        height: clamp(18px, 5.5vw, 24px);
    }

    .hero__char-ear { width: clamp(9px, 3vw, 13px); height: clamp(13px, 4.5vw, 20px); }

    .hero__scene-ring--1 { width: 140px; height: 140px; margin-left: -70px; margin-top: -70px; }
    .hero__scene-ring--2 { width: 170px; height: 170px; margin-left: -85px; margin-top: -85px; }
    .hero__scene-ring--3 { width: 200px; height: 200px; margin-left: -100px; margin-top: -100px; }
    .hero__scene-glow { width: 160px; height: 160px; }

    .hero__tech-float {
        display: none;
    }

    .hero__scene-circle {
        display: none;
    }

    .hero__scene-particle {
        display: none;
    }

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

    .why__feature {
        padding: clamp(10px, 2vw, 14px);
    }

    .stat-card__number {
        font-size: clamp(1.8rem, 5vw, 2.4rem);
    }

    .feature__glass-card--alt {
        padding: clamp(12px, 2.5vw, 18px);
    }

    .contact__form {
        padding: clamp(20px, 4vw, 28px);
    }

    .footer__social {
        gap: 14px;
    }

    .footer__social-link {
        width: clamp(36px, 9vw, 42px);
        height: clamp(36px, 9vw, 42px);
    }
}

/* ==========================================================
   RESPONSIVE — SMALL MOBILE (max-width: 390px)
   ========================================================== */
@media (max-width: 390px) {
    .hero__scene {
        height: 200px;
    }

    .hero__visual {
        min-height: 200px;
    }

    .hero__character {
        width: 95px;
        height: 180px;
    }

    .hero__char-body {
        width: 75px;
        height: 150px;
    }

    .hero__char-head {
        width: 44px;
        height: 52px;
    }

    .hero__char-hair {
        height: 28px;
    }

    .hero__char-hoodie {
        width: 82px;
        height: 88px;
    }

    .hero__char-shoulders {
        width: 95px;
        height: 98px;
    }

    .hero__char-arm {
        width: 16px;
        height: 56px;
    }

    .hero__scene-ring--1 { width: 110px; height: 110px; margin-left: -55px; margin-top: -55px; }
    .hero__scene-ring--2 { width: 140px; height: 140px; margin-left: -70px; margin-top: -70px; }
    .hero__scene-ring--3 { width: 170px; height: 170px; margin-left: -85px; margin-top: -85px; }
    .hero__scene-glow { width: 130px; height: 130px; }
}

/* ==========================================================
   RESPONSIVE — MINIMUM (max-width: 320px)
   ========================================================== */
@media (max-width: 320px) {
    .container {
        padding: 0 12px;
    }

    .hero__title {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
    }

    .hero__scene {
        height: 170px;
    }

    .hero__visual {
        min-height: 170px;
    }

    .hero__character {
        width: 80px;
        height: 150px;
    }

    .hero__char-body {
        width: 62px;
        height: 125px;
    }

    .hero__char-head {
        width: 38px;
        height: 44px;
    }

    .hero__char-hoodie {
        width: 68px;
        height: 72px;
    }

    .hero__char-shoulders {
        width: 78px;
        height: 82px;
    }

    .hero__char-arm {
        width: 14px;
        height: 46px;
    }

    .hero__scene-ring--1 { width: 90px; height: 90px; margin-left: -45px; margin-top: -45px; }
    .hero__scene-ring--2 { width: 115px; height: 115px; margin-left: -57.5px; margin-top: -57.5px; }
    .hero__scene-ring--3 { width: 140px; height: 140px; margin-left: -70px; margin-top: -70px; }
    .hero__scene-glow { width: 110px; height: 110px; }

    .btn {
        padding: clamp(10px, 2.5vw, 14px) clamp(20px, 4vw, 28px);
        font-size: 13px;
    }

    .btn--lg {
        padding: clamp(12px, 3vw, 16px) clamp(24px, 5vw, 36px);
        font-size: 14px;
    }
}