/* ========================================
   Outrun AI - Main Stylesheet
   Mobile-First Responsive Design
   ======================================== */

/* CSS Reset/Normalization */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* ========================================
   CSS Custom Properties (Variables)
   ======================================== */
:root {
    /* Colors */
    --primary-color: #0066FF;
    --secondary-color: #00D9FF;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --background-light: #FFFFFF;
    --background-gray: #F5F7FA;
    --success-color: #10B981;
    --error-color: #EF4444;
    --text-muted: #9CA3AF;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    
    /* Layout */
    --max-width: 1200px;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Effects */
    --border-radius: 8px;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* ========================================
   Typography Foundation
   ======================================== */
body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--background-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

h4 {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
}

h5 {
    font-size: clamp(1rem, 2vw, 1.25rem);
}

h6 {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

p {
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

/* ========================================
   Layout Utilities
   ======================================== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-lg) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

/* ========================================
   Header Styles
   ======================================== */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--background-light);
    box-shadow: var(--shadow-sm);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    max-width: var(--max-width);
    margin: 0 auto;
}

/* Logo/Brand */
.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.nav-brand:hover {
    color: var(--secondary-color);
}

.nav-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 50%;
}

/* Desktop Navigation */
.nav-links {
    display: none;
    gap: var(--spacing-md);
    list-style: none;
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-dark);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-decoration: none;
}

.nav-links a:hover {
    background: var(--background-gray);
    color: var(--primary-color);
}

.nav-links a[aria-current="page"] {
    background: var(--primary-color);
    color: var(--background-light);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: block;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: relative;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--text-dark);
    margin: 5px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: var(--background-light);
    box-shadow: var(--shadow-lg);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
}

.mobile-nav.is-open {
    transform: translateX(0);
}

.mobile-nav ul {
    list-style: none;
    padding: var(--spacing-md);
    margin: 0;
}

.mobile-nav li {
    border-bottom: 1px solid var(--background-gray);
    padding: var(--spacing-sm) 0;
}

.mobile-nav li:last-child {
    border-bottom: none;
}

.mobile-nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    display: block;
    padding: var(--spacing-xs) 0;
    transition: var(--transition);
}

.mobile-nav a:hover {
    color: var(--primary-color);
}

/* ========================================
   Section Backgrounds
   ======================================== */
#hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--background-light);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

#hero h1 {
    color: var(--background-light);
}

/* Hero Container Layout */
#hero .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
}

/* Hero Benefits List */
.hero-benefits {
    list-style: none;
    margin: var(--spacing-md) 0;
    padding: 0;
    font-size: 1.1rem;
}

.hero-benefits li {
    padding: var(--spacing-xs) 0;
    color: var(--background-light);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

/* Hero CTA Container */
.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin-top: var(--spacing-lg);
}

/* Primary CTA Button */
.btn-primary {
    background: var(--background-light);
    color: var(--primary-color);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-color);
}

.btn-primary {
    will-change: transform;
}

/* Secondary CTA Button */
.btn-secondary {
    background: transparent;
    color: var(--background-light);
    border: 2px solid var(--background-light);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--background-light);
    color: var(--primary-color);
}

/* Hero Image */
.hero-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

#servicios {
    background: var(--background-gray);
}

/* Section Subtitle */
.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

/* Service Card */
.service-card {
    background: var(--background-light);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Service Icon Container */
.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
}

.service-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

/* Service Title */
.service-title {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
}

/* Service Description */
.service-description {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

/* Service Benefits List */
.service-benefits {
    list-style: none;
    padding: 0;
    margin: var(--spacing-sm) 0 0 0;
    width: 100%;
}

.service-benefits li {
    padding: var(--spacing-xs) 0;
    color: var(--text-dark);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
}

.service-benefits li::before {
    content: "✓";
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.2rem;
}

#consultoria {
    background: var(--background-light);
}

/* Consultation Content */
.consultoria-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Pricing Card */
.pricing-card {
    background: var(--background-light);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    margin: var(--spacing-lg) auto;
    max-width: 500px;
    position: relative;
    border: 2px solid transparent;
    background-image: linear-gradient(var(--background-light), var(--background-light)), 
                      linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.pricing-header {
    margin-bottom: var(--spacing-md);
}

.pricing-amount {
    display: block;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
}

.pricing-duration {
    display: block;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Included Features List */
.included-features {
    list-style: none;
    padding: 0;
    margin: var(--spacing-md) 0;
    text-align: left;
}

.included-features li {
    padding: var(--spacing-xs) 0;
    color: var(--text-dark);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.included-features li::before {
    content: "✓";
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* CTA Buttons Container */
.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.cta-buttons .btn-primary,
.cta-buttons .btn-secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
}

.btn-whatsapp {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-whatsapp:hover {
    background: var(--primary-color);
    color: var(--background-light);
}

/* Trust Badges */
.trust-badges {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.trust-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm);
    background: var(--background-gray);
    border-radius: var(--border-radius);
}

.badge-icon {
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.badge-text {
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Pricing Card Animation */
.pricing-card {
    animation: fadeInUp 0.6s ease;
    animation-fill-mode: both;
    animation-delay: 0.2s;
}

/* ========================================
   ROI Calculator Section
   ======================================== */

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    align-items: start;
    margin-top: var(--spacing-lg);
}

.calculator-controls {
    background: var(--background-gray);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

/* Range Slider Styling */
input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: linear-gradient(to right, var(--primary-color) 0%, var(--primary-color) 50%, #e2e8f0 50%, #e2e8f0 100%);
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: opacity 0.2s;
}

input[type="range"]:hover {
    opacity: 0.9;
}

input[type="range"]:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Webkit (Chrome, Safari, Edge) */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: 3px solid var(--background-light);
    box-shadow: 0 2px 8px rgba(0, 102, 255, 0.3);
    transition: all 0.2s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.6);
}

input[type="range"]::-webkit-slider-thumb:active {
    transform: scale(1.05);
}

/* Firefox */
input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: 3px solid var(--background-light);
    box-shadow: 0 2px 8px rgba(0, 102, 255, 0.3);
    transition: all 0.2s ease;
}

input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.6);
}

input[type="range"]::-moz-range-thumb:active {
    transform: scale(1.05);
}

/* Firefox track */
input[type="range"]::-moz-range-track {
    background: transparent;
    border: none;
}

/* Slider Labels */
.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.slider-labels span:nth-child(2) {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Loss Display Box */
.loss-display {
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm);
    background: var(--background-light);
    border-left: 4px solid var(--error-color);
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
}

/* Chart Wrapper */
.chart-wrapper {
    height: 300px;
    position: relative;
    background: var(--background-light);
    padding: var(--spacing-sm);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.chart-wrapper canvas {
    width: 100% !important;
    height: 100% !important;
}

#chartLoader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    background: var(--background-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Responsive: Desktop */
@media (min-width: 768px) {
    .calculator-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .chart-wrapper {
        height: 350px;
    }
}

@media (min-width: 1024px) {
    .chart-wrapper {
        height: 400px;
    }
}

#contacto {
    background: var(--background-gray);
}

/* ========================================
   Contact Form Styles
   ======================================== */

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: var(--spacing-md);
    background: var(--background-light);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
}

.form-group label .required {
    color: var(--error-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-sm);
    border: 2px solid var(--background-gray);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--background-light);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Error States */
.form-group.error input,
.form-group.error textarea {
    border-color: var(--error-color);
}

.form-group.error input:focus,
.form-group.error textarea:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.error-message {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: var(--spacing-xs);
    display: none;
}

.form-group.error .error-message {
    display: block;
}

/* Form Status Message */
.form-message {
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-md);
    display: none;
    text-align: center;
    font-weight: 500;
}

.form-message.show {
    display: block;
}

.form-message.success {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid var(--success-color);
}

.form-message.error {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid var(--error-color);
}

/* Submit Button */
.contact-submit {
    width: 100%;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
}

.contact-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Honeypot - Hidden from users */
.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .contact-submit {
        width: auto;
        padding-left: var(--spacing-lg);
        padding-right: var(--spacing-lg);
    }
}

/* ========================================
   Programa de Pioneros Section
   ======================================== */

#pioneros {
    background: var(--background-light);
}

.pioneros-card {
    background: linear-gradient(135deg, var(--primary-color), #0052cc);
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    color: white;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 0.6s ease;
}

.pioneros-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.pioneros-title {
    font-size: 2rem;
    margin: 1.5rem 0 1rem;
    color: white;
    line-height: 1.2;
}

.pioneros-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.pioneros-metrics {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.pioneros-metric {
    text-align: center;
    min-width: 120px;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.875rem;
    opacity: 0.8;
    line-height: 1.3;
}

.pioneros-cta {
    background: white;
    color: var(--primary-color);
    font-weight: 600;
    padding: 1rem 2rem;
    display: inline-block;
    transition: var(--transition);
}

.pioneros-cta:hover {
    background: var(--background-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pioneros-card {
        padding: 2rem 1.5rem;
    }

    .pioneros-title {
        font-size: 1.5rem;
    }

    .pioneros-subtitle {
        font-size: 1rem;
    }

    .pioneros-metrics {
        gap: 1.5rem;
    }

    .metric-value {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .pioneros-metrics {
        flex-direction: column;
        gap: 1rem;
    }

    .pioneros-metric {
        min-width: auto;
    }
}

#fundador {
    background: var(--background-gray);
}

.founder-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.founder-image {
    text-align: center;
}

.founder-image img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--primary-color);
    object-fit: cover;
    aspect-ratio: 1/1;
}

.founder-bio {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.founder-bio h3 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
}

.founder-role {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.founder-description {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

.founder-description p {
    margin-bottom: var(--spacing-sm);
}

.founder-social {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    margin-top: var(--spacing-md);
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--background-light);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--background-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========================================
   Footer Styles
   ======================================== */
footer {
    background: linear-gradient(180deg, var(--text-dark) 0%, #0a0a0a 100%);
    color: var(--background-light);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

/* Footer Content Grid */
.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    text-align: center;
}

/* Footer Column */
.footer-column {
    padding: var(--spacing-sm) 0;
}

.footer-heading {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--background-light);
}

/* Company Info Column */
.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-sm);
}

.footer-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--background-light);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-sm);
    line-height: 1.5;
}

.footer-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: rgba(0, 102, 255, 0.15);
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 500;
}

.footer-trust-badge svg {
    color: var(--secondary-color);
}

/* Quick Links Column */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    padding: var(--spacing-xs) 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* Contact Info Column */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition);
    padding: 0.25rem 0;
}

a.footer-contact-item:hover {
    color: var(--secondary-color);
}

.footer-contact-item svg {
    flex-shrink: 0;
}

/* Social Media Links */
.footer-social {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.footer-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--background-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    margin-top: var(--spacing-lg);
    text-align: center;
}

.footer-copyright {
    margin: 0 0 var(--spacing-xs);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-legal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-xs);
    flex-wrap: wrap;
}

.footer-legal a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--background-light);
    text-decoration: underline;
}

.footer-divider {
    color: rgba(255, 255, 255, 0.3);
}

.footer-made-in {
    margin: var(--spacing-xs) 0 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Footer Responsive - Tablet */
@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        text-align: left;
    }

    .footer-brand {
        justify-content: flex-start;
    }

    .footer-contact-item {
        justify-content: flex-start;
    }

    .footer-social {
        justify-content: flex-start;
    }

    .footer-company {
        grid-column: 1 / -1;
    }
}

/* Footer Responsive - Desktop */
@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: 1.5fr 1fr 1.5fr;
    }

    .footer-company {
        grid-column: auto;
    }

    .footer-column {
        padding: 0 var(--spacing-sm);
    }

    .footer-nav-column {
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        padding-left: var(--spacing-lg);
        padding-right: var(--spacing-lg);
    }
}

/* ========================================
   Performance Optimizations
   ======================================== */
.section {
    contain: layout;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apply animations to hero elements */
#hero h1 {
    animation: fadeInUp 0.6s ease;
}

.hero-subtitle {
    animation: fadeInUp 0.8s ease;
}

.hero-benefits {
    animation: fadeInUp 1s ease;
}

.hero-cta {
    animation: fadeInUp 1.2s ease;
}

.hero-image img {
    animation: fadeInUp 0.8s ease;
}

/* Service Card Animations */
.service-card {
    animation: fadeInUp 0.6s ease;
    animation-fill-mode: both;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }

/* Founder Section Animations */
.founder-image {
    animation: fadeInUp 0.6s ease;
    animation-fill-mode: both;
}

.founder-bio {
    animation: fadeInUp 0.8s ease;
    animation-fill-mode: both;
    animation-delay: 0.2s;
}

/* ========================================
   Media Queries - Mobile First
   ======================================== */

/* Mobile (<768px) - Default styles above */
.hero-cta {
    flex-direction: column;
}

.hero-cta .btn-primary,
.hero-cta .btn-secondary {
    width: 100%;
    text-align: center;
}

/* Tablet (768px+) */
@media (min-width: 768px) {
    .container {
        padding: 0 var(--spacing-lg);
    }
    
    .section {
        padding: var(--spacing-xl) 0;
    }
    
    /* Navigation */
    .nav-links {
        display: flex;
    }
    
    .menu-toggle {
        display: none;
    }
    
    .mobile-nav {
        display: none;
    }
    
    /* Hero */
    #hero .container {
        gap: var(--spacing-xl);
    }
    
    .hero-cta {
        flex-direction: row;
    }
    
    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        width: auto;
    }
    
    /* Services Grid - Tablet */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
    
    /* Consultation - Tablet */
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: auto;
    }
    
    .trust-badges {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Founder Section - Tablet */
    .founder-content {
        grid-template-columns: 1fr 1.5fr;
        gap: var(--spacing-xl);
    }
    
    .founder-bio {
        text-align: left;
    }
    
    .founder-social {
        justify-content: flex-start;
    }
    
    .founder-image img {
        max-width: 350px;
    }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
    header nav {
        padding: var(--spacing-sm) var(--spacing-lg);
    }
    
    /* Hero grid layout */
    #hero .container {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-benefits {
        font-size: 1.2rem;
    }
    
    /* Navigation spacing */
    .nav-links {
        gap: var(--spacing-lg);
    }
    
    /* Services Grid - Desktop */
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .service-card {
        padding: var(--spacing-lg);
    }
    
    /* Consultation - Desktop */
    .pricing-card {
        padding: var(--spacing-xl) var(--spacing-lg);
    }
    
    .included-features li {
        font-size: 1.1rem;
    }

    /* Founder Section - Desktop */
    .founder-content {
        gap: var(--spacing-xl) 3rem;
    }
    
    .founder-image img {
        max-width: 400px;
    }
    
    .founder-description {
        font-size: 1.1rem;
    }
}

/* Large Desktop (1440px+) */
@media (min-width: 1440px) {
    :root {
        --max-width: 1400px;
    }
}

/* ========================================
   Accessibility
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--background-light);
    padding: var(--spacing-xs) var(--spacing-sm);
    z-index: 9999;
}

.skip-link:focus {
    top: 0;
}

/* ========================================
   Privacy Policy Page Styles
   ======================================== */

.privacy-section {
    background: var(--background-gray);
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
}

/* Enhanced Privacy Container with Card Design */
.privacy-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--background-light);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    animation: fadeInUp 0.6s ease;
}

.privacy-container:hover {
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Gradient Title Styling */
.privacy-container .section-title {
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.4s ease;
}

.privacy-container .section-subtitle {
    text-align: left;
    margin-bottom: var(--spacing-lg);
    font-size: 1rem;
}

/* Section Items with Staggered Animations */
.privacy-section-item {
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--background-gray);
    animation: fadeInUp 0.6s ease;
    animation-fill-mode: both;
}

.privacy-section-item:nth-child(1) { animation-delay: 0.1s; }
.privacy-section-item:nth-child(2) { animation-delay: 0.2s; }
.privacy-section-item:nth-child(3) { animation-delay: 0.3s; }
.privacy-section-item:nth-child(4) { animation-delay: 0.4s; }
.privacy-section-item:nth-child(5) { animation-delay: 0.5s; }
.privacy-section-item:nth-child(6) { animation-delay: 0.6s; }
.privacy-section-item:nth-child(7) { animation-delay: 0.7s; }
.privacy-section-item:nth-child(8) { animation-delay: 0.8s; }

.privacy-section-item:last-of-type {
    border-bottom: none;
    margin-bottom: var(--spacing-md);
}

/* Enhanced Heading with Gradient Sidebar */
.privacy-section-item h2 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    position: relative;
    padding-left: var(--spacing-md);
}

.privacy-section-item h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.privacy-section-item p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: var(--spacing-sm);
}

.privacy-section-item p:last-child {
    margin-bottom: 0;
}

/* Enhanced List Styles */
.privacy-section-item ul {
    list-style: disc;
    padding-left: var(--spacing-md);
    margin: var(--spacing-sm) 0;
    color: var(--text-light);
}

.privacy-section-item ul li {
    padding: var(--spacing-xs) 0;
    line-height: 1.6;
    transition: var(--transition);
}

.privacy-section-item ul li:hover {
    padding-left: var(--spacing-xs);
    color: var(--text-dark);
}

/* Enhanced Link Styles */
.privacy-section-item a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
    transition: var(--transition);
}

.privacy-section-item a:hover {
    color: var(--secondary-color);
    text-decoration-thickness: 2px;
}

.privacy-last-updated {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: var(--spacing-md);
    text-align: center;
}

/* Enhanced Return Button */
.privacy-container .btn-secondary {
    display: inline-block;
    margin-top: var(--spacing-sm);
    background: var(--primary-color);
    color: var(--background-light);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 6px rgba(0, 102, 255, 0.2);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.privacy-container .btn-secondary:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 102, 255, 0.3);
}

/* Responsive adjustments for Privacy Page */
@media (min-width: 768px) {
    .privacy-container {
        max-width: 900px;
        padding: var(--spacing-xl) calc(var(--spacing-xl) * 1.5);
    }

    .privacy-section-item h2 {
        font-size: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .privacy-container {
        padding: calc(var(--spacing-xl) * 1.5) calc(var(--spacing-xl) * 2);
    }

    .privacy-section-item h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .privacy-container {
        padding: var(--spacing-md);
        margin: 0 var(--spacing-sm);
        border-radius: 8px;
    }

    .privacy-section-item h2 {
        font-size: 1.25rem;
        padding-left: var(--spacing-sm);
    }

    .privacy-section-item h2::before {
        height: 20px;
        width: 3px;
    }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .privacy-container,
    .privacy-section-item,
    .privacy-container .section-title {
        animation: none;
    }

    .privacy-container:hover {
        transform: none;
    }

    .privacy-container .btn-secondary:hover {
        transform: none;
    }
}
