/* ============================================
   DONHOSTER - MAIN STYLESHEET
   Colores actualizados: #6B3DBB, #333333, #8E2FE4, #18202F
   ============================================ */

/* ============= CSS VARIABLES ============= */
:root {
    /* Colores Principales - ACTUALIZADOS */
    --primary: #6B3DBB;
    --primary-dark: #5B2FA6;
    --primary-light: #8E2FE4;
    --secondary: #10B981;
    --accent: #F59E0B;
    --dark-bg: #18202F;
    --text-dark: #333333;
    
    /* Backgrounds */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F9FAFB;
    --bg-dark: #18202F;
    --bg-card: #FFFFFF;
    
    /* Text Colors */
    --text-primary: #333333;
    --text-secondary: #6B7280;
    --text-light: #9CA3AF;
    --text-white: #FFFFFF;
    
    /* Borders & Shadows */
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(107, 61, 187, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(107, 61, 187, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(107, 61, 187, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(107, 61, 187, 0.15);
    
    /* Gradients - ACTUALIZADOS */
    --gradient-primary: linear-gradient(135deg, #6B3DBB 0%, #8E2FE4 100%);
    --gradient-hero: linear-gradient(135deg, #6B3DBB 0%, #8E2FE4 50%, #6B3DBB 100%);
    --gradient-text: linear-gradient(135deg, #8E2FE4 0%, #F59E0B 100%);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Container */
    --container-width: 1200px;
}

/* ============= DARK MODE VARIABLES ============= */
[data-theme="dark"] {
    --bg-primary: #0F1419;
    --bg-secondary: #18202F;
    --bg-dark: #0A0E14;
    --bg-card: #1A2332;
    
    --text-primary: #F9FAFB;
    --text-secondary: #D1D5DB;
    --text-light: #9CA3AF;
    
    --border-color: #2D3748;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color var(--transition-base), color var(--transition-base);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Visually Hidden (for accessibility) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ============= HEADER ============= */
.header {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
}

.header-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-primary);
    transition: transform var(--transition-fast);
    width: 220px;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    stroke: white;
}

/* Navigation */
nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.nav-menu a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a[aria-current="page"] {
    color: var(--primary);
    font-weight: 600;
}

.nav-menu a[aria-current="page"]::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: var(--radius-full);
}

.btn-nav {
    font-size: 0.9rem !important;
    padding: 0.6rem 1.2rem !important;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

/* ============= BUTTONS ============= */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    cursor: pointer;
}

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

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

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

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

/* ============= HERO CAROUSEL ============= */
.hero-carousel {
    position: relative;
    background: var(--gradient-hero);
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Background Container */
.carousel-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.carousel-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.carousel-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    opacity: 0.8;
}

.carousel-slide {
    position: relative;
    z-index: 1;
    width: 100%;
    display: none;
}

.carousel-slide.active {
    display: block;
}

.hero-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 6rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 70vh;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    transition: opacity var(--transition-base);
}

.gradient-text {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    transition: opacity var(--transition-base);
}

.hero-icon-badge {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero-icon-badge svg {
    stroke: white;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-buttons .btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.hero-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}

/* Hero Visual - Oculto en el nuevo diseño */
.hero-visual {
    display: none;
}

.animated-server {
    position: relative;
    animation: float 3s ease-in-out infinite;
}

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

.animated-server svg {
    stroke: rgba(255, 255, 255, 0.4);
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(142, 47, 228, 0.3) 0%, transparent 70%);
    animation: pulse 2s ease-in-out infinite;
}

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

/* Carousel Controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.25);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    z-index: 10;
}

.carousel-control:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control.prev {
    left: 2rem;
}

.carousel-control.next {
    right: 2rem;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
}

.indicator.active,
.indicator:hover {
    background: white;
    transform: scale(1.2);
}

/* Texto del indicador */
.carousel-indicators::after {
    content: 'DEDICATED • 1 OF 4';
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* ============= SECTIONS ============= */
.section-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 5rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* ============= WHY CHOOSE SECTION ============= */
.why-choose {
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid var(--border-color);
}

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

.feature-icon {
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature-icon svg {
    stroke: var(--primary);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============= PRICING SECTION ============= */
.pricing {
    background: var(--gradient-hero);
    position: relative;
}

.pricing .section-container {
    max-width: 1600px;
    padding: 5rem 2rem;
}

.pricing .section-header h2,
.pricing .section-header p {
    color: white;
}

/* 🔥 CORREGIDO: 4 PLANES EN UNA SOLA FILA - CENTRADOS */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1600px;
    margin: 0 auto;
    justify-content: center;
}

.pricing-card {
    background: rgba(24, 32, 47, 0.85);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    padding: 2.5rem 2rem;
    position: relative;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
    background: linear-gradient(135deg, #6B3DBB 0%, #8E2FE4 100%);
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.4);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #10B981;
    color: white;
    padding: 0.4rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.pricing-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.pricing-icon svg {
    stroke: white;
}

.pricing-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-price {
    text-align: center;
    margin-bottom: 2rem;
    color: white;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
}

.price-period {
    font-size: 1rem;
    opacity: 0.8;
}

.pricing-features {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.pricing-features li {
    color: rgba(255, 255, 255, 0.95);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-button {
    width: 100%;
    padding: 1rem;
    background: white;
    color: var(--primary);
    border-radius: var(--radius-lg);
    font-weight: 700;
    text-align: center;
    transition: all var(--transition-base);
    display: block;
}

.pricing-button:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.pricing-card.featured .pricing-button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.pricing-card.featured .pricing-button:hover {
    background: white;
    color: var(--primary);
}

/* ============= WHY DONHOSTER SECTION ============= */
.why-donhoster {
    background: var(--bg-primary);
}

.benefits-grid-special {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.benefit-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

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

.benefit-icon {
    color: var(--primary);
    margin-bottom: 1rem;
}

.benefit-icon svg {
    stroke: var(--primary);
}

.benefit-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.benefit-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Central Logo */
.central-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.logo-circle {
    width: 140px;
    height: 140px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--primary);
    transition: all var(--transition-base);
}

.logo-circle:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 0 30px rgba(107, 61, 187, 0.4);
}

.donhoster-logo {
    width: 90px;
    height: 90px;
}

/* ============= TRUSTED BY SECTION ============= */
.trusted-by {
    background: var(--bg-secondary);
    overflow: hidden;
}

.logos-carousel {
    margin-top: 3rem;
    overflow: hidden;
}

.logos-track {
    display: flex;
    gap: 4rem;
    animation: scroll 30s linear infinite;
    align-items: center;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    transition: all var(--transition-base);
}

.logo-item img {
    height: 40px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all var(--transition-base);
}

.logo-item:hover img {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-secondary);
    opacity: 0.6;
    transition: all var(--transition-base);
}

.logo-item:hover .logo-text {
    opacity: 1;
    color: var(--primary);
}


/* ============= TESTIMONIALS SECTION ============= */
.testimonials {
    background: var(--bg-primary);
    overflow: hidden;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }
.testimonial-card:nth-child(4) { animation-delay: 0.4s; }
.testimonial-card:nth-child(5) { animation-delay: 0.5s; }
.testimonial-card:nth-child(6) { animation-delay: 0.6s; }

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

.testimonial-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.star-icon {
    width: 20px;
    height: 20px;
    color: #F59E0B;
}

.rating-number {
    margin-left: 0.5rem;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.125rem;
}

.testimonial-text {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.avatar-initials {
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.author-role {
    color: var(--text-secondary);
    font-size: 0.875rem;
}


/* ============= FAQ SECTION ============= */
.faq {
    background: var(--bg-secondary);
}

/* ============= DOMAIN SEARCH SECTION ============= */
.domain-search {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.domain-search-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.domain-search-header {
    text-align: center;
    margin-bottom: 3rem;
}

.domain-search-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.gradient-text-domain {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.domain-search-header p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.tld-prices {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.tld-price-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all var(--transition-base);
}

.tld-price-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tld-extension {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    display: block;
}

.tld-cost {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.25rem;
}

.domain-search-form {
    display: flex;
    gap: 0;
    margin-bottom: 2rem;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
}

.search-icon {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    color: rgba(255, 255, 255, 0.6);
    pointer-events: none;
}

.domain-input {
    width: 100%;
    padding: 1.25rem 1.5rem 1.25rem 4rem;
    font-size: 1.125rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    transition: all var(--transition-base);
}

.domain-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.domain-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.domain-input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.domain-search-button {
    padding: 1.25rem 2rem;
    background: white;
    color: var(--primary);
    border: none;
    border-radius: var(--radius-xl);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    font-weight: 700;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.domain-search-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.domain-search-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.button-icon {
    width: 20px;
    height: 20px;
}

.button-text-loading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(107, 61, 187, 0.3);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.domain-error {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(239, 68, 68, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-xl);
    margin-bottom: 2rem;
}

.error-icon {
    width: 24px;
    height: 24px;
    color: #FCA5A5;
    flex-shrink: 0;
}

.error-text {
    color: #FCA5A5;
    font-weight: 600;
}

.domain-results {
    display: grid;
    gap: 1rem;
}

.domain-result-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all var(--transition-base);
}

.domain-result-card:hover {
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.result-status {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.result-status.available {
    background: #10B981;
}

.result-status.unavailable {
    background: #EF4444;
}

.result-status svg {
    width: 24px;
    height: 24px;
    color: white;
}

.result-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.result-domain {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.result-price {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.result-unavailable-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.result-register-button {
    padding: 0.75rem 1.5rem;
    background: white;
    color: var(--primary);
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.result-register-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* ============= FAQ SECTION ============= */
.faq {
    background: var(--bg-secondary);
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all var(--transition-base);
    background: none;
    gap: 1rem;
}

.faq-question:hover {
    background: var(--bg-secondary);
}

.faq-icon {
    font-size: 1.25rem;
    font-weight: 300;
    transition: transform var(--transition-base);
    color: var(--primary);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow), padding var(--transition-slow);
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============= CTA SECTION ============= */
.cta {
    background: var(--gradient-hero);
    text-align: center;
    color: white;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

.btn-primary.btn-nav {
    color: #FFFFFF;
}

.btn-primary.btn-nav:hover {
    color: #FFFFFF ;
    opacity: 0.9;
}

.cta .btn-secondary {
    border-color: white;
    color: white;
}

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

/* ============= FOOTER ============= */
.footer {
    background: var(--dark-bg);
    color: rgba(255, 255, 255, 0.85);
    padding: 4rem 0 2rem;
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 1rem;
}

.footer-brand p {
    margin-bottom: 1.5rem;
    opacity: 0.85;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.95rem;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.newsletter-form button {
    padding: 0.75rem 1.5rem;
    white-space: nowrap;
}

.footer-column h4 {
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.85);
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 2rem 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    opacity: 0.85;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
}

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

/* ============= DARK MODE TOGGLE ============= */
.dark-mode-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-base);
    z-index: 999;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.dark-mode-toggle:hover {
    transform: scale(1.15) rotate(15deg);
    box-shadow: 0 10px 30px rgba(107, 61, 187, 0.5);
}

.dark-mode-toggle svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary-light);
    fill: none;
    stroke-width: 2;
}

.sun-icon,
.moon-icon {
    transition: all var(--transition-base);
}

.hidden {
    display: none;
}

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

/* Tablet - 2 planes por fila */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .hero-container {
        padding: 5rem 2rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .benefits-grid-special {
        gap: 1.5rem;
    }
}

/* Mobile - 1 plan por fila */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 73px;
        left: -100%;
        width: 100%;
        background: var(--bg-card);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: var(--shadow-lg);
        transition: left var(--transition-base);
        border-top: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-icon-badge {
        width: 60px;
        height: 60px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .domain-search-form {
        flex-direction: column;
    }
    
    .domain-input {
        border-radius: var(--radius-xl);
    }
    
    .domain-search-button {
        border-radius: var(--radius-xl);
        justify-content: center;
    }
    
    .tld-prices {
        flex-direction: column;
        align-items: stretch;
    }
    
    .benefits-grid-special {
        grid-template-columns: 1fr;
    }
    
    .central-logo {
        position: relative;
        transform: none;
        margin: 2rem auto;
        top: auto;
        left: auto;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .carousel-control {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
    
    .carousel-control.prev {
        left: 1rem;
    }
    
    .carousel-control.next {
        right: 1rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 1rem 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
    }
    
    .section-container {
        padding: 3rem 1rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
    }
    
    .carousel-control {
        width: 40px;
        height: 40px;
    }
    
    .carousel-control.prev {
        left: 0.5rem;
    }
    
    .carousel-control.next {
        right: 0.5rem;
    }
    
    .dark-mode-toggle {
        bottom: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
    }
}

/* ============= UTILITIES ============= */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }

/* ============= ANIMATIONS ============= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}


/* ============================================
   CSS ADICIONAL PARA MAIN.JS
   Añadir al final de styles.css
   ============================================ */

/* ============= HEADER SCROLL EFFECT ============= */
.header.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.98);
}

[data-theme="dark"] .header.scrolled {
    background: rgba(15, 20, 25, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* ============= HAMBURGER MENU ANIMATION ============= */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ============= DARK MODE TRANSITION ============= */
html {
    transition: background-color 0.3s ease, color 0.3s ease;
}

* {
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

/* Excluir elementos que no deben tener transición */
.carousel-slide,
.testimonials-slide,
.domain-result-card,
.testimonial-card-carousel {
    transition: opacity 0.4s ease, transform 0.4s ease !important;
}

/* ============= SMOOTH SCROLL ============= */
html {
    scroll-behavior: smooth;
}

/* ============= ANIMATION FADE IN UP ============= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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




/* ============================================
   RESPONSIVE FIXES - TLD PRICES & TESTIMONIALS
   Actualizar estas secciones en testimonials-carousel.css o styles.css
   ============================================ */

/* ============= TLD PRICES RESPONSIVE ============= */

/* Desktop - 3 columnas horizontal */
.tld-prices {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.tld-price-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all var(--transition-base);
    flex: 0 1 auto; /* No crecer, permite shrink */
}

/* Tablet - 3 columnas más pequeñas */
@media (max-width: 1024px) {
    .tld-prices {
        gap: 1rem;
    }
    
    .tld-price-item {
        padding: 0.875rem 1.25rem;
    }
}

/* Mobile - 3 columnas horizontal (compacto) */
@media (max-width: 768px) {
    .tld-prices {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
        max-width: 100%;
    }
    
    .tld-price-item {
        padding: 0.75rem 0.5rem;
        min-width: 0; /* Permite que se compriman */
    }
    
    .tld-extension {
        font-size: 1.25rem; /* Más pequeño en mobile */
    }
    
    .tld-cost {
        font-size: 0.75rem; /* Texto más pequeño */
    }
}

/* Mobile pequeño - aún más compacto */
@media (max-width: 480px) {
    .tld-prices {
        gap: 0.5rem;
    }
    
    .tld-price-item {
        padding: 0.625rem 0.375rem;
    }
    
    .tld-extension {
        font-size: 1.125rem;
    }
    
    .tld-cost {
        font-size: 0.7rem;
    }
}

/* ============= TESTIMONIALS CAROUSEL RESPONSIVE ============= */

/* Desktop - 4 columnas */
.testimonials-slide-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* Tablet - 2 columnas */
@media (max-width: 1024px) {
    .testimonials-slide-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .testimonials-control.prev {
        left: -15px;
    }

    .testimonials-control.next {
        right: -15px;
    }
}

/* Mobile - 1 columna (1 testimonio por slide) */
@media (max-width: 768px) {
    .testimonials-carousel {
        padding: 3rem 0;
    }

    .testimonials-carousel-container {
        padding: 0 1rem;
    }

    .testimonials-slide-grid {
        grid-template-columns: 1fr; /* Solo 1 columna */
        gap: 1.5rem;
    }

    .testimonials-control {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .testimonials-control.prev {
        left: -10px;
    }

    .testimonials-control.next {
        right: -10px;
    }

    .testimonials-carousel .section-header h2 {
        font-size: 2rem;
    }

    .testimonial-card-carousel {
        min-height: auto;
    }
}

/* Mobile pequeño */
@media (max-width: 480px) {
    .testimonials-control.prev {
        left: -5px;
    }

    .testimonials-control.next {
        right: -5px;
    }
    
    .testimonials-carousel .section-header h2 {
        font-size: 1.75rem;
    }
    
    .testimonial-card-carousel {
        padding: 1.5rem;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
    }
}

/* ============= DOMAIN SEARCH RESPONSIVE (ya existente pero mejorado) ============= */

/* Mobile - mantener horizontal para domain search form */
@media (max-width: 768px) {
    .domain-search-form {
        flex-direction: column;
    }
    
    .domain-input {
        border-radius: var(--radius-xl);
    }
    
    .domain-search-button {
        border-radius: var(--radius-xl);
        justify-content: center;
    }
}







/* Contenedor relativo para el mapa */
.map-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 20px;
    padding: 10px;
    /* Un ligero borde sutil como en la imagen */
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.map-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

/* Posicionamiento del Pin sobre Miami */
.miami-pin {
    position: absolute;
    bottom: 8%; /* Ajustado para la punta de Florida */
    right: -5%;  /* Ajustado para la punta de Florida */
    display: flex;
    align-items: center;
    z-index: 10;
}

/* Marcador Verde (Pin) */
.pin-marker {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: 2px solid white;
}

/* Punto blanco dentro del Pin */
.pin-inner-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    transform: rotate(45deg);
}



/* Círculos de Pulso */
.pulse-circles {
    position: absolute;
    left: 12px; /* Centrado con el pin */
    top: 12px;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.circle {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid #34d399;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: map-pulse 2s infinite;
}

.circle:nth-child(2) {
    animation-delay: 1s;
}

/* Animación del Pulso */
@keyframes map-pulse {
    0% {
        width: 10px;
        height: 10px;
        opacity: 0.8;
    }
    100% {
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}

/* Ajustes para móviles */
@media (max-width: 768px) {
    .pin-label-tag {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
    .pin-marker {
        width: 18px;
        height: 18px;
    }
}