/* ==================== MODERN LANDING PAGE CSS ==================== */

/* CSS Custom Properties */
:root {
    /* Brand Colors - Updated to ServiMap Blue */
    --primary: #209ded;
    --primary-dark: #1876d9;
    --primary-light: #40a9f3;
    --primary-gradient: linear-gradient(135deg, #209ded 0%, #40a9f3 100%);
    
    --secondary: #10b981;
    --secondary-dark: #059669;
    --secondary-light: #34d399;
    
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    
    /* Neutral Colors */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Semantic Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    /* Font Sizes - Responsive Scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;
    
    /* Border Radius */
    --rounded-sm: 0.125rem;
    --rounded: 0.25rem;
    --rounded-md: 0.375rem;
    --rounded-lg: 0.5rem;
    --rounded-xl: 0.75rem;
    --rounded-2xl: 1rem;
    --rounded-3xl: 1.5rem;
    --rounded-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Z-Index Scale */
    --z-0: 0;
    --z-10: 10;
    --z-20: 20;
    --z-30: 30;
    --z-40: 40;
    --z-50: 50;
    --z-modal: 1000;
    --z-tooltip: 1010;
    --z-max: 9999;
    
    /* Container Max Widths */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
    --container-2xl: 1536px;
}

/* ==================== RESET & BASE ==================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: var(--font-weight-normal);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: white;
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-bottom: var(--space-4);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
    margin-bottom: var(--space-4);
    color: var(--gray-600);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-base);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ==================== UTILITY CLASSES ==================== */
.container {
    width: 100%;
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.section-header h2 {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-4);
}

.section-header p {
    font-size: var(--text-lg);
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--rounded-lg);
    font-size: var(--text-base);
    font-weight: var(--font-weight-medium);
    line-height: 1;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--gray-700);
    border: 2px solid var(--gray-300);
}

.btn-outline:hover {
    background: var(--gray-50);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-large {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-lg);
}

.btn-full {
    width: 100%;
}

/* ==================== NAVIGATION ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    z-index: var(--z-50);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    max-width: var(--container-2xl);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-weight: var(--font-weight-bold);
    font-size: var(--text-xl);
    color: var(--primary);
}

.nav-logo {
    width: 40px;
    height: 40px;
    border-radius: var(--rounded-lg);
    object-fit: cover;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-link {
    font-weight: var(--font-weight-medium);
    color: var(--gray-700);
    position: relative;
    padding: var(--space-2) 0;
    transition: color var(--transition-base);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: var(--space-4);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gray-700);
    border-radius: var(--rounded-full);
    transition: all var(--transition-base);
}

/* ==================== HERO SECTION ==================== */
.hero {
    padding: calc(80px + var(--space-20)) 0 var(--space-20);
    background: linear-gradient(135deg, var(--gray-50) 0%, white 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(32, 157, 237, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
    max-width: var(--container-2xl);
    margin: 0 auto;
    padding: 0 var(--space-6);
    position: relative;
    z-index: var(--z-10);
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(32, 157, 237, 0.1);
    color: var(--primary);
    border-radius: var(--rounded-full);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--space-6);
    animation: fadeInUp 0.6s ease-out;
}

.hero-title {
    font-size: var(--text-6xl);
    font-weight: var(--font-weight-extrabold);
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: var(--space-6);
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-highlight {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: var(--text-xl);
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-8);
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

/* Hero Search */
.hero-search {
    margin-bottom: var(--space-8);
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

.search-container {
    display: flex;
    background: white;
    border-radius: var(--rounded-2xl);
    box-shadow: var(--shadow-xl);
    padding: var(--space-2);
    gap: var(--space-2);
    transition: all var(--transition-base);
}

.search-container:hover {
    box-shadow: var(--shadow-2xl);
}

.search-input,
.location-input {
    flex: 1;
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    border-radius: var(--rounded-xl);
    transition: all var(--transition-base);
}

.search-input:hover,
.location-input:hover {
    background: var(--gray-50);
}

.search-icon,
.location-icon {
    color: var(--gray-400);
    font-size: var(--text-lg);
}

.search-input input,
.location-input input {
    border: none;
    outline: none;
    background: transparent;
    font-size: var(--text-base);
    color: var(--gray-800);
    width: 100%;
}

.search-input input::placeholder,
.location-input input::placeholder {
    color: var(--gray-400);
}

.location-btn {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    padding: var(--space-2);
    border-radius: var(--rounded);
    transition: all var(--transition-base);
}

.location-btn:hover {
    background: rgba(32, 157, 237, 0.1);
}

.search-btn {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: var(--space-4) var(--space-6);
    border-radius: var(--rounded-xl);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.search-btn:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

/* Quick Categories */
.quick-categories {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-wrap: wrap;
    margin-bottom: var(--space-12);
    animation: fadeInUp 0.6s ease-out 0.8s both;
}

.categories-label {
    font-size: var(--text-sm);
    color: var(--gray-500);
    font-weight: var(--font-weight-medium);
}

.category-chip {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--rounded-full);
    font-size: var(--text-sm);
    color: var(--gray-600);
    cursor: pointer;
    transition: all var(--transition-base);
}

.category-chip:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    animation: fadeInUp 0.6s ease-out 1s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--primary);
    margin-bottom: var(--space-1);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--gray-500);
    font-weight: var(--font-weight-medium);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-phone {
    position: relative;
    max-width: 300px;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.phone-screen {
    width: 100%;
    height: auto;
    border-radius: var(--rounded-3xl);
    box-shadow: var(--shadow-2xl);
}

.floating-cards {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: var(--rounded-xl);
    box-shadow: var(--shadow-lg);
    padding: var(--space-4);
    animation: float 3s ease-in-out infinite;
}

.card-1 {
    top: 15%;
    left: -40%;
    display: flex;
    align-items: center;
    gap: var(--space-3);
    min-width: 200px;
    animation-delay: 0s;
}

.card-2 {
    top: 45%;
    right: -30%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 20%;
    left: -35%;
    animation-delay: 2s;
}

.card-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--rounded-full);
    overflow: hidden;
}

.card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-info {
    flex: 1;
}

.card-name {
    font-weight: var(--font-weight-semibold);
    font-size: var(--text-sm);
    color: var(--gray-800);
}

.card-service {
    font-size: var(--text-xs);
    color: var(--gray-500);
    margin: var(--space-1) 0;
}

.card-rating {
    font-size: var(--text-xs);
    color: var(--accent);
    font-weight: var(--font-weight-medium);
}

.card-rating i {
    color: var(--accent);
}

.card-content {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    color: var(--gray-700);
}

.card-icon {
    color: var(--primary);
    font-size: var(--text-base);
}

/* ==================== VALUE PROPOSITIONS ==================== */
.value-props {
    padding: var(--space-20) 0;
    background: white;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
}

.value-card {
    text-align: center;
    padding: var(--space-8);
    border-radius: var(--rounded-2xl);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(32, 157, 237, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.value-card:hover::before {
    opacity: 1;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-6);
    background: var(--primary-gradient);
    border-radius: var(--rounded-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-3xl);
    color: white;
    position: relative;
    z-index: var(--z-10);
}

.value-card h3 {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-bold);
    color: var(--gray-900);
    margin-bottom: var(--space-4);
    position: relative;
    z-index: var(--z-10);
}

.value-card p {
    color: var(--gray-600);
    line-height: 1.7;
    position: relative;
    z-index: var(--z-10);
}

/* ==================== HOW IT WORKS ==================== */
.how-it-works {
    padding: var(--space-20) 0;
    background: var(--gray-50);
}

.how-tabs {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-16);
}

.tab-btn {
    padding: var(--space-4) var(--space-8);
    border-radius: var(--rounded-full);
    font-weight: var(--font-weight-medium);
    font-size: var(--text-lg);
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid var(--gray-300);
    background: white;
    color: var(--gray-600);
}

.tab-btn.active {
    background: var(--primary-gradient);
    color: white;
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.tab-content.active {
    display: block;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-12);
    margin-bottom: var(--space-16);
}

.step {
    display: flex;
    align-items: flex-start;
    gap: var(--space-6);
    padding: var(--space-8);
    background: white;
    border-radius: var(--rounded-2xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.step:hover::before {
    opacity: 1;
}

.step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    color: white;
    border-radius: var(--rounded-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    font-weight: var(--font-weight-bold);
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-bold);
    color: var(--gray-900);
    margin-bottom: var(--space-3);
}

.step-content p {
    color: var(--gray-600);
    line-height: 1.7;
}

.step-visual {
    width: 60px;
    height: 60px;
    background: rgba(32, 157, 237, 0.1);
    border-radius: var(--rounded-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-2xl);
    color: var(--primary);
    flex-shrink: 0;
}

.provider-cta {
    text-align: center;
    padding: var(--space-12);
    background: white;
    border-radius: var(--rounded-2xl);
    box-shadow: var(--shadow-md);
}

.provider-cta h3 {
    font-size: var(--text-2xl);
    color: var(--gray-900);
    margin-bottom: var(--space-6);
}

/* ==================== FEATURED SERVICES ==================== */
.featured-services {
    padding: var(--space-20) 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
    margin-bottom: var(--space-16);
}

.service-category {
    padding: var(--space-8);
    background: var(--gray-50);
    border-radius: var(--rounded-2xl);
    text-align: center;
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-category:hover::before {
    opacity: 0.05;
}

.service-category:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-6);
    background: var(--primary-gradient);
    border-radius: var(--rounded-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-3xl);
    color: white;
    position: relative;
    z-index: var(--z-10);
}

.service-category h3 {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-bold);
    color: var(--gray-900);
    margin-bottom: var(--space-3);
    position: relative;
    z-index: var(--z-10);
}

.service-category p {
    color: var(--gray-600);
    margin-bottom: var(--space-6);
    position: relative;
    z-index: var(--z-10);
}

.service-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-4);
    border-top: 1px solid var(--gray-200);
    position: relative;
    z-index: var(--z-10);
}

.service-price {
    font-weight: var(--font-weight-bold);
    color: var(--primary);
    font-size: var(--text-lg);
}

.service-count {
    font-size: var(--text-sm);
    color: var(--gray-500);
}

.view-all-services {
    text-align: center;
}

/* ==================== TESTIMONIALS ==================== */
.testimonials {
    padding: var(--space-20) 0;
    background: var(--gray-50);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-8);
    margin-bottom: var(--space-16);
}

.testimonial-card {
    background: white;
    padding: var(--space-8);
    border-radius: var(--rounded-2xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: var(--space-6);
    left: var(--space-6);
    font-size: 4rem;
    color: rgba(32, 157, 237, 0.1);
    font-weight: var(--font-weight-bold);
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-rating {
    display: flex;
    gap: var(--space-1);
    margin-bottom: var(--space-4);
}

.testimonial-rating i {
    color: var(--accent);
    font-size: var(--text-sm);
}

.testimonial-text {
    font-size: var(--text-lg);
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: var(--space-6);
    position: relative;
    z-index: var(--z-10);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: var(--rounded-full);
    object-fit: cover;
}

.author-name {
    font-weight: var(--font-weight-semibold);
    color: var(--gray-900);
    margin-bottom: var(--space-1);
}

.author-location {
    font-size: var(--text-sm);
    color: var(--gray-500);
}

/* Trust Badges */
.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-6);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-6);
    background: white;
    border-radius: var(--rounded-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.trust-badge:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.trust-badge i {
    font-size: var(--text-2xl);
    color: var(--primary);
}

.badge-title {
    font-weight: var(--font-weight-semibold);
    color: var(--gray-900);
    margin-bottom: var(--space-1);
}

.badge-subtitle {
    font-size: var(--text-sm);
    color: var(--gray-500);
}

/* ==================== DOWNLOAD APP ==================== */
.download-app {
    padding: var(--space-20) 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.download-app::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
    position: relative;
    z-index: var(--z-10);
}

.download-text h2 {
    font-size: var(--text-4xl);
    font-weight: var(--font-weight-bold);
    color: white;
    margin-bottom: var(--space-6);
}

.download-text p {
    font-size: var(--text-xl);
    color: rgba(255,255,255,0.9);
    margin-bottom: var(--space-8);
}

.app-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.app-feature {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: rgba(255,255,255,0.9);
}

.app-feature i {
    color: rgba(255,255,255,0.8);
    font-size: var(--text-lg);
}

.download-buttons {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.download-btn {
    transition: all var(--transition-base);
}

.download-btn:hover {
    transform: scale(1.05);
}

.download-btn img {
    height: 60px;
    width: auto;
}

.qr-section {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: rgba(255,255,255,0.8);
}

.qr-section i {
    font-size: var(--text-2xl);
}

.download-visual {
    text-align: center;
}

.phones-image {
    max-width: 400px;
    width: 100%;
    height: auto;
}

/* ==================== DUAL CTA ==================== */
.dual-cta {
    padding: var(--space-20) 0;
    background: var(--gray-50);
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
}

.cta-card {
    padding: var(--space-12);
    border-radius: var(--rounded-2xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
}

.cta-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.cta-client {
    background: linear-gradient(135deg, white 0%, var(--gray-50) 100%);
    border: 2px solid var(--primary);
}

.cta-provider {
    background: var(--primary-gradient);
    color: white;
}

.cta-content h3 {
    font-size: var(--text-3xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-4);
}

.cta-client h3 {
    color: var(--gray-900);
}

.cta-provider h3 {
    color: white;
}

.cta-content p {
    font-size: var(--text-lg);
    margin-bottom: var(--space-8);
}

.cta-client p {
    color: var(--gray-600);
}

.cta-provider p {
    color: rgba(255,255,255,0.9);
}

.cta-benefits {
    text-align: left;
    margin-bottom: var(--space-8);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.cta-benefits li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
    font-size: var(--text-base);
}

.cta-client .cta-benefits li {
    color: var(--gray-700);
}

.cta-provider .cta-benefits li {
    color: rgba(255,255,255,0.9);
}

.cta-benefits i {
    color: var(--secondary);
    font-size: var(--text-sm);
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--gray-900);
    color: white;
    padding: var(--space-20) 0 var(--space-8);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: var(--space-12);
    margin-bottom: var(--space-16);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

.footer-logo {
    width: 40px;
    height: 40px;
    border-radius: var(--rounded-lg);
    object-fit: cover;
    /* Removido el filtro para mantener los colores originales del logo */
}

.footer-brand-text {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-bold);
    color: white;
}

.footer-description {
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: var(--space-8);
}

.social-links {
    display: flex;
    gap: var(--space-4);
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--gray-800);
    border-radius: var(--rounded-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: var(--text-lg);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.footer-section h4 {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-semibold);
    color: white;
    margin-bottom: var(--space-6);
}

.footer-links li {
    margin-bottom: var(--space-3);
}

.footer-links a {
    color: var(--gray-400);
    transition: color var(--transition-base);
}

.footer-links a:hover {
    color: white;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--gray-400);
    transition: color var(--transition-base);
}

.contact-item:hover {
    color: white;
}

.contact-item i {
    font-size: var(--text-lg);
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-8);
    border-top: 1px solid var(--gray-800);
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    flex-wrap: wrap;
}

.legal-links {
    display: flex;
    gap: var(--space-6);
}

.legal-links a {
    color: var(--gray-400);
    font-size: var(--text-sm);
    transition: color var(--transition-base);
}

.legal-links a:hover {
    color: white;
}

.footer-stats {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--gray-400);
    font-size: var(--text-sm);
}

.footer-stats i {
    color: var(--error);
}

.admin-access {
    cursor: pointer;
    opacity: 0.5;
    transition: opacity var(--transition-base);
}

.admin-access:hover {
    opacity: 1;
}

/* ==================== MODALS ==================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-modal);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: var(--rounded-2xl);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-2xl);
    transform: scale(0.9);
    transition: all var(--transition-base);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-6);
    border-bottom: 1px solid var(--gray-200);
}

.modal-header h3 {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-bold);
    color: var(--gray-900);
    margin: 0;
}

.modal-close {
    width: 40px;
    height: 40px;
    border-radius: var(--rounded-full);
    border: none;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: var(--text-xl);
    cursor: pointer;
    transition: all var(--transition-base);
}

.modal-close:hover {
    background: var(--gray-200);
    color: var(--gray-800);
}

.modal-body {
    padding: var(--space-6);
}

.modal-search,
.provider-benefits {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.modal-input {
    padding: var(--space-4);
    border: 2px solid var(--gray-200);
    border-radius: var(--rounded-lg);
    font-size: var(--text-base);
    transition: all var(--transition-base);
}

.modal-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(32, 157, 237, 0.1);
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    background: var(--gray-50);
    border-radius: var(--rounded-lg);
    color: var(--gray-700);
}

.benefit-item i {
    color: var(--primary);
    font-size: var(--text-lg);
}

.form-group {
    margin-bottom: var(--space-4);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-2);
    font-weight: var(--font-weight-medium);
    color: var(--gray-700);
}

.error-message {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
    padding: var(--space-3);
    border-radius: var(--rounded-lg);
    margin-top: var(--space-4);
    font-size: var(--text-sm);
}

/* ==================== LOADING OVERLAY ==================== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-max);
}

.loading-spinner {
    text-align: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--gray-200);
    border-top: 4px solid var(--primary);
    border-radius: var(--rounded-full);
    animation: spin 1s linear infinite;
    margin: 0 auto var(--space-4);
}

.loading-spinner p {
    color: var(--gray-600);
    font-weight: var(--font-weight-medium);
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* ==================== RESPONSIVE DESIGN ==================== */

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --text-6xl: 3rem;
        --text-5xl: 2.5rem;
        --text-4xl: 2rem;
        --space-32: 6rem;
        --space-24: 4rem;
        --space-20: 3rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-12);
        text-align: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .download-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cta-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --text-6xl: 2.5rem;
        --text-5xl: 2rem;
        --text-4xl: 1.75rem;
        --text-3xl: 1.5rem;
        --space-20: 3rem;
        --space-16: 2.5rem;
        --space-12: 2rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: var(--space-20) var(--space-6);
        box-shadow: var(--shadow-2xl);
        transition: right var(--transition-slow);
        z-index: var(--z-modal);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu .nav-link {
        padding: var(--space-4) 0;
        border-bottom: 1px solid var(--gray-200);
    }
    
    .nav-buttons {
        flex-direction: column;
        margin-top: var(--space-8);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding: calc(80px + var(--space-12)) 0 var(--space-12);
    }
    
    .hero-title {
        font-size: var(--text-4xl);
    }
    
    .hero-description {
        font-size: var(--text-lg);
    }
    
    .search-container {
        flex-direction: column;
    }
    
    .quick-categories {
        justify-content: center;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .floating-card {
        display: none;
    }
    
    .value-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .app-features {
        grid-template-columns: 1fr;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .trust-badges {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .container {
        padding: 0 var(--space-4);
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    :root {
        --text-6xl: 2rem;
        --text-5xl: 1.75rem;
        --text-4xl: 1.5rem;
        --space-16: 2rem;
        --space-12: 1.5rem;
        --space-8: 1.25rem;
    }
    
    .hero-title {
        font-size: var(--text-3xl);
    }
    
    .section-header h2 {
        font-size: var(--text-3xl);
    }
    
    .btn-large {
        padding: var(--space-3) var(--space-6);
        font-size: var(--text-base);
    }
    
    .modal-content {
        width: 95%;
        margin: var(--space-4);
    }
    
    .container {
        padding: 0 var(--space-3);
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-phone,
    .phones-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-card {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    /* Dark mode styles would go here if needed */
}

/* Print Styles */
@media print {
    .navbar,
    .modal,
    .loading-overlay {
        display: none !important;
    }
    
    * {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
    }
}