/* ═══════════════════════════════════════════════
   GROWTHLINE INFOTECH — LANDING PAGE v2
   Ultra-Premium SaaS Design System
   ═══════════════════════════════════════════════ */

:root {
    --bg-deep: #06060e;
    --bg-surface: #0c0c18;
    --bg-card: rgba(15, 15, 30, 0.6);
    --bg-card-hover: rgba(20, 20, 45, 0.8);
    --text-primary: #f0f0f5;
    --text-secondary: rgba(220, 220, 240, 0.6);
    --text-muted: rgba(180, 180, 210, 0.4);
    --accent-1: #6366f1;
    --accent-2: #06b6d4;
    --accent-3: #10b981;
    --accent-glow: rgba(99, 102, 241, 0.15);
    --gradient-main: linear-gradient(135deg, #6366f1, #06b6d4);
    --gradient-alt: linear-gradient(135deg, #06b6d4, #10b981);
    --gradient-full: linear-gradient(135deg, #6366f1, #06b6d4, #10b981);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(99, 102, 241, 0.2);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    --shadow-card: 0 4px 30px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
}

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

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

body {
    font-family: var(--font-body);
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

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

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

/* ═══ SCROLL PROGRESS BAR ═══ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--gradient-main);
    z-index: 9999;
    transition: width 0.05s linear;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

/* ═══ GRID OVERLAY ═══ */
.grid-overlay {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: 0;
}

/* ═══ FLOATING ORBS ═══ */
.bg-orbs {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
    will-change: transform;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-1), transparent 70%);
    top: -10%;
    left: -10%;
    animation: orbFloat1 20s ease-in-out infinite;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-2), transparent 70%);
    top: 40%;
    right: -15%;
    animation: orbFloat2 25s ease-in-out infinite;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-3), transparent 70%);
    bottom: -5%;
    left: 30%;
    animation: orbFloat3 22s ease-in-out infinite;
}

@keyframes orbFloat1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(80px, 60px) scale(1.1);
    }

    66% {
        transform: translate(-40px, 100px) scale(0.95);
    }
}

@keyframes orbFloat2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-60px, -80px) scale(1.05);
    }

    66% {
        transform: translate(40px, 60px) scale(0.9);
    }
}

@keyframes orbFloat3 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(60px, -40px) scale(1.15);
    }

    66% {
        transform: translate(-80px, -20px) scale(0.95);
    }
}

/* ═══ CURSOR GLOW ═══ */
.cursor-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.06), transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    will-change: left, top;
}

/* ═══ NAVIGATION ═══ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav.scrolled {
    padding: 12px 0;
    background: rgba(6, 6, 14, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.logo-icon {
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    border-radius: 1px;
    transition: width 0.3s ease;
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-link-cta {
    background: var(--gradient-main);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-link-cta::after {
    display: none;
}

.nav-link-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.3);
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 10;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(6, 6, 14, 0.98);
    backdrop-filter: blur(30px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-link {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: var(--text-primary);
}

.mobile-link-cta {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }
}

/* ═══ HERO ═══ */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 32px 80px;
    position: relative;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-2);
    margin-bottom: 28px;
}

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

@keyframes dotPulse {

    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(2.8rem, 5.5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

/* Split text animation */
.split-text .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px) rotateX(-40deg);
    transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.split-text.revealed .char {
    opacity: 1;
    transform: translateY(0) rotateX(0);
}

.hero-morph-wrapper {
    display: inline-block;
    position: relative;
}

.hero-morph {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero-morph::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-main);
    border-radius: 2px;
    opacity: 0.5;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 520px;
    margin-bottom: 40px;
}

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

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--gradient-main);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 100px;
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-ghost:hover {
    border-color: var(--accent-1);
    background: rgba(99, 102, 241, 0.05);
    transform: translateY(-2px);
}

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

/* Hero Code Window */
.hero-visual {
    position: relative;
    perspective: 1200px;
}

.hero-code-window {
    background: rgba(12, 12, 24, 0.8);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    transform: rotateY(-8deg) rotateX(4deg);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.hero-code-window:hover {
    transform: rotateY(-2deg) rotateX(1deg);
}

.code-dots {
    display: flex;
    gap: 8px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-subtle);
}

.code-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-dots span:nth-child(1) {
    background: #ff5f57;
}

.code-dots span:nth-child(2) {
    background: #ffbd2e;
}

.code-dots span:nth-child(3) {
    background: #28c840;
}

.code-body {
    padding: 24px;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.85rem;
    line-height: 1.8;
    color: var(--text-secondary);
    overflow: hidden;
}

.code-body pre {
    margin: 0;
}

.code-kw {
    color: #c792ea;
}

.code-var {
    color: #82aaff;
}

.code-prop {
    color: #f78c6c;
}

.code-str {
    color: #c3e88d;
}

.code-fn {
    color: #82aaff;
}

.code-cmt {
    color: rgba(255, 255, 255, 0.25);
}

.code-body code span {
    opacity: 0;
    animation: codeReveal 0.02s ease forwards;
}

@keyframes codeReveal {
    to {
        opacity: 1;
    }
}

.hero-scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

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

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 1;
        transform: scaleY(1);
    }

    50% {
        opacity: 0.4;
        transform: scaleY(0.6);
    }
}

/* ═══ TECH MARQUEE ═══ */
.tech-marquee {
    padding: 50px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    width: max-content;
    margin-bottom: 16px;
}

.marquee-track:last-child {
    margin-bottom: 0;
}

.marquee-content {
    display: flex;
    gap: 40px;
    padding-right: 40px;
    animation: marqueeScroll 30s linear infinite;
}

.marquee-reverse .marquee-content {
    animation: marqueeScrollReverse 35s linear infinite;
}

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

    100% {
        transform: translateX(-50%);
    }
}

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

    100% {
        transform: translateX(0);
    }
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.12);
    white-space: nowrap;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.marquee-item:hover {
    color: rgba(255, 255, 255, 0.4);
}

.marquee-item i {
    font-size: 1.1rem;
}

/* ═══ SECTION SHARED ═══ */
.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-2);
    margin-bottom: 16px;
    padding: 6px 16px;
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.15);
    border-radius: 100px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

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

/* ═══ SERVICES ═══ */
.services {
    padding: 140px 0;
    position: relative;
    z-index: 1;
}

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

.service-card {
    position: relative;
    padding: 40px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    transform-style: preserve-3d;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, transparent 50%, rgba(6, 182, 212, 0.04) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: inherit;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-main);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-card), 0 0 80px rgba(99, 102, 241, 0.06);
}

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

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.12);
    margin-bottom: 24px;
    font-size: 1.3rem;
    color: var(--accent-1);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: var(--gradient-main);
    border-color: transparent;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.25);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.service-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-arrow {
    background: var(--gradient-main);
    border-color: transparent;
    color: #fff;
    transform: translateX(4px);
}

/* ═══ BIG TEXT REVEAL ═══ */
.big-reveal {
    padding: 160px 0;
    position: relative;
    z-index: 1;
}

.big-reveal-text {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: -1px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.big-reveal-text .word {
    display: inline-block;
    margin-right: 0.3em;
    color: var(--text-muted);
    transition: color 0.4s ease, opacity 0.4s ease;
}

.big-reveal-text .word.active {
    color: var(--text-primary);
}

/* ═══ WHY CHOOSE US ═══ */
.why-us {
    padding: 140px 0;
    position: relative;
    z-index: 1;
}

.why-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.why-card {
    display: flex;
    gap: 28px;
    padding: 36px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-main);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.why-card:hover {
    border-color: var(--border-glow);
    transform: translateX(8px);
    box-shadow: var(--shadow-glow);
}

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

.why-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.4;
    line-height: 1;
    min-width: 60px;
}

.why-content {
    flex: 1;
}

.why-content h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

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

.why-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 4px;
    overflow: hidden;
}

.why-bar-fill {
    height: 100%;
    width: 0;
    background: var(--gradient-main);
    border-radius: 4px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-bar-fill.animated {
    /* width set by JS */
}

/* ═══ METRICS ═══ */
.metrics {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

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

.metric {
    padding: 40px 20px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    transition: all 0.4s ease;
}

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

.metric-number {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -2px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

.metric-suffix {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    background: var(--gradient-alt);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 8px;
    font-weight: 500;
}

/* ═══ FEATURED WORK ═══ */
.work {
    padding: 140px 0;
    position: relative;
    z-index: 1;
}

.work-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 24px;
}

.work-card-lg {
    grid-column: 1 / -1;
}

.work-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.work-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 80px rgba(99, 102, 241, 0.06);
}

.work-card-inner {
    position: relative;
    padding: 48px;
    min-height: 280px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.work-card-lg .work-card-inner {
    min-height: 360px;
}

.work-card-bg {
    position: absolute;
    inset: 0;
    opacity: 0.6;
    transition: opacity 0.5s ease;
}

.work-card:hover .work-card-bg {
    opacity: 0.8;
}

.work-card-content {
    position: relative;
    z-index: 2;
    max-width: 500px;
}

.work-tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-2);
    margin-bottom: 16px;
}

.work-card h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.work-card-lg h3 {
    font-size: 2rem;
}

.work-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.work-tech {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.work-tech span {
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Work Mockup Visual */
.work-card-visual {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.work-mockup {
    width: 280px;
    height: 180px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mockup-bar {
    height: 6px;
    width: 60%;
    background: var(--gradient-main);
    border-radius: 3px;
    opacity: 0.5;
}

.mockup-chart {
    flex: 1;
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.chart-bar {
    flex: 1;
    background: var(--gradient-main);
    border-radius: 4px 4px 0 0;
    opacity: 0.4;
    transition: opacity 0.3s ease, height 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-card:hover .chart-bar {
    opacity: 0.7;
}

/* ═══ ABOUT ═══ */
.about {
    padding: 140px 0;
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.about-content .section-tag {
    display: inline-block;
    margin-bottom: 20px;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 28px;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

.highlight i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-1);
    font-size: 0.85rem;
}

.about-visual {
    position: relative;
    height: 400px;
    perspective: 1000px;
}

.about-card-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.about-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(20px);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-float-card i {
    font-size: 1.2rem;
    color: var(--accent-1);
}

.afc-1 {
    top: 40px;
    left: 20px;
    animation: floatCard1 6s ease-in-out infinite;
}

.afc-2 {
    top: 160px;
    right: 10px;
    animation: floatCard2 7s ease-in-out infinite;
}

.afc-3 {
    bottom: 40px;
    left: 60px;
    animation: floatCard3 5s ease-in-out infinite;
}

@keyframes floatCard1 {

    0%,
    100% {
        transform: translateY(0) rotate(-2deg);
    }

    50% {
        transform: translateY(-15px) rotate(1deg);
    }
}

@keyframes floatCard2 {

    0%,
    100% {
        transform: translateY(0) rotate(2deg);
    }

    50% {
        transform: translateY(-20px) rotate(-1deg);
    }
}

@keyframes floatCard3 {

    0%,
    100% {
        transform: translateY(0) rotate(1deg);
    }

    50% {
        transform: translateY(-12px) rotate(-2deg);
    }
}

.about-float-card:hover {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-card), 0 0 60px rgba(99, 102, 241, 0.1);
    transform: scale(1.05) !important;
}

/* ═══ PROCESS ═══ */
.process {
    padding: 140px 0;
    position: relative;
    z-index: 1;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 20px;
    position: relative;
}

/* Connecting line */
.process-line-wrapper {
    position: absolute;
    top: 24px;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 3px;
    z-index: 0;
    grid-column: 1 / -1;
}

.process-line-fill {
    height: 100%;
    width: 0%;
    background: var(--gradient-main);
    border-radius: 3px;
    transition: width 0.1s linear;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

.process-step {
    position: relative;
    padding: 60px 28px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all 0.5s ease;
    overflow: hidden;
    z-index: 1;
}

.step-dot {
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg-deep);
    border: 3px solid rgba(99, 102, 241, 0.3);
    transition: all 0.4s ease;
    z-index: 2;
}

.process-step:hover .step-dot {
    background: var(--accent-1);
    border-color: var(--accent-1);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step:hover::before {
    transform: scaleX(1);
}

.process-step:hover {
    border-color: var(--border-glow);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}

.step-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 20px;
    transition: opacity 0.3s ease;
}

.process-step:hover .step-number {
    opacity: 0.6;
}

.step-content h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ═══ TESTIMONIALS ═══ */
.testimonials {
    padding: 140px 0;
    position: relative;
    z-index: 1;
}

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

.testimonial-card {
    padding: 40px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 24px;
    font-family: var(--font-display);
    font-size: 6rem;
    line-height: 1;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.08;
}

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

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    color: #fbbf24;
    font-size: 0.85rem;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

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

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

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

/* ═══ CONTACT ═══ */
.contact {
    padding: 140px 0 100px;
    position: relative;
    z-index: 1;
}

.contact-inner {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.contact-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.contact-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

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

/* ═══ FOOTER ═══ */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-subtle);
    position: relative;
    z-index: 1;
}

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

.footer-brand .nav-logo {
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-width: 280px;
    line-height: 1.6;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.footer-col a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 14px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-col a:hover {
    color: var(--text-primary);
    transform: translateX(4px);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ═══ REVEAL ANIMATIONS ═══ */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-top: 140px;
    }

    .hero-visual {
        max-width: 540px;
    }

    .hero-code-window {
        transform: none;
    }

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

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

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

    .process-line-wrapper {
        display: none;
    }

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

    .about-visual {
        height: 300px;
    }

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

    .work-card-lg {
        grid-column: 1;
    }

    .work-mockup {
        display: none;
    }

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

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

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

    .hero {
        padding-top: 120px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero-title {
        font-size: clamp(2.2rem, 8vw, 3rem);
        letter-spacing: -1px;
    }

    .hero-scroll-hint {
        display: none;
    }

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

    .metrics-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .metric {
        padding: 24px 16px;
    }

    .process-timeline {
        grid-template-columns: 1fr;
    }

    .why-card {
        flex-direction: column;
        gap: 16px;
    }

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

    .hero-actions,
    .contact-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-actions {
        align-items: center;
    }

    .about-visual {
        height: 260px;
    }

    .big-reveal-text {
        font-size: 1.4rem;
    }
}

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

    .section-title {
        font-size: 1.6rem;
    }
}