/* ============================================================
   iCodeVS - Site Vitrine Développement Logiciel
   Theme inspiré de Pemogan - Design sombre, accents cyan
   ============================================================ */

/* ---------- CSS VARIABLES ---------- */
:root {
    --color-bg: #0a0e17;
    --color-bg-alt: #0d1321;
    --color-bg-card: #111827;
    --color-bg-card-hover: #161f33;
    --color-surface: #1a2332;
    --color-border: rgba(255, 255, 255, 0.06);
    --color-border-light: rgba(255, 255, 255, 0.1);
    
    --color-primary: #00e5ff;
    --color-primary-dark: #00b8d4;
    --color-primary-glow: rgba(0, 229, 255, 0.3);
    --color-secondary: #7c4dff;
    --color-accent: #00e676;
    
    --color-text: #e2e8f0;
    --color-text-muted: #94a3b8;
    --color-text-dim: #64748b;
    --color-white: #ffffff;
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px var(--color-primary-glow);
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    --container-max: 1200px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--color-primary);
    color: var(--color-bg);
}

::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
    background: var(--color-primary-dark);
    border-radius: 3px;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

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

.preloader--hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader__content {
    text-align: center;
}

.preloader__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.preloader__icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    animation: preloaderPulse 1.2s ease-in-out infinite;
}

.preloader__text {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: -0.5px;
}

.preloader__bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.preloader__progress {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 2px;
    width: 0%;
    animation: preloaderBar 1s ease-in-out forwards;
}

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

@keyframes preloaderBar {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* ---------- TYPOGRAPHY ---------- */
.section__subtitle {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-primary);
    margin-bottom: 16px;
    position: relative;
    padding-left: 40px;
}

.section__subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 1px;
    background: var(--color-primary);
}

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

.section__title span {
    color: var(--color-primary);
    position: relative;
}

.section__title span::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 100%;
    height: 6px;
    background: var(--color-primary-glow);
    border-radius: 3px;
    z-index: -1;
    opacity: 0.5;
}

.section__text {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.section__text--center {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section__header {
    text-align: center;
    margin-bottom: 64px;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 32px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn i {
    transition: transform var(--transition-fast);
}

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

.btn--primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-bg);
    box-shadow: 0 4px 20px var(--color-primary-glow);
}

.btn--primary:hover {
    box-shadow: 0 8px 32px var(--color-primary-glow);
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    color: var(--color-white);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.btn--outline:hover {
    border-color: var(--color-primary);
    background: rgba(0, 229, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.1);
    transform: translateY(-2px);
}

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

.btn--white:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--color-primary-glow);
}

.btn--outline-white {
    background: transparent;
    color: var(--color-white);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn--outline-white:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-white);
    transform: translateY(-2px);
}

.btn--lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn--sm {
    padding: 10px 24px;
    font-size: 0.85rem;
}

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

/* ---------- HEADER / NAV ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    transition: all var(--transition-base);
}

.header--scrolled {
    background: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 20px;
    z-index: 1001;
}

.nav__logo-icon {
    font-size: 1.6rem;
    color: var(--color-primary);
    filter: drop-shadow(0 0 10px var(--color-primary-glow));
}

.nav__logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: -0.5px;
}

.nav__logo-text span {
    color: var(--color-primary);
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-left: auto;
    margin-right: 30px;
}

.nav__link {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-muted);
    position: relative;
    padding: 6px 0;
    transition: color var(--transition-fast);
}

.nav__link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-base);
}

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

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__cta {
    padding: 8px 20px;
    font-size: 0.85rem;
}

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

.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: all var(--transition-base);
    transform-origin: center;
}

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

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    overflow: hidden;
    background: radial-gradient(ellipse at 30% 50%, #0d1b2a 0%, var(--color-bg) 70%);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 60% 40%, rgba(0, 229, 255, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

/* Particles */
#particles-js {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Grid */
.hero__grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

/* Shapes */
.hero__shapes {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation-duration: 20s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.shape--1 {
    width: 400px;
    height: 400px;
    background: var(--color-primary);
    top: -10%;
    right: -5%;
    animation-name: floatShape1;
}

.shape--2 {
    width: 300px;
    height: 300px;
    background: var(--color-secondary);
    bottom: -10%;
    left: -5%;
    animation-name: floatShape2;
    animation-delay: -5s;
}

.shape--3 {
    width: 200px;
    height: 200px;
    background: var(--color-accent);
    top: 40%;
    left: 30%;
    animation-name: floatShape3;
    animation-delay: -10s;
}

.shape--4 {
    width: 150px;
    height: 150px;
    background: var(--color-primary);
    top: 20%;
    right: 20%;
    animation-name: floatShape4;
    animation-delay: -3s;
}

.shape--5 {
    width: 250px;
    height: 250px;
    background: var(--color-secondary);
    bottom: 20%;
    right: 30%;
    animation-name: floatShape5;
    animation-delay: -7s;
}

.shape--6 {
    width: 180px;
    height: 180px;
    background: var(--color-primary-dark);
    top: 60%;
    left: 60%;
    animation-name: floatShape6;
    animation-delay: -12s;
}

@keyframes floatShape1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(60px, -40px) scale(1.1); }
    66% { transform: translate(-30px, 50px) scale(0.9); }
}

@keyframes floatShape2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-50px, -30px) scale(1.1); }
    66% { transform: translate(40px, 20px) scale(0.95); }
}

@keyframes floatShape3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -50px) scale(1.2); }
}

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

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

@keyframes floatShape6 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, 40px); }
}

/* Hero Content */
.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.hero__content {
    max-width: 580px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 28px;
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero__title-highlight {
    color: var(--color-primary);
    position: relative;
}

.hero__title-cursor {
    animation: cursorBlink 1s step-end infinite;
    font-weight: 300;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero__description {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 480px;
    margin-bottom: 36px;
    line-height: 1.8;
}

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

/* Hero Stats */
.hero__stats {
    display: flex;
    gap: 40px;
}

.hero__stat {
    text-align: center;
}

.hero__stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1;
}

.hero__stat-plus {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.hero__stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 6px;
}

/* Hero Visual */
.hero__visual {
    position: relative;
}

.hero__dashboard {
    background: linear-gradient(145deg, rgba(17, 24, 39, 0.9), rgba(26, 35, 50, 0.9));
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg), 0 0 60px rgba(0, 229, 255, 0.05);
}

.hero__dashboard-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
}

.hero__dashboard-dots {
    display: flex;
    gap: 6px;
}

.hero__dashboard-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.hero__dashboard-dots span:nth-child(1) { background: #ff5f57; }
.hero__dashboard-dots span:nth-child(2) { background: #ffbd2e; }
.hero__dashboard-dots span:nth-child(3) { background: #28ca41; }

.hero__dashboard-bar {
    flex: 1;
    height: 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.hero__dashboard-body {
    display: flex;
    gap: 20px;
}

.hero__code-lines {
    flex: 1;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.8rem;
    line-height: 2;
}

.code--tag { color: #ff79c6; }
.code--value { color: #f1fa8c; }
.code--success { color: #50fa7b; }
.code--cursor { color: var(--color-primary); }

.hero__code-line--blink .code--cursor {
    animation: cursorBlink 1s step-end infinite;
}

.hero__chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 100px;
    width: 120px;
}

.hero__chart-bar {
    flex: 1;
    background: linear-gradient(to top, var(--color-primary), var(--color-primary-dark));
    border-radius: 3px 3px 0 0;
    animation: chartGrow 1.5s ease-out forwards;
    transform-origin: bottom;
    transform: scaleY(0);
}

.hero__chart-bar:nth-child(1) { animation-delay: 0.1s; }
.hero__chart-bar:nth-child(2) { animation-delay: 0.2s; }
.hero__chart-bar:nth-child(3) { animation-delay: 0.3s; }
.hero__chart-bar:nth-child(4) { animation-delay: 0.4s; }
.hero__chart-bar:nth-child(5) { animation-delay: 0.5s; }
.hero__chart-bar:nth-child(6) { animation-delay: 0.6s; }
.hero__chart-bar:nth-child(7) { animation-delay: 0.7s; }

@keyframes chartGrow {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

/* Floating Cards */
.hero__float-card {
    position: absolute;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: var(--shadow-md);
    animation: floatCard 4s ease-in-out infinite;
}

.hero__float-card i {
    font-size: 1.1rem;
    color: var(--color-primary);
}

.hero__float-card--1 {
    top: -20px;
    right: -20px;
    animation-delay: 0s;
}

.hero__float-card--2 {
    bottom: -30px;
    left: -30px;
    animation-delay: -1.5s;
}

.hero__float-card--3 {
    top: 50%;
    right: -40px;
    animation-delay: -3s;
}

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

/* Scroll Indicator */
.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 2;
    color: var(--color-text-dim);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero__scroll-line {
    width: 2px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1px;
    position: relative;
    overflow: hidden;
}

.hero__scroll-dot {
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 10px;
    background: var(--color-primary);
    border-radius: 1px;
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0% { top: -10px; }
    100% { top: 100%; }
}

/* ---------- ABOUT ---------- */
.about {
    padding: 120px 0;
    position: relative;
    background: var(--color-bg-alt);
}

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

.about__visual {
    position: relative;
}

.about__image-wrapper {
    position: relative;
}

.about__image-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--color-border);
    background: linear-gradient(135deg, var(--color-bg-card), var(--color-surface));
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.about__image-placeholder {
    text-align: center;
    color: var(--color-primary);
}

.about__image-placeholder i {
    font-size: 5rem;
    filter: drop-shadow(0 0 20px var(--color-primary-glow));
    animation: aboutIconFloat 3s ease-in-out infinite;
}

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

.about__image-badge {
    position: absolute;
    bottom: -25px;
    right: -25px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    padding: 20px 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-glow);
}

.about__badge-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-bg);
}

.about__image-badge span:last-child {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(10, 14, 23, 0.8);
}

.about__dots {
    position: absolute;
    top: -30px;
    left: -30px;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(rgba(0, 229, 255, 0.3) 2px, transparent 2px);
    background-size: 15px 15px;
    z-index: -1;
}

.about__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 32px;
}

.about__feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--color-text);
}

.about__feature i {
    color: var(--color-accent);
    font-size: 1.1rem;
}

/* ---------- SERVICES ---------- */
.services {
    padding: 120px 0;
    background: var(--color-bg);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

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

/* Service Card */
.service-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(0, 229, 255, 0.05), transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-card:hover {
    border-color: rgba(0, 229, 255, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 229, 255, 0.05);
}

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

.service-card__icon {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-card__icon-bg {
    position: absolute;
    inset: 0;
    background: rgba(0, 229, 255, 0.1);
    border-radius: var(--radius-md);
    transform: rotate(45deg);
    transition: all var(--transition-base);
}

.service-card:hover .service-card__icon-bg {
    background: rgba(0, 229, 255, 0.2);
    transform: rotate(135deg);
}

.service-card__icon i {
    position: relative;
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: transform var(--transition-base);
}

.service-card:hover .service-card__icon i {
    transform: scale(1.1);
}

.service-card__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 12px;
}

.service-card__text {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-primary);
    transition: gap var(--transition-fast);
}

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

/* ---------- TECH MARQUEE ---------- */
.tech-marquee {
    padding: 40px 0;
    overflow: hidden;
    background: var(--color-bg-card);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    position: relative;
}

.tech-marquee::before,
.tech-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.tech-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--color-bg-card), transparent);
}

.tech-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--color-bg-card), transparent);
}

.tech-marquee__track {
    display: flex;
    gap: 48px;
    animation: marquee 30s linear infinite;
    padding: 0 24px;
}

.tech-marquee__track--reverse {
    animation: marqueeReverse 30s linear infinite;
    margin-top: 24px;
}

.tech-marquee__item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-muted);
    white-space: nowrap;
    transition: color var(--transition-fast);
}

.tech-marquee__item i {
    font-size: 1.3rem;
    color: var(--color-text-dim);
    transition: color var(--transition-fast);
}

.tech-marquee__item:hover {
    color: var(--color-primary);
}

.tech-marquee__item:hover i {
    color: var(--color-primary);
}

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

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

/* ---------- PORTFOLIO ---------- */
.portfolio {
    padding: 120px 0;
    background: var(--color-bg-alt);
}

.portfolio__filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.portfolio__filter-btn {
    padding: 10px 24px;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--color-text-muted);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-base);
}

.portfolio__filter-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-white);
}

.portfolio__filter-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-bg);
}

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

/* Portfolio Card */
.portfolio-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.portfolio-card__image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.portfolio-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: rgba(255, 255, 255, 0.4);
    transition: transform var(--transition-slow);
}

.portfolio-card__placeholder i {
    font-size: 2.5rem;
}

.portfolio-card__placeholder span {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.portfolio-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 14, 23, 0.95) 0%, rgba(10, 14, 23, 0.6) 100%);
    display: flex;
    align-items: flex-end;
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.portfolio-card:hover .portfolio-card__placeholder {
    transform: scale(1.1);
}

.portfolio-card__overlay-content {
    padding: 32px 28px;
    transform: translateY(20px);
    transition: transform var(--transition-base);
}

.portfolio-card:hover .portfolio-card__overlay-content {
    transform: translateY(0);
}

.portfolio-card__category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.portfolio-card__overlay-content h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 8px;
}

.portfolio-card__overlay-content p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

/* ---------- PROCESS ---------- */
.process {
    padding: 120px 0;
    background: var(--color-bg);
    position: relative;
}

.process__timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.process__line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--color-primary), var(--color-primary), transparent);
    transform: translateX(-50%);
}

.process-step {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step--right {
    flex-direction: row-reverse;
    text-align: right;
}

.process-step__number {
    position: relative;
    min-width: 80px;
    text-align: center;
}

.process-step__number span {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.process-step__circle {
    width: 16px;
    height: 16px;
    background: var(--color-primary);
    border-radius: 50%;
    margin: 8px auto 0;
    box-shadow: 0 0 20px var(--color-primary-glow);
    position: relative;
}

.process-step__circle::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(0, 229, 255, 0.3);
    animation: circlePulse 2s ease-in-out infinite;
}

@keyframes circlePulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.5); opacity: 0; }
}

.process-step__content {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    position: relative;
    transition: all var(--transition-base);
    flex: 1;
}

.process-step__content:hover {
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.process-step__icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 229, 255, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.process-step__icon i {
    font-size: 1.3rem;
    color: var(--color-primary);
}

.process-step__content h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 8px;
}

.process-step__content p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
    padding: 120px 0;
    background: var(--color-bg-alt);
    overflow: hidden;
}

.testimonials__slider {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 60px;
}

.testimonial-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 40px;
    position: relative;
    text-align: center;
}

.testimonial-card__stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-card__stars i {
    color: #ffc107;
    font-size: 1rem;
}

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

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

.testimonial-card__avatar {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-card__avatar i {
    color: var(--color-white);
    font-size: 1.2rem;
}

.testimonial-card__info {
    text-align: left;
}

.testimonial-card__info h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
}

.testimonial-card__info span {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.testimonial-card__quote {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 3rem;
    color: rgba(0, 229, 255, 0.08);
}

/* Swiper customization */
.testimonials__nav .swiper-button-prev,
.testimonials__nav .swiper-button-next {
    color: var(--color-primary);
    width: 44px;
    height: 44px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    background: var(--color-bg-card);
    transition: all var(--transition-fast);
}

.testimonials__nav .swiper-button-prev::after,
.testimonials__nav .swiper-button-next::after {
    font-size: 0.9rem;
    font-weight: 700;
}

.testimonials__nav .swiper-button-prev:hover,
.testimonials__nav .swiper-button-next:hover {
    background: var(--color-primary);
    color: var(--color-bg);
    border-color: var(--color-primary);
}

.swiper-pagination-bullet {
    background: var(--color-text-dim);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: var(--color-primary);
    opacity: 1;
}

/* ---------- CTA ---------- */
.cta {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #0a1628 0%, #0d1b2a 50%, #0a1425 100%);
    overflow: hidden;
    text-align: center;
}

.cta__bg-particles {
    position: absolute;
    inset: 0;
}

.cta__content {
    position: relative;
    z-index: 2;
}

.cta__subtitle {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.cta__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.cta__title span {
    color: var(--color-primary);
}

.cta__text {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 500px;
    margin: 0 auto 36px;
}

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

/* ---------- CONTACT ---------- */
.contact {
    padding: 120px 0;
    background: var(--color-bg);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

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

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

.contact__detail-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition-base);
}

.contact__detail:hover .contact__detail-icon {
    background: rgba(0, 229, 255, 0.15);
    border-color: var(--color-primary);
}

.contact__detail-icon i {
    font-size: 1.1rem;
    color: var(--color-primary);
}

.contact__detail-text {
    display: flex;
    flex-direction: column;
}

.contact__detail-text span:first-child {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-dim);
}

.contact__detail-text a,
.contact__detail-text span:last-child {
    color: var(--color-text);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.contact__detail-text a:hover {
    color: var(--color-primary);
}

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

.contact__social {
    width: 44px;
    height: 44px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    transition: all var(--transition-base);
    font-size: 1rem;
}

.contact__social:hover {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: var(--color-bg);
    transform: translateY(-3px);
}

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

.form__group {
    position: relative;
    margin-bottom: 28px;
}

.form__input {
    width: 100%;
    padding: 14px 0;
    background: transparent;
    border: none;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    position: relative;
    z-index: 2;
}

.form__textarea {
    resize: vertical;
    min-height: 100px;
}

.form__label {
    position: absolute;
    top: 14px;
    left: 0;
    font-size: 1rem;
    color: var(--color-text-dim);
    transition: all var(--transition-fast);
    z-index: 1;
    pointer-events: none;
}

.form__input:focus ~ .form__label,
.form__input:not(:placeholder-shown) ~ .form__label {
    top: -10px;
    font-size: 0.8rem;
    color: var(--color-primary);
}

.form__line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--color-border-light);
}

.form__line::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-base);
}

.form__input:focus ~ .form__line::after {
    width: 100%;
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--color-bg-card);
    border-top: 1px solid var(--color-border);
}

.footer__top {
    padding: 80px 0 50px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer__brand p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 300px;
}

.footer__socials {
    display: flex;
    gap: 10px;
}

.footer__socials a {
    width: 38px;
    height: 38px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    transition: all var(--transition-base);
}

.footer__socials a:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.footer__links h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 20px;
}

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

.footer__links ul li a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
    position: relative;
    padding-left: 0;
    transition: all var(--transition-fast);
}

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

.footer__newsletter h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 12px;
}

.footer__newsletter p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.footer__subscribe {
    display: flex;
    position: relative;
}

.footer__subscribe input {
    flex: 1;
    padding: 12px 48px 12px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color var(--transition-fast);
}

.footer__subscribe input:focus {
    border-color: var(--color-primary);
}

.footer__subscribe button {
    position: absolute;
    right: 4px;
    top: 4px;
    bottom: 4px;
    width: 36px;
    background: var(--color-primary);
    border: none;
    border-radius: 50%;
    color: var(--color-bg);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer__subscribe button:hover {
    background: var(--color-primary-dark);
    transform: scale(1.05);
}

.footer__bottom {
    padding: 24px 0;
    border-top: 1px solid var(--color-border);
}

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

.footer__bottom p {
    color: var(--color-text-dim);
    font-size: 0.85rem;
}

.footer__bottom-links {
    display: flex;
    gap: 24px;
}

.footer__bottom-links a {
    color: var(--color-text-dim);
    font-size: 0.85rem;
    transition: color var(--transition-fast);
}

.footer__bottom-links a:hover {
    color: var(--color-primary);
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    background: var(--color-primary);
    color: var(--color-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    box-shadow: 0 4px 20px var(--color-primary-glow);
}

.back-to-top--visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px var(--color-primary-glow);
}

/* ============ FLOATING ACTION BUTTON ============ */
.fab-request {
    position: fixed;
    bottom: 90px;
    right: 30px;
    z-index: 998;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-bg);
    border: none;
    border-radius: 50px;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 6px 28px var(--color-primary-glow);
    transition: all var(--transition-base);
    overflow: visible;
}

.fab-request:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 229, 255, 0.5);
    padding-right: 28px;
}

.fab-request:hover .fab-request__label {
    max-width: 160px;
    opacity: 1;
    margin-left: 4px;
}

.fab-request__label {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: all var(--transition-base);
}

.fab-request__pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50px;
    border: 2px solid var(--color-primary);
    animation: fabPulse 2s ease-out infinite;
    pointer-events: none;
}

@keyframes fabPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* ============ MODAL OVERLAY ============ */
.modal__overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal__overlay--open {
    opacity: 1;
    visibility: visible;
}

/* ============ MODAL ============ */
.modal {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(0, 229, 255, 0.05);
    transform: translateY(30px) scale(0.96);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal__overlay--open .modal {
    transform: translateY(0) scale(1);
}

.modal::-webkit-scrollbar {
    width: 6px;
}

.modal::-webkit-scrollbar-track {
    background: transparent;
}

.modal::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 3px;
}

/* ============ MODAL CLOSE ============ */
.modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-text-muted);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-fast);
}

.modal__close:hover {
    background: rgba(255, 82, 82, 0.15);
    border-color: #ff5252;
    color: #ff5252;
    transform: rotate(90deg);
}

/* ============ PROGRESS BAR ============ */
.modal__progress {
    padding: 24px 40px 0;
}

.modal__progress-bar {
    height: 3px;
    background: var(--color-border);
    border-radius: 2px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.modal__progress-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 2px;
    width: 0%;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal__steps-indicators {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 32px;
}

.modal__step-dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--color-bg-alt);
    border: 2px solid var(--color-border);
    color: var(--color-text-dim);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    position: relative;
}

.modal__step-dot.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-bg);
    box-shadow: 0 0 20px var(--color-primary-glow);
}

.modal__step-dot.done {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-bg);
}

.modal__step-line {
    width: 40px;
    height: 2px;
    background: var(--color-border);
    transition: background 0.4s ease;
}

.modal__step-line.done {
    background: var(--color-accent);
}

/* ============ FORM INSIDE MODAL ============ */
.modal__form {
    padding: 0 40px;
}

.modal__form .form__group {
    margin-bottom: 24px;
}

.modal__form .form__static-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 10px;
}

/* ============ MODAL STEPS ============ */
.modal__step {
    display: none;
    animation: stepFadeIn 0.4s ease;
}

.modal__step.active {
    display: block;
}

@keyframes stepFadeIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.modal__step-header {
    margin-bottom: 32px;
    text-align: center;
}

.modal__step-subtitle {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.modal__step-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 8px;
}

.modal__step-title span {
    color: var(--color-primary);
}

.modal__step-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.modal__step-error {
    color: #ff5252;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 12px;
    min-height: 20px;
    text-align: center;
}

/* ============ PROJECT TYPE CARDS ============ */
.modal__project-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 8px;
}

.project-type-card {
    position: relative;
    cursor: pointer;
}

.project-type-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.project-type-card__content {
    background: var(--color-bg-alt);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 24px 16px;
    text-align: center;
    transition: all var(--transition-base);
}

.project-type-card:hover .project-type-card__content {
    border-color: rgba(0, 229, 255, 0.3);
    background: rgba(0, 229, 255, 0.03);
    transform: translateY(-3px);
}

.project-type-card input:checked + .project-type-card__content {
    border-color: var(--color-primary);
    background: rgba(0, 229, 255, 0.08);
    box-shadow: 0 0 28px rgba(0, 229, 255, 0.12);
    transform: translateY(-3px);
}

.project-type-card__content i {
    font-size: 1.6rem;
    color: var(--color-primary);
    margin-bottom: 10px;
    display: block;
}

.project-type-card__content h3 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 4px;
}

.project-type-card__content p {
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

/* ============ TECH TAGS ============ */
.modal__tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    position: relative;
    cursor: pointer;
}

.tech-tag input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.tech-tag {
    padding: 8px 16px;
    background: var(--color-bg-alt);
    border: 1.5px solid var(--color-border);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: all var(--transition-fast);
    display: inline-block;
}

.tech-tag:hover {
    border-color: rgba(0, 229, 255, 0.4);
    color: var(--color-text);
}

.tech-tag input:checked + .tech-tag,
.tech-tag:has(input:checked) {
    background: rgba(0, 229, 255, 0.12);
    border-color: var(--color-primary);
    color: var(--color-primary);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.15);
}

.modal__form .tech-tag:has(input:checked) {
    background: rgba(0, 229, 255, 0.12);
    border-color: var(--color-primary);
    color: var(--color-primary);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.15);
}

/* Compat fallback for browsers without :has */
.modal__tech-tags .tech-tag input:checked + .tech-tag {
    background: rgba(0, 229, 255, 0.12);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* ============ BUDGET OPTIONS ============ */
.modal__budget-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.budget-option {
    position: relative;
    cursor: pointer;
}

.budget-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.budget-option {
    display: block;
    padding: 16px;
    background: var(--color-bg-alt);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all var(--transition-base);
}

.budget-option:hover {
    border-color: rgba(0, 229, 255, 0.3);
    background: rgba(0, 229, 255, 0.02);
}

.budget-option input:checked + .budget-option__amount,
.budget-option:has(input:checked) {
    border-color: var(--color-primary);
    background: rgba(0, 229, 255, 0.08);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.1);
}

.budget-option__amount {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 2px;
}

.budget-option__desc {
    display: block;
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

/* ============ PRIORITY OPTIONS ============ */
.modal__priority {
    display: flex;
    gap: 12px;
}

.priority-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 16px;
    background: var(--color-bg-alt);
    border: 2px solid var(--color-border);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: all var(--transition-base);
}

.priority-option:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.priority-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.priority-option:has(input:checked) {
    color: var(--color-white);
}

.priority-option__icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.priority-option__icon--normal {
    background: rgba(0, 230, 118, 0.15);
    color: #00e676;
}

.priority-option__icon--high {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
}

.priority-option__icon--urgent {
    background: rgba(255, 82, 82, 0.15);
    color: #ff5252;
}

.priority-option:has(input[value="normal"]:checked) {
    border-color: #00e676;
    background: rgba(0, 230, 118, 0.08);
}

.priority-option:has(input[value="high"]:checked) {
    border-color: #ffc107;
    background: rgba(255, 193, 7, 0.08);
}

.priority-option:has(input[value="urgent"]:checked) {
    border-color: #ff5252;
    background: rgba(255, 82, 82, 0.08);
}

/* ============ MODAL ROW (2 COLUMNS) ============ */
.modal__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.modal__form .form__input--date {
    color-scheme: dark;
    padding: 12px 0;
}

/* ============ CHARACTER COUNTER ============ */
.form__char-count {
    position: absolute;
    right: 0;
    bottom: -20px;
    font-size: 0.75rem;
    color: var(--color-text-dim);
}

/* ============ RECAP ============ */
.modal__recap {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 24px;
}

.modal__recap-section {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border-light);
}

.modal__recap-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.modal__recap-section h4 {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary);
    margin-bottom: 6px;
}

.modal__recap-section p {
    font-size: 0.9rem;
    color: var(--color-text);
    line-height: 1.6;
}

.modal__recap-section .recap-techs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.modal__recap-section .recap-tech-tag {
    padding: 4px 10px;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--color-primary);
}

.modal__recap-actions {
    margin-top: 8px;
}

/* ============ SUCCESS STATE ============ */
.modal__success {
    display: none;
    padding: 60px 40px;
    text-align: center;
}

.modal__success--visible {
    display: block;
}

.modal__success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: rgba(0, 230, 118, 0.1);
    border: 2px solid rgba(0, 230, 118, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #00e676;
    animation: successPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.modal__success-icon--error {
    background: rgba(255, 82, 82, 0.1);
    border-color: rgba(255, 82, 82, 0.3);
    color: #ff5252;
}

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

.modal__success h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 12px;
}

.modal__success p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 8px;
}

.modal__success-ref {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--color-text-dim);
    margin-bottom: 28px;
}

.modal__success-ref span {
    color: var(--color-primary);
    font-weight: 600;
}

/* ============ ERROR STATE ============ */
.modal__error-state {
    display: none;
    padding: 60px 40px;
    text-align: center;
}

.modal__error-state--visible {
    display: block;
}

.modal__error-state .modal__recap-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* ============ MODAL NAVIGATION ============ */
.modal__nav {
    display: flex;
    justify-content: space-between;
    padding: 24px 40px;
    border-top: 1px solid var(--color-border);
    gap: 12px;
}

.modal__nav-btn {
    min-width: 130px;
    justify-content: center;
}

.modal__nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* ============ MODAL HIDDEN STATES ============ */
.modal__form--hidden {
    display: none;
}

.modal__nav--hidden {
    display: none;
}

.modal__progress--hidden {
    display: none;
}

/* ============ RESPONSIVE MODAL ============ */
@media (max-width: 768px) {
    .modal {
        max-width: 100%;
        max-height: 95vh;
        border-radius: var(--radius-lg);
    }

    .modal__progress {
        padding: 20px 20px 0;
    }

    .modal__form {
        padding: 0 20px;
    }

    .modal__nav {
        padding: 20px;
    }

    .modal__project-types {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .project-type-card__content {
        padding: 18px 12px;
    }

    .project-type-card__content i {
        font-size: 1.3rem;
    }

    .project-type-card__content h3 {
        font-size: 0.8rem;
    }

    .modal__budget-options {
        grid-template-columns: 1fr;
    }

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

    .modal__priority {
        flex-direction: column;
    }

    .modal__success,
    .modal__error-state {
        padding: 40px 20px;
    }

    .fab-request {
        bottom: 80px;
        right: 16px;
        padding: 14px 16px;
    }

    .fab-request:hover {
        padding-right: 20px;
    }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__content {
        max-width: 100%;
    }

    .hero__description {
        max-width: 100%;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__stats {
        justify-content: center;
    }

    .hero__visual {
        max-width: 450px;
        margin: 0 auto;
    }

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

    .about__visual {
        max-width: 400px;
        margin: 0 auto;
    }

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

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

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

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

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

    .process-step,
    .process-step--right {
        flex-direction: column;
        text-align: center;
    }

    .process__line {
        left: 30px;
    }
}

@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 14, 23, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }

    .nav__menu--open {
        opacity: 1;
        visibility: visible;
    }

    .nav__link {
        font-size: 1.2rem;
    }

    .nav__cta {
        display: none;
    }

    .nav__toggle {
        display: flex;
    }

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

    .hero__stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .hero__float-card {
        display: none;
    }

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

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

    .process__line {
        left: 20px;
    }

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

    .footer__bottom .container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero__stat-number {
        font-size: 2rem;
    }

    .section__title {
        font-size: 1.8rem;
    }

    .cta__actions {
        flex-direction: column;
        align-items: center;
    }

    .process-step__content {
        padding: 20px;
    }
}