/* ===== CSS VARIABLES ===== */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #667eea;
    --accent: #764ba2;
    --navy: #1e293b;
    --navy-light: #334155;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --whatsapp: #25D366;
    --whatsapp-dark: #128C7E;
    --success: #10b981;
    --error: #ef4444;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #667eea 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --radius-sm: 6px;
    --radius: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s ease;
}

/* ===== LOGO TEXT ===== */
.logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    text-decoration: none;
}

.logo-cab {
    color: var(--primary);
}

.logo-mind {
    color: var(--primary);
}

/* ===== PROCESS DIAGRAM ===== */
.process-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    min-width: 100px;
}

.process-icon {
    font-size: 2rem;
}

.process-step span:last-child {
    font-weight: 600;
    color: var(--navy);
    font-size: 0.875rem;
}

.process-arrow {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
}

/* Process Timeline (How It Works page) */
.process-timeline {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 3rem;
}

.process-timeline-step {
    flex: 1;
    min-width: 200px;
    max-width: 260px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.process-timeline-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.process-timeline-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.process-timeline-content h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--navy);
}

.process-timeline-content ul {
    text-align: left;
    padding-left: 1rem;
}

.process-timeline-content li {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    list-style: disc;
}

.process-timeline-arrow {
    display: flex;
    align-items: center;
    font-size: 2rem;
    color: var(--primary);
    font-weight: 700;
}

/* Implementation Process Section (Homepage) */
.implementation-section {
    background: var(--gray-50);
    padding: 5rem 0;
}

.process-flow {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 3rem;
}

.process-flow-item {
    flex: 1;
    min-width: 140px;
    max-width: 180px;
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}


.process-flow-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.process-flow-item.highlight {
    background: linear-gradient(135deg, #f97316, #fb923c);
    color: var(--white);
}

.process-flow-item.highlight h4,
.process-flow-item.highlight p {
    color: var(--white);
}

.flow-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.process-flow-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.process-flow-item p {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin: 0;
}

.flow-arrow {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
    padding-top: 2rem;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: #f59e0b;
    margin: 0 auto 3rem;
    border-radius: 2px;
}

.implementation-steps {
    max-width: 600px;
    margin: 0 auto;
}

.impl-step {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.impl-number {
    min-width: 60px;
    height: 45px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.impl-content {
    font-size: 1.125rem;
    color: var(--navy);
}

.impl-content strong {
    color: var(--navy);
    font-weight: 700;
}

.impl-divider {
    max-width: 600px;
    height: 1px;
    background: var(--gray-200);
    margin: 2.5rem auto;
}

.impl-rollout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.rollout-icon {
    width: 50px;
    height: 50px;
    background: #f97316;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.rollout-text {
    font-size: 1.25rem;
    color: #f97316;
    font-weight: 600;
}

.rollout-text strong {
    font-weight: 700;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--gray-700);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--navy);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.875rem, 4vw, 2.75rem);
}

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

h4 {
    font-size: 1.125rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--gray-300);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--gray-50);
}

.btn-white {
    background: var(--white);
    color: var(--navy);
}

.btn-white:hover {
    background: var(--gray-100);
    color: var(--navy);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: var(--white);
}

.btn-whatsapp:hover {
    background: var(--whatsapp-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow);
}

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

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

.logo-img,
.header-logo {
    height: 45px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--gray-600);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

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

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--navy);
    transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    padding: 8rem 0 3rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--gray-100);
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.badge-icon {
    font-size: 1rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--navy) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-300);
}

/* Hero Visual - Phone Mockup */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

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

.phone-frame {
    width: 320px;
    background: var(--gray-900);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-xl);
}

.phone-notch {
    width: 120px;
    height: 25px;
    background: var(--gray-900);
    border-radius: 20px;
    margin: 0 auto 10px;
}

.whatsapp-chat {
    background: #e5ddd5;
    border-radius: 30px;
    overflow: hidden;
    height: 580px;
}

.whatsapp-header {
    background: #075e54;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.whatsapp-avatar {
    width: 36px;
    height: 36px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.whatsapp-avatar img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

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

.whatsapp-name {
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
}

.whatsapp-status {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.7rem;
}

.whatsapp-messages {
    padding: 0.5rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    height: calc(100% - 56px);
    overflow-y: auto;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%23e5ddd5"/></svg>');
}

.message {
    max-width: 88%;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    position: relative;
    font-size: 0.72rem;
    line-height: 1.35;
}

.message p {
    margin: 0;
}

.message-time {
    font-size: 0.6rem;
    color: rgba(0, 0, 0, 0.45);
    float: right;
    margin-left: 0.5rem;
    margin-top: 0.25rem;
}

.message-sent {
    background: #dcf8c6;
    align-self: flex-end;
    border-bottom-right-radius: 0;
}

.message-received {
    background: var(--white);
    align-self: flex-start;
    border-bottom-left-radius: 0;
}

/* Floating Cards */
.floating-cards {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--navy);
    animation: float 3s ease-in-out infinite;
    z-index: 1;
}

.floating-card .card-icon {
    font-size: 1.25rem;
}

.card-voice {
    top: 20%;
    left: -60px;
    animation-delay: 0s;
}

.card-web {
    bottom: 20%;
    left: -50px;
    animation-delay: 0.5s;
}

.card-whatsapp {
    top: 25%;
    right: -60px;
    animation-delay: 1s;
}

@keyframes float {

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

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

.hero-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse 80% 100% at 70% 30%, rgba(102, 126, 234, 0.08) 0%, transparent 60%);
    pointer-events: none;
}