/* ========================================
   HOSTIPAR LANDING PAGE - LIGHT THEME
   Modern SaaS Style for Facebook Campaigns
   ======================================== */

:root {
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-dark: #0f172a;

    /* Brand Colors */
    --accent-primary: #0066FF;
    --accent-secondary: #0052CC;
    --accent-light: #e0f2fe;
    --accent-gradient: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);

    /* Text Colors */
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-white: #ffffff;

    /* Accent Colors */
    --success: #22c55e;
    --warning: #f59e0b;
    --cta-whatsapp: #25d366;
    --popular-badge: #0066FF;

    /* Borders & Shadows */
    --border-light: #e2e8f0;
    --border-medium: #cbd5e1;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --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-card: 0 4px 20px rgba(0, 102, 255, 0.15);

    /* Typography */
    --font-main: 'Inter', 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-max: 1200px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
}

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

ul {
    list-style: none;
}

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

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

/* ========== TYPOGRAPHY ========== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

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

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

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

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

.text-muted {
    color: var(--text-muted);
}

.text-secondary {
    color: var(--text-secondary);
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-primary);
    margin-bottom: 16px;
}

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

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

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

.btn-primary {
    background: var(--accent-gradient);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-medium);
}

.btn-outline {
    background: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
}

.btn-outline:hover {
    background: var(--accent-primary);
    color: var(--text-white);
}

.btn-whatsapp {
    background: var(--cta-whatsapp);
    color: var(--text-white);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #20b858;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

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

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    border-bottom-color: var(--border-light);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.logo i {
    color: var(--accent-primary);
    font-size: 1.3rem;
}

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

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

.mobile-nav-header {
    display: none;
}

.nav-links li a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.nav-links li a:hover {
    color: var(--accent-primary);
}

.nav-cta {
    margin-left: 16px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

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

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

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

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 102, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 102, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

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

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-light);
    color: var(--accent-primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-content h1 {
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

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

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    /* Entrance (1s) + Floating (infinite after 1s delay) */
    animation: fadeInUp 1.2s ease-out forwards, float 6s ease-in-out infinite 1.2s;
    opacity: 0;
    /* Hidden initially for fade in */
}

@keyframes float {

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

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* ========== DESIGNS SLIDER ========== */
.designs-gallery {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.designs-slider-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    /* Space for arrows */
}

.designs-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 38px;
    padding: 20px 4px 40px;
    /* Bottom padding for shadow */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.designs-slider::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.designs-slider .design-card {
    flex: 0 0 320px;
    /* Reduced to fit 3 in viewport */
    scroll-snap-align: center;
    width: 320px;
}

@media (max-width: 768px) {
    .designs-slider .design-card {
        flex: 0 0 85vw;
        /* Mobile: 85% of viewport width */
        width: 85vw;
        max-width: 350px;
    }

    .designs-slider-container {
        padding: 0 10px;
        /* Reduce side padding on mobile */
    }

    .designs-slider {
        padding: 20px 4px 40px;
        gap: 16px;
    }

    /* Hide arrows on mobile as swipe is intuitive */
    .slider-btn {
        display: none;
    }
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--accent-primary);
    color: white;
    box-shadow: var(--shadow-lg);
}

.slider-btn.prev {
    left: 0px;
}

.slider-btn.next {
    right: 0px;
}

/* Updated Design Card for Slider */
.design-img-wrapper {
    height: 220px;
    overflow: hidden;
    position: relative;
    background: #f1f5f9;
}

.design-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    /* More space so shadow/edges are safe */
    background-color: #eef2f6;
    object-position: center;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.1));
    /* Enhanced shadow */
    transition: transform 0.5s ease;
}

.section-label {
    display: inline-block;
    padding: 6px 12px;
    background: var(--accent-light);
    color: var(--accent-primary);
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

/* ========== TRUST LOGOS ========== */
.trust-logos {
    padding: 60px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.trust-logos .container {
    text-align: center;
}

.trust-logos p {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 32px;
}

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

.logos-grid span {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.6;
    transition: var(--transition-fast);
}

.logos-grid span:hover {
    opacity: 1;
    color: var(--text-secondary);
}

/* ========== HOW IT WORKS ========== */
.how-it-works {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

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

.step-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    transition: var(--transition-normal);
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon i {
    font-size: 2rem;
    color: var(--accent-primary);
}

.step-number {
    display: inline-block;
    width: 32px;
    height: 32px;
    background: var(--accent-gradient);
    color: var(--text-white);
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 32px;
    margin-bottom: 16px;
}

.step-card h3 {
    margin-bottom: 12px;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ========== PRICING SECTION ========== */
.pricing {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 40px 32px;
    border: 1px solid var(--border-light);
    transition: var(--transition-normal);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.popular {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-card);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-8px);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gradient);
    color: var(--text-white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.pricing-card .description {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.price {
    margin-bottom: 24px;
}

.price .amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
}

.price .currency {
    font-size: 1.5rem;
    font-weight: 600;
}

.price .period {
    font-size: 1rem;
    color: var(--text-muted);
}

.pricing-features {
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.pricing-features li i {
    color: var(--success);
    font-size: 1rem;
    margin-top: 3px;
}

.pricing-card .btn {
    width: 100%;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--border-light);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 24px;
    font-size: 4rem;
    color: var(--accent-light);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content {
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
}

.testimonial-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: 80px 0;
    background: var(--accent-gradient);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: var(--text-white);
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.125rem;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-whatsapp {
    background: var(--text-white);
    color: var(--accent-primary);
}

.cta-section .btn-whatsapp:hover {
    background: var(--bg-secondary);
}

.cta-section .btn-outline {
    border-color: var(--text-white);
    color: var(--text-white);
}

.cta-section .btn-outline:hover {
    background: var(--text-white);
    color: var(--accent-primary);
}

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

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

.footer-brand .logo {
    color: var(--text-white);
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

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

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

.social-links a:hover {
    background: var(--accent-primary);
}

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

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-column ul li a:hover {
    color: var(--text-white);
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* ========== DESIGNS GALLERY ========== */
.designs-gallery {
    padding: var(--section-padding);
    background: var(--bg-tertiary);
}

.designs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
}

.design-card {
    background: var(--bg-primary);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition-normal);
    position: relative;
}

.design-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-primary);
}

.design-card.featured {
    border: 2px solid var(--accent-primary);
    box-shadow: var(--shadow-card);
}

.design-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.design-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.design-card:hover .design-img-wrapper img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent-gradient);
    color: var(--text-white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
}

.design-info {
    padding: 24px;
}

.design-info h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.design-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.tag {
    font-size: 0.7rem;
    padding: 4px 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.design-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.design-btn {
    width: 100%;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.design-btn:not(.btn-primary) {
    background: var(--bg-secondary);
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
}

.design-btn:not(.btn-primary):hover {
    background: var(--accent-primary);
    color: var(--text-white);
}

@media (max-width: 768px) {
    .designs-grid {
        grid-template-columns: 1fr;
    }

    .design-img-wrapper {
        height: 180px;
    }
}

/* ========== FLOATING WHATSAPP ========== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: var(--cta-whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.75rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-normal);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6);
    }
}

/* ========== RESPONSIVE ========== */

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

    .hero-content {
        max-width: 100%;
    }

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

    .hero-image {
        order: -1;
    }

    .hero-image img {
        max-width: 80%;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .pricing-card.popular {
        transform: none;
    }

    .pricing-card.popular:hover {
        transform: translateY(-8px);
    }

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

/* Mobile landscape and portrait */
@media (max-width: 768px) {

    /* Prevent horizontal scroll */
    html,
    body {
        overflow-x: hidden;
    }

    /* Mobile Navigation */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        /* Start off-screen */
        left: auto;
        bottom: 0;
        width: 80%;
        max-width: 280px;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 24px 40px;
        gap: 0;
        opacity: 1;
        visibility: visible;
        pointer-events: all;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1005;
        /* Higher than navbar which is 1000 */
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
        border-left: 1px solid var(--border-light);
    }

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

    /* Backdrop backdrop filter effect */
    .nav-links::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
        backdrop-filter: blur(4px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .nav-links.active::before {
        opacity: 1;
        visibility: visible;
    }

    .mobile-nav-header {
        display: block;
        width: 100%;
        margin-bottom: 20px;
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }

    .mobile-nav-header .logo {
        font-size: 1.8rem;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--border-light);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links li a {
        font-size: 1.1rem;
        font-weight: 600;
        display: block;
        padding: 16px 0;
        color: var(--text-primary);
    }

    .nav-cta {
        margin-left: 0;
        margin-top: auto !important;
        /* Push to bottom if space permits, or just standard margin */
        padding-top: 20px;
        width: 100%;
        border-top: 1px solid var(--border-light);
    }

    .nav-cta a {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 16px;
        border-radius: 12px;
        box-shadow: none;
        /* remove potential weird shadows */
    }

    .menu-toggle {
        display: flex;
        z-index: 1002;
    }

    /* Hero adjustments */
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-image img {
        max-width: 100%;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }

    /* Trust logos */
    .trust-logos {
        padding: 40px 0;
    }

    .logos-grid {
        flex-direction: column;
        gap: 20px;
    }

    .logos-grid span {
        font-size: 1rem;
    }

    /* Steps grid */
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .step-card {
        padding: 30px 24px;
    }

    /* Pricing */
    .pricing-grid {
        grid-template-columns: 1fr !important;
        /* Force 1 column */
        display: flex;
        /* Flex is often safer for simple stacks */
        flex-direction: column;
        gap: 32px;
        max-width: 100%;
        padding: 0 10px;
        /* Smaller padding to fit content better */
    }

    .pricing-card {
        padding: 32px 24px;
        width: 100%;
        /* Ensure full width */
    }

    .price .amount {
        font-size: 2.5rem;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 24px;
    }

    /* CTA */
    .cta-section h2 {
        font-size: 1.75rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }

    .social-links {
        justify-content: center;
    }

    /* WhatsApp floating button */
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }

    /* Section padding */
    .how-it-works,
    .pricing,
    .testimonials {
        padding: 60px 0;
    }

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

    .section-header h2 {
        font-size: 1.75rem;
    }
}

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

    .hero {
        padding: 90px 0 50px;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .pricing-card {
        padding: 28px 20px;
    }
}

/* ========== COMPARISON TABLE ========== */
.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    background: white;
    border: 1px solid var(--border-light);
    margin-top: 20px;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    text-align: left;
}

.comparison-table th,
.comparison-table td {
    padding: 28px 24px;
    border-bottom: 1px solid var(--border-light);
}

.comparison-table th {
    background: white;
    vertical-align: top;
    position: relative;
    border-bottom: 2px solid var(--border-light);
}

.comparison-table .feature-col {
    width: 25%;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.15rem;
    background: #fdfdfd;
}

.comparison-table .competitor-col {
    width: 37.5%;
    text-align: center;
    color: var(--text-secondary);
    background: #f8fafc;
}

.comparison-table .hostipar-col {
    width: 37.5%;
    text-align: center;
    background: #f0f9ff;
    /* Very light blue */
    position: relative;
    /* No borders here, we use the wrapper */
}

/* Feature column cells */
.feature-name {
    font-weight: 600;
    color: var(--text-primary);
    background: #ffffff;
}

/* Hostipar cells (Deep highlight) */
.hostipar-cell {
    background: #f0f9ff;
    text-align: center;
    position: relative;
}

/* Generic Platform Cells */
.competitor-cell {
    text-align: center;
    color: var(--text-muted);
    background: #f8fafc;
}

/* Special styling for the active column header */
.comparison-table th.hostipar-col {
    background: #e0f2fe;
    border-top: 6px solid var(--accent-primary);
    border-radius: 0;
}

.th-content {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.th-content i {
    font-size: 2.2rem;
    margin-bottom: 4px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.competitor-col i {
    color: #64748b;
}

.hostipar-col i {
    color: var(--accent-primary);
}

.badge-recommended {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 10px rgba(0, 102, 255, 0.3);
    white-space: nowrap;
    z-index: 2;
}

.competitor-cell small {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: #ef4444;
    line-height: 1.4;
    font-weight: 500;
}

.hostipar-cell small {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: #0369a1;
    line-height: 1.4;
    font-weight: 500;
}

/* Row Hover Effect */
.comparison-table tr:hover td {
    background-color: rgba(0, 0, 0, 0.015);
}

.comparison-table tr:hover td.hostipar-cell {
    background-color: #e0f2fe;
}

@media (max-width: 768px) {
    .comparison-table-wrapper {
        margin: 0;
        background: transparent;
        box-shadow: none;
        overflow-x: visible;
    }

    .comparison-table,
    .comparison-table thead,
    .comparison-table tbody,
    .comparison-table th,
    .comparison-table td,
    .comparison-table tr {
        display: block;
    }

    .comparison-table thead {
        display: none;
    }

    /* CARD CONTAINER */
    .comparison-table tr {
        background: white;
        border-radius: 16px;
        margin-bottom: 24px;
        box-shadow: var(--shadow-md);
        border: 1px solid var(--border-light);
        display: flex;
        flex-wrap: wrap;
        overflow: hidden;
        /* For rounded corners */
        padding: 0;
        /* Removing padding to let children fill */
    }

    .comparison-table td {
        border: none !important;
        background: transparent !important;
        text-align: center !important;
        /* Centering text */
    }

    /* FEATURE HEADER (Full Width) */
    .comparison-table .feature-name {
        font-size: 1.1rem;
        font-weight: 800;
        color: var(--text-primary);
        text-align: center;
        padding: 12px 16px;
        width: 100% !important;
        background: #f1f5f9;
        border-bottom: 1px solid var(--border-light) !important;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    /* SIDE BY SIDE CELLS */
    .competitor-cell {
        width: 50% !important;
        background: white !important;
        padding: 20px 12px !important;
        border-right: 1px solid var(--border-light) !important;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    .hostipar-cell {
        width: 50% !important;
        background: #f8fafc !important;
        /* Subtle highlight */
        padding: 20px 12px !important;
        border-left: none !important;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    /* LABELS */
    .competitor-cell::before {
        content: "GENÉRICA";
        display: block;
        font-size: 0.65rem;
        font-weight: 800;
        color: #94a3b8;
        margin-bottom: 8px;
        letter-spacing: 0.5px;
        text-transform: uppercase;
    }

    .hostipar-cell::before {
        content: "PERSONALIZADO";
        display: block;
        font-size: 0.65rem;
        font-weight: 800;
        color: var(--accent-primary);
        margin-bottom: 8px;
        letter-spacing: 0.5px;
        text-transform: uppercase;
    }

    .comparison-table td small {
        margin-top: 8px;
        display: block;
        font-size: 0.75rem;
        line-height: 1.3;
        color: var(--text-secondary);
    }

    /* Icons adjustment for mobile split */
    .competitor-cell i {
        font-size: 1.5rem;
        margin-bottom: 8px;
        color: #cbd5e1;
        display: block;
    }

    .hostipar-cell i {
        font-size: 1.5rem;
        margin-bottom: 8px;
        color: var(--accent-primary);
        display: block;
    }
}

/* ========== ABOUT US SECTION ========== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-grid .about-images h3 {
        font-size: 3.5rem !important;
    }
    
    .about-grid .about-content h2 {
        font-size: 2rem !important;
    }
}

.footer {
    padding: 40px 0 20px;
}