@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* ─── CSS Variables ─────────────────────────────────────────── */
:root {
    --bg-base: #04040e;
    --bg-surface: rgba(255, 255, 255, 0.025);
    --bg-elevated: rgba(255, 255, 255, 0.05);
    --border-subtle: rgba(255, 255, 255, 0.07);
    --border-mid: rgba(255, 255, 255, 0.12);

    --primary: #6366f1;
    --primary-rgb: 99, 102, 241;
    --border-glow: rgba(var(--primary-rgb), 0.3);
    --gradient-brand: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a78bfa 100%);
    --gradient-text: linear-gradient(to bottom right, #ffffff 30%, rgba(255,255,255,0.6) 100%);
    --gradient-hero: radial-gradient(ellipse 100% 70% at 50% -20%, rgba(99,102,241,0.22) 0%, transparent 65%);

    --accent-green: #22c55e;
    --accent-blue: #3b82f6;
    --accent-purple: #a855f7;
    --accent-amber: #f59e0b;
    --accent-red: #ef4444;

    --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;

    --container-max: 1280px;
    --header-height: 72px;
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --radius-xl: 36px;
    --section-gap: 128px;

    --glass-blur: 24px;
    --glass-saturate: 200%;
    --blob-blur: 40px;
    --mockup-blur: 40px;
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    --bg-darker: #000000;
    --border-apple: rgba(255, 255, 255, 0.1);
    --btn-blur: 8px;
}

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

    .glow-blob { animation: none !important; }
    .mockup-card { animation: none !important; }
    .marquee-content { animation: none !important; }
    .feature-icon { animation: none !important; }
}

/* ─── Reset ─────────────────────────────────────────────────── */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

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

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

body {
    background-color: #000000;
    color: #ffffff;
    font-family: var(--font-body);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Subtle grain texture — static, no feTurbulence for performance */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255,255,255,0.003) 2px,
        rgba(255,255,255,0.003) 4px
    );
    opacity: 0.5;
    z-index: 9999;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.025em;
}

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

ul { list-style: none; }

/* ─── Typography Utilities ──────────────────────────────────── */
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.text-dim { color: rgba(255,255,255,0.65); }
.text-center { text-align: center; }
.text-white { color: #fff; }

/* ─── Layout ────────────────────────────────────────────────── */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

section { padding: 96px 0; }

@media (min-width: 1024px) {
    section { padding: var(--section-gap) 0; }
}

/* ─── Glass Effect ──────────────────────────────────────────── */
.glass {
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    background: rgba(10, 10, 22, 0.55);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 8px 32px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.06);
}

/* ─── Badge ─────────────────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    white-space: nowrap;
}

.badge-primary {
    border-color: var(--border-glow);
    color: #a5b4fc;
    background: rgba(99,102,241,0.1);
}

/* ─── Grid overlay for hero ─────────────────────────────────── */
.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 56px 56px;
    z-index: 0;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 0%, transparent 75%);
    pointer-events: none;
}

/* ─── Sticky Navigation ──────────────────────────────────────── */
.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    background: rgba(4, 4, 14, 0.6);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.35s ease, box-shadow 0.35s ease, border-bottom-color 0.35s ease;
}

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

.logo-area {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: calc(100vw - 80px); /* Leave room for menu button */
}

.logo {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.desktop-nav ul {
    display: flex;
    gap: 2.5rem;
}

.desktop-nav a {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.65);
    transition: color 0.2s ease;
    letter-spacing: -0.01em;
}

.desktop-nav a:hover { color: #fff; }

.nav-cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
}
.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    transition: 0.3s;
    border-radius: 2px;
}
.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ─── Glow Blobs ──────────────────────────────────────────────── */
.glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(var(--blob-blur));
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
    animation: drift 16s ease-in-out infinite;
    width: 500px;
    height: 500px;
    will-change: transform;
    /* Use GPU compositing only layer type for blur - more efficient */
    transform: translateZ(0);
}

@keyframes drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(60px, -40px) scale(1.12); }
    50% { transform: translate(-40px, 55px) scale(0.9); }
    75% { transform: translate(-50px, -30px) scale(1.06); }
}

/* ─── Hero Section ──────────────────────────────────────────── */
.hero-section {
    position: relative;
    padding: 110px 0 130px;
    overflow: hidden;
    background: var(--gradient-hero);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content { max-width: 640px; }

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
}

.hero-title {
    font-size: clamp(44px, 5.5vw, 76px);
    margin-bottom: 28px;
    background: linear-gradient(to bottom right, #ffffff 30%, rgba(255,255,255,0.6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.05;
}

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

.hero-subtitle {
    font-size: clamp(17px, 1.8vw, 20px);
    color: rgba(255,255,255,0.70);
    margin-bottom: 44px;
    line-height: 1.72;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 52px;
    flex-wrap: wrap;
}

.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.stars {
    color: #fbbf24;
    letter-spacing: 2px;
    font-size: 16px;
}

/* ─── Hero Stats Row ─────────────────────────────────────────── */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 52px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-stat-value {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.65);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.hero-stat + .hero-stat {
    padding-left: 2rem;
    border-left: 1px solid rgba(255,255,255,0.08);
}

/* ─── Hero Visual / Mockups ─────────────────────────────────── */
.hero-visual {
    position: relative;
    height: 540px;
    perspective: 1200px;
}

.mockup-perspective {
    transform-style: preserve-3d;
    perspective: 1200px;
    transition: transform 0.18s ease-out;
    width: 100%;
    height: 100%;
    position: relative;
}

.mockup-card {
    position: absolute;
    width: 295px;
    padding: 20px;
    border-radius: 20px;
    z-index: 1;
    box-shadow: 0 20px 60px rgba(0,0,0,0.65), 0 0 0 0.5px rgba(255,255,255,0.08);
    transition: box-shadow 0.5s cubic-bezier(0.19,1,0.22,1);
}

.mockup-card:hover {
    box-shadow: 0 28px 72px rgba(99,102,241,0.32), 0 0 0 0.5px rgba(99,102,241,0.2);
}

.mockup-natatorio {
    top: 20px;
    right: 10px;
    z-index: 3;
    animation: float-a 5s ease-in-out infinite;
}

.mockup-peluqueria {
    top: 180px;
    left: 0;
    z-index: 2;
    opacity: 0.92;
    animation: float-b 5.5s ease-in-out infinite;
}

.mockup-academia {
    bottom: 20px;
    right: 55px;
    z-index: 1;
    opacity: 0.78;
    animation: float-c 6s ease-in-out infinite;
}

@keyframes float-a {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-14px); }
}
@keyframes float-b {
    0%, 100% { transform: translateY(-6px); }
    50% { transform: translateY(10px); }
}
@keyframes float-c {
    0%, 100% { transform: translateY(6px); }
    50% { transform: translateY(-16px); }
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.mockup-header .dots {
    display: flex;
    gap: 5px;
}

.mockup-header .dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: block;
    background: rgba(255,255,255,0.2);
}

.mockup-header .dots span:first-child { background: #ef4444; }
.mockup-header .dots span:nth-child(2) { background: #f59e0b; }
.mockup-header .dots span:last-child { background: #22c55e; }

.mockup-header .label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.70);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-left: auto;
}

.mockup-body { display: flex; flex-direction: column; gap: 12px; }

.mockup-title {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 8px;
}

.mockup-list { display: flex; flex-direction: column; gap: 5px; }

.list-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.72);
    padding: 6px 10px;
    background: rgba(255,255,255,0.04);
    border-radius: 8px;
}

.list-item span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gradient-brand);
    flex-shrink: 0;
    display: inline-block;
}

.mockup-stat {
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.15);
    border-radius: 10px;
    padding: 10px 14px;
}

.stat-label {
    font-size: 11px;
    color: rgba(255,255,255,0.55);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
}

.stat-value {
    font-size: 22px;
    font-weight: 800;
    font-family: var(--font-display);
    color: #fff;
    line-height: 1;
}

.mockup-alert {
    font-size: 12px;
    color: #fbbf24;
    background: rgba(251,191,36,0.08);
    border: 1px solid rgba(251,191,36,0.2);
    border-radius: 8px;
    padding: 7px 12px;
}

.mockup-badge-row {
    display: flex;
    gap: 6px;
}

.m-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 9999px;
    background: rgba(99,102,241,0.12);
    border: 1px solid rgba(99,102,241,0.25);
    color: #a5b4fc;
}

.mockup-chart {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 48px;
    padding: 4px;
    background: rgba(255,255,255,0.025);
    border-radius: 8px;
}

.mockup-chart .bar {
    flex: 1;
    border-radius: 4px 4px 0 0;
    background: var(--gradient-brand);
    opacity: 0.75;
    min-width: 8px;
}

.mockup-status {
    font-size: 11px;
    color: #22c55e;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mockup-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 6px #22c55e;
    animation: pulse-green 2s ease-in-out infinite;
    display: inline-block;
}

@keyframes pulse-green {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px #22c55e; }
    50% { opacity: 0.4; box-shadow: 0 0 2px #22c55e; }
}

/* pulse-green keyframe is defined in animations.css */

/* ─── Social Proof Bar ──────────────────────────────────────── */
.social-proof-bar {
    padding: 52px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(255,255,255,0.009);
    overflow: hidden;
}

.social-proof-title {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 32px;
    color: rgba(255,255,255,0.3);
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    max-width: 100vw;
    mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
}

.marquee-content {
    display: inline-flex;
    animation: marquee-scroll 30s linear infinite;
    gap: 0;
    align-items: center;
    will-change: transform;
}

.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.logo-item {
    font-size: 15px;
    font-weight: 700;
    color: rgba(255,255,255,0.60);
    margin: 0 44px;
    letter-spacing: -0.02em;
    transition: color 0.2s ease;
    display: inline-block;
    cursor: default;
    font-family: var(--font-display);
}

.logo-item:hover { color: rgba(255,255,255,0.6); }

/* ─── KPI Stats Strip ─────────────────────────────────────── */
.kpi-strip {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(99,102,241,0.04) 0%, transparent 100%);
    border-bottom: 1px solid var(--border-subtle);
}

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

.kpi-item {
    padding: 36px 24px;
    border-right: 1px solid var(--border-subtle);
    position: relative;
}

.kpi-item:last-child { border-right: none; }

.kpi-value {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -0.04em;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 12px;
}

.kpi-label {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    font-weight: 500;
    line-height: 1.4;
}

/* ─── Section Layout ─────────────────────────────────────────── */
.glass-section {
    background: linear-gradient(180deg, rgba(99,102,241,0.04) 0%, transparent 100%);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.section-header { margin-bottom: 64px; }

.section-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: #a5b4fc;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 16px;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.2);
    padding: 5px 14px;
    border-radius: 9999px;
}

.section-title {
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.06;
}

.section-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.5);
    margin-top: 18px;
    line-height: 1.65;
    max-width: 600px;
}

.text-center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* ─── Problem/Solution ──────────────────────────────────────── */
.problem-solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* ─── Features Grid ─────────────────────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* ─── How it works / Stepper ─────────────────────────────────── */
.stepper-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    position: relative;
}

/* Connecting line between steps */
.stepper-grid::before {
    content: '';
    position: absolute;
    top: 56px;
    left: calc(33.33% + 24px);
    right: calc(33.33% + 24px);
    height: 1px;
    background: linear-gradient(90deg, var(--border-glow), var(--primary) 50%, var(--border-glow));
    z-index: 0;
    opacity: 0.4;
}

.step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-num {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #818cf8;
    margin-bottom: 14px;
    text-transform: uppercase;
    font-family: var(--font-display);
}

.step-icon {
    font-size: 36px;
    width: 76px;
    height: 76px;
    border-radius: 22px;
    background: rgba(99,102,241,0.08);
    border: 1px solid rgba(99,102,241,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    transition: all 0.3s ease;
}

.step:hover .step-icon {
    background: rgba(99,102,241,0.15);
    border-color: rgba(99,102,241,0.35);
    transform: scale(1.06);
}

.step-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

/* ─── Comparison Table ──────────────────────────────────────── */
.comparison-table-wrapper {
    border-radius: var(--radius-lg);
    overflow-x: auto;
    width: 100%;
}

.comparison-table {
    width: 100%;
    min-width: 480px; /* Ensure table forces scroll on small devices */
    border-collapse: collapse;
    font-size: 15px;
}

.comparison-table th {
    padding: 20px 24px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.45);
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid var(--border-subtle);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.comparison-table th:first-child { text-align: left; }
.comparison-table th.highlight { color: #a5b4fc; background: rgba(99,102,241,0.07); }

.comparison-table td {
    padding: 16px 24px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.035);
    color: rgba(255,255,255,0.6);
}

.comparison-table td:first-child {
    text-align: left;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

.comparison-table td.check {
    color: #22c55e;
    font-size: 18px;
    background: rgba(99,102,241,0.025);
}

.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: rgba(255,255,255,0.013); }

/* ─── Pricing ───────────────────────────────────────────────── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.tier-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: 12px;
}

.price {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}

.target {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    margin-bottom: 28px;
    line-height: 1.55;
}

.pricing-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    margin-bottom: 32px;
}

.pricing-list li {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.45;
}

.featured-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0 0 9999px 9999px;
    border-top: none;
    font-size: 11px;
}

/* ─── Testimonials ──────────────────────────────────────────── */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {}

.testimonial-card .stars {
    font-size: 14px;
    letter-spacing: 3px;
    margin-bottom: 16px;
    display: block;
}

.quote {
    font-size: 15px;
    line-height: 1.72;
    color: rgba(255,255,255,0.72);
    margin-bottom: 24px;
    font-style: italic;
}

.avatar-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.avatar-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.avatar-info .name {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.avatar-info .role {
    font-size: 12px;
}

/* ─── FAQ styles now in components.css ─────────────────────── */

/* ─── Contact Section ───────────────────────────────────────── */
.contact-form-wrapper {
    max-width: 780px;
    margin: 0 auto;
    padding: 52px;
    border-radius: var(--radius-xl);
    text-align: left;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

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

.btn-full-width { width: 100%; }

.form-success-message {
    text-align: center;
    padding: 64px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.form-success-message .success-icon { font-size: 60px; }

.hidden { display: none; }

/* ─── Footer ─────────────────────────────────────────────────── */
.footer {
    padding: 88px 0 40px;
    border-top: 1px solid var(--border-subtle);
    background: rgba(0,0,0,0.3);
}

.footer-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 5rem;
    margin-bottom: 64px;
    align-items: start;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-col h4,
.footer-col .footer-heading {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 20px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-col a {
    font-size: 14px;
    color: rgba(255,255,255,0.42);
    transition: color 0.2s ease;
}

.footer-col a:hover { color: rgba(255,255,255,0.85); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 36px;
    border-top: 1px solid rgba(255,255,255,0.045);
    font-size: 13px;
    color: rgba(255,255,255,0.28);
    flex-wrap: wrap;
    gap: 12px;
}

.footer-brand .text-dim {
    font-size: 14px;
    margin-top: 16px;
    display: block;
    line-height: 1.55;
    color: rgba(255,255,255,0.50);
}


/* ─── Responsive ──────────────────────────────────────────────── */

/* === Tablet (≤ 1100px) === */
@media (max-width: 1100px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-content { max-width: 700px; margin: 0 auto; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-social-proof { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { height: 340px; display: flex; justify-content: center; margin-top: 48px; }
    .mockup-card { width: 230px; position: absolute; }
    .mockup-natatorio { top: 0; right: 20px; }
    .mockup-peluqueria { top: 100px; left: 20px; }
    .mockup-academia { display: none; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .pricing-card.featured { transform: none; }
    .testimonials-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .stepper-grid { grid-template-columns: 1fr; gap: 2rem; }
    .stepper-grid::before { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 3rem; }
    .desktop-nav { display: none; }
    .desktop-nav.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(15,15,20,0.98);
        backdrop-filter: blur(12px);
        z-index: 999;
        padding: 2rem;
        gap: 0;
    }
    .desktop-nav.active ul {
        flex-direction: column;
        gap: 0;
    }
    .desktop-nav.active ul li {
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .desktop-nav.active ul li:last-child {
        border-bottom: none;
    }
    .desktop-nav.active a {
        display: block;
        padding: 1.25rem 0;
        font-size: 1.125rem;
        color: rgba(255,255,255,0.85);
    }
    .mobile-menu-toggle { display: flex; }
    .nav-cta { display: none; }
    .kpi-grid { grid-template-columns: repeat(2, 1fr); }
    .kpi-item:nth-child(2) { border-right: none; }
    .kpi-item:nth-child(3) { border-right: 1px solid var(--border-subtle); }
    .kpi-item:last-child { border-right: none; }
}

/* === Mobile (≤ 768px) === */
@media (max-width: 768px) {
    :root { --section-gap: 64px; --header-height: 64px; }
    /* Disable backdrop-filter on mobile for performance */
    .glass { backdrop-filter: none; -webkit-backdrop-filter: none; }
    .container { padding: 0 20px; }

    /* Hero */
    .hero-title { font-size: 2.25rem; line-height: 1.1; letter-spacing: -0.04em; }
    .hero-subtitle { font-size: 1.05rem; margin-bottom: 32px; }
    .hero-actions { flex-direction: column; gap: 12px; }
    .hero-actions .btn { width: 100%; }
    .hero-visual {
        height: auto; min-height: 260px; margin-top: 40px;
        position: relative; padding-bottom: 40px;
    }
    .mockup-card {
        position: relative !important; width: 85% !important; max-width: 300px;
        margin: 0 auto -100px !important; left: auto !important; right: auto !important;
        top: auto !important; transform: none !important;
        box-shadow: 0 20px 50px rgba(0,0,0,0.5) !important;
    }
    .mockup-natatorio { z-index: 3; }
    .mockup-peluqueria { display: none; }
    .mockup-academia { display: none; }
    .hero-stats { flex-direction: column; gap: 1rem; align-items: center; }
    .hero-stat + .hero-stat {
        padding-left: 0; border-left: none;
        padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.08);
    }

    /* Grids */
    .form-row { grid-template-columns: 1fr; }
    .problem-solution-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .footer-links { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { gap: 20px; }
    .pricing-card { padding: 32px 24px; }
    .comparison-table th:nth-child(n+4),
    .comparison-table td:nth-child(n+4) { display: none; }
    .comparison-table-wrapper { margin: 0 -20px; border-radius: 0; }
    .contact-form-wrapper { padding: 30px 24px; max-width: 100%; }

    /* KPI */
    .kpi-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
    .kpi-item { border: none; border-bottom: 1px solid var(--border-subtle); }
    .kpi-item:nth-child(2n) { border-left: 1px solid var(--border-subtle); }
    .kpi-item:nth-child(3), .kpi-item:nth-child(4) { border-bottom: none; }

    /* Typography */
    .section-title { font-size: 1.85rem; margin-bottom: 16px; }
    .section-subtitle-text { max-width: 100%; margin: 15px 0 30px; }

    /* Misc */
    .logo-item { margin: 0 28px; }
    .trust-badges { justify-content: center; gap: 10px; }
    .trust-badge { padding: 6px 12px; font-size: 12px; }
    .hero-scroll-indicator { display: none; }
    .announcement-banner { font-size: 11px; padding: 8px 30px 8px 10px; }
    .announcement-banner .countdown { font-size: 12px; padding: 1px 6px; }
    .announcement-banner ~ #main-header { top: 86px; }
}

/* === Small Mobile (≤ 480px) === */
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .section-title { font-size: 1.6rem; }
    .hero-visual { min-height: 200px; }
    .mockup-card { width: 90% !important; max-width: 280px; }
    .kpi-grid { grid-template-columns: 1fr; }
    .kpi-item { border-right: none !important; border-left: none !important; }
    .announcement-banner { font-size: 12px; }
}

/* ─── Micro-interactions ─────────────────────────────────────── */
/* Note: Button and card hovers are defined in components.css to avoid conflicts */

/* ─── Premium Glass Override ─────────────────────────────────── */
.glass {
    background: rgba(10, 10, 20, 0.4);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.06);
}

.pricing-card.featured {
    border: 1px solid var(--primary);
    background: linear-gradient(160deg, rgba(99, 102, 241, 0.12) 0%, rgba(10, 10, 20, 0.95) 100%);
    box-shadow: 0 0 24px rgba(var(--primary-rgb), 0.25);
}

.panel-danger { border-color: rgba(239, 68, 68, 0.15) !important; }
.panel-success { border-color: rgba(34, 197, 94, 0.15) !important; }

/* ─── Feature Icon Float — hover-only to avoid continuous repaints ── */
.feature-icon { will-change: transform; }
.feature-card:hover .feature-icon {
    animation: icon-float 3s ease-in-out infinite;
}
@keyframes icon-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* ─── Sticky Nav & Banner ────────────────────────────────────── */
.sticky-nav { position: sticky; top: 0; z-index: 1000; }
.announcement-banner ~ #main-header { top: 54px; }

/* ─── Section Subtitle ───────────────────────────────────────── */
.section-subtitle-text { max-width: 600px; margin: 20px auto 40px; }

/* ─── Mockup Cards ───────────────────────────────────────────── */
.mockup-card {
    border-radius: 24px; padding: 24px;
    background: rgba(10, 10, 12, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 100px rgba(0,0,0,0.8);
    backdrop-filter: blur(var(--mockup-blur));
}
.mockup-header {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin: -24px -24px 20px -24px; padding: 16px 24px;
    background: rgba(255,255,255,0.02);
    border-radius: 24px 24px 0 0;
    font-weight: 600; font-size: 14px;
}

/* ─── Scroll Indicator ───────────────────────────────────────── */
.hero-scroll-indicator {
    position: absolute; bottom: 30px; left: 50%;
    transform: translateX(-50%); display: flex;
    flex-direction: column; align-items: center;
    gap: 8px; opacity: 0.6;
    transition: opacity 0.3s ease; z-index: 10;
}
.mouse { width: 24px; height: 40px; border: 2px solid #ffffff; border-radius: 12px; position: relative; }
.wheel {
    width: 2px; height: 6px; background: #ffffff;
    position: absolute; left: 50%; transform: translateX(-50%);
    top: 6px; border-radius: 2px;
    animation: mouse-scroll 1.6s ease-out infinite;
}
@keyframes mouse-scroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

/* ─── Overflow Guard ─────────────────────────────────────────── */
body, html { width: 100%; margin: 0; padding: 0; overflow-x: hidden; }
.section { overflow: hidden; }

/* ─── Glow Blobs ─────────────────────────────────────────────── */
.glow-blob {
    width: 400px; height: 400px; filter: blur(var(--blob-blur));
    opacity: 0.12; transition: transform 0.1s ease-out;
    will-change: transform;
    transform: translateZ(0);
}
.glow-blob-hero-top { top: -100px; left: -100px; background: var(--primary); }
.glow-blob-hero-bottom { top: 200px; right: -100px; background: #0077ed; animation-delay: -5s; }
.glow-blob-contact { top: -200px; left: 50%; transform: translateX(-50%); background: rgba(var(--primary-rgb), 0.2); }

/* ─── Utility Classes ────────────────────────────────────────── */
.mockup-progress-45 { height: 45%; }
.mockup-progress-60 { height: 60%; }
.mockup-progress-80 { height: 80%; }
.mockup-progress-90 { height: 90%; }
.margin-top-20 { margin-top: 20px; }
.margin-top-30 { margin-top: 30px; }
.margin-top-60 { margin-top: 60px; }
.margin-bottom-24 { margin-bottom: 24px; }
.margin-top-auto { margin-top: auto; }
.justify-center { justify-content: center; }

/* ─── Skip Navigation Link ─────────────────────────────────── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    z-index: 10000;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s ease;
}
.skip-link:focus {
    top: 0;
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ─── Focus Visible Improvements ──────────────────────────── */
.desktop-nav a:focus-visible {
    outline: 2px solid rgba(99,102,241,0.8);
    outline-offset: 4px;
    border-radius: 4px;
}

.footer-col a:focus-visible {
    outline: 2px solid rgba(99,102,241,0.8);
    outline-offset: 3px;
}

.showcase-tab:focus-visible {
    outline: 2px solid rgba(99,102,241,0.8);
    outline-offset: 4px;
    border-radius: 4px;
}

/* ─── Contrast Fixes for Accessibility ─────────────────────── */
.footer-col ul li a {
    color: rgba(255,255,255,0.6);  /* Was 0.42, now passes 4.5:1 */
}
.footer-col ul li a:hover { color: rgba(255,255,255,0.95); }

.form-label {
    color: rgba(255,255,255,0.85);  /* Was 0.60, now passes 4.5:1 */
}

.section-subtitle {
    color: rgba(255,255,255,0.7);  /* Was 0.50, now passes 4.5:1 */
}
