/* ===== PERFORMANCE OPTIMIZATIONS ===== */
html {
    font-display: swap;
}

* {
    box-sizing: border-box;
}

/* Critical CSS - Above the fold */
body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0c0f0a;
    color: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

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

:root {
    /* New Color Theme - Emerald & Gold */
    --bg-primary: #0c0f0a;
    --bg-secondary: #111610;
    --bg-card: rgba(16, 185, 129, 0.05);
    --bg-card-hover: rgba(16, 185, 129, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --accent-primary: #10b981;
    --accent-secondary: #f59e0b;
    --accent-tertiary: #06b6d4;
    --accent-success: #22c55e;
    --gradient-primary: linear-gradient(135deg, #10b981 0%, #f59e0b 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
    --gradient-glow: radial-gradient(600px circle at var(--x, 50%) var(--y, 50%), rgba(16, 185, 129, 0.15), transparent 40%);
    --border-color: rgba(16, 185, 129, 0.15);
    --border-light: rgba(16, 185, 129, 0.25);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-glow: 0 0 80px rgba(16, 185, 129, 0.3);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
    --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border-radius: 10px;
    border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--border-color);
}

.glass-noise {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    animation: pageLoad 0.8s ease-out;
}

@keyframes pageLoad {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

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

/* ===== CURSOR GLOW ===== */
#cursorGlow {
    position: fixed;
    width: 20px;
    height: 20px;
    background: rgba(16, 185, 129, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    filter: blur(8px);
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background 0.3s, transform 0.3s;
    opacity: 0;
}

#cursorGlow.hover {
    width: 60px;
    height: 60px;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.5);
}

body:hover #cursorGlow {
    opacity: 1;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.75rem, 7vw, 5rem);
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    opacity: 0.9;
}

.animate-in,
.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
    filter: blur(0) !important;
}

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


/* ===== GLASS CARD ===== */
.glass-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.03) 0%, rgba(12, 15, 10, 0.8) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(16, 185, 129, 0.1);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.glass-card:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(12, 15, 10, 0.9) 100%);
    border-color: rgba(16, 185, 129, 0.3);
    transform: translateY(-6px);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(16, 185, 129, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card-glow {
    position: absolute;
    inset: 0;
    background: var(--gradient-glow);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.glass-card:hover .card-glow {
    opacity: 1;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 180deg, transparent, rgba(16, 185, 129, 0.1), transparent 30%);
    animation: borderRotate 8s linear infinite;
    opacity: 0;
    transition: opacity 0.5s;
}

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

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

.glass-card::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: var(--bg-primary);
    border-radius: calc(var(--radius-lg) - 1px);
    z-index: -1;
}

.glass-card>* {
    transform: translateZ(20px);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: visible;
    z-index: 1;
}

.btn-magnetic-wrap {
    display: inline-block;
    position: relative;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: #0c0f0a;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
    position: relative;
    font-weight: 700;
    border: none;
    padding: 16px 32px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.3);
    color: #0c0f0a;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
}

.btn-glass::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(16, 185, 129, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
    pointer-events: none;
}

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

.btn-large {
    padding: 20px 40px;
    font-size: 1.1rem;
    border-radius: var(--radius-lg);
}

.btn-full {
    width: 100%;
}

.btn-nav {
    font-size: 0.9rem;
    background: transparent;
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
}

.btn-nav:hover {
    background: rgba(16, 185, 129, 0.1);
    color: var(--text-primary);
}

.btn-arrow {
    transition: transform 0.3s;
    font-size: 1.2em;
}

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

.btn-play {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.2);
    border-radius: 50%;
    font-size: 0.7em;
}


/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    animation: navSlideDown 0.6s ease-out;
}

@keyframes navSlideDown {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }

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

.nav.scrolled {
    background: rgba(12, 15, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-primary);
    animation: logoSlideIn 0.6s ease-out 0.1s both;
}

@keyframes logoSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }

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

.logo-icon {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.2em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
}

.nav-links li {
    animation: navLinkSlideIn 0.6s ease-out both;
}

.nav-links li:nth-child(1) {
    animation-delay: 0.2s;
}

.nav-links li:nth-child(2) {
    animation-delay: 0.3s;
}

.nav-links li:nth-child(3) {
    animation-delay: 0.4s;
}

.nav-links li:nth-child(4) {
    animation-delay: 0.5s;
}

.nav-links li:nth-child(5) {
    animation-delay: 0.6s;
}

.nav-links li:nth-child(6) {
    animation-delay: 0.7s;
}

@keyframes navLinkSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

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

.nav-links a {
    color: #d1d5db;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:not(.btn):hover {
    color: var(--text-primary);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s;
    border-radius: 1px;
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

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

.mobile-toggle span {
    width: 28px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: 0.3s;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}


/* ===== HERO SECTION ===== */
.hero {
    min-height: 110vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 140px 0 150px;
    overflow: visible;
    background: #030806;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background-image: url('images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(12, 15, 10, 0.9) 0%, rgba(12, 15, 10, 0.7) 40%, rgba(12, 15, 10, 0.3) 100%);
}

.hero-gradient {
    position: absolute;
    inset: 0;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    top: -400px;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(16, 185, 129, 0.4) 0%, rgba(16, 185, 129, 0.1) 30%, transparent 60%);
    filter: blur(60px);
    animation: pulseGlow 8s ease-in-out infinite;
}

.hero-gradient::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(245, 158, 11, 0.3) 0%, rgba(6, 182, 212, 0.15) 40%, transparent 60%);
    filter: blur(80px);
    animation: pulseGlow 8s ease-in-out infinite reverse;
}

@keyframes pulseGlow {

    0%,
    100% {
        transform: translateX(-50%) scale(1);
        opacity: 0.8;
    }

    50% {
        transform: translateX(-50%) scale(1.2);
        opacity: 1;
    }
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, transparent 40%, rgba(16, 185, 129, 0.08) 50%, transparent 60%),
        linear-gradient(225deg, transparent 40%, rgba(245, 158, 11, 0.06) 50%, transparent 60%);
    background-size: 400% 400%;
    animation: gradientMove 15s ease infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 0%;
    }

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

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

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(16, 185, 129, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.15) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 0%, transparent 70%);
    animation: gridPulse 6s ease-in-out infinite;
}

.hero-grid::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(16, 185, 129, 0.8) 20%, rgba(245, 158, 11, 0.6) 50%, rgba(6, 182, 212, 0.8) 80%, transparent 100%);
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.6), 0 0 80px rgba(16, 185, 129, 0.4);
    animation: lineGlow 3s ease-in-out infinite;
}

@keyframes lineGlow {

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

    50% {
        opacity: 1;
        transform: scaleX(1);
    }
}

@keyframes gridPulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    animation: orbFloat 20s ease-in-out infinite;
}

.hero-orb-1 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, rgba(16, 185, 129, 0.1) 40%, transparent 70%);
    top: -400px;
    left: -300px;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, rgba(245, 158, 11, 0.08) 40%, transparent 70%);
    top: 30%;
    right: -200px;
    animation-delay: -7s;
}

.hero-orb-3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, rgba(6, 182, 212, 0.05) 40%, transparent 70%);
    bottom: -200px;
    left: 20%;
    animation-delay: -14s;
}

@keyframes orbFloat {

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

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

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

    75% {
        transform: translate(40px, 40px) scale(1.1);
    }
}


/* Floating Cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: rgba(16, 185, 129, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    animation: floatCard 6s ease-in-out infinite, floatCardEnter 0.8s ease-out;
    z-index: 10;
}

@keyframes floatCardEnter {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.floating-card-1 {
    top: 25%;
    left: 5%;
    animation-delay: 0.5s, 0s;
}

.floating-card-2 {
    top: 40%;
    right: 5%;
    animation-delay: 0.7s, -2s;
}

.floating-card-3 {
    bottom: 25%;
    left: 8%;
    animation-delay: 0.9s, -4s;
}

.floating-tag {
    display: inline-block;
    padding: 4px 10px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(245, 158, 11, 0.15) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 8px;
}

/* ===== FLOATING AI TOOL BADGES ===== */
.floating-tool {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    z-index: 2;
    animation: floatTool 6s ease-in-out infinite;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.floating-tool:hover {
    opacity: 1;
    transform: scale(1.1);
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.floating-tool .tool-icon {
    font-size: 1.2rem;
}

.floating-tool .tool-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.floating-tool-1 {
    top: 15%;
    right: 10%;
    animation-delay: 0s;
}

.floating-tool-2 {
    top: 25%;
    right: 5%;
    animation-delay: 0.5s;
}

.floating-tool-3 {
    top: 40%;
    right: 8%;
    animation-delay: 1s;
}

.floating-tool-4 {
    top: 55%;
    right: 12%;
    animation-delay: 1.5s;
}

.floating-tool-5 {
    top: 70%;
    right: 6%;
    animation-delay: 2s;
}

.floating-tool-6 {
    top: 20%;
    right: 20%;
    animation-delay: 2.5s;
}

.floating-tool-7 {
    top: 50%;
    right: 3%;
    animation-delay: 3s;
}

.floating-tool-8 {
    top: 65%;
    right: 18%;
    animation-delay: 3.5s;
}

@keyframes floatTool {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-10px) translateX(5px);
    }
    50% {
        transform: translateY(-5px) translateX(-5px);
    }
    75% {
        transform: translateY(-15px) translateX(3px);
    }
}

/* Hide floating tools on mobile */
@media (max-width: 1024px) {
    .floating-tool {
        display: none;
    }
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
        box-shadow: 0 10px 40px rgba(16, 185, 129, 0.1);
    }

    50% {
        transform: translateY(-20px) rotate(3deg) scale(1.02);
        box-shadow: 0 20px 60px rgba(16, 185, 129, 0.2);
    }
}

.floating-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.5), rgba(245, 158, 11, 0.3), rgba(6, 182, 212, 0.5));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.floating-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(12, 15, 10, 0.9);
    z-index: -1;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 20;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: heroContentReveal 1s ease-out;
}

@keyframes heroContentReveal {
    0% {
        opacity: 0;
        transform: translateY(60px);
        filter: blur(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(245, 158, 11, 0.08) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 24px;
    opacity: 1;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.15);
    text-align: center;
}

@keyframes badgePulse {

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

    50% {
        transform: scale(1.02);
    }
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }

    50% {
        opacity: 0.8;
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
}

.hero-title {
    margin-bottom: 28px;
    overflow: visible;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.title-line {
    display: block;
    opacity: 1;
}

.title-highlight {
    display: block;
    opacity: 1;
}

@keyframes titleReveal {
    0% {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes shimmer {

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

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

.hero-subtitle {
    font-size: 1.4rem;
    line-height: 1.7;
    max-width: 720px;
    margin: 0 auto 48px;
    color: var(--text-secondary);
    opacity: 0.95;
    text-align: center;
}

@keyframes subtitleReveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 0.95;
        transform: translateY(0);
    }
}

.hero-subtitle strong {
    color: var(--accent-primary);
    font-weight: 600;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    opacity: 1;
}

@keyframes ctaReveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

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

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    opacity: 1;
    margin-top: 40px;
    padding-bottom: 20px;
    position: relative;
    z-index: 10;
}

@keyframes statsReveal {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(16, 185, 129, 0.3);
}

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

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--border-color);
}

.hero-scroll {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.85rem;
    opacity: 1;
    z-index: 10;
}

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

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

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

@keyframes scrollPulse {

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

    50% {
        transform: scaleY(0.5);
        opacity: 0.5;
    }
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.98);
        filter: blur(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes premiumReveal {
    0% {
        clip-path: inset(0 100% 0 0);
    }

    100% {
        clip-path: inset(0 0 0 0);
    }
}


/* ===== LOGOS SECTION ===== */
.logos-section {
    padding: 60px 0;
    margin-top: 40px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
    overflow: hidden;
    position: relative;
    z-index: 5;
}

.logos-marquee {
    overflow: hidden;
}

.logos-track {
    display: flex;
    gap: 80px;
    animation: marquee 30s linear infinite;
}

.logo-item {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.logo-item:hover {
    opacity: 1;
}

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

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

.logos-label {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.logo-item {
    text-decoration: none;
    transition: all 0.3s;
}

.logo-item:hover {
    opacity: 1 !important;
    color: var(--accent-primary);
}

.tool-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.tool-item:hover {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--accent-primary);
    transform: translateY(-2px);
}

/* ===== SECTION STYLES ===== */
section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.section-tag::before,
.section-tag::after {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--gradient-primary);
}

.section-title {
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.2rem;
}

/* ===== WHY SECTION ===== */
.why-section {
    background: var(--bg-secondary);
}

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

.why-card {
    padding: 40px 32px;
    text-align: center;
}

.why-icon-wrap {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(245, 158, 11, 0.1) 100%);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    position: relative;
    transition: var(--transition);
}

.why-card:hover .why-icon-wrap {
    transform: scale(1.1);
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.3);
}

.why-icon {
    font-size: 2.5rem;
}

.why-card h3 {
    margin-bottom: 12px;
    color: var(--text-primary);
}

.card-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: width 0.4s;
    border-radius: 2px;
}

.why-card:hover .card-line {
    width: 60px;
}


/* ===== SERVICES SECTION ===== */
.services-section {
    background: var(--bg-secondary);
}

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

.service-card {
    padding: 36px 28px;
    position: relative;
}

.service-card.featured-service {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(245, 158, 11, 0.06) 100%);
    border-color: rgba(16, 185, 129, 0.3);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 28px;
    padding: 8px 16px;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(245, 158, 11, 0.1) 100%);
    border-radius: var(--radius-md);
    font-size: 1.6rem;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.4);
}

.service-tag {
    padding: 6px 12px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-success);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
}

.service-card h3 {
    margin-bottom: 12px;
}

.service-list {
    list-style: none;
    margin: 24px 0;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.service-list li:last-child {
    border-bottom: none;
}

.check {
    color: var(--accent-success);
    font-weight: 700;
}

.service-footer {
    margin-top: auto;
}

.service-for {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio-section {
    background: var(--bg-secondary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.portfolio-card {
    overflow: hidden;
}

.portfolio-image {
    position: relative;
    height: 280px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(245, 158, 11, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.portfolio-preview {
    width: 100%;
    height: 100%;
    transition: var(--transition-slow);
}

.portfolio-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.preview-icon {
    font-size: 4rem;
}

.preview-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(12, 15, 10, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    transition: var(--transition);
}

.overlay-image {
    width: 100%;
    height: 60%;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: rgba(0, 0, 0, 0.5);
}

.overlay-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-card:hover .overlay-image img {
    transform: scale(1.05);
}

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

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

.portfolio-card:hover .portfolio-preview img {
    filter: blur(2px) brightness(0.7);
}

.portfolio-content {
    padding: 28px;
}

.portfolio-content h3 {
    margin-bottom: 8px;
}

.portfolio-url {
    font-size: 0.9rem;
    color: var(--accent-primary);
    margin-bottom: 12px;
}

.portfolio-desc {
    font-size: 1rem;
    margin-bottom: 16px;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 6px 12px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--accent-primary);
}

.portfolio-cta {
    text-align: center;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.portfolio-cta p {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.case-study-result {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.result-badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(245, 158, 11, 0.1) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 50px;
    color: var(--accent-primary);
    font-size: 0.9rem;
    font-weight: 600;
}

.case-study-card {
    position: relative;
}

.case-study-card:hover {
    transform: translateY(-8px);
}


/* ===== RESULTS SECTION ===== */
.results-section {
    background: var(--bg-primary);
}

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

.testimonial-card {
    padding: 36px;
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 1.2rem;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

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

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

.author-avatar {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    font-weight: 700;
    border-radius: 50%;
}

.author-info strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 4px;
}

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

.results-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 64px;
}

.result-stat {
    text-align: center;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.result-stat:hover {
    transform: translateY(-4px);
    border-color: var(--border-light);
}

.result-number {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.result-label {
    color: var(--text-secondary);
}


/* ===== PROCESS SECTION ===== */
.process-section {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.process-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 50%, rgba(245, 158, 11, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary));
    opacity: 0.5;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.process-step {
    display: flex;
    gap: 40px;
    margin-bottom: 48px;
    position: relative;
    opacity: 0;
    animation: stepReveal 0.8s ease-out forwards;
}

.process-step:nth-child(1) {
    animation-delay: 0.2s;
}

.process-step:nth-child(2) {
    animation-delay: 0.4s;
}

.process-step:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes stepReveal {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }

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

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

.step-marker {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.5), 0 0 80px rgba(16, 185, 129, 0.2);
    animation: markerPulse 2s ease-in-out infinite;
}

@keyframes markerPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 40px rgba(16, 185, 129, 0.5), 0 0 80px rgba(16, 185, 129, 0.2);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 60px rgba(16, 185, 129, 0.7), 0 0 120px rgba(16, 185, 129, 0.3);
    }
}

.step-marker span {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.step-content {
    flex: 1;
    padding: 32px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.step-content h3 {
    margin-bottom: 12px;
    color: var(--text-primary);
    font-size: 1.3rem;
}

.step-content p {
    margin: 0;
    font-size: 1rem;
}

.step-day {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(245, 158, 11, 0.1) 100%);
    color: var(--accent-primary);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 16px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.process-cta {
    text-align: center;
    margin-top: 60px;
    padding: 48px 40px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-xl);
    animation: ctaReveal 0.8s ease-out 0.8s both;
}

.process-cta p {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 20px;
}

/* ===== CTA SECTION ===== */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.cta-orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(16, 185, 129, 0.2);
    top: -200px;
    right: -100px;
}

.cta-orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(245, 158, 11, 0.15);
    bottom: -150px;
    left: -100px;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 60%);
    animation: ctaGlow 5s ease-in-out infinite;
}

@keyframes ctaGlow {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

.cta-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.cta-content .section-tag {
    justify-content: flex-start;
}

.cta-content .section-tag::before {
    display: none;
}

.cta-content h2 {
    margin-bottom: 20px;
    text-align: left;
}

.cta-content p {
    margin-bottom: 32px;
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
}

.feature-check {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-success);
    border-radius: 50%;
    font-size: 0.8rem;
}

.cta-form-wrapper {
    padding: 40px;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a1a1aa' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

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

.form-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.form-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.form-header h3 {
    margin-bottom: 8px;
}

.form-header p {
    font-size: 0.95rem;
}

.form-header a {
    color: var(--accent-primary);
    text-decoration: none;
}

.form-header a:hover {
    text-decoration: underline;
}

.cta-trust {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

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

.trust-logos {
    display: flex;
    gap: 24px;
}

.trust-logos span {
    font-size: 0.9rem;
    color: var(--accent-primary);
}


/* ===== LABS SECTION ===== */
.labs-section {
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.labs-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 50%, rgba(245, 158, 11, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

.labs-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
    padding: 32px;
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: var(--radius-lg);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

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

.lab-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.4s ease;
}

.lab-card:hover {
    transform: translateY(-8px);
    border-color: rgba(16, 185, 129, 0.3);
}

.lab-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
}

.lab-card h3 {
    margin-bottom: 12px;
    color: var(--text-primary);
}

.lab-card p {
    margin-bottom: 20px;
    flex-grow: 1;
}

.lab-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(16, 185, 129, 0.05);
    border-radius: var(--radius-md);
}

.lab-feature {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
}

.lab-feature::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background: var(--accent-primary);
    border-radius: 50%;
    margin-right: 8px;
}

.btn-lab {
    align-self: flex-start;
    margin-top: auto;
}

.labs-cta {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-xl);
}

.labs-cta h3 {
    margin-bottom: 12px;
    font-size: 1.8rem;
}

.labs-cta p {
    margin-bottom: 24px;
    font-size: 1.1rem;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    background: var(--bg-secondary);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--border-light);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.1);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition);
    text-align: left;
}

.faq-question:hover {
    color: var(--accent-primary);
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.faq-answer strong {
    color: var(--accent-primary);
}


/* ===== FOOTER ===== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px;
}

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

.footer-brand p {
    margin: 16px 0 24px;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-social a:hover {
    transform: translateY(-3px);
    border-color: transparent;
}

.social-whatsapp:hover {
    background: #25D366;
    color: white;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.social-instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
    box-shadow: 0 4px 20px rgba(225, 48, 108, 0.3);
}

.social-linkedin:hover {
    background: #0077B5;
    color: white;
    box-shadow: 0 4px 20px rgba(0, 119, 181, 0.3);
}

.social-twitter:hover {
    background: #000;
    color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.social-email:hover {
    background: var(--accent-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.footer-links h4,
.footer-contact h4,
.footer-projects h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links a,
.footer-contact a,
.footer-projects a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 0;
    transition: color 0.3s;
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-projects a:hover {
    color: var(--accent-primary);
}

.footer-contact p {
    font-size: 0.9rem;
    margin-top: 8px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-founders {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: #f7f9f8;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 10001;
    transition: width 0.1s ease;
}

/* Mobile CTA */
.mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    background: rgba(12, 15, 10, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    z-index: 996;
}


/* ===== WHATSAPP FLOATING WIDGET ===== */
.whatsapp-container {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 1001;
}

.whatsapp-side-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(12, 15, 10, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(37, 211, 102, 0.3);
    border-radius: 50px;
    color: #25D366;
    font-size: 0.85rem;
    font-weight: 600;
    animation: sideIndicatorPulse 2s ease-in-out infinite;
    white-space: nowrap;
}

.whatsapp-side-indicator.left {
    animation-delay: 0s;
}

.whatsapp-side-indicator.right {
    animation-delay: 1s;
}

@keyframes sideIndicatorPulse {

    0%,
    100% {
        opacity: 0.7;
        transform: translateX(0);
    }

    50% {
        opacity: 1;
        transform: translateX(0);
    }
}

.whatsapp-side-indicator.left {
    animation: slideFromLeft 0.5s ease forwards, sideIndicatorPulse 2s ease-in-out infinite 0.5s;
}

.whatsapp-side-indicator.right {
    animation: slideFromRight 0.5s ease forwards, sideIndicatorPulse 2s ease-in-out infinite 0.5s;
}

@keyframes slideFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }

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

@keyframes slideFromRight {
    0% {
        opacity: 0;
        transform: translateX(20px);
    }

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

.indicator-text {
    color: var(--text-secondary);
}

.whatsapp-widget {
    position: relative;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: whatsappBounce 2s ease-in-out infinite;
}

@keyframes whatsappBounce {

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

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

.whatsapp-widget:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6), 0 0 60px rgba(37, 211, 102, 0.3);
}

.whatsapp-widget:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(-10px);
}

.whatsapp-tooltip {
    position: absolute;
    bottom: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(0);
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s ease;
    border: 1px solid rgba(37, 211, 102, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: var(--bg-secondary);
}

.whatsapp-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.6);
    animation: whatsappPulseRing 2s ease-out infinite;
}

@keyframes whatsappPulseRing {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

.btn-whatsapp svg {
    margin-right: 4px;
}


/* ===== CHATBOT STYLES ===== */
.chatbot {
    position: fixed;
    bottom: 120px;
    right: 24px;
    width: 380px;
    max-height: 550px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    z-index: 1002;
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: chatbotSlideIn 0.3s ease;
}

.chatbot.active {
    display: flex;
}

@keyframes chatbotSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

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

.chatbot-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--gradient-primary);
    color: white;
}

.chatbot-avatar {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 1.2rem;
}

.chatbot-info {
    flex: 1;
}

.chatbot-name {
    display: block;
    font-weight: 600;
    font-size: 1rem;
}

.chatbot-status {
    font-size: 0.8rem;
    opacity: 0.9;
}

.chatbot-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 300px;
}

.chat-message {
    display: flex;
    gap: 10px;
    animation: messageSlide 0.3s ease;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.chat-message.bot .message-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    border-top-left-radius: 4px;
    padding: 14px 16px;
    max-width: 90%;
}

.chat-message.user {
    flex-direction: row-reverse;
}

.chat-message.user .message-content {
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-md);
    border-top-right-radius: 4px;
    padding: 14px 16px;
    max-width: 85%;
}

.message-content p {
    font-size: 0.95rem;
    color: inherit;
    margin-bottom: 8px;
}

.message-content p:last-child {
    margin-bottom: 0;
}

.message-content ul {
    margin: 8px 0;
    padding-left: 20px;
}

.message-content li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.chat-message.user .message-content p {
    color: white;
}

.chatbot-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 20px 16px;
}

.suggestion-btn {
    padding: 8px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.suggestion-btn:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}

.chatbot-input {
    display: flex;
    gap: 10px;
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-card);
}

.chatbot-input input {
    flex: 1;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.95rem;
}

.chatbot-input input:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.chatbot-input button {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.chatbot-input button:hover {
    transform: scale(1.05);
}

/* Chatbot Trigger */
.chatbot-trigger {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 24px rgba(16, 185, 129, 0.4);
    transition: var(--transition);
    animation: triggerPulse 3s infinite;
}

.chatbot-trigger:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.5);
}

.chatbot-trigger.hidden {
    display: none;
}

.trigger-icon {
    font-size: 1.3em;
}

.trigger-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ef4444;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
}

@keyframes triggerPulse {

    0%,
    100% {
        box-shadow: 0 4px 24px rgba(16, 185, 129, 0.4);
    }

    50% {
        box-shadow: 0 4px 32px rgba(16, 185, 129, 0.6), 0 0 0 8px rgba(16, 185, 129, 0.1);
    }
}


/* ===== CASE STUDY MODAL ===== */
.case-study-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.case-study-modal.active {
    opacity: 1;
    visibility: visible;
}

.case-study-content {
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 48px;
    animation: modalSlideIn 0.4s ease forwards;
}

@keyframes modalSlideIn {
    0% {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.case-study-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-study-close:hover {
    background: rgba(16, 185, 129, 0.2);
    transform: rotate(90deg);
}

.case-study-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.case-study-header h2 {
    margin-bottom: 8px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.case-study-url {
    color: var(--accent-primary);
    font-size: 0.95rem;
}

.case-study-body {
    margin-bottom: 32px;
}

.case-study-section {
    margin-bottom: 28px;
}

.case-study-section h3 {
    color: var(--accent-primary);
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.case-study-section p {
    line-height: 1.8;
    color: var(--text-secondary);
}

.case-study-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.case-study-features li {
    padding: 10px 12px;
    background: rgba(16, 185, 129, 0.05);
    border-left: 3px solid var(--accent-primary);
    border-radius: 4px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.case-study-footer {
    display: flex;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.case-study-footer .btn {
    flex: 1;
    text-align: center;
}

/* ===== ENHANCED VISUAL EFFECTS ===== */
/* Particles */
.particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-primary), 0 0 20px var(--accent-primary);
    animation: particleRise 12s infinite ease-out;
}

.particle:nth-child(odd) {
    background: var(--accent-secondary);
    box-shadow: 0 0 10px var(--accent-secondary), 0 0 20px var(--accent-secondary);
}

.particle:nth-child(3n) {
    background: var(--accent-tertiary);
    box-shadow: 0 0 10px var(--accent-tertiary), 0 0 20px var(--accent-tertiary);
    width: 2px;
    height: 2px;
}

@keyframes particleRise {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
        transform: translateY(80vh) translateX(10px) scale(1);
    }

    90% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-20vh) translateX(-30px) scale(0.5);
        opacity: 0;
    }
}

/* Shooting Stars */
.shooting-stars {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.shooting-star {
    position: absolute;
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.9), rgba(16, 185, 129, 0.5), transparent);
    border-radius: 100px;
    animation: shootingStar 4s infinite ease-in-out;
    opacity: 0;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.shooting-star::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px white, 0 0 20px var(--accent-primary);
}

.shooting-star:nth-child(1) {
    top: 15%;
    left: 5%;
    animation-delay: 0s;
    width: 120px;
}

.shooting-star:nth-child(2) {
    top: 35%;
    left: 60%;
    animation-delay: 1.5s;
    width: 180px;
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.9), rgba(245, 158, 11, 0.5), transparent);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.shooting-star:nth-child(2)::before {
    box-shadow: 0 0 10px white, 0 0 20px var(--accent-secondary);
}

.shooting-star:nth-child(3) {
    top: 55%;
    left: 25%;
    animation-delay: 3s;
    width: 100px;
    background: linear-gradient(90deg, rgba(6, 182, 212, 0.9), rgba(6, 182, 212, 0.5), transparent);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

.shooting-star:nth-child(3)::before {
    box-shadow: 0 0 10px white, 0 0 20px var(--accent-tertiary);
}

@keyframes shootingStar {
    0% {
        transform: translateX(0) translateY(0) rotate(-35deg);
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    40% {
        opacity: 1;
    }

    100% {
        transform: translateX(600px) translateY(400px) rotate(-35deg);
        opacity: 0;
    }
}

/* Glowing Lines */
.hero-grid::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    animation: glowLine 4s infinite ease-in-out;
}

@keyframes glowLine {

    0%,
    100% {
        opacity: 0.1;
        transform: scaleX(0.5);
    }

    50% {
        opacity: 0.5;
        transform: scaleX(1);
    }
}


/* ===== GUARANTEE BADGE ===== */
.guarantee-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(245, 158, 11, 0.06) 100%);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 20px;
    opacity: 1;
    backdrop-filter: blur(8px);
    letter-spacing: 0.3px;
}

@keyframes guaranteeReveal {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

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

/* ===== FORM LOADING STATE ===== */
.btn-loading {
    position: relative;
    color: transparent;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== SUCCESS MODAL ===== */
.success-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.success-modal.active {
    display: flex;
}

.success-modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px;
    max-width: 400px;
    text-align: center;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.success-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #10b981 0%, #f59e0b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    animation: scaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

.success-modal h3 {
    margin-bottom: 12px;
    color: var(--text-primary);
}

.success-modal p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.success-modal .btn {
    width: 100%;
}

/* ===== CLICK ANIMATIONS ===== */
@keyframes boxClick {
    0% {
        transform: scale(1);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    }

    50% {
        transform: scale(0.98);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 20px 50px rgba(16, 185, 129, 0.3);
    }
}

@keyframes buttonClick {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.95);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes faqExpand {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

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

@keyframes badgeReveal {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

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


/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {

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

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

    .results-stats {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .floating-card {
        display: none;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(12, 15, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-cta {
        display: block;
    }

    body {
        padding-bottom: 90px;
    }

    .hero {
        padding: 120px 0 80px;
        min-height: auto;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }

    .hero-scroll {
        display: none;
    }

    section {
        padding: 80px 0;
    }

    .why-grid,
    .services-grid,
    .testimonials-grid,
    .founders-grid,
    .about-values,
    .labs-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .results-stats {
        grid-template-columns: 1fr;
    }

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

    .cta-content h2 {
        text-align: center;
    }

    .cta-content .section-tag {
        justify-content: center;
    }

    .cta-features {
        align-items: center;
    }

    .trust-logos {
        flex-direction: column;
        gap: 8px;
    }

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

    .footer-brand p {
        margin: 16px auto 24px;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .process-timeline {
        padding-left: 0;
    }

    .timeline-line {
        display: none;
    }

    .process-step {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 40px;
    }

    .step-marker {
        width: 60px;
        height: 60px;
        margin: 0 auto;
    }

    .step-content {
        text-align: center;
        padding: 24px;
    }

    .process-cta {
        padding: 32px 24px;
        margin-top: 40px;
    }

    .process-cta p {
        font-size: 1.1rem;
    }

    .founder-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

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

    .whatsapp-container {
        bottom: 90px;
    }

    .whatsapp-side-indicator {
        display: none;
    }

    .whatsapp-widget {
        width: 60px;
        height: 60px;
    }

    .whatsapp-tooltip {
        display: none;
    }

    .chatbot {
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        max-height: 80vh;
        border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    }

    .chatbot-trigger {
        right: 16px;
        bottom: 24px;
        padding: 12px 20px;
    }

    .trigger-text {
        display: none;
    }

    .case-study-content {
        padding: 32px 24px;
        max-height: 90vh;
    }

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

    .case-study-footer {
        flex-direction: column;
    }

    .labs-intro {
        padding: 24px;
        font-size: 1rem;
    }

    .lab-card {
        padding: 24px;
    }

    .labs-cta {
        padding: 40px 24px;
    }

    .labs-cta h3 {
        font-size: 1.5rem;
    }
}

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

    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .btn-large {
        padding: 16px 28px;
        font-size: 1rem;
    }

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

    .hero-cta .btn {
        width: 100%;
    }

    .cta-form-wrapper {
        padding: 24px;
    }

    .hero-content {
        padding: 0 16px;
    }

    .service-card,
    .portfolio-card,
    .testimonial-card {
        padding: 24px;
    }

    .portfolio-image {
        height: 200px;
    }

    .preview-icon {
        font-size: 3rem;
    }

    section {
        padding: 60px 0;
    }

    .faq-question {
        padding: 16px 16px;
        font-size: 0.9rem;
    }

    .faq-answer p {
        padding: 0 16px 16px;
    }

    .success-modal-content {
        margin: 20px;
        padding: 32px 24px;
    }
}

/* ===== ANIMATIONS - Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* ===== LOGO IMAGE OPTIMIZATION ===== */
.logo-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    background: transparent;
    display: block;
    content-visibility: auto;
    will-change: auto;
}

/* Footer logo specific fix */
.footer-brand .logo-img {
    width: auto;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    overflow: hidden;
    max-width: 200px;
}

/* Optimize logo loading */
.logo {
    contain: layout style paint;
}

/* ===== IMAGE OPTIMIZATION ===== */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Lazy loading placeholder */
img[loading="lazy"] {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.1) 25%, rgba(16, 185, 129, 0.2) 50%, rgba(16, 185, 129, 0.1) 75%);
    background-size: 200% 100%;
    animation: imgLoading 1.5s infinite;
}

@keyframes imgLoading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Image loaded state */
img.loaded {
    animation: none;
    background: none;
}

/* Optimize portfolio images */
.portfolio-preview img,
.overlay-image img {
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* Preload critical images */
.logo-img {
    content-visibility: auto;
}


/* Logo loaded state */
.logo-img.loaded {
    animation: logoFadeIn 0.3s ease-in;
}

@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Placeholder while loading */
.logo-img:not(.loaded) {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.1) 25%, rgba(16, 185, 129, 0.2) 50%, rgba(16, 185, 129, 0.1) 75%);
    background-size: 200% 100%;
    animation: logoPlaceholder 1.5s infinite;
}

@keyframes logoPlaceholder {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}


/* ===== IMAGE LOADING OPTIMIZATION ===== */

/* Optimize all images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Image loading placeholder */
img:not(.loaded) {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.1) 25%, rgba(16, 185, 129, 0.2) 50%, rgba(16, 185, 129, 0.1) 75%);
    background-size: 200% 100%;
    animation: imagePlaceholder 1.5s infinite;
    min-height: 200px;
}

@keyframes imagePlaceholder {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Image loaded state */
img.loaded {
    animation: imageLoad 0.4s ease-in;
}

@keyframes imageLoad {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Optimize portfolio images */
.portfolio-preview img,
.overlay-image img {
    object-fit: cover;
    will-change: transform;
}

/* Optimize founder avatars */
.founder-avatar img {
    object-fit: cover;
    will-change: transform;
}

/* Optimize testimonial avatars */
.author-avatar {
    will-change: auto;
}

/* Reduce repaints */
img[loading="lazy"] {
    contain: layout style paint;
}

/* Preload critical images */
.logo-img {
    content-visibility: auto;
}


/* ===== PAGE LOAD ANIMATIONS ===== */

/* Page fade in on load */
body {
    animation: pageLoadFadeIn 0.8s ease-out;
}

@keyframes pageLoadFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Hero content - no animation for immediate visibility */
.hero-content {
    opacity: 1;
}

/* Navigation slide down */
.nav {
    animation: navSlideDown 0.6s ease-out;
}

@keyframes navSlideDown {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== SCROLL ANIMATIONS FOR CARDS ===== */

/* Initial state for animated elements */
.service-card,
.portfolio-card,
.testimonial-card,
.why-card,
.lab-card,
.process-step,
.faq-item {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Slide from LEFT */
.service-card:nth-child(odd),
.portfolio-card:nth-child(odd),
.why-card:nth-child(odd),
.testimonial-card:nth-child(odd) {
    transform: translateX(-100px);
}

/* Slide from RIGHT */
.service-card:nth-child(even),
.portfolio-card:nth-child(even),
.why-card:nth-child(even),
.testimonial-card:nth-child(even) {
    transform: translateX(100px);
}

/* Process steps alternate */
.process-step:nth-child(1) {
    transform: translateX(-100px);
}

.process-step:nth-child(2) {
    transform: translateX(100px);
}

.process-step:nth-child(3) {
    transform: translateX(-100px);
}

/* FAQ items alternate */
.faq-item:nth-child(odd) {
    transform: translateX(-80px);
}

.faq-item:nth-child(even) {
    transform: translateX(80px);
}

/* Lab cards */
.lab-card {
    transform: translateX(-100px);
}

/* Visible state when scrolled into view */
.service-card.animate-in,
.portfolio-card.animate-in,
.testimonial-card.animate-in,
.why-card.animate-in,
.lab-card.animate-in,
.process-step.animate-in,
.faq-item.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered animation delays for cards in a grid */
.service-card:nth-child(1) { transition-delay: 0.1s; }
.service-card:nth-child(2) { transition-delay: 0.2s; }
.service-card:nth-child(3) { transition-delay: 0.3s; }

.portfolio-card:nth-child(1) { transition-delay: 0.1s; }
.portfolio-card:nth-child(2) { transition-delay: 0.2s; }
.portfolio-card:nth-child(3) { transition-delay: 0.3s; }
.portfolio-card:nth-child(4) { transition-delay: 0.4s; }

.testimonial-card:nth-child(1) { transition-delay: 0.1s; }
.testimonial-card:nth-child(2) { transition-delay: 0.2s; }

.why-card:nth-child(1) { transition-delay: 0.1s; }
.why-card:nth-child(2) { transition-delay: 0.2s; }
.why-card:nth-child(3) { transition-delay: 0.3s; }

.process-step:nth-child(1) { transition-delay: 0.1s; }
.process-step:nth-child(2) { transition-delay: 0.2s; }
.process-step:nth-child(3) { transition-delay: 0.3s; }

.faq-item:nth-child(1) { transition-delay: 0.05s; }
.faq-item:nth-child(2) { transition-delay: 0.1s; }
.faq-item:nth-child(3) { transition-delay: 0.15s; }
.faq-item:nth-child(4) { transition-delay: 0.2s; }
.faq-item:nth-child(5) { transition-delay: 0.25s; }
.faq-item:nth-child(6) { transition-delay: 0.3s; }

/* Scale animation variant for special cards */
.glass-card {
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.glass-card.animate-in {
    animation: cardPopIn 0.6s ease-out both;
}

@keyframes cardPopIn {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Section headers animation */
.section-header {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section-header.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Floating cards animation on load */
.floating-card {
    animation: floatingCardEntry 1s ease-out both;
}

.floating-card-1 {
    animation-delay: 0.5s;
}

.floating-card-2 {
    animation-delay: 0.7s;
}

.floating-card-3 {
    animation-delay: 0.9s;
}

@keyframes floatingCardEntry {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* ===== SECTION LEVEL ANIMATIONS ===== */

/* All sections start hidden */
.why-section,
.services-section,
.portfolio-section,
.results-section,
.process-section,
.cta-section,
.labs-section,
.faq-section {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Odd sections slide from LEFT */
.why-section,
.portfolio-section,
.process-section,
.labs-section {
    transform: translateX(-50px);
}

/* Even sections slide from RIGHT */
.services-section,
.results-section,
.cta-section,
.faq-section {
    transform: translateX(50px);
}

/* Visible state for sections */
.why-section.animate-in,
.services-section.animate-in,
.portfolio-section.animate-in,
.results-section.animate-in,
.process-section.animate-in,
.cta-section.animate-in,
.labs-section.animate-in,
.faq-section.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Section headers slide from opposite direction */
.section-header {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Headers in left-sliding sections come from right */
.why-section .section-header,
.portfolio-section .section-header,
.process-section .section-header,
.labs-section .section-header {
    transform: translateX(50px);
}

/* Headers in right-sliding sections come from left */
.services-section .section-header,
.results-section .section-header,
.cta-section .section-header,
.faq-section .section-header {
    transform: translateX(-50px);
}

.section-header.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* CTA section special animation */
.cta-content {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 0.8s ease-out 0.2s, transform 0.8s ease-out 0.2s;
}

.cta-form-wrapper {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 0.8s ease-out 0.4s, transform 0.8s ease-out 0.4s;
}

.cta-section.animate-in .cta-content,
.cta-section.animate-in .cta-form-wrapper {
    opacity: 1;
    transform: translateX(0);
}


/* ===== PRICING BANNER ===== */
.pricing-banner {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(212, 175, 55, 0.15) 100%);
    border: 2px solid var(--primary);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.pricing-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(16, 185, 129, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

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

.offer-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
    position: relative;
    z-index: 1;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.pricing-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.price-label {
    font-size: 18px;
    color: var(--text-secondary);
}

.price-amount {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-display);
}

.price-original {
    font-size: 24px;
    color: var(--text-muted);
    text-decoration: line-through;
    opacity: 0.7;
}

.offer-features {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.offer-feature {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 14px;
    background: rgba(16, 185, 129, 0.1);
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.pricing-banner .btn {
    position: relative;
    z-index: 1;
}

/* Service Price in Cards */
.service-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 12px 0 16px;
}

.service-price .price {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-display);
}

.service-price .price-note {
    font-size: 12px;
    color: #10b981;
    background: rgba(16, 185, 129, 0.15);
    padding: 4px 10px;
    border-radius: 50px;
    font-weight: 600;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .pricing-banner {
        padding: 24px 16px;
    }
    
    .price-amount {
        font-size: 36px;
    }
    
    .price-original {
        font-size: 18px;
    }
    
    .offer-features {
        gap: 12px;
    }
    
    .offer-feature {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .pricing-main {
        flex-direction: column;
        gap: 8px;
    }
    
    .service-price .price {
        font-size: 28px;
    }
}


/* ===== CTA PRICE HIGHLIGHT ===== */
.cta-price-highlight {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(212, 175, 55, 0.2) 100%);
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 20px 24px;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.cta-offer {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    animation: pulse 2s infinite;
}

.cta-price {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-display);
}

.cta-price-old {
    font-size: 18px;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 8px;
    font-weight: 400;
}

.cta-free {
    color: #10b981;
    font-weight: 700;
    font-size: 16px;
    background: rgba(16, 185, 129, 0.15);
    padding: 4px 12px;
    border-radius: 50px;
}

@media (max-width: 768px) {
    .cta-price-highlight {
        padding: 16px;
    }
    
    .cta-price {
        font-size: 28px;
    }
    
    .cta-price-old {
        font-size: 14px;
    }
}
