/* ===== Reset & base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #07070b;
    --bg-soft: #0c0c14;
    --purple: #7c3aed;
    --purple-light: #a855f7;
    --blue: #00d4ff;
    --text: #f5f5f7;
    --text-muted: #9c9ca8;
    --glass-bg: rgba(255, 255, 255, 0.045);
    --glass-bg-strong: rgba(255, 255, 255, 0.07);
    --glass-border: rgba(255, 255, 255, 0.09);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow-x: hidden;
}

a {
    color: inherit;
}

.text-gradient {
    background: linear-gradient(135deg, var(--purple-light), var(--blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 22px 0;
    transition: padding 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 14px 0;
    background: rgba(7, 7, 11, 0.75);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.logo-mark {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 0 10px rgba(124, 58, 237, 0.5));
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 500;
    transition: color 0.25s var(--ease);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, var(--purple-light), var(--blue));
    transition: width 0.3s var(--ease);
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.btn-nav {
    text-decoration: none;
    color: var(--text);
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), background 0.25s var(--ease);
    white-space: nowrap;
}

.btn-nav:hover {
    border-color: rgba(168, 85, 247, 0.5);
    background: rgba(124, 58, 237, 0.12);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 16px;
    height: 1.5px;
    margin: 0 auto;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 160px 32px 80px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    width: 640px;
    height: 640px;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

.hero-glow-purple {
    top: -200px;
    left: -200px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.35), transparent 70%);
}

.hero-glow-blue {
    bottom: -240px;
    right: -200px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.25), transparent 70%);
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 64px;
    align-items: center;
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple-light), var(--blue));
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.8);
}

.hero h1 {
    font-size: 3.9rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero p {
    font-size: 1.12rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 36px;
}

.buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--purple), var(--blue));
    color: white;
    text-decoration: none;
    padding: 17px 32px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.98rem;
    box-shadow: 0 0 0 0 rgba(124, 58, 237, 0), 0 8px 30px -8px rgba(124, 58, 237, 0.7);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

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

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.7s var(--ease);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 0 1px rgba(168, 85, 247, 0.4), 0 14px 40px -8px rgba(0, 212, 255, 0.55);
}

.btn-primary:hover::before {
    transform: translateX(120%);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--text);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 17px 30px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.98rem;
    backdrop-filter: blur(10px);
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: var(--glass-bg-strong);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 36px;
    padding-top: 32px;
    border-top: 1px solid var(--glass-border);
}

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

.stat strong {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

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

/* ===== Hero visual / dashboard ===== */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.dashboard-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--glass-bg-strong), var(--glass-bg));
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
    padding: 22px;
    animation: float 6s ease-in-out infinite;
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

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

.dashboard-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
}

.dashboard-dots span:nth-child(1) { background: #ff5f57; }
.dashboard-dots span:nth-child(2) { background: #febc2e; }
.dashboard-dots span:nth-child(3) { background: #28c840; }

.dashboard-title {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 600;
}

.dashboard-live {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
    font-weight: 700;
    color: #34e3a1;
    background: rgba(52, 227, 161, 0.1);
    border: 1px solid rgba(52, 227, 161, 0.25);
    padding: 4px 10px;
    border-radius: 999px;
}

.dashboard-live i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #34e3a1;
    box-shadow: 0 0 6px #34e3a1;
    animation: pulse 1.6s ease-in-out infinite;
}

.dashboard-body {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.chat-preview {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    border-radius: var(--radius-md);
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--glass-border);
}

.chat-bubble {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.84rem;
    line-height: 1.4;
}

.chat-bubble.bot {
    align-self: flex-start;
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border);
    border-bottom-left-radius: 4px;
}

.chat-bubble.user {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--purple), var(--blue));
    border-bottom-right-radius: 4px;
    font-weight: 500;
}

.chat-typing {
    align-self: flex-start;
    display: flex;
    gap: 4px;
    padding: 10px 14px;
    border-radius: 14px;
    border-bottom-left-radius: 4px;
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border);
}

.chat-typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
    animation: typing 1.2s infinite ease-in-out;
}

.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

.metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.metric-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
}

.metric-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.metric-text {
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: var(--text);
}

.metric-trend {
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
}

.metric-trend.up {
    color: #34e3a1;
    background: rgba(52, 227, 161, 0.12);
}

.chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 90px;
    padding: 16px;
    border-radius: var(--radius-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
}

.bar {
    flex: 1;
    height: var(--h);
    border-radius: 6px 6px 2px 2px;
    background: linear-gradient(180deg, var(--blue), var(--purple));
    opacity: 0.85;
    transform: scaleY(0);
    transform-origin: bottom;
    animation: grow 1s var(--ease) forwards;
    animation-delay: 0.5s;
}

.bar:nth-child(2) { animation-delay: 0.6s; }
.bar:nth-child(3) { animation-delay: 0.7s; }
.bar:nth-child(4) { animation-delay: 0.8s; }
.bar:nth-child(5) { animation-delay: 0.9s; }
.bar:nth-child(6) { animation-delay: 1s; }

.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(14px);
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.6);
    animation: float 6s ease-in-out infinite;
}

.badge-top {
    top: -18px;
    right: 12px;
    animation-delay: 0.4s;
}

.badge-bottom {
    bottom: -16px;
    left: -10px;
    animation-delay: 0.9s;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34e3a1;
    box-shadow: 0 0 8px #34e3a1;
    animation: pulse 1.6s ease-in-out infinite;
}

/* ===== Social proof band ===== */
.proof {
    padding: 48px 32px;
    background: var(--glass-bg);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.proof-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.proof-container h2 {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.proof-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px 40px;
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--text);
}

.proof-item svg {
    flex-shrink: 0;
    color: var(--blue);
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    padding: 5px;
    width: 26px;
    height: 26px;
    box-sizing: border-box;
}

/* ===== Problems section ===== */
.problems {
    position: relative;
    padding: 120px 32px;
    overflow: hidden;
}

.problems-glow {
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 760px;
    height: 460px;
    background: radial-gradient(ellipse, rgba(124, 58, 237, 0.18), transparent 70%);
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}

.problems-container {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    margin: 0 auto;
}

.section-header {
    max-width: 560px;
    margin: 0 auto 64px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-header .eyebrow {
    margin-bottom: 18px;
}

.section-header h2 {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 14px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

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

.problem-card {
    position: relative;
    padding: 38px 30px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--glass-bg-strong), var(--glass-bg));
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    overflow: hidden;
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.problem-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 0%, rgba(124, 58, 237, 0.22), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}

.problem-card:hover {
    transform: translateY(-8px);
    border-color: rgba(168, 85, 247, 0.35);
    box-shadow: 0 24px 60px -22px rgba(124, 58, 237, 0.45);
}

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

.problem-number {
    position: absolute;
    top: 26px;
    right: 28px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    opacity: 0.55;
}

.problem-icon {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.problem-card h3 {
    position: relative;
    z-index: 1;
    font-size: 1.18rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
}

.problem-card p {
    position: relative;
    z-index: 1;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.problem-icon svg {
    color: var(--text);
    transition: color 0.4s var(--ease);
}

.problem-card:hover .problem-icon svg {
    color: var(--purple-light);
}

/* ===== Funnel ("Cómo funciona el sistema") ===== */
.funnel {
    position: relative;
    padding: 120px 32px;
}

.funnel-container {
    max-width: 1240px;
    margin: 0 auto;
}

.funnel-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: stretch;
    gap: 0 18px;
}

.funnel-step {
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--glass-bg-strong), var(--glass-bg));
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.funnel-step:hover {
    transform: translateY(-8px);
    border-color: rgba(168, 85, 247, 0.35);
    box-shadow: 0 24px 60px -22px rgba(124, 58, 237, 0.45);
}

.funnel-number {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: transparent;
    background: linear-gradient(135deg, var(--purple-light), var(--blue));
    -webkit-background-clip: text;
    background-clip: text;
    margin-bottom: 14px;
}

.funnel-step h3 {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
}

.funnel-step p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 22px;
}

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

.funnel-tag {
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--text-muted);
}

.funnel-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    color: var(--blue);
    opacity: 0.6;
}

.funnel-arrow svg {
    width: 22px;
    height: 22px;
}

/* ===== Growth / solutions section ===== */
.growth {
    position: relative;
    padding: 120px 32px;
}

.growth-container {
    max-width: 1240px;
    margin: 0 auto;
}

.growth-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.growth-card {
    padding: 34px 28px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--glass-bg-strong), var(--glass-bg));
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.growth-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.35);
    box-shadow: 0 24px 60px -22px rgba(0, 212, 255, 0.4);
}

.growth-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--purple), var(--blue));
    box-shadow: 0 10px 28px -10px rgba(124, 58, 237, 0.65);
    margin-bottom: 22px;
}

.growth-card h3 {
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
}

.growth-card p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.growth-card .funnel-tags {
    margin-top: 16px;
}

/* ===== Workflow ("Cómo trabajamos") ===== */
.workflow {
    position: relative;
    padding: 120px 32px;
}

.workflow-container {
    max-width: 980px;
    margin: 0 auto;
}

.workflow-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.workflow-step {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 30px 34px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--glass-bg-strong), var(--glass-bg));
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.workflow-step:hover {
    transform: translateY(-4px);
    border-color: rgba(168, 85, 247, 0.35);
    box-shadow: 0 24px 60px -26px rgba(124, 58, 237, 0.45);
}

.workflow-icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--purple), var(--blue));
    box-shadow: 0 10px 28px -10px rgba(124, 58, 237, 0.65);
}

.workflow-step-label {
    display: block;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 8px;
}

.workflow-content h3 {
    font-size: 1.18rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
}

.workflow-content p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* ===== Sectors section ===== */
.sectors {
    position: relative;
    padding: 120px 32px;
    overflow: hidden;
}

.sectors-glow {
    position: absolute;
    bottom: -160px;
    right: -120px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.16), transparent 70%);
    filter: blur(110px);
    pointer-events: none;
    z-index: 0;
}

.sectors-container {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    margin: 0 auto;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 18px;
}

.sector-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
    padding: 30px 18px;
    border-radius: var(--radius-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    font-size: 0.92rem;
    font-weight: 600;
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}

.sector-card:hover {
    transform: translateY(-6px);
    border-color: rgba(168, 85, 247, 0.35);
    background: var(--glass-bg-strong);
}

.sector-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border);
    color: var(--blue);
}

/* ===== Results section ===== */
.results {
    position: relative;
    padding: 120px 32px;
}

.results-container {
    max-width: 1240px;
    margin: 0 auto;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.result-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 38px 24px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--glass-bg-strong), var(--glass-bg));
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}

.result-card:hover {
    transform: translateY(-6px);
    border-color: rgba(168, 85, 247, 0.35);
}

.result-icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple), var(--blue));
    box-shadow: 0 10px 28px -10px rgba(124, 58, 237, 0.65);
    margin-bottom: 18px;
}

.result-value {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.result-label {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 500;
}

.results-note {
    text-align: center;
    margin-top: 40px;
    font-size: 0.82rem;
    color: var(--text-muted);
    opacity: 0.7;
}

/* ===== Case study section ===== */
.case-study {
    position: relative;
    padding: 120px 32px;
}

.case-container {
    max-width: 980px;
    margin: 0 auto;
}

.case-card {
    padding: 48px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--glass-bg-strong), var(--glass-bg));
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
}

.case-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 18px;
}

.case-card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin-bottom: 36px;
    max-width: 540px;
}

.case-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
}

.case-label {
    display: block;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.case-objectives ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
    list-style: none;
}

.case-objectives li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.96rem;
    font-weight: 500;
}

.case-objectives svg {
    flex-shrink: 0;
    color: var(--blue);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    padding: 6px;
    width: 28px;
    height: 28px;
    box-sizing: border-box;
}

.case-result {
    display: flex;
    flex-direction: column;
}

.case-result-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(0, 212, 255, 0.12));
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.case-result-box .growth-icon {
    flex-shrink: 0;
    margin-bottom: 0;
    width: 48px;
    height: 48px;
}

.case-result-box p {
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.4;
}

/* ===== Contact section ===== */
.contact {
    position: relative;
    padding: 120px 32px;
    overflow: hidden;
}

.contact-container {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.contact-info .eyebrow {
    margin-bottom: 22px;
}

.contact-info h2 {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 18px;
}

.contact-info p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.contact-benefits {
    display: flex;
    flex-direction: column;
    gap: 16px;
    list-style: none;
}

.contact-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.96rem;
    font-weight: 500;
}

.contact-benefits svg {
    flex-shrink: 0;
    color: var(--blue);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    padding: 6px;
    width: 28px;
    height: 28px;
    box-sizing: border-box;
}

.contact-social {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--glass-border);
}

.contact-social-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* ===== Social links (shared: contact + footer) ===== */
.social-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-link {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}

.social-link svg {
    width: 17px;
    height: 17px;
}

.social-link:hover {
    color: var(--blue);
    border-color: rgba(0, 212, 255, 0.45);
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-2px);
}

.contact-form-card {
    position: relative;
    padding: 36px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--glass-bg-strong), var(--glass-bg));
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
}

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

.form-group label {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-muted);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--glass-border);
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%239c9ca8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

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

.form-group input::placeholder {
    color: #6b6b76;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.18);
}

.btn-form {
    width: 100%;
    justify-content: center;
    margin-top: 6px;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0;
}

.form-success.show {
    display: flex;
}

.contact-form.hide {
    display: none;
}

.form-success-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple), var(--blue));
    box-shadow: 0 10px 28px -8px rgba(124, 58, 237, 0.65);
    margin-bottom: 20px;
}

.form-success h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.form-success p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 320px;
}

.form-trust {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 18px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.form-group-consent {
    margin-top: 4px;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--text-muted);
    cursor: pointer;
}

.consent-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--purple);
}

.consent-label a {
    color: inherit;
    text-decoration: underline;
}

/* ===== Footer ===== */
.footer {
    border-top: 1px solid var(--glass-border);
    padding: 48px 32px;
}

.footer-logo {
    opacity: 0.75;
    font-size: 1.05rem;
}

.footer-logo .logo-mark {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 0 6px rgba(124, 58, 237, 0.35));
}

.footer-container {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
}

.footer p {
    color: var(--text-muted);
    font-size: 0.92rem;
    max-width: 420px;
}

.footer-copy {
    color: #5e5e68;
    font-size: 0.8rem;
}

/* ===== WhatsApp floating button ===== */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 200;
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    box-shadow: 0 10px 30px -6px rgba(37, 211, 102, 0.6);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25d366;
    opacity: 0.5;
    animation: whatsapp-pulse 2.2s ease-out infinite;
    z-index: -1;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 14px 36px -6px rgba(37, 211, 102, 0.75);
}

@keyframes whatsapp-pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.8); opacity: 0; }
}

/* ===== Floating chat (Zapyn agent, custom build) ===== */
.chat-trigger {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 9000;
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #6C3AE8, #8B5CF6);
    box-shadow: 0 4px 20px rgba(108, 58, 232, 0.5);
    animation: chat-trigger-pulse 2.6s ease-in-out infinite;
    transition: transform 0.25s var(--ease);
}

.chat-trigger:hover {
    transform: scale(1.06);
}

.chat-trigger-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    display: grid;
    place-items: center;
    border: 2px solid var(--bg);
}

.chat-trigger-badge.hide {
    display: none;
}

@keyframes chat-trigger-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(108, 58, 232, 0.5), 0 0 0 0 rgba(108, 58, 232, 0.45); }
    50% { box-shadow: 0 4px 20px rgba(108, 58, 232, 0.5), 0 0 0 10px rgba(108, 58, 232, 0); }
}

.chat-window {
    position: fixed;
    bottom: 170px;
    right: 20px;
    z-index: 9001;
    width: 360px;
    height: 500px;
    max-height: 500px;
    background: rgba(13, 13, 26, 0.98);
    border: 1px solid rgba(108, 58, 232, 0.4);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(108, 58, 232, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    -webkit-transform: translateY(20px);
    will-change: opacity, transform;
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
}

.chat-window.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    -webkit-transform: translateY(0);
    pointer-events: auto;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0s;
}

.chat-trigger-hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.85);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.chat-window-header {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-bottom: 1px solid rgba(108, 58, 232, 0.3);
    border-radius: 20px 20px 0 0;
}

.chat-window-identity {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.chat-window-avatar {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #6C3AE8, #8B5CF6);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
}

.chat-window-identity > div {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    min-width: 0;
}

.chat-window-name {
    color: #fff;
    font-weight: 700;
    font-size: 0.92rem;
}

.chat-window-role {
    color: #b9b9c7;
    font-size: 0.72rem;
}

.chat-window-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-window-live {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #34e3a1;
    white-space: nowrap;
}

.chat-window-live i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #34e3a1;
    box-shadow: 0 0 6px #34e3a1;
    animation: pulse 1.6s ease-in-out infinite;
}

.chat-window-close {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: #c4c4d4;
    display: grid;
    place-items: center;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.chat-window-messages {
    flex: 1 1 auto;
    height: calc(500px - 140px);
    max-height: calc(500px - 140px);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    scroll-behavior: smooth;
}

.chat-msg {
    max-width: 80%;
    padding: 10px 14px;
    font-size: 0.88rem;
    line-height: 1.45;
    color: #ffffff;
    animation: chat-fade-in 0.25s var(--ease);
}

.chat-msg.bot {
    align-self: flex-start;
    background: linear-gradient(135deg, #6C3AE8, #8B5CF6);
    border-radius: 18px 18px 18px 4px;
}

.chat-msg.user {
    align-self: flex-end;
    background: linear-gradient(135deg, #0284C7, #0369A1);
    border-radius: 18px 18px 4px 18px;
}

@keyframes chat-fade-in {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-typing-indicator {
    align-self: flex-start;
    display: flex;
    gap: 4px;
    padding: 12px 14px;
    background: linear-gradient(135deg, #6C3AE8, #8B5CF6);
    border-radius: 18px 18px 18px 4px;
}

.chat-typing-indicator span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    animation: chat-bounce 1.2s infinite ease-in-out;
}

.chat-typing-indicator span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing-indicator span:nth-child(3) { animation-delay: 0.3s; }

@keyframes chat-bounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
    30% { transform: translateY(-4px); opacity: 1; }
}

.chat-window-input {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: rgba(26, 26, 46, 0.95);
    border-top: 1px solid rgba(108, 58, 232, 0.2);
    border-radius: 0 0 20px 20px;
}

.chat-window-input input {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    min-width: 0;
    background: #1a1a2e;
    border: 1px solid rgba(108, 58, 232, 0.3);
    border-radius: 24px;
    padding: 10px 16px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.88rem;
    outline: none;
    touch-action: manipulation;
    transition: border-color 0.25s var(--ease);
}

.chat-window-input input::placeholder {
    color: #8a8a9c;
}

.chat-window-input input:focus {
    border-color: rgba(108, 58, 232, 0.7);
}

.chat-send-btn {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #6C3AE8, #8B5CF6);
    transition: transform 0.2s var(--ease);
}

.chat-send-btn:hover {
    transform: scale(1.08);
}

@media (max-width: 768px) {
    .chat-trigger {
        z-index: 9000;
    }

    .chat-window {
        left: 12px;
        right: 12px;
        bottom: 80px;
        width: calc(100vw - 24px);
        height: 70vh;
        height: min(70dvh, 500px);
        max-height: 500px;
        z-index: 9001;
    }

    .chat-window-messages {
        height: auto;
        max-height: none;
        flex: 1 1 auto;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .chat-window-input input {
        font-size: 16px;
    }
}

/* ===== Mobile page (mobile.html) ===== */
.mobile-page {
    background: #0d0d1a;
}

.mobile-page .nav-container {
    justify-content: flex-start;
    gap: 16px;
}

.mobile-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 600;
    transition: color 0.25s var(--ease);
}

.mobile-back-link:hover {
    color: var(--text);
}

.mobile-hero {
    position: relative;
    padding: 120px 20px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-hero .eyebrow {
    margin-bottom: 20px;
}

.mobile-hero h1 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.mobile-hero p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 28px;
    max-width: 420px;
}

.mobile-hero-cta {
    width: 100%;
    max-width: 360px;
    justify-content: center;
}

.mobile-chat-section {
    padding: 8px 20px 40px;
    display: flex;
    justify-content: center;
}

.mobile-chat-card {
    width: 90%;
    height: 60vh;
    height: 60dvh;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    background: rgba(13, 13, 26, 0.98);
    border: 1px solid rgba(108, 58, 232, 0.4);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(108, 58, 232, 0.3);
    overflow: hidden;
}

.mobile-chat-card .chat-window-header {
    border-radius: 20px 20px 0 0;
}

.mobile-chat-card .chat-window-input {
    border-radius: 0 0 20px 20px;
}

.mobile-chat-card .chat-window-input input {
    font-size: 16px;
}

.mobile-chat-messages {
    flex: 1 1 auto;
    min-height: 0;
    background: #0d0d1a;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    scroll-behavior: smooth;
}

/* ===== Thank-you page (gracias.html) ===== */
.thanks {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    overflow: hidden;
}

.thanks-card {
    position: relative;
    z-index: 1;
    max-width: 460px;
    width: 100%;
    text-align: center;
    padding: 56px 40px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--glass-bg-strong), var(--glass-bg));
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
}

.thanks-logo {
    justify-content: center;
    margin-bottom: 36px;
}

.thanks-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple), var(--blue));
    box-shadow: 0 10px 28px -8px rgba(124, 58, 237, 0.65);
}

.thanks-card h1 {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.thanks-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 32px;
}

@media (max-width: 480px) {
    .thanks-card {
        padding: 40px 24px;
    }
}

/* ===== Animations ===== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

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

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-4px); opacity: 1; }
}

@keyframes grow {
    to { transform: scaleY(1); }
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    animation: reveal-in 0.8s var(--ease) forwards;
    animation-delay: var(--delay, 0s);
}

@keyframes reveal-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
    transition-delay: var(--delay, 0s);
}

.reveal-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 80px;
    }

    .hero-content {
        max-width: 640px;
        margin: 0 auto;
        text-align: center;
    }

    .buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

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

    .funnel-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .funnel-arrow {
        width: auto;
        transform: rotate(90deg);
        margin: -4px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .contact-info {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .contact-benefits {
        align-items: flex-start;
    }

    .case-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .case-card h3 {
        max-width: 100%;
    }
}

@media (max-width: 1100px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 16px;
        right: 16px;
        flex-direction: column;
        gap: 4px;
        padding: 16px;
        border-radius: var(--radius-md);
        background: rgba(10, 10, 16, 0.96);
        border: 1px solid var(--glass-border);
        backdrop-filter: blur(20px);
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links a {
        padding: 12px 8px;
        border-radius: var(--radius-sm);
    }

    .nav-links a:hover {
        background: var(--glass-bg);
    }

    .btn-nav {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 130px 20px 60px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        justify-content: center;
        width: 100%;
    }

    .hero-stats {
        gap: 22px;
        flex-wrap: wrap;
    }

    .dashboard-card {
        max-width: 100%;
    }

    .floating-badge {
        font-size: 0.72rem;
        padding: 8px 12px;
    }

    .proof {
        padding: 40px 20px;
    }

    .problems,
    .funnel,
    .workflow,
    .growth,
    .sectors,
    .results,
    .case-study,
    .contact {
        padding: 80px 20px;
    }

    .case-card {
        padding: 28px 22px;
    }

    .workflow-step {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding: 26px 24px;
    }

    .section-header h2,
    .contact-info h2 {
        font-size: 2rem;
    }

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

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

    .whatsapp-float {
        width: 54px;
        height: 54px;
        bottom: 20px;
        right: 20px;
    }
}
