/* ============================================
   AI NIVEL - Estilos Principales
   Agencia de Automatizaciones con IA
   ============================================ */

/* CSS Variables */
:root {
    /* Colors */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #0ea5e9;
    --secondary-dark: #0284c7;
    --accent: #8b5cf6;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    /* Neutrals */
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray-900: #1e293b;
    --gray-800: #334155;
    --gray-700: #475569;
    --gray-600: #64748b;
    --gray-500: #94a3b8;
    --gray-400: #cbd5e1;
    --gray-300: #e2e8f0;
    --gray-200: #f1f5f9;
    --gray-100: #f8fafc;
    --white: #ffffff;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #0ea5e9 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-glow: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    
    /* Spacing */
    --section-padding: 100px;
    --container-max: 1200px;
    
    /* Effects */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
}

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

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

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

ul {
    list-style: none;
}

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

/* Utility Classes */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight {
    color: var(--primary);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    background: transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    padding: 10px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.navbar.scrolled .logo {
    color: var(--dark);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    color: var(--white);
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-links a {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
}

.navbar.scrolled .nav-links a {
    color: var(--gray-700);
}

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

.nav-links a:not(.btn-nav):hover::after {
    width: 100%;
}

.btn-nav {
    padding: 10px 24px;
    background: var(--white);
    color: var(--primary) !important;
    border-radius: var(--radius-xl);
    font-weight: 600;
}

.navbar.scrolled .btn-nav {
    background: var(--gradient-primary);
    color: var(--white) !important;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
    background: var(--dark);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: var(--gradient-dark);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(14, 165, 233, 0.1) 0%, transparent 40%);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

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

.hero-content {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-badge i {
    color: var(--secondary);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Illustration */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-illustration {
    position: relative;
    width: 450px;
    height: 450px;
}

.illustration-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.2;
    animation: pulse 3s ease-in-out infinite;
}

.illustration-icon.main {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--white);
    box-shadow: var(--shadow-glow);
    z-index: 2;
}

.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.float-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    animation: float 4s ease-in-out infinite;
}

.float-icon.icon-1 { top: 10%; left: 10%; animation-delay: 0s; }
.float-icon.icon-2 { top: 5%; right: 15%; animation-delay: 0.5s; }
.float-icon.icon-3 { bottom: 20%; left: 5%; animation-delay: 1s; }
.float-icon.icon-4 { bottom: 10%; right: 10%; animation-delay: 1.5s; }
.float-icon.icon-5 { top: 40%; right: 0; animation-delay: 2s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.2; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.15; }
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 120px;
}

.hero-wave path {
    fill: var(--white);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

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

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* ============================================
   SECTION STYLES
   ============================================ */
section {
    padding: var(--section-padding) 0;
}

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

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient-glow);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-xl);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-badge.success {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.section-title {
    font-size: 2.75rem;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
}

/* ============================================
   TRUST SECTION
   ============================================ */
.trust-section {
    padding: 40px 0;
    background: var(--gray-100);
}

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

.trust-text {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.trust-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-400);
    font-size: 1rem;
    font-weight: 500;
}

.trust-logo i {
    font-size: 1.5rem;
}

/* ============================================
   PROBLEM SECTION
   ============================================ */
.problem-section {
    background: var(--white);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.problem-card {
    padding: 32px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.problem-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--danger);
}

.problem-card h3 {
    font-size: 1.125rem;
    margin-bottom: 12px;
}

.problem-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.solution-intro {
    text-align: center;
    padding-top: 40px;
}

.solution-arrow {
    width: 50px;
    height: 50px;
    margin: 0 auto 30px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* ============================================
   SOLUTIONS SECTION
   ============================================ */
.solutions-section {
    background: var(--gray-100);
}

.solutions-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    border-color: var(--primary-light);
    color: var(--primary);
}

.tab-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--white);
}

.solutions-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.solution-panel {
    display: none;
    padding: 50px;
}

.solution-panel.active {
    display: block;
}

.solution-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: start;
}

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

.solution-icon-large {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

.solution-header h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.solution-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--gradient-glow);
    border-radius: var(--radius-xl);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
}

.solution-description {
    font-size: 1rem;
    color: var(--gray-600);
    margin-bottom: 30px;
}

.automation-flows {
    margin-bottom: 30px;
}

.automation-flows h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.flow-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.flow-list li {
    padding: 16px;
    background: var(--gray-100);
    border-radius: var(--radius);
    font-size: 0.9rem;
    line-height: 1.6;
}

.flow-list li strong {
    color: var(--dark);
    display: block;
    margin-bottom: 5px;
}

.benefits-mini h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: var(--success);
    margin-bottom: 16px;
}

.benefits-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.benefits-tags span {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--success);
}

/* Solution Visuals */
.solution-visual {
    position: sticky;
    top: 100px;
}

.visual-placeholder {
    padding: 20px;
}

/* Phone Mockup */
.phone-mockup {
    width: 280px;
    margin: 0 auto;
    background: var(--dark);
    border-radius: 30px;
    padding: 10px;
    box-shadow: var(--shadow-lg);
}

.phone-screen {
    background: var(--gray-100);
    border-radius: 22px;
    padding: 20px 15px;
    min-height: 400px;
}

.chat-demo {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.85rem;
    line-height: 1.4;
}

.chat-message.bot {
    background: var(--white);
    border: 1px solid var(--gray-200);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-message.user {
    background: var(--primary);
    color: var(--white);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

/* Dashboard Preview */
.dashboard-preview {
    background: var(--dark);
    border-radius: var(--radius-lg);
    padding: 20px;
    color: var(--white);
}

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-weight: 600;
}

.live-badge {
    padding: 4px 12px;
    background: var(--success);
    border-radius: var(--radius-xl);
    font-size: 0.75rem;
}

.dash-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.dash-stat {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 15px;
    text-align: center;
}

.dash-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--secondary);
}

.dash-label {
    font-size: 0.75rem;
    color: var(--gray-400);
}

.dash-alerts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.alert-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
}

.alert-item.success i { color: var(--success); }
.alert-item.info i { color: var(--secondary); }

/* Workflow Preview */
.workflow-preview {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 25px;
}

.workflow-title {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 25px;
    text-align: center;
}

.workflow-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.wf-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.wf-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
}

.wf-step span {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--gray-600);
}

.wf-arrow {
    color: var(--gray-400);
}

/* Hotel Demo */
.hotel-demo {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    border-radius: var(--radius-lg);
    padding: 25px;
    color: var(--white);
}

.hotel-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hotel-services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 15px;
    text-align: center;
    font-size: 0.8rem;
}

.service-card i {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--secondary);
}

.hotel-chat {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 12px;
    font-size: 0.8rem;
}

/* CRM Preview */
.crm-preview {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.crm-header {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 20px;
}

.crm-pipeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.pipeline-col {
    background: var(--gray-100);
    border-radius: var(--radius);
    padding: 12px;
}

.col-title {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-500);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.lead-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 10px;
    font-size: 0.75rem;
    margin-bottom: 8px;
    border-left: 3px solid var(--gray-300);
}

.lead-card.hot {
    border-left-color: var(--danger);
}

/* E-commerce Demo */
.ecommerce-demo {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.ecom-notification {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: var(--gray-100);
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.notif-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.notif-content strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.notif-content p {
    font-size: 0.8rem;
    color: var(--gray-600);
    margin-bottom: 4px;
}

.notif-time {
    font-size: 0.7rem;
    color: var(--gray-400);
}

.ecom-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.ecom-stat {
    text-align: center;
    padding: 15px;
    background: var(--gray-100);
    border-radius: var(--radius);
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--success);
}

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

/* Legal Demo */
.legal-demo {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.case-tracker {
    background: var(--gray-100);
    border-radius: var(--radius);
    padding: 20px;
}

.case-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 20px;
}

.case-timeline {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    padding: 10px;
    background: var(--white);
    border-radius: var(--radius-sm);
}

.timeline-item.done {
    color: var(--success);
}

.timeline-item.current {
    color: var(--warning);
    background: rgba(245, 158, 11, 0.1);
}

.timeline-item.pending {
    color: var(--gray-400);
}

/* Logistics Demo */
.logistics-demo {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.tracking-map {
    background: var(--gray-100);
    border-radius: var(--radius);
    padding: 20px;
}

.map-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 20px;
}

.map-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 30px 0;
}

.route-point {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.route-point.start {
    background: var(--gray-200);
    color: var(--gray-600);
}

.route-point.truck {
    background: var(--gradient-primary);
    color: var(--white);
    animation: pulse 1.5s ease-in-out infinite;
}

.route-point.end {
    background: var(--success);
    color: var(--white);
}

.route-line {
    width: 40px;
    height: 3px;
    background: var(--primary);
}

.route-line.dashed {
    background: repeating-linear-gradient(
        90deg,
        var(--gray-300),
        var(--gray-300) 5px,
        transparent 5px,
        transparent 10px
    );
}

.delivery-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
}

.eta {
    color: var(--primary);
    font-weight: 600;
}

.status {
    color: var(--gray-600);
}

.solutions-cta {
    text-align: center;
    margin-top: 50px;
    padding: 40px;
    background: var(--gradient-glow);
    border-radius: var(--radius-lg);
}

.solutions-cta p {
    font-size: 1.125rem;
    margin-bottom: 20px;
}

/* ============================================
   BENEFITS SECTION
   ============================================ */
.benefits-section {
    background: var(--white);
}

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

.benefit-card {
    padding: 35px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.benefit-card.featured {
    background: var(--gradient-primary);
    color: var(--white);
    grid-row: span 2;
}

.benefit-card.featured h3,
.benefit-card.featured p {
    color: var(--white);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 20px;
}

.benefit-card.featured .benefit-icon {
    background: rgba(255, 255, 255, 0.2);
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.benefit-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.benefit-stat {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.big-number {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
}

.stat-text {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Social Proof */
.social-proof {
    max-width: 700px;
    margin: 0 auto;
}

.proof-card {
    padding: 40px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.2;
}

.testimonial-text {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--gray-700);
    margin-bottom: 30px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

.author-info {
    text-align: left;
}

.author-info strong {
    display: block;
    font-size: 1rem;
    color: var(--dark);
}

.author-info span {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process-section {
    background: var(--gray-100);
}

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

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--gray-300);
    border-radius: 2px;
}

.process-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 50px;
    position: relative;
}

.process-step:nth-child(odd) {
    flex-direction: row;
    padding-right: calc(50% + 40px);
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
    padding-left: calc(50% + 40px);
}

.step-number {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    z-index: 1;
}

.step-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
}

.step-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-glow);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.step-content p {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin-bottom: 15px;
}

.step-duration {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--gray-100);
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-600);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: var(--gradient-primary);
    padding: 80px 0;
}

.cta-content {
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.cta-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    background: var(--white);
    padding: 100px 0;
}

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

.contact-info .section-badge {
    margin-bottom: 16px;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.contact-description {
    font-size: 1rem;
    color: var(--gray-600);
    margin-bottom: 40px;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.contact-feature {
    display: flex;
    gap: 15px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-glow);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
}

.feature-text strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.contact-direct {
    padding: 25px;
    background: var(--gray-100);
    border-radius: var(--radius);
}

.contact-direct p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 15px;
}

.direct-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.direct-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--primary);
}

.direct-link:hover {
    color: var(--primary-dark);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.contact-form {
    padding: 40px;
}

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

.form-header h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.form-header p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

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

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--gray-100);
    border: 2px solid transparent;
    border-radius: var(--radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--dark);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}

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

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

.form-hint {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 8px;
    font-size: 0.8rem;
    color: var(--gray-500);
}

.form-hint i {
    color: var(--warning);
}

.checkbox-group {
    margin-bottom: 24px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.checkbox-label input {
    display: none;
}

.checkmark {
    width: 22px;
    height: 22px;
    background: var(--gray-100);
    border: 2px solid var(--gray-300);
    border-radius: 4px;
    flex-shrink: 0;
    position: relative;
    transition: var(--transition);
}

.checkbox-label input:checked + .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-label input:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: bold;
}

.checkbox-text {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.checkbox-text a {
    color: var(--primary);
    text-decoration: underline;
}

.form-disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 0.8rem;
    color: var(--gray-500);
}

.form-disclaimer i {
    color: var(--success);
}

/* Form Success */
.form-success {
    padding: 60px 40px;
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    margin: 0 auto 24px;
}

.form-success h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.form-success p {
    color: var(--gray-600);
    margin-bottom: 30px;
}

.success-next {
    text-align: left;
    background: var(--gray-100);
    border-radius: var(--radius);
    padding: 25px;
}

.success-next p {
    margin-bottom: 15px;
}

.success-next ol {
    list-style: decimal;
    padding-left: 20px;
}

.success-next li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--gray-400);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--gray-400);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 5px;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-subtitle {
        margin: 0 auto 32px;
    }

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

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

    .hero-image {
        display: none;
    }

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

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

    .solution-visual {
        position: static;
        order: -1;
    }

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

    .benefit-card.featured {
        grid-column: span 2;
        grid-row: span 1;
    }

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

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

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        padding: 100px 30px 30px;
        gap: 25px;
        transition: var(--transition);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: var(--white);
        font-size: 1.1rem;
    }

    .btn-nav {
        width: 100%;
        text-align: center;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        min-height: auto;
        padding: 140px 0 100px;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .solutions-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }

    .tab-btn {
        flex-shrink: 0;
        padding: 10px 18px;
        font-size: 0.8rem;
    }

    .solution-panel {
        padding: 30px 20px;
    }

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

    .benefit-card.featured {
        grid-column: span 1;
    }

    .process-timeline::before {
        left: 25px;
    }

    .process-step,
    .process-step:nth-child(odd),
    .process-step:nth-child(even) {
        flex-direction: row;
        padding: 0 0 0 70px;
    }

    .step-number {
        left: 0;
        transform: none;
    }

    .cta-features {
        flex-direction: column;
        gap: 15px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.875rem;
    }

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

    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .btn-lg {
        padding: 14px 24px;
        font-size: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .contact-form {
        padding: 25px;
    }

    .phone-mockup {
        width: 100%;
        max-width: 260px;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
[data-aos] {
    pointer-events: auto !important;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Particle effect styles */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: particleFloat 15s linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}
