/* ===========================
   CSS Variables & Reset
   =========================== */
:root {
    /* Colors */
    --bg-primary: #0D0D23;
    --bg-secondary: #0A0A1B;
    --blue-500: #3B82F6;
    --blue-600: #2563EB;
    --purple-500: #A855F7;
    --purple-600: #9333EA;
    --white: #FFFFFF;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #3B82F6 0%, #9333EA 100%);
    --gradient-secondary: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.4);
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-display: 'Plus Jakarta Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    color-scheme: dark;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* CSS-based page load transition (prevents FOUC) */
html.loading body {
    opacity: 0;
}

html.loaded body {
    opacity: 1;
    transition: opacity 0.4s ease;
}

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

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

.font-syne {
    font-family: var(--font-display);
}

/* ===========================
   Navigation
   =========================== */
#navbar {
    backdrop-filter: blur(0px);
    background: rgba(13, 13, 35, 0);
}

    #navbar.scrolled {
        backdrop-filter: blur(20px);
        background: rgba(13, 13, 35, 0.8);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-underline {
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover .nav-underline,
.nav-link.active .nav-underline {
    width: 100%;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

#mobile-menu-btn:hover .hamburger-line {
    background: var(--blue-500);
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(13, 13, 35, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

    .mobile-menu.active {
        max-height: 500px;
        opacity: 1;
    }

.mobile-link {
    display: block;
    padding: 12px 0;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

    .mobile-link:hover {
        color: var(--white);
        padding-left: 12px;
    }

/* ===========================
   Buttons
   =========================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background: var(--gradient-primary);
    color: var(--white);
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .btn-primary::before {
        content: '';
        position: absolute;
        inset: 0;
        background: var(--gradient-secondary);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

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

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

.btn-primary-lg {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: var(--gradient-primary);
    color: var(--white);
    font-weight: 600;
    font-size: 1.125rem;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px -10px rgba(59, 130, 246, 0.5);
}

    .btn-primary-lg::before {
        content: '';
        position: absolute;
        inset: 0;
        background: var(--gradient-secondary);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .btn-primary-lg:hover {
        transform: translateY(-2px);
        box-shadow: 0 20px 40px -10px rgba(59, 130, 246, 0.6);
    }

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

    .btn-primary-lg span,
    .btn-primary-lg svg {
        position: relative;
        z-index: 1;
    }

.arrow-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

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

.btn-secondary-lg {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-weight: 600;
    font-size: 1.125rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

    .btn-secondary-lg:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
    }

/* ===========================
   Hero Section
   =========================== */
.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%), radial-gradient(circle at 70% 60%, rgba(147, 51, 234, 0.15) 0%, transparent 50%);
}

.grid-overlay {
    position: absolute;
    inset: 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: 50px 50px;
    mask-image: linear-gradient(to bottom, black, transparent);
}

.noise-overlay {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #3B82F6, transparent);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #9333EA, transparent);
    bottom: 20%;
    right: 15%;
    animation-delay: 7s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, #6366F1, transparent);
    top: 60%;
    left: 50%;
    animation-delay: 14s;
}

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

    25% {
        transform: translate(30px, -30px) scale(1.1);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    75% {
        transform: translate(20px, 30px) scale(1.05);
    }
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #93C5FD;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: #3B82F6;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }

    50% {
        opacity: 0.7;
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

    .gradient-text::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -4px;
        width: 100%;
        height: 4px;
        background: var(--gradient-primary);
        opacity: 0.3;
        border-radius: 2px;
    }

/* Stats */
.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-display);
}

    /* Default suffix is '+' via CSS; JS overrides with data-suffix */
    .stat-number::after {
        content: '+';
        margin-left: 2px;
        color: var(--blue-500);
    }

    /* Satisfaction stat uses '%' suffix */
    .stat-number.stat-percent::after {
        content: '%';
    }

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-400);
    margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 32px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

    .hero-card::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 24px;
        padding: 1px;
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(147, 51, 234, 0.3));
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
    }

.code-window {
    background: rgba(10, 10, 27, 0.8);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

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

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

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

.code-title {
    font-size: 0.875rem;
    color: var(--gray-400);
}

.code-content {
    padding: 24px;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.8;
}

.code-line {
    margin-bottom: 8px;
    animation: typeLine 0.5s ease-out both;
}

    .code-line:nth-child(1) {
        animation-delay: 0.5s;
    }

    .code-line:nth-child(2) {
        animation-delay: 0.7s;
    }

    .code-line:nth-child(3) {
        animation-delay: 0.9s;
    }

    .code-line:nth-child(4) {
        animation-delay: 1.1s;
    }

    .code-line:nth-child(5) {
        animation-delay: 1.3s;
    }

    .code-line:nth-child(6) {
        animation-delay: 1.5s;
    }

@keyframes typeLine {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.code-keyword {
    color: #C792EA;
}

.code-variable {
    color: #82AAFF;
}

.code-function {
    color: #89DDFF;
}

.code-property {
    color: #F07178;
}

.code-string {
    color: #C3E88D;
}

.code-boolean {
    color: #F78C6C;
}

/* Scroll Indicator */
.scroll-indicator {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    position: relative;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-line {
    width: 4px;
    height: 10px;
    background: var(--white);
    border-radius: 2px;
    position: absolute;
    left: 50%;
    top: 8px;
    transform: translateX(-50%);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes scrollDown {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(0);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

/* ===========================
   Sections
   =========================== */
.section-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* ===========================
   Features Section
   =========================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 32px;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

    .feature-card.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .feature-card::before {
        content: '';
        position: absolute;
        inset: 0;
        background: var(--gradient-primary);
        opacity: 0;
        transition: opacity 0.4s ease;
    }

    .feature-card:hover::before {
        opacity: 0.05;
    }

    .feature-card:hover {
        transform: translateY(-8px);
        border-color: rgba(59, 130, 246, 0.3);
        box-shadow: 0 20px 60px rgba(59, 130, 246, 0.1);
    }

.feature-large {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .feature-large {
        grid-column: span 1;
    }
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

    .feature-icon svg {
        width: 28px;
        height: 28px;
        color: #60A5FA;
    }

.feature-card:hover .feature-icon {
    animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.feature-description {
    color: var(--gray-300);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.feature-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

    .feature-tech span {
        padding: 6px 12px;
        background: rgba(59, 130, 246, 0.1);
        border: 1px solid rgba(59, 130, 246, 0.2);
        border-radius: 6px;
        font-size: 0.75rem;
        font-weight: 500;
        color: #93C5FD;
    }

/* ===========================
   Process Section
   =========================== */
/* ===== PROCESS TIMELINE ===== */
.process-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: linear-gradient(to bottom,
        rgba(59, 130, 246, 0.3),
        rgba(147, 51, 234, 0.3));
    z-index: 0;
}

/* ===== STEP ===== */
.process-step {
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    gap: 32px;
    margin-bottom: 80px;
    align-items: center;  /* This must be center */
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}


.process-step.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== LEFT STEP ===== */
.process-left {
    grid-template-areas: "content dot empty";
    grid-template-columns: 1fr 80px 1fr;
}

.process-left .process-content {
    grid-area: content;
    text-align: right;
}

.process-left .process-dot {
    grid-area: dot;
    align-self: center;
}

.process-left .process-connector {
    grid-area: empty;
    visibility: hidden;
}

.process-left .process-tags {
    justify-content: flex-end;
}

/* ===== RIGHT STEP ===== */
.process-right {
    grid-template-areas: "empty dot content";
    grid-template-columns: 1fr 80px 1fr;
}

.process-right .process-content {
    grid-area: content;
    text-align: left;
}

.process-right .process-dot {
    grid-area: dot;
    align-self: center;
}

.process-right .process-connector {
    grid-area: empty;
    visibility: hidden;
}

/* ===== DOT ===== */
.process-dot {
    width: 20px;
    height: 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    position: relative;
    z-index: 1;
    align-self: center;   /* ← key fix */
    justify-self: center; /* ← key fix */
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    animation: dotPulse 2s ease-in-out infinite;
}

/* ===== CONTENT CARD ===== */
.process-content {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 32px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.process-content:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(59, 130, 246, 0.3);
    transform: scale(1.02);
}

/* ===== NUMBER ===== */
.process-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-display);
    margin-bottom: 16px;
    opacity: 0.3;
}

/* ===== TITLE ===== */
.process-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

/* ===== DESCRIPTION ===== */
.process-description {
    color: var(--gray-300);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.process-tags span {
    padding: 6px 12px;
    background: rgba(147, 51, 234, 0.1);
    border: 1px solid rgba(147, 51, 234, 0.2);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #C4B5FD;
}

/* ===== DOT ===== */
.process-dot {
    width: 20px;
    height: 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    animation: dotPulse 2s ease-in-out infinite;
    margin: 0 auto;
}

@keyframes dotPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(59, 130, 246, 0);
    }
}

/* ===== CONNECTOR (spacing only) ===== */
.process-connector {
    height: 100%;
    position: relative;
}

.process-connector::before {
    display: none;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .process-timeline::before {
        left: 10px;
        transform: none;
    }

    .process-left,
    .process-right {
        grid-template-areas: "dot content" !important;
        grid-template-columns: 23px 1fr !important;
        gap: 16px;
    }

    .process-left .process-content,
    .process-right .process-content {
        grid-area: content;
        text-align: left;
    }

    .process-left .process-dot,
    .process-right .process-dot {
        grid-area: dot;
        align-self: center;
        justify-self: center;
    }

    .process-left .process-connector,
    .process-right .process-connector {
        display: none;
    }

    .process-left .process-tags,
    .process-right .process-tags {
        justify-content: flex-start;
    }
}
/* ===========================
   Technology Stack
   =========================== */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 32px 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

    .tech-item.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .tech-item:hover {
        transform: translateY(-8px);
        border-color: rgba(59, 130, 246, 0.3);
        background: rgba(59, 130, 246, 0.05);
    }

.tech-logo {
    width: 48px;
    height: 48px;
    color: #60A5FA;
    transition: all 0.4s ease;
}

    .tech-logo svg {
        width: 100%;
        height: 100%;
    }

.tech-item:hover .tech-logo {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.5));
}

.tech-name {
    font-weight: 600;
    color: var(--gray-300);
    transition: color 0.3s ease;
}

.tech-item:hover .tech-name {
    color: var(--white);
}

/* Tooltip */
.tech-item::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    padding: 8px 12px;
    background: rgba(10, 10, 27, 0.95);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    font-size: 0.75rem;
    color: var(--white);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.tech-item:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}
@media (max-width: 768px) {
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .tech-item {
        padding: 20px 12px;
        gap: 10px;
    }

    .tech-logo {
        width: 36px;
        height: 36px;
    }

    .tech-name {
        font-size: 0.75rem;
        text-align: center;
    }

    /* Disable tooltip on mobile */
    .tech-item::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .tech-item {
        padding: 16px 8px;
        gap: 8px;
        border-radius: 12px;
    }

    .tech-logo {
        width: 30px;
        height: 30px;
    }

    .tech-name {
        font-size: 0.7rem;
    }
}

/* ===========================
   Testimonials
   =========================== */
.testimonial-slider {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.testimonial-track {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center; /* ← centers the cards */
}

.testimonial-card {
    min-width: 400px;
    max-width: 420px;
    flex: 1 1 400px; /* ← grow/shrink evenly */
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 32px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

    .testimonial-card:hover {
        background: rgba(255, 255, 255, 0.04);
        border-color: rgba(59, 130, 246, 0.3);
        transform: translateY(-8px);
    }

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.star {
    width: 18px;
    height: 18px;
    color: #FBBF24;
}

.testimonial-text {
    color: var(--gray-300);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

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

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.author-name {
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}

.author-title {
    font-size: 0.875rem;
    color: var(--gray-400);
}

@media (max-width: 768px) {
    .testimonial-track {
        flex-direction: column;
        align-items: center;
    }

    .testimonial-card {
        min-width: unset;
        max-width: 100%;
        width: 100%;
    }
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.author-company {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #60A5FA;
    text-decoration: none;
    transition: color 0.3s ease;
}

.author-company:hover {
    color: #93C5FD;
    text-decoration: underline;
}

.company-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #60A5FA;
}
/* ===========================
   CTA Section
   =========================== */
.cta-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

/* ===========================
   Footer
   =========================== */
.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--white);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .footer-links a {
        color: var(--gray-400);
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
    }

        .footer-links a:hover {
            color: var(--white);
            padding-left: 8px;
        }

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .social-icon svg {
        width: 20px;
        height: 20px;
        color: var(--gray-400);
        transition: color 0.3s ease;
    }

    .social-icon:hover {
        background: var(--gradient-primary);
        border-color: transparent;
        transform: translateY(-4px);
    }

        .social-icon:hover svg {
            color: var(--white);
        }

/* ===========================
   Floating Elements
   =========================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: box-shadow 0.3s ease;
    animation: floatUpDown 3s ease-in-out infinite;
}

    .whatsapp-float svg {
        width: 32px;
        height: 32px;
        color: var(--white);
    }

    .whatsapp-float:hover {
        /* Use scale() separately so it doesn't conflict with animation transform */
        scale: 1.1;
        box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
    }

@keyframes floatUpDown {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.scroll-top {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 50px;
    height: 50px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

    .scroll-top.visible {
        opacity: 1;
        visibility: visible;
    }

    .scroll-top svg {
        width: 24px;
        height: 24px;
        color: var(--blue-500);
    }

    .scroll-top:hover {
        background: var(--gradient-primary);
        border-color: transparent;
        transform: translateY(-4px);
    }

        .scroll-top:hover svg {
            color: var(--white);
        }

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

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

    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 56px;
        height: 56px;
    }

    .scroll-top {
        bottom: 88px;
        right: 16px;
    }
}

/* ===========================
   Loading Animations
   =========================== */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

    [data-animate].visible {
        opacity: 1;
        transform: translateY(0);
    }

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

    .floating-orb,
    .scroll-indicator,
    .scroll-line,
    .badge-dot,
    .process-dot,
    .whatsapp-float,
    .testimonial-track {
        animation: none !important;
    }

    [data-animate] {
        opacity: 1;
        transform: none;
    }
}

/* ===========================
   About Page Styles
   =========================== */
.about-stat-card {
    text-align: center;
    padding: 32px 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

    .about-stat-card:hover {
        background: rgba(59, 130, 246, 0.05);
        border-color: rgba(59, 130, 246, 0.3);
        transform: translateY(-4px);
    }

.about-stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    font-family: var(--font-display);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

    .about-stat-number::after {
        content: '+';
        margin-left: 2px;
    }

.about-stat-label {
    font-size: 1rem;
    color: var(--gray-400);
    margin-top: 8px;
    font-weight: 500;
}

/* Story Visual */
.story-visual {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-card {
    position: absolute;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.story-card-1 {
    top: 10%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.story-card-2 {
    top: 40%;
    right: 5%;
    animation: float 6s ease-in-out infinite 2s;
}

.story-card-3 {
    bottom: 15%;
    left: 20%;
    animation: float 6s ease-in-out infinite 4s;
}

.story-card:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    transform: scale(1.05);
}

.story-icon {
    width: 48px;
    height: 48px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

    .story-icon svg {
        width: 24px;
        height: 24px;
        color: #60A5FA;
    }

.story-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
}

/* Mission & Vision Cards */
.mission-vision-card {
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

    .mission-vision-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--gradient-primary);
    }

    .mission-vision-card:hover {
        background: rgba(255, 255, 255, 0.04);
        border-color: rgba(59, 130, 246, 0.3);
        transform: translateY(-8px);
    }

.mv-icon {
    width: 64px;
    height: 64px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

    .mv-icon svg {
        width: 32px;
        height: 32px;
        color: #60A5FA;
    }

.mv-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 16px;
    font-family: var(--font-display);
}

.mv-description {
    color: var(--gray-300);
    line-height: 1.8;
    margin-bottom: 24px;
}

.mv-highlight {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

    .mv-highlight span {
        padding: 8px 16px;
        background: rgba(147, 51, 234, 0.1);
        border: 1px solid rgba(147, 51, 234, 0.2);
        border-radius: 8px;
        font-size: 0.875rem;
        font-weight: 500;
        color: #C4B5FD;
    }

/* Why Choose Us Cards */
.why-card {
    padding: 32px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
}

    .why-card:hover {
        background: rgba(255, 255, 255, 0.04);
        border-color: rgba(59, 130, 246, 0.3);
        transform: translateY(-8px);
    }

.why-number {
    font-size: 4rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-display);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: 16px;
}

.why-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.why-description {
    color: var(--gray-300);
    line-height: 1.7;
}

/* Team Cards */
.team-card {
    text-align: center;
    padding: 32px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

    .team-card:hover {
        background: rgba(255, 255, 255, 0.04);
        border-color: rgba(59, 130, 246, 0.3);
        transform: translateY(-8px);
    }

.team-avatar {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 auto 20px;
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.3);
}

.team-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.team-role {
    color: var(--blue-500);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.team-bio {
    color: var(--gray-300);
    line-height: 1.7;
    font-size: 0.9375rem;
}
