:root {
    /* Color Palette - Cyber-Mint & OLED Black */
    --primary-500: #14F195;
    --primary-400: #0DF273;
    --primary-600: #05C96B;
    --primary-rgb: 20, 241, 149;

    --bg-primary: #030303;
    --bg-secondary: #09090B;
    --bg-tertiary: #111113;

    --text-primary: #FFFFFF;
    --text-secondary: #C5C5C9;
    --text-tertiary: #8E8E95;
    --text-quaternary: #5A5A61;

    --surface-glass: rgba(255, 255, 255, 0.02);
    --border-glass: rgba(255, 255, 255, 0.06);
    --border-glass-accent: rgba(20, 241, 149, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
    overflow-x: hidden;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    overflow-y: auto;
    /* Prevent scrolling during welcome animation */
}

/* Prevent scrolling ONLY when the welcome screen exists in the DOM */
body:has(#welcome-screen) {
    overflow-y: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.02em;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translate(-50%, -20px);
    opacity: 0;
    width: calc(100% - 3rem);
    max-width: 1100px;
    height: 72px;
    background: rgba(5, 5, 7, 0.45);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--border-glass);
    border-radius: 100px;
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    transition: all 0.6s cubic-bezier(0.32, 0.72, 0, 1);
    pointer-events: none; /* Prevent clicks before reveal */
}

.navbar.reveal-active {
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: all; /* Restore clicks */
}

/* Border Sweep Layer */
.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(var(--primary-rgb), 0.05) 20%,
        rgba(var(--primary-rgb), 0.25) 50%,
        rgba(var(--primary-rgb), 0.05) 80%,
        transparent
    );
    transition: all 0.8s ease;
    z-index: -1;
    pointer-events: none;
}

.navbar:hover::before {
    left: 150%;
    transition: all 1.3s cubic-bezier(0.32, 0.72, 0, 1);
}

.navbar.scrolled {
    background: rgba(3, 3, 5, 0.75);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-color: rgba(var(--primary-rgb), 0.12);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    height: 64px;
    top: 1rem;
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    z-index: 2;
    position: relative;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(20, 241, 149, 0.04);
    border: 1px solid rgba(20, 241, 149, 0.1);
    padding: 0.35rem 0.75rem;
    border-radius: 100px;
    transition: all 0.5s cubic-bezier(0.32, 0.72, 0, 1);
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary-500);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px var(--primary-500);
    animation: status-pulse 2s infinite ease-in-out;
}

.status-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    font-weight: 500;
    color: var(--primary-500);
    letter-spacing: 0.08em;
    white-space: nowrap;
    text-transform: uppercase;
}

@keyframes status-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 6px var(--primary-500);
    }
    50% {
        transform: scale(1.2);
        opacity: 0.4;
        box-shadow: 0 0 12px var(--primary-500);
    }
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.nav-logo {
    height: 44px;
    width: auto;
    display: block;
    transition: all 0.5s cubic-bezier(0.32, 0.72, 0, 1);
    filter: brightness(1.05) drop-shadow(0 0 10px rgba(var(--primary-rgb), 0.15));
}

.navbar.scrolled .nav-logo {
    height: 38px;
}

.logo-link:hover .nav-logo {
    transform: scale(1.04);
    filter: brightness(1.2) drop-shadow(0 0 15px rgba(var(--primary-rgb), 0.35));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.4s cubic-bezier(0.32, 0.72, 0, 1), transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
    position: relative;
    padding: 0.5rem 0;
    white-space: nowrap;
    display: inline-block;
}

.nav-link:hover {
    color: var(--text-primary);
    transform: translateY(-1.5px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1.5px;
    background: var(--primary-500);
    transition: width 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    box-shadow: 0 0 8px rgba(var(--primary-rgb), 0.5);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    padding: 0.5rem 1.25rem !important;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-500) !important;
    transition: all 0.4s cubic-bezier(0.32, 0.72, 0, 1) !important;
}

.nav-btn::after {
    display: none !important;
}

.nav-btn:hover {
    background: rgba(var(--primary-rgb), 0.08);
    border-color: var(--primary-500);
    transform: translateY(-1.5px);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.2);
}

.nav-btn-desktop {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-500);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    display: inline-block;
}

.nav-btn-desktop:hover {
    background: rgba(var(--primary-rgb), 0.08);
    border-color: var(--primary-500);
    transform: translateY(-1.5px);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.2);
}

.mobile-only-btn {
    display: none !important;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    position: relative;
    z-index: 1001;
}

.hamburger-bar {
    width: 20px;
    height: 1.5px;
    background: white;
    position: absolute;
    left: 6px;
    transition: all 0.5s cubic-bezier(0.32, 0.72, 0, 1);
}

.bar-top {
    transform: translateY(-4px);
}

.bar-bottom {
    transform: translateY(4px);
}

.mobile-menu-toggle.open .bar-top {
    transform: rotate(45deg);
    background: var(--primary-500);
}

.mobile-menu-toggle.open .bar-bottom {
    transform: rotate(-45deg);
    background: var(--primary-500);
}

/* Button & UI Components */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.85rem 1.75rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.5s cubic-bezier(0.32, 0.72, 0, 1);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-500) 100%);
    color: #030303;
    border: none;
    box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(var(--primary-rgb), 0.5);
    filter: brightness(1.05);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.01);
    color: white;
    border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--primary-500);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.05);
}

.btn-arrow-wrapper {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(3, 3, 3, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.32, 0.72, 0, 1);
    color: inherit;
}

.btn-secondary .btn-arrow-wrapper {
    background: rgba(255, 255, 255, 0.08);
}

.btn-arrow {
    width: 12px;
    height: 12px;
    transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1);
}

.btn-primary:hover .btn-arrow-wrapper {
    background: rgba(3, 3, 3, 0.12);
    transform: scale(1.1);
}

.btn-secondary:hover .btn-arrow-wrapper {
    background: rgba(var(--primary-rgb), 0.15);
    color: var(--primary-500);
    transform: scale(1.1);
}

.btn-primary:hover .btn-arrow,
.btn-secondary:hover .btn-arrow {
    transform: translate(2px, -2px) rotate(-45deg);
}

.btn-primary:active,
.btn-secondary:active {
    transform: translateY(0) scale(0.98);
}

/* Hero Section */
.hero-section {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-title {
    font-size: clamp(3.2rem, 5vw, 4.8rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
    color: white;
}

.gradient-text {
    background: linear-gradient(to right, var(--primary-400), var(--primary-500), #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(var(--primary-rgb), 0.1);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 90%;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
}

.neon-wrapper {
    position: relative;
    padding: 3px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.neon-wrapper::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent 0deg,
            transparent 150deg,
            var(--primary-500) 180deg,
            transparent 210deg,
            transparent 360deg);
    animation: rotate-thread 4s linear infinite;
    transition: opacity 0.5s ease;
}

.hero-image-wrapper {
    border-radius: 35px;
    filter: drop-shadow(0 0 40px rgba(var(--primary-rgb), 0.25));
    animation: float 6s ease-in-out infinite;
}

.neon-card-wrapper {
    border-radius: 27px;
    width: 100%;
    height: 100%;
}

@keyframes rotate-thread {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.hero-image-main {
    width: 100%;
    max-width: 480px;
    z-index: 2;
    border-radius: 32px;
    position: relative;
    display: block;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-16px);
    }
}

/* Particles & Background Effects */
#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% -20%, rgba(var(--primary-rgb), 0.15), transparent 70%);
}

.particle {
    position: absolute;
    background: var(--primary-500);
    border-radius: 50%;
    opacity: 0.3;
    pointer-events: none;
    animation: float-particle 20s infinite ease-in-out;
}

@keyframes float-particle {

    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.2;
    }

    50% {
        transform: translate(100px, -100px);
        opacity: 0.5;
    }
}

/* Services & Flip Cards */
.services-section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    margin-bottom: 5rem;
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.6;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
}

.bento-card {
    position: relative;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.32, 0.72, 0, 1);
}

.col-span-4 {
    grid-column: span 4 / span 4;
}

.col-span-6 {
    grid-column: span 6 / span 6;
}

.col-span-8 {
    grid-column: span 8 / span 8;
}

.col-span-12 {
    grid-column: span 12 / span 12;
}

/* Double-Bezel nested architecture */
.bento-shell {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-glass);
    border-radius: 32px;
    padding: 6px;
    height: 100%;
    transition: all 0.6s cubic-bezier(0.32, 0.72, 0, 1);
    display: flex;
    flex-direction: column;
}

.bento-core {
    background: #09090B;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: calc(32px - 6px);
    padding: 2.25rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.32, 0.72, 0, 1);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08);
}

.bento-visual {
    height: 200px;
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 2rem;
    position: relative;
    background: #030303;
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bento-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.8s cubic-bezier(0.32, 0.72, 0, 1);
}

.bento-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.bento-header {
    margin-bottom: 1rem;
}

.bento-badge {
    display: inline-block;
    background: rgba(var(--primary-rgb), 0.06);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    color: var(--primary-500);
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.bento-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    line-height: 1.25;
}

.bento-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 2rem;
}

.bento-footer {
    display: flex;
    align-items: center;
}

.bento-link {
    color: var(--text-tertiary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}

.bento-arrow-capsule {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}

.bento-arrow {
    width: 12px;
    height: 12px;
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}

/* Featured Bento Card (Automatizaciones) styling */
.bento-card.featured-card .bento-core {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 2rem;
    align-items: center;
}

.bento-card.featured-card .bento-visual {
    height: 100%;
    margin-bottom: 0;
}

/* Hover dynamics */
.bento-card:hover .bento-shell {
    background: rgba(var(--primary-rgb), 0.02);
    border-color: rgba(var(--primary-rgb), 0.15);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.bento-card:hover .bento-core {
    border-color: rgba(var(--primary-rgb), 0.2);
    box-shadow: inset 0 1px 1px rgba(var(--primary-rgb), 0.12);
}

.bento-card:hover .bento-image {
    transform: scale(1.05);
}

.bento-card:hover .bento-link {
    color: var(--primary-500);
}

.bento-card:hover .bento-arrow-capsule {
    background: rgba(var(--primary-rgb), 0.1);
    border-color: var(--primary-500);
    color: var(--primary-500);
}

.bento-card:hover .bento-arrow {
    transform: translateX(2px);
}

/* Custom CTA Bento Card styling */
.cta-bento-card .bento-shell {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.06) 0%, rgba(var(--primary-rgb), 0.02) 100%);
    border-color: var(--border-glass-accent);
}

.cta-bento-card .bento-core {
    background: transparent;
    border: none;
    box-shadow: none;
    justify-content: center;
}

.cta-bento-card .bento-content {
    justify-content: center;
}

.badge-accent {
    background: var(--primary-500) !important;
    color: #030303 !important;
    border: none !important;
}

.flex-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.justify-center {
    justify-content: center;
}

/* Glass Card */
.glass-card {
    background: linear-gradient(135deg,
            rgba(var(--primary-rgb), 0.08) 0%,
            rgba(var(--primary-rgb), 0.04) 50%,
            rgba(var(--primary-rgb), 0.08) 100%);
    backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--border-glass);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

/* Testimonials Section */
.testimonials-section {
    padding: 120px 0;
    position: relative;
    background: radial-gradient(circle at 10% 20%, rgba(var(--primary-rgb), 0.04), transparent 50%);
}

.testimonial-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.testimonial-quote-mark {
    font-size: 8rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--primary-500);
    opacity: 0.15;
    position: absolute;
    top: -4rem;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1;
    z-index: 0;
}

.testimonial-quote {
    font-size: clamp(1.4rem, 3.5vw, 1.85rem);
    font-weight: 400;
    line-height: 1.5;
    color: white;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    letter-spacing: -0.01em;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    font-style: normal;
}

.author-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-500);
}

.author-title {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Testimonials Section */
.testimonials-section {
    padding: 120px 0;
    position: relative;
    background: radial-gradient(circle at 10% 20%, rgba(var(--primary-rgb), 0.04), transparent 50%);
}

.testimonial-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.testimonial-quote-mark {
    font-size: 8rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--primary-500);
    opacity: 0.15;
    position: absolute;
    top: -4rem;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1;
    z-index: 0;
}

.testimonial-quote {
    font-size: clamp(1.4rem, 3.5vw, 1.85rem);
    font-weight: 400;
    line-height: 1.5;
    color: white;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    letter-spacing: -0.01em;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    font-style: normal;
}

.author-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-500);
}

.author-title {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* AI Guide / Newsletter Section */
.newsletter-section {
    padding: 140px 0;
    position: relative;
}

.newsletter-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
    align-items: stretch;
    margin-top: 4rem;
}

.newsletter-link-wrapper {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}

.newsletter-link-wrapper:hover {
    transform: translateY(-4px);
}

.newsletter-link-wrapper.col-span-6 {
    grid-column: span 6 / span 6;
}

.newsletter-link-wrapper.col-span-12 {
    grid-column: span 12 / span 12;
}

.newsletter-item {
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.newsletter-item .bento-shell {
    border-radius: 36px;
    padding: 6px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.6s cubic-bezier(0.32, 0.72, 0, 1);
}

.newsletter-item .bento-core {
    border-radius: calc(36px - 6px);
    padding: 2.5rem;
    background: #09090B;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.newsletter-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
    position: relative;
}

.newsletter-header.flex-row-justify {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}

.newsletter-num {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-500);
    line-height: 1;
    opacity: 0.85;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 15px rgba(var(--primary-rgb), 0.35);
}

.newsletter-card-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    line-height: 1.25;
}

.newsletter-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 500;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
}

.newsletter-intro {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Steps list */
.newsletter-steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    color: var(--primary-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.step-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.step-text strong {
    color: white;
    font-weight: 600;
}

/* Impact elements */
.impact-cards-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.impact-mini-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 1.25rem;
    transition: all 0.5s cubic-bezier(0.32, 0.72, 0, 1);
}

.impact-mini-card:hover {
    background: rgba(var(--primary-rgb), 0.04);
    border-color: rgba(var(--primary-rgb), 0.15);
    transform: translateX(4px);
}

.impact-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.impact-dot {
    width: 5px;
    height: 5px;
    background: var(--primary-500);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--primary-500);
}

.impact-desc {
    font-size: 0.88rem;
    color: var(--text-tertiary);
    line-height: 1.5;
}

/* LLMs comparison grid */
.llms-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.llm-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.6s cubic-bezier(0.32, 0.72, 0, 1);
}

.llm-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.llm-logo {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    color: white;
}

.llm-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
}

.llm-provider {
    font-size: 9px;
    color: var(--text-quaternary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.llm-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.llm-usecase {
    font-size: 9.5px;
    color: var(--text-tertiary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem;
    line-height: 1.4;
}

.llm-usecase span {
    color: var(--primary-500);
    font-weight: 700;
}

/* Chromatic brand colors */
.logo-claude { background: #E68A6B; }
.logo-gemini { background: #388CF2; }
.logo-openai { background: #10A37F; }
.logo-meta { background: #8E3FF2; }

.llm-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.llm-card.border-claude:hover {
    border-color: rgba(230, 138, 107, 0.35);
    background: rgba(230, 138, 107, 0.02);
}

.llm-card.border-gemini:hover {
    border-color: rgba(56, 140, 242, 0.35);
    background: rgba(56, 140, 242, 0.02);
}

.llm-card.border-openai:hover {
    border-color: rgba(16, 163, 127, 0.35);
    background: rgba(16, 163, 127, 0.02);
}

.llm-card.border-meta:hover {
    border-color: rgba(142, 63, 242, 0.35);
    background: rgba(142, 63, 242, 0.02);
}

/* Hover effect on bento shells of newsletter items */
.newsletter-item:hover .bento-shell {
    background: rgba(var(--primary-rgb), 0.02);
    border-color: rgba(var(--primary-rgb), 0.15);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.newsletter-item:hover .bento-core {
    border-color: rgba(var(--primary-rgb), 0.2);
}

/* Reveal Animations */
.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

/* About Section */
.about-section {
    padding: 120px 0;
    position: relative;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.about-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-num {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-500);
    line-height: 1;
}

.stat-txt {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.75rem;
}

/* Final CTA */
/* Fused Contact & CTA Section */
.contact-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.12) 0%, transparent 70%);
    z-index: -1;
    filter: blur(80px);
}

.contact-cta-card {
    background: rgba(15, 15, 15, 0.4);
    backdrop-filter: blur(32px);
    border: 1px solid var(--border-glass);
    border-radius: 48px;
    padding: 6rem 4rem;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}

.contact-cta-content {
    margin-bottom: 4rem;
}

.cta-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-align: center;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    text-align: left;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 1.25rem;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-500);
    background: rgba(var(--primary-rgb), 0.05);
    box-shadow: 0 0 25px rgba(var(--primary-rgb), 0.15);
    transform: translateY(-2px);
}

.form-actions {
    margin-top: 1rem;
}

.btn-large {
    padding: 1.5rem 4rem;
    font-size: 1.3rem;
    border-radius: 100px;
    cursor: pointer;
}

.glow-pulse {
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(var(--primary-rgb), 0.6);
    }
}

@media (max-width: 768px) {
    .contact-cta-card {
        padding: 4rem 1.5rem;
        border-radius: 32px;
        overflow: hidden;
    }

    .contact-form {
        width: 100%;
        box-sizing: border-box;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        width: 100%;
    }

    .form-group {
        width: 100%;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        box-sizing: border-box;
        font-size: 1rem;
    }

    .cta-title {
        font-size: 2.2rem;
    }

    .cta-subtitle {
        font-size: 1.1rem;
    }

    .btn-large {
        width: 100%;
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
    }
}

/* Service Modal */
.service-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
    overflow-y: auto;
}

.service-modal.active {
    display: block;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.service-modal.active .modal-overlay {
    opacity: 1;
}

.modal-content {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: var(--bg-primary);
    backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding: 8rem 2rem 4rem;
    z-index: 2;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: none;
}

.service-modal.active .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.modal-close {
    position: fixed;
    top: 2rem;
    right: 3rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    color: white;
    padding: 1rem 2rem;
    border-radius: 100px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
}

.modal-close:hover {
    background: var(--primary-500);
    border-color: var(--primary-500);
    transform: translateY(-2px);
}

.close-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.close-text {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

/* Modal Internal Body */
.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

.modal-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.modal-hero-img {
    width: 120px;
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px rgba(var(--primary-rgb), 0.4));
}

.modal-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, var(--primary-500));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-500);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.detail-list {
    list-style: none;
}

.detail-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.25rem;
    border-radius: 16px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.detail-item:hover {
    background: rgba(var(--primary-rgb), 0.05);
    border-color: var(--primary-500);
    transform: translateX(5px);
}

.detail-icon {
    color: var(--primary-500);
    font-weight: 800;
}

.savings-card {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), transparent);
    padding: 2rem;
    border-radius: 24px;
    border: 1px solid var(--border-glass);
}

.savings-val {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    display: block;
}

.savings-desc {
    color: var(--text-tertiary);
    font-size: 0.95rem;
}

.modal-footer {
    margin-top: 4rem;
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-cta-text {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 2rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 4rem 1.5rem 2rem;
    }

    .modal-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .modal-title {
        font-size: 2.2rem;
    }

    .modal-close {
        top: 1rem;
        right: 1.5rem;
        padding: 0.5rem 1rem;
    }
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: var(--bg-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 60px;
}

.footer-desc {
    color: var(--text-tertiary);
    margin: 1.5rem 0;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--primary-500);
    transform: translateY(-3px);
}

.footer-title {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-tertiary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-500);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--text-quaternary);
    font-size: 0.9rem;
}

/* Responsive */
/* Responsive Overrides */
@media (max-width: 768px) {
    .navbar {
        width: calc(100% - 1.5rem);
        padding: 0 1rem;
        height: auto;
        min-height: 52px;
        top: 0.75rem;
        border-radius: 50px;
    }

    .nav-container {
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 0.5rem;
    }

    .nav-left {
        gap: 0.5rem;
        flex-shrink: 0;
    }

    .nav-status {
        display: none;
    }

    .status-text {
        display: none;
    }

    .navbar.scrolled {
        height: 60px;
        top: 1rem;
    }

    .nav-logo {
        height: 36px;
    }

    .navbar.scrolled .nav-logo {
        height: 36px;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .nav-links {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        backdrop-filter: none;
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        gap: 0.15rem;
        padding: 0.5rem 0;
        transition: none;
        z-index: auto;
        border: none;
        border-radius: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        flex-shrink: 1;
        overflow: visible;
    }

    .nav-btn-desktop {
        display: none !important;
    }

    .nav-right {
        display: none !important;
    }

    .mobile-only-btn {
        display: none !important;
    }

    .nav-link {
        font-size: 0.68rem;
        font-weight: 500;
        padding: 0.2rem 0.35rem;
        white-space: nowrap;
        color: var(--text-secondary);
    }

    .nav-link::after {
        display: none;
    }

    .nav-btn {
        font-size: 0.68rem;
        padding: 0.3rem 0.6rem !important;
    }

    /* Hero Responsive */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
        padding-top: 20px;
    }

    .hero-title {
        font-size: 2.6rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        margin: 0 auto 2rem;
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
        flex-direction: column;
        gap: 0.85rem;
    }

    .hero-visual {
        order: -1;
    }

    .hero-image-main {
        max-width: 280px;
    }

    /* Sections Shared */
    .section-title {
        font-size: 2.2rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    /* Bento Grid Mobile Collapse */
    .bento-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .bento-card {
        grid-column: span 12 / span 12 !important;
    }

    .bento-card.featured-card .bento-core {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .bento-shell {
        border-radius: 24px;
        padding: 4px;
    }

    .bento-core {
        border-radius: calc(24px - 4px);
        padding: 1.75rem;
    }

    .bento-visual {
        height: 150px;
        margin-bottom: 1.5rem;
    }

    .bento-description {
        margin-bottom: 1.5rem;
    }

    /* Testimonials Mobile */
    .testimonials-section {
        padding: 80px 0;
    }

    .testimonial-quote {
        font-size: 1.25rem;
        line-height: 1.5;
    }

    .testimonial-quote-mark {
        font-size: 5rem;
        top: -2.5rem;
    }

    /* Newsletter Mobile Collapse */
    .newsletter-section {
        padding: 80px 0;
    }

    .newsletter-grid,
    .newsletter-grid.staggered-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
        width: 100%;
    }

    .newsletter-grid.staggered-grid .newsletter-link-wrapper:nth-child(2) {
        margin-top: 0;
    }

    .newsletter-link-wrapper {
        grid-column: span 12 / span 12 !important;
        height: auto;
    }

    .newsletter-item {
        width: 100%;
    }

    .newsletter-item .bento-shell {
        border-radius: 28px;
        padding: 4px;
    }

    .newsletter-item .bento-core {
        border-radius: calc(28px - 4px);
        padding: 1.75rem;
    }

    .newsletter-num {
        font-size: 2.2rem;
    }

    .newsletter-card-title {
        font-size: 1.35rem;
    }

    .step-item {
        gap: 0.85rem;
    }

    .llms-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .llm-card {
        padding: 1.25rem;
    }

    /* About Section Responsive */
    .about-section {
        padding: 80px 0;
    }

    .about-text {
        font-size: 1.1rem;
    }

    .about-stats {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        margin-top: 2.5rem;
    }

    .stat-num {
        font-size: 2.5rem;
    }

    /* Contact Responsive */
    .contact-section {
        padding: 80px 0;
    }

    .contact-cta-card {
        padding: 3rem 1.25rem;
        border-radius: 28px;
        overflow: hidden;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        box-sizing: border-box;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-subtitle {
        font-size: 1.05rem;
    }

    .btn-large {
        width: 100%;
        padding: 1.1rem 2rem;
        font-size: 1.1rem;
    }

    /* Footer Responsive */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-desc {
        margin: 1rem auto;
    }

    .social-links {
        justify-content: center;
    }
}

@keyframes robot-pulse {

    0%,
    100% {
        filter: drop-shadow(0 0 2px rgba(var(--primary-rgb), 0.3));
    }

    50% {
        filter: drop-shadow(0 0 10px rgba(var(--primary-rgb), 0.8));
    }
}

/* Welcome Screen Animation */
#welcome-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 9999;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: opacity 1.5s ease-in-out, visibility 1.5s;
}

#matrix-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
}

.welcome-content {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 100%;
}

#typing-logo {
    font-size: 5rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--primary-500);
    text-shadow: 0 0 20px rgba(var(--primary-rgb), 0.5);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s;
    height: 1.2em;
    display: flex;
    justify-content: center;
    align-items: center;
}

#welcome-text {
    font-size: 6rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: #fff;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.8), 0 0 60px rgba(var(--primary-rgb), 0.4);
    opacity: 0;
    transform: scale(0.5);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    width: 100%;
}

#welcome-text.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.logo-zoom-out {
    transform: scale(4);
    opacity: 0;
}

.ready-to-scroll {
    overflow-y: auto !important;
}

.hidden {
    display: none;
}

@media (max-width: 768px) {
    #typing-logo {
        font-size: 2.5rem;
    }

    #welcome-text {
        font-size: 3rem;
    }
}

/* ==========================================================================
   Checkout Page Styles (PayPal & Calendly Integration)
   ========================================================================== */

.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 600px;
    margin: 2rem auto 3rem auto;
    padding: 0 1rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

.step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-glass);
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.5s cubic-bezier(0.32, 0.72, 0, 1);
}

.step-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-tertiary);
    transition: all 0.5s cubic-bezier(0.32, 0.72, 0, 1);
}

.step.active .step-num {
    border-color: var(--primary-500);
    color: var(--bg-primary);
    background: var(--primary-500);
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.4);
}

.step.active .step-label {
    color: white;
}

.step.completed .step-num {
    border-color: var(--primary-500);
    color: var(--primary-500);
    background: rgba(var(--primary-rgb), 0.1);
}

.step.completed .step-label {
    color: var(--primary-500);
}

.step-connector {
    flex-grow: 1;
    height: 2px;
    background: var(--border-glass);
    margin: 0 1rem;
    transform: translateY(-13px);
    transition: all 0.5s cubic-bezier(0.32, 0.72, 0, 1);
}

.step-connector.completed {
    background: var(--primary-500);
    box-shadow: 0 0 8px rgba(var(--primary-rgb), 0.3);
}

/* Grid Layout for Checkout */
.checkout-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: stretch;
    transition: opacity 0.5s ease-in-out;
}

/* Select wrapper and custom select styling */
.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper::after {
    content: '▼';
    font-size: 0.8rem;
    color: var(--text-tertiary);
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    pointer-events: none;
    transition: color 0.3s ease;
}

.select-wrapper:hover::after {
    color: var(--primary-500);
}

.custom-select {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    color: white;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    appearance: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}

.custom-select:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.15);
}

.custom-select option {
    background: var(--bg-tertiary);
    color: white;
    padding: 1rem;
}

/* Resumen filas */
.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
}

.summary-label {
    color: var(--text-secondary);
}

.summary-value {
    color: white;
    font-weight: 500;
}

/* Loading spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(var(--primary-rgb), 0.1);
    border-radius: 50%;
    border-top-color: var(--primary-500);
    animation: spin 1s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.15);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success screen */
.checkout-success-section {
    transition: opacity 0.5s ease-in-out;
}

/* Responsive checkout */
@media (max-width: 992px) {
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .checkout-steps {
        margin-bottom: 2rem;
    }
    .step-label {
        font-size: 0.75rem;
    }
    .step-connector {
        margin: 0 0.5rem;
    }
}

/* Subpáginas de Guía IA (SEO y Editorial) */
.subpage-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 120px 2rem 80px;
    position: relative;
    z-index: 10;
}

.subpage-header {
    margin-bottom: 4rem;
    position: relative;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin-bottom: 1.5rem;
}

.breadcrumbs a {
    color: var(--text-tertiary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--primary-500);
}

.breadcrumb-separator {
    color: var(--text-quaternary);
}

.breadcrumb-current {
    color: var(--primary-500);
}

.subpage-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.subpage-intro {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 3rem;
    border-left: 3px solid var(--primary-500);
    padding-left: 1.5rem;
}

.subpage-content {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

.subpage-content h2 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 3.5rem 0 1.5rem;
    letter-spacing: -0.02em;
}

.subpage-content h3 {
    color: white;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 2.5rem 0 1rem;
}

.subpage-content p {
    margin-bottom: 1.75rem;
}

.subpage-content ul, .subpage-content ol {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.subpage-content li {
    margin-bottom: 0.75rem;
}

.subpage-content strong {
    color: white;
}

.interactive-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 2.5rem;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

.interactive-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb), 0.2), transparent);
}

.back-btn-wrapper {
    margin-top: 5rem;
    display: flex;
    justify-content: center;
}

.glow-ambient {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.04) 0%, transparent 70%);
    top: -10%;
    right: -10%;
    z-index: -1;
    pointer-events: none;
}

.glow-ambient-left {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.03) 0%, transparent 70%);
    bottom: -10%;
    left: -10%;
    z-index: -1;
    pointer-events: none;
}

/* Rejilla de Navegación Cruzada a pie de página */
.other-models-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .other-models-grid {
        grid-template-columns: 1fr;
    }
}

.model-nav-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    height: 100%;
}

.model-nav-card:hover {
    transform: translateY(-3px);
}

.model-nav-card .bento-shell {
    border-radius: 20px;
    padding: 3px;
    height: 100%;
    transition: all 0.5s ease;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-glass);
}

.model-nav-card .bento-core {
    border-radius: calc(20px - 3px);
    padding: 1.25rem 1.5rem;
    background: #09090B;
    border: 1px solid rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 100%;
}

.model-nav-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: white;
    flex-shrink: 0;
}

.model-nav-info h4 {
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.model-nav-info span {
    font-size: 0.7rem;
    color: var(--text-tertiary);
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
}

.llm-svg-logo {
    display: block;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Cyber Grid Background & Mouse Glow */
.hero-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 50px 50px;
    background-image: 
        linear-gradient(to right, rgba(20, 241, 149, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(20, 241, 149, 0.02) 1px, transparent 1px);
    mask-image: radial-gradient(circle at 50% 50%, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 100%);
    opacity: 0.85;
    pointer-events: none;
    z-index: 1;
}

.hero-mouse-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(20, 241, 149, 0.07), transparent 80%);
    pointer-events: none;
    z-index: 2;
    transition: background 0.15s cubic-bezier(0.1, 0.8, 0.2, 1);
}

/* Centrado del Hero (Layout en una Sola Columna) */
.hero-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    max-width: 950px;
    margin: 0 auto;
    width: 100%;
}

.hero-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100%;
}

/* Spotlight Tipográfico Animado */
.hero-title-spotlight {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
    text-align: center;
    margin-bottom: 2.5rem;
    overflow: visible;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.2rem, 5vw, 4.6rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.04em;
    color: white;
}

.spotlight-phrase {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-100vw, -50%) scale(0.8);
    opacity: 0;
    white-space: nowrap;
    font-size: clamp(2.2rem, 5vw, 4.6rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    background: linear-gradient(to right, var(--primary-400), var(--primary-500), #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
    width: max-content;
    pointer-events: none;
}

.spotlight-phrase.phrase-active {
    transform: translate(-50%, -50%) scale(1.08); /* Zoom-in sutil en el centro */
    opacity: 1;
    z-index: 10;
}

.spotlight-phrase.phrase-exit {
    transform: translate(100vw, -50%) scale(0.8);
    opacity: 0;
    z-index: 1;
}

@media (max-width: 768px) {
    .spotlight-phrase {
        font-size: clamp(1.4rem, 6.5vw, 2.2rem) !important;
    }
    .hero-title-spotlight {
        height: auto;
    }
    .hero-subtitle {
        margin-bottom: 2rem;
    }
}

/* Custom Selection Cards in Checkout */
.service-selector-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.selector-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-glass);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    position: relative;
    overflow: hidden;
}

.selector-card:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(var(--primary-rgb), 0.25);
    transform: translateY(-1.5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.selector-card.active {
    background: rgba(20, 241, 149, 0.03);
    border-color: var(--primary-500);
    box-shadow: 0 0 20px rgba(20, 241, 149, 0.08), inset 0 1px 1px rgba(20, 241, 149, 0.15);
}

.selector-card-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: left;
}

.selector-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
    transition: color 0.3s ease;
}

.selector-card.active .selector-card-title {
    color: var(--primary-500);
}

.selector-card-subtitle {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-family: 'JetBrains Mono', monospace;
    transition: color 0.3s ease;
}

.selector-card.active .selector-card-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.selector-card-price-wrapper {
    display: flex;
    align-items: center;
}

.selector-card-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: white;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: color 0.3s ease;
}

.selector-card.active .selector-card-price {
    color: var(--primary-500);
    text-shadow: 0 0 12px rgba(20, 241, 149, 0.35);
}

/* Global Mouse Cyber Glow Effect */
#global-mouse-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(1000px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(20, 241, 149, 0.04), transparent 80%);
    pointer-events: none;
    z-index: 9999;
    transition: background 0.15s cubic-bezier(0.1, 0.8, 0.2, 1);
}

/* SaaS Premium Button Overrides */
.btn-primary, .btn-secondary, .nav-btn, .nav-btn-desktop {
    border-radius: 8px !important;
}

/* Micro-UIs Bento Grid Redesign */
.micro-ui-container {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    overflow: hidden;
    box-shadow: inset 0 2px 12px rgba(0, 0, 0, 0.95);
}

.dot-mint { background: #14F195; box-shadow: 0 0 6px #14F195; }
.dot-blue { background: #3b82f6; box-shadow: 0 0 6px #3b82f6; }
.dot-check { color: #14F195; font-weight: bold; }

.flow-step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.flow-icon {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.flow-connector {
    width: 1px;
    height: 10px;
    background: rgba(255, 255, 255, 0.08);
    margin-left: 2px;
}

/* Funnel CRO */
.funnel-preview {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.micro-funnel-header {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: var(--text-tertiary);
}

.funnel-stats {
    color: #14F195;
    font-weight: 600;
}

.micro-funnel-bar-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 4px;
}

.funnel-bar {
    height: 16px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    padding: 0 0.5rem;
    font-size: 9px;
    color: var(--text-secondary);
}

.bar-100 { width: 100%; }
.bar-45 { width: 65%; border-color: rgba(59, 130, 246, 0.2); background: rgba(59, 130, 246, 0.02); }
.bar-24 { width: 35%; border-color: rgba(20, 241, 149, 0.2); background: rgba(20, 241, 149, 0.02); }

/* Consola Debugger */
.console-header {
    display: flex;
    align-items: center;
    gap: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 4px;
}

.console-dot-btn {
    width: 5px;
    height: 5px;
    border-radius: 50%;
}

.console-dot-btn.red { background: #ef4444; }
.console-dot-btn.yellow { background: #eab308; }
.console-dot-btn.green { background: #22c55e; }

.console-title {
    font-size: 9px;
    color: var(--text-tertiary);
    margin-left: 4px;
}

.console-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 4px;
    font-size: 9px;
}

.log-line.text-comment { color: var(--text-quaternary); }
.log-line.text-err { color: #f87171; }
.log-line.text-info { color: #60a5fa; }
.log-line.text-success { color: #4ade80; }

/* Calendario */
.micro-calendar-header {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: var(--text-tertiary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 4px;
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    text-align: center;
    font-size: 10px;
    margin-top: 4px;
    color: var(--text-secondary);
}

.cal-day.muted { color: var(--text-quaternary); }
.cal-day.active {
    color: #14F195;
    font-weight: bold;
    position: relative;
}

.cal-dot {
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 2px;
    background: #14F195;
    border-radius: 50%;
}

.cal-footer {
    font-size: 9px;
    color: var(--text-tertiary);
    margin-top: auto;
    text-align: right;
}


/* ===== MOBILE OVERFLOW FIX ===== */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        width: 100%;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 1.25rem;
    }

    section {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
}
