/* =====================================================
   TAG & SCRIPTS - PREMIUM DARK MODE LANDING PAGE
   ===================================================== */

/* =====================================================
   CSS VARIABLES - COLOR SYSTEM
   ===================================================== */
:root {
    /* Backgrounds */
    --bg-primary: #000000;
    --bg-secondary: #09090B;
    --bg-tertiary: #18181B;

    /* Electric Blue Scale */
    --primary-400: #60A5FA;
    --primary-500: #3B82F6;
    --primary-600: #2563EB;
    --primary-700: #1D4ED8;

    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #E4E4E7;
    --text-tertiary: #A1A1AA;
    --text-quaternary: #71717A;

    /* Accent Colors */
    --success: #22C55E;
    --info: #3B82F6;
    --warning: #F59E0B;

    /* Typography */
    --font-display: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-width: 1280px;
    --section-padding: 120px;
    --section-padding-mobile: 60px;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

section {
    overflow: hidden;
    position: relative;
    width: 100%;
}

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

/* =====================================================
   PARTICLE BACKGROUND
   ===================================================== */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-500);
    border-radius: 50%;
    opacity: 0.4;
    animation: float-particle 20s infinite ease-in-out;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

@keyframes float-particle {

    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.4;
    }

    25% {
        transform: translate(100px, -100px);
        opacity: 0.8;
    }

    50% {
        transform: translate(-50px, -200px);
        opacity: 0.6;
    }

    75% {
        transform: translate(-100px, -100px);
        opacity: 0.8;
    }
}

/* =====================================================
   NAVBAR
   ===================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    padding: 16px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-text {
    background: linear-gradient(135deg, var(--primary-400) 0%, var(--primary-500) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

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

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

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

.btn-nav {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-500) 50%, var(--primary-400) 100%);
    background-size: 200% 200%;
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.5);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.8), 0 8px 24px rgba(59, 130, 246, 0.4);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-label {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-400);
    margin-bottom: 24px;
    animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 76px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 24px;
    animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    opacity: 0;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-400) 0%, var(--primary-500) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(59, 130, 246, 0.3);
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-tertiary);
    margin-bottom: 40px;
    animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
    opacity: 0;
}

.hero-cta {
    display: flex;
    gap: 16px;
    animation: scale-in 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.6s forwards;
    opacity: 0;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-500) 30%, var(--primary-400) 60%, var(--primary-500) 100%);
    background-size: 200% 200%;
    animation: gradient-shift 4s ease infinite;
    color: var(--text-primary);
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 12px;
    border: none;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    box-shadow:
        0 0 0 1px rgba(59, 130, 246, 0.5),
        0 4px 24px rgba(59, 130, 246, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    filter: brightness(1.1);
    box-shadow:
        0 0 0 2px rgba(59, 130, 246, 0.8),
        0 8px 40px rgba(59, 130, 246, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 12px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--primary-500);
    transform: translateY(-2px);
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* =====================================================
   HERO 3D SPHERE
   ===================================================== */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fade-in-rotate 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.sphere {
    width: 400px;
    height: 400px;
    position: relative;
    transform-style: preserve-3d;
    animation: float 6s ease-in-out infinite;
}

.sphere-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.2) 100%);
    border-radius: 50%;
    border: 2px solid rgba(59, 130, 246, 0.3);
    box-shadow:
        0 0 60px rgba(59, 130, 246, 0.4),
        0 0 120px rgba(59, 130, 246, 0.3),
        inset 0 0 60px rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.sphere-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateX(75deg);
    width: 120%;
    height: 120%;
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 50%;
    animation: rotate-ring 10s linear infinite;
}

.sphere-ring-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateY(75deg);
    width: 110%;
    height: 110%;
    border: 2px solid rgba(59, 130, 246, 0.15);
    border-radius: 50%;
    animation: rotate-ring 15s linear infinite reverse;
}

@keyframes float {

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

    25% {
        transform: translateY(-20px) rotate(2deg);
    }

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

    75% {
        transform: translateY(-30px) rotate(1deg);
    }
}

@keyframes rotate-ring {
    from {
        transform: translate(-50%, -50%) rotateX(75deg) rotateZ(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotateX(75deg) rotateZ(360deg);
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes scale-in {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fade-in-rotate {
    from {
        opacity: 0;
        transform: rotate(-10deg) scale(0.9);
    }

    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

/* =====================================================
   SOCIAL PROOF
   ===================================================== */
.social-proof {
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

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

.stat-item {
    padding: 32px;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.2);
    transform: translateY(-4px);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-400);
    margin-bottom: 8px;
}

.stat-number::after {
    content: '+';
}

.stat-label {
    font-size: 14px;
    color: var(--text-tertiary);
    font-weight: 500;
}

/* =====================================================
   SECTION HEADERS
   ===================================================== */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-tertiary);
}

/* =====================================================
   SERVICES SECTION
   ===================================================== */
.services {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 1;
}

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

/* =====================================================
   FLIP CARDS
   ===================================================== */
.service-card-flip {
    perspective: 1000px;
    height: 320px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.service-card-flip:hover .service-card-inner,
.service-card-flip.flipped .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 24px;
}

.service-card-front {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(59, 130, 246, 0.04) 100%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 40px;
    transition: all 0.3s ease;
}

.service-card-front:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.2);
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-400);
    transition: all 0.3s ease;
}

.service-card-front:hover .service-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.6));
}

.service-title-front {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
}

.service-card-back {
    transform: rotateY(180deg);
}

.glass-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(59, 130, 246, 0.04) 50%, rgba(59, 130, 246, 0.08) 100%);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 24px;
    padding: 32px;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.3),
        0 2px 4px -2px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.service-title-back {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.service-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-tertiary);
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.feature-tag {
    padding: 6px 12px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--primary-400);
}

/* =====================================================
   PROCESS SECTION
   ===================================================== */
.process {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 1;
}

.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

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

.step-number {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-400);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.2) 100%);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

.step-content {
    flex: 1;
}

.step-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.step-description {
    font-size: 16px;
    color: var(--text-tertiary);
    line-height: 1.6;
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonials {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 1;
}

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

.testimonial-card {
    position: relative;
}

.quote-icon {
    font-size: 64px;
    line-height: 1;
    color: var(--primary-500);
    opacity: 0.3;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

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

.author-position {
    font-size: 14px;
    color: var(--text-tertiary);
}

.rating {
    color: var(--primary-400);
    font-size: 14px;
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */
.about {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 1;
}

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

.about-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

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

.about-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-tertiary);
}

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

.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.value-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    color: var(--primary-400);
    font-weight: 700;
}

.value-text {
    font-weight: 600;
    color: var(--text-primary);
}

/* =====================================================
   FINAL CTA
   ===================================================== */
.final-cta {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 1;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.cta-subtitle {
    font-size: 20px;
    color: var(--text-tertiary);
    margin-bottom: 40px;
}

.btn-cta {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-500) 30%, var(--primary-400) 60%, var(--primary-500) 100%);
    background-size: 200% 200%;
    animation: gradient-shift 4s ease infinite, pulse-glow 3s ease-in-out infinite;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 18px;
    padding: 20px 48px;
    border-radius: 12px;
    border: none;
    text-decoration: none;
    display: inline-block;
    box-shadow:
        0 0 0 1px rgba(59, 130, 246, 0.5),
        0 4px 24px rgba(59, 130, 246, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.btn-cta:hover {
    transform: translateY(-4px) scale(1.05);
    filter: brightness(1.2);
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow:
            0 0 0 1px rgba(59, 130, 246, 0.5),
            0 4px 24px rgba(59, 130, 246, 0.4),
            0 0 60px rgba(59, 130, 246, 0.3);
    }

    50% {
        box-shadow:
            0 0 0 2px rgba(59, 130, 246, 0.8),
            0 8px 40px rgba(59, 130, 246, 0.6),
            0 0 80px rgba(59, 130, 246, 0.5);
    }
}

.cta-note {
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-quaternary);
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    color: var(--text-primary);
}

.footer-tagline {
    color: var(--text-tertiary);
    font-size: 14px;
}

.footer-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

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

.footer-link {
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-400);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    color: var(--primary-400);
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--primary-400);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(59, 130, 246, 0.05);
}

.copyright {
    color: var(--text-quaternary);
    font-size: 14px;
}

/* =====================================================
   HERO BADGES
   ===================================================== */
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
    animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
    opacity: 0;
}

.hero-badge {
    padding: 6px 14px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-tertiary);
    transition: all 0.3s ease;
}

.hero-badge:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
    color: var(--primary-400);
}

/* =====================================================
   WHY AUTOMATE SECTION
   ===================================================== */
.why-automate {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 1;
}

.why-automate::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 600px;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.why-card {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-card:hover {
    transform: translateY(-6px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 16px 48px rgba(59, 130, 246, 0.15);
}

.why-icon {
    font-size: 36px;
    line-height: 1;
}

.why-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

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

/* =====================================================
   DIAGNOSTIC CTA BLOCK
   ===================================================== */
.diagnostic-cta {
    margin-top: 20px;
}

.diagnostic-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 56px;
    border: 1px solid rgba(59, 130, 246, 0.25);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.06) 0%, rgba(59, 130, 246, 0.02) 50%, rgba(59, 130, 246, 0.06) 100%);
}

.diagnostic-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.diagnostic-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-400);
    width: fit-content;
}

.diagnostic-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.diagnostic-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-tertiary);
}

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

.d-step {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.d-step:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.25);
    transform: translateX(4px);
}

.d-num {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-400);
    min-width: 32px;
}

.d-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */

/* Tablet */
@media (max-width: 1023px) {
    :root {
        --section-padding: 80px;
    }

    .hero-title {
        font-size: 56px;
    }

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

    .hero-visual {
        order: -1;
    }

    .sphere {
        width: 300px;
        height: 300px;
    }

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

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

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

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

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

    .diagnostic-box {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    :root {
        --section-padding: 60px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(24px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transition: right 0.3s ease;
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1000;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translateY(10px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translateY(-10px);
    }

    .hero {
        padding-top: 80px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .sphere {
        width: 200px;
        height: 200px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .section-title {
        font-size: 36px;
    }

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

    .service-card-flip {
        height: 280px;
    }

    .process-step {
        grid-template-columns: 60px 1fr;
        gap: 16px;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .step-title {
        font-size: 20px;
    }

    .cta-title {
        font-size: 36px;
    }

    .cta-subtitle {
        font-size: 16px;
    }

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

    .why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .diagnostic-box {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 28px 24px;
    }

    .diagnostic-title {
        font-size: 22px;
    }

    /* Reduce particles on mobile */
    .particle:nth-child(n+20) {
        display: none;
    }
}

/* =====================================================
   CONTACT FORM SECTION & STYLES
   ===================================================== */
.contact-section {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

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

.contact-methods {
    display: grid;
    gap: 24px;
    margin-top: 40px;
}

.contact-method-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.contact-method-item:hover {
    transform: translateY(-4px);
    border-color: var(--primary-500);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.15);
    background: rgba(59, 130, 246, 0.05);
}

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

.method-label {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-bottom: 4px;
}

.method-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Form Styles */
.contact-form-wrapper {
    padding: 40px;
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.contact-form {
    display: grid;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-input,
.form-select,
.form-textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-primary);
    transition: all 0.3s ease;
    width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    background: rgba(59, 130, 246, 0.05);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9L12 15L18 9' stroke='%23A1A1AA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

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

/* Button Loading State */
.btn-submit {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-loading {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hidden {
    display: none !important;
    opacity: 0;
    pointer-events: none;
}

.spinner {
    animation: rotate 2s linear infinite;
    width: 24px;
    height: 24px;
}

.spinner .path {
    stroke: #ffffff;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }

    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

/* Success State */
.form-success {
    text-align: center;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fade-in-up 0.5s ease;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--success) 0%, #16A34A 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.3);
}

.form-success h3 {
    font-family: var(--font-display);
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.form-success p {
    color: var(--text-tertiary);
    margin-bottom: 32px;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-title.text-left,
    .section-subtitle.text-left {
        text-align: center;
    }

    .contact-methods {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* =====================================================
   MOBILE OPTIMIZATIONS (Max Width 768px)
   ==================================================== */
@media (max-width: 768px) {
    :root {
        --section-padding: 40px;
        --section-padding-mobile: 24px;
        --font-display: 'Plus Jakarta Sans', sans-serif;
        /* Ensure fallback */
    }

    /* -----------------------------------------------------
       VISUAL REDUCTION (Eliminate Segments)
       ----------------------------------------------------- */

    /* Show particle background on mobile but fewer (handled in JS) */
    .particles-container {
        display: block !important;
    }

    /* Hide 3D Sphere - Too heavy for mobile */
    .sphere,
    .sphere-inner,
    .sphere-ring {
        display: none !important;
    }

    /* Hide decorative/complex visuals in About section */
    .about-visual {
        display: none !important;
    }

    /* -----------------------------------------------------
       LAYOUT & TYPOGRAPHY
       ----------------------------------------------------- */

    body {
        font-size: 16px;
        /* slightly larger base text for readability */
    }

    .container {
        padding: 0 20px;
        /* Reduced side padding */
        width: 100%;
        overflow-x: hidden;
    }

    /* Navbar */
    .navbar {
        padding: 12px 0;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
    }

    .nav-links {
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        position: fixed;
        background: var(--bg-primary);
        /* Solid background */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        padding-top: 60px;
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1000;
        position: relative;
    }

    /* Hero Section */
    .hero {
        padding-top: 100px;
        padding-bottom: 40px;
        min-height: auto;
        /* Remove 100vh constraint */
        text-align: center;
        /* Center align for better mobile presentation */
    }

    .hero-content {
        grid-template-columns: 1fr;
        /* Stack vertically */
        gap: 32px;
    }

    .hero-title {
        font-size: 36px;
        /* Significantly reduced */
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 16px;
        padding: 0 10px;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        /* Full width buttons */
        display: flex;
        justify-content: center;
        padding: 14px 20px;
    }

    .hero-badges {
        justify-content: center;
        margin-top: 32px;
    }

    /* Stats Section */
    .stats-grid {
        grid-template-columns: 1fr;
        /* Stack vertically */
        gap: 16px;
    }

    .stat-item {
        padding: 20px;
    }

    .stat-number {
        font-size: 36px;
    }

    /* Services Section - STATIC CARDS */
    .services-grid {
        grid-template-columns: 1fr;
        /* Stack vertically */
        gap: 24px;
    }

    /* Disable flip effect completely */
    .service-card-flip {
        perspective: none;
        height: auto;
        margin-bottom: 0;
    }

    .service-card-inner {
        transform: none !important;
        transition: none;
        position: relative;
        height: auto;
    }

    .service-card-flip:hover .service-card-inner {
        transform: none;
    }

    /* Hide the front face */
    .service-card-front {
        display: none !important;
    }

    /* Show the back face (details) always */
    .service-card-back {
        position: relative;
        transform: none !important;
        opacity: 1;
        visibility: visible;
        backface-visibility: visible;
        height: auto;
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(59, 130, 246, 0.04) 100%);
        border: 1px solid rgba(59, 130, 246, 0.15);
        padding: 24px;
    }

    /* Add title style to back card since front is hidden */
    .service-title-back {
        font-size: 20px;
        margin-bottom: 12px;
        color: var(--primary-400);
        display: block;
    }

    /* Why Automate Section */
    .why-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .why-card {
        padding: 24px;
    }

    /* Process Section */
    .process-step {
        grid-template-columns: 1fr;
        gap: 16px;
        text-align: center;
    }

    .step-number {
        margin: 0 auto;
        /* Center the number */
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Contact Section */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 24px;
        /* Reduce padding */
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-links {
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

    /* Diagnostic Box */
    .diagnostic-box {
        grid-template-columns: 1fr;
        padding: 24px;
        gap: 24px;
    }

    .diagnostic-cta {
        margin-top: 40px;
    }
}