/* ========================================
   M AGENTS AI — Premium Design System
   Brand: Black & Green
   ======================================== */

/* ---- CSS Variables ---- */
:root {
    --black: #000000;
    --black-soft: #0a0a0a;
    --black-card: #0d0d0d;
    --black-elevated: #111111;
    --black-border: #1a1a1a;
    --gray-900: #141414;
    --gray-800: #1e1e1e;
    --gray-700: #2a2a2a;
    --gray-600: #3a3a3a;
    --gray-500: #555555;
    --gray-400: #777777;
    --gray-300: #999999;
    --gray-200: #bbbbbb;
    --gray-100: #e0e0e0;
    --white: #ffffff;
    --green-primary: #00ff88;
    --green-secondary: #00e67a;
    --green-dark: #00cc6a;
    --green-glow: rgba(0, 255, 136, 0.15);
    --green-glow-strong: rgba(0, 255, 136, 0.3);
    --green-subtle: rgba(0, 255, 136, 0.06);
    --gradient-main: linear-gradient(135deg, #00ff88 0%, #00cc6a 50%, #00e67a 100%);
    --gradient-text: linear-gradient(135deg, #00ff88 0%, #00ffaa 50%, #88ffcc 100%);
    --gradient-glow: radial-gradient(circle, rgba(0,255,136,0.15) 0%, transparent 70%);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.5);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.5);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.6);
    --shadow-glow: 0 0 30px rgba(0,255,136,0.15);
    --shadow-glow-strong: 0 0 60px rgba(0,255,136,0.25);
    --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);
    --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---- Reset ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    background: var(--black);
    color: var(--gray-200);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    display: block;
}

ul { list-style: none; }

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Preloader ---- */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-ring {
    position: absolute;
    inset: 0;
    border: 2px solid var(--gray-800);
    border-top-color: var(--green-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-text {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--green-primary);
    text-shadow: 0 0 20px rgba(0,255,136,0.5);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ---- Cursor Glow ---- */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,255,136,0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    will-change: left, top;
}

/* ---- Navbar ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-base);
    background: transparent;
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--black-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--gradient-main);
    color: var(--black);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 20px;
    box-shadow: var(--shadow-glow);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: -0.02em;
}

.logo-text .accent {
    color: var(--green-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-300);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link.active {
    background: var(--gray-800);
}

.nav-cta {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    background: var(--gradient-main);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-glow);
}

.nav-cta:hover {
    box-shadow: var(--shadow-glow-strong);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---- Gradient Text ---- */
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    padding: 14px 32px;
    color: var(--black);
    background: var(--gradient-main);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    box-shadow: var(--shadow-glow-strong);
    transform: translateY(-2px);
}

.btn-primary svg {
    transition: transform var(--transition-base);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-ghost {
    padding: 14px 32px;
    color: var(--white);
    border: 1px solid var(--gray-600);
    background: transparent;
}

.btn-ghost:hover {
    border-color: var(--green-primary);
    color: var(--green-primary);
    background: var(--green-subtle);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 16px;
}

/* ---- Section Shared ---- */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green-primary);
    background: var(--green-subtle);
    border: 1px solid rgba(0,255,136,0.15);
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 17px;
    color: var(--gray-400);
    line-height: 1.6;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,255,136,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,255,136,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    will-change: transform;
}

.hero-orb-1 {
    width: 600px;
    height: 600px;
    background: rgba(0,255,136,0.08);
    top: -200px;
    right: -100px;
    animation: float-orb-1 15s ease-in-out infinite;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(0,255,136,0.05);
    bottom: -100px;
    left: -100px;
    animation: float-orb-2 18s ease-in-out infinite;
}

.hero-orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(0,200,106,0.06);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float-orb-3 12s ease-in-out infinite;
}

@keyframes float-orb-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-50px, 30px) scale(1.1); }
    66% { transform: translate(30px, -20px) scale(0.95); }
}

@keyframes float-orb-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 40px) scale(0.9); }
}

@keyframes float-orb-3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.2); }
}

.particle-field {
    position: absolute;
    inset: 0;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--green-primary);
    border-radius: 50%;
    opacity: 0;
    animation: particle-float 6s ease-in-out infinite;
}

@keyframes particle-float {
    0% { opacity: 0; transform: translateY(0) scale(0); }
    20% { opacity: 0.6; }
    80% { opacity: 0.3; }
    100% { opacity: 0; transform: translateY(-200px) scale(1); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 860px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: var(--green-subtle);
    border: 1px solid rgba(0,255,136,0.15);
    border-radius: var(--radius-full);
    margin-bottom: 32px;
    font-size: 14px;
    font-weight: 500;
    color: var(--green-primary);
    animation: fadeInDown 0.8s ease both;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--green-primary);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(0,255,136,0.6);
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 7vw, 76px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--white);
    margin-bottom: 24px;
}

.hero-title .line {
    display: block;
    animation: fadeInUp 0.8s ease both;
}

.hero-title .line:nth-child(1) { animation-delay: 0.1s; }
.hero-title .line:nth-child(2) { animation-delay: 0.25s; }
.hero-title .line:nth-child(3) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--gray-400);
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.5s both;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
    animation: fadeInUp 0.8s ease 0.65s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--green-primary);
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--gray-500);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-700);
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeInUp 0.8s ease 1s both;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--green-primary), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
    0%, 100% { opacity: 1; height: 40px; }
    50% { opacity: 0.3; height: 30px; }
}

.scroll-indicator span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gray-500);
}

/* ---- Marquee Band ---- */
.marquee-band {
    padding: 20px 0;
    background: var(--gray-900);
    border-top: 1px solid var(--black-border);
    border-bottom: 1px solid var(--black-border);
    overflow: hidden;
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 32px;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.marquee-track span {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-500);
}

.marquee-dot {
    color: var(--green-primary) !important;
    font-size: 8px !important;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ========================================
   SERVICES SECTION
   ======================================== */

.services {
    padding: 120px 0;
    background: var(--black-soft);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    padding: 36px 32px;
    background: var(--black-card);
    border: 1px solid var(--black-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-main);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-card:hover {
    border-color: rgba(0,255,136,0.2);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card.featured {
    border-color: rgba(0,255,136,0.2);
    background: linear-gradient(180deg, rgba(0,255,136,0.04) 0%, var(--black-card) 100%);
}

.featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--black);
    background: var(--green-primary);
    border-radius: var(--radius-full);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--green-subtle);
    color: var(--green-primary);
    margin-bottom: 24px;
    transition: all var(--transition-base);
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-card:hover .service-icon {
    background: var(--green-glow);
    box-shadow: var(--shadow-glow);
}

.service-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 15px;
    color: var(--gray-400);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.service-tags span {
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-300);
    background: var(--gray-800);
    border-radius: var(--radius-full);
    border: 1px solid var(--gray-700);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--green-primary);
    transition: gap var(--transition-base);
}

.service-link:hover {
    gap: 10px;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about {
    padding: 120px 0;
    background: var(--black);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    aspect-ratio: 1;
}

.about-graphic {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-xl);
    background: var(--black-card);
    border: 1px solid var(--black-border);
    overflow: hidden;
    position: relative;
}

.neural-network {
    position: absolute;
    inset: 0;
}

.neural-network .connections {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.node {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--green-primary);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(0,255,136,0.5);
    animation: node-pulse 3s ease-in-out infinite;
}

.node-1 { top: 18%; left: 25%; animation-delay: 0s; }
.node-2 { top: 18%; right: 25%; animation-delay: 0.4s; }
.node-3 { top: 35%; left: 50%; transform: translateX(-50%); animation-delay: 0.8s; }
.node-4 { top: 48%; left: 15%; animation-delay: 1.2s; }
.node-5 { top: 48%; right: 15%; animation-delay: 0.2s; }
.node-6 { top: 60%; left: 37%; animation-delay: 0.6s; }
.node-7 { top: 60%; right: 37%; animation-delay: 1s; }
.node-8 { top: 82%; left: 50%; transform: translateX(-50%); animation-delay: 1.4s; }
.node-9 { top: 70%; left: 50%; transform: translateX(-50%); animation-delay: 0.3s; width: 16px; height: 16px; }

@keyframes node-pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

.node-9 {
    animation-name: node-pulse-main;
}

@keyframes node-pulse-main {
    0%, 100% { opacity: 0.8; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.4); }
}

.about-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(13,13,13,0.9);
    backdrop-filter: blur(12px);
    border: 1px solid var(--black-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.card-1 {
    top: 10%;
    right: -10%;
    animation: float-card 6s ease-in-out infinite;
}

.card-2 {
    bottom: 10%;
    left: -10%;
    animation: float-card 6s ease-in-out infinite 3s;
}

@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.float-icon {
    font-size: 20px;
}

.float-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
}

.about-content .section-tag {
    display: inline-block;
}

.about-content .section-title {
    text-align: left;
}

.about-text {
    font-size: 16px;
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 16px;
}

.about-features {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-check {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--green-subtle);
    color: var(--green-primary);
    border: 1px solid rgba(0,255,136,0.15);
}

.about-feature h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}

.about-feature p {
    font-size: 14px;
    color: var(--gray-400);
}

/* ========================================
   PROCESS SECTION
   ======================================== */

.process {
    padding: 120px 0;
    background: var(--black-soft);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 42px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--green-primary), var(--green-primary), transparent);
    opacity: 0.2;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--black-card);
    border: 2px solid var(--green-primary);
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--green-primary);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-glow);
    transition: all var(--transition-base);
}

.process-step:hover .step-number {
    background: var(--green-primary);
    color: var(--black);
    box-shadow: var(--shadow-glow-strong);
    transform: scale(1.1);
}

.step-content h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.step-content p {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.6;
}

/* ========================================
   PORTFOLIO SECTION
   ======================================== */

.portfolio {
    padding: 120px 0;
    background: var(--black);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: 24px;
}

.portfolio-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--black-card) 100%);
    border: 1px solid var(--black-border);
    transition: all var(--transition-base);
    cursor: pointer;
}

.portfolio-card.large {
    grid-row: span 2;
}

.portfolio-card.wide {
    grid-column: span 2;
}

.portfolio-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,255,136,0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.portfolio-card:hover {
    border-color: rgba(0,255,136,0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.portfolio-card:hover::before {
    opacity: 1;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
}

.portfolio-category {
    display: inline-block;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--green-primary);
    background: var(--green-subtle);
    border: 1px solid rgba(0,255,136,0.15);
    border-radius: var(--radius-full);
    margin-bottom: 12px;
    width: fit-content;
}

.portfolio-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.portfolio-desc {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.5;
    margin-bottom: 16px;
}

.portfolio-stats-row {
    display: flex;
    gap: 24px;
}

.portfolio-stat {
    font-size: 13px;
    color: var(--gray-300);
}

.portfolio-stat span {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--green-primary);
    margin-right: 4px;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */

.testimonials {
    padding: 120px 0;
    background: var(--black-soft);
}

.testimonials-slider {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    min-height: 280px;
}

.testimonial-card {
    position: absolute;
    inset: 0;
    padding: 40px;
    background: var(--black-card);
    border: 1px solid var(--black-border);
    border-radius: var(--radius-xl);
    opacity: 0;
    transform: translateX(40px);
    transition: all var(--transition-slow);
    pointer-events: none;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.testimonial-stars {
    color: var(--green-primary);
    font-size: 18px;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.testimonial-quote {
    font-size: 17px;
    color: var(--gray-200);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 28px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--black);
    font-size: 14px;
}

.author-name {
    display: block;
    font-weight: 600;
    color: var(--white);
    font-size: 15px;
}

.author-role {
    font-size: 13px;
    color: var(--gray-500);
}

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
}

.testimonial-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--gray-700);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: all var(--transition-base);
}

.testimonial-btn:hover {
    border-color: var(--green-primary);
    color: var(--green-primary);
    background: var(--green-subtle);
}

.testimonial-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-700);
    transition: all var(--transition-base);
    cursor: pointer;
}

.dot.active {
    background: var(--green-primary);
    width: 24px;
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(0,255,136,0.4);
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    background: var(--black);
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.cta-orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(0,255,136,0.08);
    top: -200px;
    left: -100px;
}

.cta-orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(0,255,136,0.06);
    bottom: -150px;
    right: -100px;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 17px;
    color: var(--gray-400);
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    justify-content: center;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact {
    padding: 120px 0;
    background: var(--black-soft);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info .section-title {
    text-align: left;
}

.contact-desc {
    font-size: 16px;
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 36px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 36px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--green-subtle);
    color: var(--green-primary);
    border: 1px solid rgba(0,255,136,0.10);
}

.contact-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-500);
    margin-bottom: 2px;
}

.contact-value {
    font-size: 15px;
    font-weight: 500;
    color: var(--white);
    transition: color var(--transition-fast);
}

a.contact-value:hover {
    color: var(--green-primary);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gray-800);
    color: var(--gray-400);
    border: 1px solid var(--gray-700);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--green-subtle);
    color: var(--green-primary);
    border-color: rgba(0,255,136,0.2);
    transform: translateY(-2px);
}

/* ---- Contact Form ---- */
.contact-form-wrapper {
    padding: 40px;
    background: var(--black-card);
    border: 1px solid var(--black-border);
    border-radius: var(--radius-xl);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-300);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    background: var(--gray-900);
    border: 1px solid var(--gray-700);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 15px;
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-600);
}

.form-group select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23777777' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--black-card);
    color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green-primary);
    box-shadow: 0 0 0 3px rgba(0,255,136,0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form .btn {
    justify-content: center;
    margin-top: 8px;
}

/* ---- Success Message ---- */
.form-success {
    grid-column: 1 / -1;
    padding: 16px 24px;
    background: var(--green-subtle);
    border: 1px solid rgba(0,255,136,0.2);
    border-radius: var(--radius-md);
    color: var(--green-primary);
    font-weight: 500;
    text-align: center;
    display: none;
}

.form-success.visible {
    display: block;
    animation: fadeInUp 0.4s ease;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    padding: 80px 0 32px;
    background: var(--black);
    border-top: 1px solid var(--black-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-desc {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-top: 16px;
    max-width: 300px;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    font-size: 14px;
    color: var(--gray-500);
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--green-primary);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid var(--black-border);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--gray-600);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 13px;
    color: var(--gray-600);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--green-primary);
}

/* ========================================
   SCROLL REVEAL ANIMATIONS
   ======================================== */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-content .section-title {
        text-align: center;
    }

    .about-content .section-tag {
        display: block;
        text-align: center;
    }

    .about-text {
        text-align: center;
    }

    .about-features {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .process-timeline::before {
        display: none;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 240px;
    }

    .portfolio-card.large {
        grid-row: span 1;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-info .section-title {
        text-align: center;
    }

    .contact-info .section-tag {
        display: block;
        text-align: center;
    }

    .contact-desc {
        text-align: center;
    }

    .contact-details {
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 16px;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        font-size: 20px;
        padding: 12px 24px;
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 16px 60px;
    }

    .hero-title {
        font-size: clamp(32px, 10vw, 52px);
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .process-timeline {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-card.wide {
        grid-column: span 1;
    }

    .testimonial-card {
        padding: 28px 24px;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .cursor-glow {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .services,
    .about,
    .process,
    .portfolio,
    .testimonials,
    .cta-section,
    .contact {
        padding: 80px 0;
    }
}
