/* ===================================================
   ALOCARE HOTELARIA — LANDING PAGE
   Corporate Premium Dark SaaS
   =================================================== */

/* ---- CSS Custom Properties ---- */
:root {
    /* Background & Surface */
    --bg-primary: #0a0e1a;
    --bg-secondary: #0f1424;
    --bg-card: #141930;
    --bg-card-hover: #1a2040;
    --bg-surface: rgba(20, 25, 48, 0.6);

    /* Text */
    --text-primary: #f0f0f5;
    --text-secondary: #9ca3b8;
    --text-muted: #6b7394;

    /* Accent: Gold & Burnt Orange */
    --gold: #C8982C;
    --gold-light: #e0b94a;
    --gold-dark: #a07820;
    --burnt-orange: #D4792C;
    --gradient-gold: linear-gradient(135deg, #C8982C 0%, #D4792C 100%);

    /* Status */
    --green: #22c55e;
    --green-dim: rgba(34, 197, 94, 0.15);
    --blue: #3b82f6;
    --blue-dim: rgba(59, 130, 246, 0.15);
    --red: #e74c3c;

    /* Borders */
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(200, 152, 44, 0.3);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 4px 30px rgba(200, 152, 44, 0.25);

    /* Layout */
    --container-max: 1200px;
    --header-height: 72px;

    /* Typography */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Timing */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

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

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

/* =============================================
   HEADER
   ============================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(10, 14, 26, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 32px;
    width: auto;
}

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

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s ease;
    letter-spacing: 0.02em;
}

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

.btn-cta-header {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 10px 24px;
    background: var(--gradient-gold);
    color: #0a0e1a;
    border-radius: 8px;
    transition: transform 0.2s var(--ease-spring), box-shadow 0.2s ease;
}

.btn-cta-header:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold);
}

/* Mobile menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

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

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}

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

@media (max-width: 768px) {
    .header-nav { display: none; }
    .mobile-menu-toggle { display: flex; }
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + 60px) 0 80px;
    overflow: hidden;
}

.hero-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
}

.hero-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(200, 152, 44, 0.4), transparent 70%);
    top: -200px;
    right: -100px;
    animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 121, 44, 0.3), transparent 70%);
    bottom: -100px;
    left: -50px;
    animation: orbFloat 10s ease-in-out infinite reverse;
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(200, 152, 44, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 152, 44, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black, transparent);
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -20px) scale(1.05); }
}

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

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--gold);
    padding: 8px 18px;
    border: 1px solid rgba(200, 152, 44, 0.25);
    border-radius: 100px;
    background: rgba(200, 152, 44, 0.06);
    margin-bottom: 28px;
    animation: fadeInUp 0.8s var(--ease-out) both;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulseDot 2s ease-in-out infinite;
}

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

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s var(--ease-out) 0.15s both;
}

.hero-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
    animation: fadeInUp 0.8s var(--ease-out) 0.3s both;
}

.hero-description strong {
    color: var(--text-primary);
}

.hero-cta-group {
    animation: fadeInUp 0.8s var(--ease-out) 0.45s both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 16px 36px;
    background: var(--gradient-gold);
    color: #0a0e1a;
    border-radius: 12px;
    transition: all 0.3s var(--ease-spring);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-primary:active {
    transform: translateY(0);
}

.cta-trust {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

.cta-trust svg {
    flex-shrink: 0;
    color: var(--text-muted);
}

/* Hero Visual — Phone Mockup */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 1s var(--ease-out) 0.4s both;
}

.phone-mockup {
    position: relative;
    z-index: 2;
}

.phone-frame {
    width: 280px;
    background: #1a1a2e;
    border-radius: 32px;
    padding: 12px;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

.phone-notch {
    width: 100px;
    height: 24px;
    background: #0a0e1a;
    border-radius: 0 0 16px 16px;
    margin: 0 auto 0;
    position: relative;
    z-index: 3;
}

.phone-screen {
    background: #0b1520;
    border-radius: 20px;
    overflow: hidden;
    min-height: 420px;
}

.whatsapp-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #1f2c34;
}

.wa-back {
    font-size: 22px;
    color: #00a884;
    font-weight: 300;
}

.wa-avatar {
    width: 36px;
    height: 36px;
    background: #2a3942;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    overflow: hidden;
}

.wa-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.wa-info {
    display: flex;
    flex-direction: column;
}

.wa-name {
    font-size: 14px;
    font-weight: 600;
    color: #e9edef;
}

.wa-status {
    font-size: 11px;
    color: #00a884;
}

.whatsapp-chat {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.015'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") #0b141a;
}

.wa-message {
    max-width: 95%;
    opacity: 0;
    transform: translateY(15px);
    animation: msgAppear 0.5s var(--ease-out) forwards;
}

.msg-anim-1 { animation-delay: 0.8s; }
.msg-anim-2 { animation-delay: 1.6s; }
.msg-anim-3 { animation-delay: 2.4s; }
.msg-anim-4 { animation-delay: 3.2s; }

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

.wa-msg-content {
    background: #1f2c34;
    padding: 8px 12px;
    border-radius: 0 10px 10px 10px;
    font-size: 12px;
    color: #e9edef;
    line-height: 1.5;
    position: relative;
}

.wa-msg-content strong {
    color: #00a884;
    font-weight: 600;
}

.wa-msg-text {
    color: #aebac1;
}

.wa-time {
    display: block;
    text-align: right;
    font-size: 10px;
    color: #667781;
    margin-top: 4px;
}

/* Hero chart card */
.hero-chart-card {
    position: absolute;
    bottom: -20px;
    right: -40px;
    width: 220px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow-md);
    z-index: 3;
    animation: fadeInUp 1s var(--ease-out) 1.2s both;
}

.chart-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.chart-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

.chart-badge-up {
    font-size: 11px;
    font-weight: 700;
    color: var(--green);
    background: var(--green-dim);
    padding: 3px 8px;
    border-radius: 6px;
}

.chart-visual {
    height: 50px;
    margin-bottom: 8px;
}

.growth-chart-svg {
    width: 100%;
    height: 100%;
}

.chart-line {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: drawLine 2s var(--ease-out) 1.5s forwards;
}

.chart-area {
    opacity: 0;
    animation: fadeIn 1s ease 2.5s forwards;
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.chart-card-footer {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: rgba(200, 152, 44, 0.15);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    height: 20px;
    background: var(--gold);
    border-radius: 2px;
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { top: -20px; }
    100% { top: 40px; }
}

/* =============================================
   PAIN POINTS SECTION
   ============================================= */
.pain-section {
    padding: 120px 0;
    position: relative;
}

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

.section-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--gold);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

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

.pain-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 28px;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.pain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}

.pain-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.pain-card:hover::before {
    transform: scaleX(1);
}

.pain-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
}

.pain-icon svg {
    width: 100%;
    height: 100%;
}

.pain-card-title {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
    line-height: 1.3;
}

.pain-card-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.pain-card-text strong {
    color: var(--text-primary);
}

/* =============================================
   CASE STUDY SECTION
   ============================================= */
.case-study-section {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
}

.case-study-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
}

.dashboard-panel {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 28px;
    border-bottom: 1px solid var(--border);
}

.dashboard-tabs {
    display: flex;
    gap: 4px;
}

.dash-tab {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    padding: 8px 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dash-tab.active {
    background: rgba(200, 152, 44, 0.1);
    color: var(--gold);
}

.dashboard-period {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
}

.metric-card {
    background: var(--bg-primary);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: background 0.3s ease;
}

.metric-card:hover {
    background: var(--bg-card);
}

.metric-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.green-glow { background: var(--green-dim); }
.blue-glow { background: var(--blue-dim); }
.gold-glow { background: rgba(200, 152, 44, 0.12); }

.metric-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.metric-value {
    font-size: 32px;
    font-weight: 800;
    font-family: var(--font-sans);
    letter-spacing: -0.02em;
}

.metric-value.green { color: var(--green); }
.metric-value.blue { color: var(--blue); }
.metric-value.gold { color: var(--gold); }

.metric-sublabel {
    font-size: 12px;
    color: var(--text-muted);
}

/* Contact Flow */
.contact-flow {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    padding: 32px 28px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

.flow-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
    max-width: 120px;
}

.flow-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(200, 152, 44, 0.1);
    border: 1px solid rgba(200, 152, 44, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.flow-circle-whatsapp {
    background: var(--green-dim);
    border-color: rgba(34, 197, 94, 0.3);
}

.flow-item:hover .flow-circle {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(200, 152, 44, 0.2);
}

.flow-arrow {
    font-size: 20px;
    color: var(--text-muted);
    margin-top: 14px;
}

/* Case study note */
.case-study-note {
    display: flex;
    gap: 18px;
    margin-top: 32px;
    padding: 24px 28px;
    background: rgba(200, 152, 44, 0.04);
    border: 1px solid rgba(200, 152, 44, 0.12);
    border-radius: 16px;
}

.note-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.case-study-note p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.case-study-note strong {
    color: var(--text-primary);
}

/* =============================================
   HOW IT WORKS SECTION
   ============================================= */
.how-it-works-section {
    padding: 120px 0;
    position: relative;
}

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

.timeline-step {
    display: flex;
    gap: 32px;
    padding-bottom: 48px;
    position: relative;
}

.timeline-step:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    position: relative;
}

.marker-number {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 0.02em;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-step:hover .marker-number {
    background: var(--gradient-gold);
    color: #0a0e1a;
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}

.marker-line {
    width: 2px;
    flex: 1;
    background: linear-gradient(to bottom, var(--border-hover), transparent);
    margin-top: 8px;
}

.timeline-content {
    flex: 1;
    padding-top: 4px;
}

.step-title {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

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

.step-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--gold);
    padding: 5px 14px;
    border: 1px solid rgba(200, 152, 44, 0.2);
    border-radius: 100px;
    background: rgba(200, 152, 44, 0.06);
}

/* =============================================
   FORM SECTION
   ============================================= */
.form-section {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
}

.form-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.form-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(200, 152, 44, 0.15), transparent 70%);
    top: -200px;
    left: -100px;
}

.form-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 121, 44, 0.1), transparent 70%);
    bottom: -150px;
    right: -100px;
}

.form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 2;
}

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

.form-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-top: 16px;
    margin-bottom: 32px;
}

.form-trust-signals {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.trust-item svg {
    flex-shrink: 0;
}

/* Form Card */
.form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 36px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeInUp 0.4s var(--ease-out) both;
}

.form-step-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.step-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    border: 2px solid var(--border);
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.step-num.active {
    border-color: var(--gold);
    background: var(--gold);
    color: #0a0e1a;
}

.step-num.completed {
    border-color: var(--green);
    background: var(--green-dim);
    color: var(--green);
}

.step-divider {
    width: 24px;
    height: 2px;
    background: var(--border);
    border-radius: 2px;
}

.step-divider.completed {
    background: var(--green);
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.optional-label {
    font-weight: 400;
    color: var(--text-muted);
    font-style: italic;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(10, 14, 26, 0.6);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 14px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200, 152, 44, 0.1);
}

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

.form-group select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7394' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 48px;
}

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

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

.btn-form-next,
.btn-form-submit {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
}

.form-buttons-row {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    padding: 14px 24px;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.2s ease;
    letter-spacing: 0.04em;
}

.btn-back:hover {
    border-color: var(--text-muted);
    color: var(--text-primary);
}

.btn-form-submit {
    flex: 1;
}

/* Success State */
.success-content {
    text-align: center;
    padding: 24px 0;
}

.success-icon {
    margin: 0 auto 20px;
    width: 72px;
    height: 72px;
    background: var(--green-dim);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: successPop 0.5s var(--ease-spring) both;
}

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

.success-content h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.success-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
    padding: 48px 0;
    border-top: 1px solid var(--border);
    background: var(--bg-primary);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    height: 28px;
    width: auto;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

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

.footer-copy {
    font-size: 13px;
    color: var(--text-muted);
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll-triggered animations */
.pain-card,
.timeline-step,
.dashboard-panel,
.case-study-note {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s var(--ease-out);
}

.pain-card.visible,
.timeline-step.visible,
.dashboard-panel.visible,
.case-study-note.visible {
    opacity: 1;
    transform: translateY(0);
}

.pain-card:nth-child(2) { transition-delay: 0.15s; }
.pain-card:nth-child(3) { transition-delay: 0.3s; }

.timeline-step:nth-child(2) { transition-delay: 0.15s; }
.timeline-step:nth-child(3) { transition-delay: 0.3s; }
.timeline-step:nth-child(4) { transition-delay: 0.45s; }

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

    .hero-content {
        text-align: center;
        max-width: 100%;
        order: -1;
    }

    .hero-visual {
        order: 10;
        max-width: 260px;
        margin: 0 auto;
    }

    .hero-cta-group {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }

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

    .form-title,
    .form-text-side .section-tag {
        text-align: center;
    }

    .form-trust-signals {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .pain-section {
        padding: 80px 0;
    }

    .case-study-section {
        padding: 80px 0;
    }

    .how-it-works-section {
        padding: 80px 0;
    }

    .form-section {
        padding: 80px 0;
    }

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

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

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

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

    .metric-card {
        padding: 24px 22px;
    }

    .contact-flow {
        flex-direction: column;
        align-items: center;
    }

    .flow-arrow {
        transform: rotate(90deg);
        margin: 0;
    }

    .flow-item {
        max-width: 160px;
    }

    .hero-chart-card {
        right: -10px;
        bottom: -10px;
        width: 170px;
        padding: 12px;
    }

    .dashboard-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .form-card {
        padding: 24px;
    }

    .form-buttons-row {
        flex-direction: column;
    }

    .btn-form-submit {
        width: 100%;
    }

    .section-title {
        font-size: clamp(24px, 6vw, 36px);
    }

    .case-study-note {
        flex-direction: column;
        gap: 12px;
        padding: 20px;
    }

    .case-study-note p {
        font-size: 13px;
        line-height: 1.7;
    }
}

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

    /* ── Hero: Badge → Phone → Title → Desc → CTA ── */
    .hero-section {
        padding-top: calc(var(--header-height) + 24px);
        padding-bottom: 40px;
        min-height: auto;
    }

    .hero-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .hero-content {
        display: contents;
    }

    .hero-badge {
        font-size: 9px;
        padding: 6px 12px;
        gap: 6px;
        margin-bottom: 16px;
        order: 1;
        align-self: center;
    }

    .hero-visual {
        order: 2;
        max-width: 200px;
        margin: 0 auto 20px;
    }

    .hero-title {
        font-size: clamp(22px, 6.5vw, 32px);
        margin-bottom: 16px;
        line-height: 1.25;
        order: 3;
        text-align: center;
        width: 100%;
    }

    .hero-description {
        font-size: 14px;
        line-height: 1.65;
        margin-bottom: 24px;
        order: 4;
        text-align: center;
        width: 100%;
    }

    .hero-cta-group {
        order: 5;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .badge-dot {
        width: 6px;
        height: 6px;
    }

    .cta-trust {
        font-size: 11px;
        justify-content: center;
        text-align: center;
    }

    .btn-primary {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 12px;
        letter-spacing: 0.04em;
    }

    /* ── Phone mockup — compact height ── */
    .phone-frame {
        width: 200px;
        max-height: 260px;
        border-radius: 22px;
        padding: 6px;
        overflow: hidden;
    }

    .phone-notch {
        width: 60px;
        height: 14px;
        border-radius: 0 0 10px 10px;
    }

    .phone-screen {
        min-height: auto;
        max-height: 220px;
        border-radius: 16px;
        overflow: hidden;
    }

    .whatsapp-header {
        padding: 8px 10px;
        gap: 8px;
    }

    .wa-avatar {
        width: 28px;
        height: 28px;
    }

    .wa-name {
        font-size: 12px;
    }

    .wa-status {
        font-size: 9px;
    }

    .wa-back {
        font-size: 18px;
    }

    .whatsapp-chat {
        padding: 8px;
        gap: 6px;
    }

    .wa-msg-content {
        padding: 6px 10px;
        font-size: 10px;
        border-radius: 0 8px 8px 8px;
    }

    .wa-time {
        font-size: 8px;
    }

    .hero-chart-card {
        width: 140px;
        padding: 10px;
        border-radius: 12px;
        right: -16px;
        bottom: -12px;
    }

    .chart-title {
        font-size: 10px;
    }

    .chart-badge-up {
        font-size: 9px;
        padding: 2px 6px;
    }

    .chart-visual {
        height: 35px;
        margin-bottom: 4px;
    }

    .chart-card-footer {
        font-size: 7px;
    }

    /* Hide scroll indicator on mobile */
    .hero-scroll-indicator {
        display: none;
    }

    /* Pain section mobile */
    .pain-section {
        padding: 60px 0;
    }

    .pain-card {
        padding: 24px 18px;
        border-radius: 16px;
    }

    .pain-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 16px;
    }

    .pain-card-title {
        font-size: 17px;
        margin-bottom: 10px;
    }

    .pain-card-text {
        font-size: 13px;
        line-height: 1.65;
    }

    /* Case study mobile */
    .case-study-section {
        padding: 60px 0;
    }

    .dashboard-panel {
        border-radius: 16px;
    }

    .dashboard-header {
        padding: 16px;
    }

    .dash-tab {
        font-size: 11px;
        padding: 6px 12px;
    }

    .dashboard-period {
        font-size: 11px;
    }

    .metric-card {
        padding: 20px 16px;
    }

    .metric-value {
        font-size: 26px;
    }

    .metric-label {
        font-size: 12px;
    }

    .metric-sublabel {
        font-size: 11px;
    }

    .contact-flow {
        padding: 20px 16px;
        gap: 12px;
        align-items: center;
    }

    .flow-circle {
        width: 40px;
        height: 40px;
    }

    .flow-item {
        font-size: 11px;
        max-width: 160px;
    }

    .flow-arrow {
        margin: 0;
    }

    .case-study-note {
        padding: 16px;
    }

    /* Center all section headers on mobile */
    .section-header {
        text-align: center;
    }

    .section-tag {
        display: inline-block;
        margin-left: auto;
        margin-right: auto;
        font-size: 10px;
        margin-bottom: 12px;
    }

    /* Methodology mobile */
    .how-it-works-section {
        padding: 60px 0;
    }

    .timeline-step {
        gap: 16px;
        padding-bottom: 36px;
    }

    .marker-number {
        width: 40px;
        height: 40px;
        font-size: 13px;
        border-radius: 12px;
    }

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

    .step-text {
        font-size: 13px;
        line-height: 1.65;
        margin-bottom: 12px;
    }

    .step-tag {
        font-size: 10px;
        padding: 4px 10px;
    }

    /* Form mobile */
    .form-section {
        padding: 60px 0;
    }

    .form-card {
        padding: 20px;
        border-radius: 20px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 14px;
        border-radius: 10px;
    }

    .form-group label {
        font-size: 12px;
    }

    .form-group {
        margin-bottom: 16px;
    }

    .form-step-header {
        margin-bottom: 20px;
        text-align: center;
    }

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

    .section-title {
        font-size: clamp(20px, 5.5vw, 30px);
        margin-bottom: 12px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .form-title {
        text-align: center;
    }

    .form-text-side {
        text-align: center;
    }

    .form-trust-signals {
        align-items: center;
    }

    .trust-item {
        justify-content: center;
    }

    /* Footer mobile */
    .site-footer {
        padding: 32px 0;
    }

    .footer-logo {
        height: 24px;
    }

    .footer-copy {
        font-size: 11px;
    }

    /* Trust signals mobile */
    .trust-item {
        font-size: 13px;
    }

    .trust-item svg {
        width: 16px;
        height: 16px;
    }
}
