/* ==========================================================================
   landingweb.cl - Estilos Globales & Diseño Premium (CSS Vanilla)
   ========================================================================== */

/* Variables de Diseño System */
:root {
    --bg-main: #0b0c10;
    --bg-card: #121420;
    --bg-card-hover: #191c2c;
    --bg-header: rgba(11, 12, 16, 0.75);
    
    --primary: #6366f1;       /* Indigo */
    --primary-glow: rgba(99, 102, 241, 0.35);
    --secondary: #06b6d4;     /* Cyan */
    --secondary-glow: rgba(6, 182, 212, 0.25);
    
    --whatsapp: #25d366;
    --whatsapp-glow: rgba(37, 211, 102, 0.3);
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #64748b;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(255, 255, 255, 0.16);
    
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --glass-blur: blur(12px);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
}

body {
    overflow-x: hidden;
    line-height: 1.6;
    background-color: var(--bg-main);
}

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

ul {
    list-style: none;
}

img, svg {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

input, button, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

/* Componentes Comunes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #4f46e5);
    color: #fff;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
    filter: brightness(1.1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--text-main);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px var(--primary-glow);
}

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

.w-full {
    width: 100%;
}

/* Títulos y Secciones */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-lead {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Header & Navbar */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: var(--bg-header);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.main-header.scrolled {
    padding: 10px 0;
    background-color: rgba(11, 12, 16, 0.9);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: var(--transition-normal);
}

.main-header.scrolled .navbar-container {
    height: 64px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.logo-accent {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-dot {
    color: var(--secondary);
}

.nav-menu ul {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition-normal);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mobile Toggle */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 101;
}

.mobile-nav-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition-normal);
    transform-origin: left center;
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background-color: var(--bg-card);
    z-index: 99;
    padding: 100px 32px 32px 32px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.mobile-drawer.open {
    right: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-link {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.mobile-link:hover {
    color: var(--text-main);
    padding-left: 8px;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 180px 0 100px 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-gradients {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.gradient-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    animation: blob-float 10s infinite alternate;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: 10%;
    left: -10%;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: var(--secondary);
    bottom: 10%;
    right: -10%;
    animation-delay: 2s;
}

@keyframes blob-float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 30px) scale(1.1); }
}

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

.badge-express {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.25);
    color: #a5b4fc;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 550px;
}

.hero-lead strong {
    color: var(--text-main);
    font-size: 1.3rem;
}

/* Domain Interactive Finder */
.domain-checker {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 6px 6px 6px 20px;
    border-radius: 50px;
    max-width: 500px;
    margin-bottom: 12px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-normal);
}

.domain-checker:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.25);
}

.domain-prefix {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    user-select: none;
}

#domain-input {
    flex: 1;
    padding: 10px 12px;
    font-weight: 600;
    color: var(--text-main);
}

#domain-input::placeholder {
    color: var(--text-dark);
}

.btn-domain {
    padding: 10px 24px;
}

.domain-hint {
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-left: 20px;
    margin-bottom: 30px;
}

.hero-features-minimal {
    display: flex;
    gap: 24px;
}

.minimal-feat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.feat-icon-svg {
    width: 18px;
    height: 18px;
    color: var(--secondary);
}

/* Hero Visual (Mockup) */
.hero-visual {
    perspective: 1000px;
}

.mockup-window {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 40px rgba(99, 102, 241, 0.05);
    transform: rotateY(-8deg) rotateX(4deg);
    transition: var(--transition-slow);
}

.mockup-window:hover {
    transform: rotateY(0deg) rotateX(0deg) translateY(-8px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 50px rgba(6, 182, 212, 0.1);
}

.mockup-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.mockup-dots {
    display: flex;
    gap: 6px;
    margin-right: 18px;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.mockup-url-bar {
    flex: 1;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: monospace;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: var(--transition-fast);
}

.mockup-body {
    padding: 24px;
    min-height: 280px;
    background: radial-gradient(circle at 10% 20%, rgba(18, 20, 32, 0.9) 0%, rgba(11, 12, 16, 1) 90%);
}

.mockup-hero-demo {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mockup-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 12px;
    margin-bottom: 24px;
}

.mockup-logo-demo {
    font-size: 0.9rem;
    font-weight: 700;
}

.mockup-links-demo {
    width: 60px;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
}

.mockup-content-demo {
    flex: 1;
}

.mockup-badge {
    display: inline-block;
    padding: 3px 8px;
    font-size: 0.65rem;
    font-weight: 700;
    background: var(--secondary);
    color: #000;
    border-radius: 4px;
    margin-bottom: 12px;
}

.mockup-content-demo h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: #fff;
    transition: var(--transition-fast);
}

.mockup-content-demo p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.mockup-btn {
    display: inline-block;
    background: var(--whatsapp);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 4px;
    text-align: center;
}

.mockup-floating-wa {
    align-self: flex-end;
    margin-top: 12px;
    background: var(--whatsapp);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

/* Features Section */
.features-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-main);
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 16px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(600px circle at var(--x, 0px) var(--y, 0px), rgba(99, 102, 241, 0.05), transparent 40%);
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-color-hover);
    background: var(--bg-card-hover);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 24px;
    transition: var(--transition-normal);
}

.feature-card:hover .feature-icon-wrapper {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 15px var(--primary-glow);
}

.feature-icon {
    width: 24px;
    height: 24px;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Planes & Precios */
.plans-section {
    padding: 100px 0;
    background: radial-gradient(circle at 50% 50%, rgba(25, 28, 44, 0.5) 0%, var(--bg-main) 100%);
    border-top: 1px solid var(--border-color);
    position: relative;
}

.plans-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.plan-card {
    background: rgba(18, 20, 32, 0.85);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 48px 32px 32px 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-normal);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    max-width: 420px;
    width: 100%;
}

.plan-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-color-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.plan-featured-card {
    border: 2px solid var(--primary);
    background: rgba(22, 25, 43, 0.95);
    box-shadow: 0 10px 30px var(--primary-glow);
}

.plan-featured-card:hover {
    box-shadow: 0 20px 45px var(--primary-glow);
    border-color: #818cf8;
}

.badge-featured {
    position: absolute;
    top: 18px;
    right: 24px;
    font-size: 0.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 4px 12px;
    border-radius: 50px;
    color: #fff;
    letter-spacing: 1px;
}

.plan-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 16px;
}

.plan-price .currency {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary);
    margin-right: 4px;
}

.plan-price .amount {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.plan-price .period {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-left: 8px;
}

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

.plan-divider {
    height: 1px;
    background: var(--border-color);
    margin-bottom: 24px;
}

.plan-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
    flex: 1;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
}

.plan-features li.disabled {
    color: var(--text-dark);
}

.check-icon {
    width: 18px;
    height: 18px;
    color: var(--secondary);
    flex-shrink: 0;
    margin-top: 3px;
}

.cross-icon {
    width: 18px;
    height: 18px;
    color: var(--text-dark);
    flex-shrink: 0;
    margin-top: 3px;
}

.plan-footer {
    margin-top: auto;
}

/* Contact Section & Form */
.contact-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
    position: relative;
}

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

.contact-info-panel .subtitle {
    margin-bottom: 12px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 40px;
}

.method-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.method-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.15);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.method-text h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.method-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

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

.glass-form {
    background: rgba(18, 20, 32, 0.6);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.glass-form h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.glass-form p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 28px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--text-main);
    transition: var(--transition-fast);
    width: 100%;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.15);
}

.form-group select option {
    background-color: var(--bg-card);
    color: var(--text-main);
}

.form-response {
    margin-top: 16px;
    padding: 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    text-align: center;
    display: none;
}

.form-response.success {
    display: block;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #34d399;
}

.form-response.error {
    display: block;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #f87171;
}

/* Simulated Map Section */
.map-section {
    padding-bottom: 100px;
}

.map-wrapper {
    height: 380px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    position: relative;
}

.map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.5) invert(0.9) contrast(1.2) opacity(0.7);
    transition: var(--transition-normal);
}

.map-iframe:hover {
    filter: grayscale(0.2) invert(0.9) contrast(1.1) opacity(0.85);
}



/* Footer styling */
.main-footer {
    background: #06070a;
    border-top: 1px solid var(--border-color);
    padding: 80px 0 0 0;
}

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

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

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links h4, 
.footer-contact h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

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

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

.footer-links a:hover {
    color: var(--text-main);
    padding-left: 4px;
}

.footer-contact p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.bottom-flex {
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a:hover {
    color: var(--text-muted);
}

/* Interactive WhatsApp Float Widget */
.whatsapp-widget-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    font-family: var(--font-body);
}

.whatsapp-badge-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--whatsapp);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    border: none;
    outline: none;
}

.whatsapp-badge-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.wa-notification-bubble {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: #ef4444;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-main);
    animation: wa-bounce 2s infinite;
}

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

.whatsapp-chat-box {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 360px;
    max-width: 90vw;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
}

.whatsapp-chat-box.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.wa-chat-header {
    background-color: #075e54;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    position: relative;
}

.wa-agent-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    border: 2px solid rgba(255,255,255,0.2);
}

.wa-agent-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.wa-status {
    font-size: 0.75rem;
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: 4px;
}

.wa-status-dot {
    width: 6px;
    height: 6px;
    background-color: var(--whatsapp);
    border-radius: 50%;
    display: inline-block;
}

.wa-close-btn {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition-fast);
}

.wa-close-btn:hover {
    opacity: 1;
}

.wa-chat-body {
    background-color: #e5ddd5;
    /* Simulated whatsapp background */
    background-image: radial-gradient(rgba(0,0,0,0.06) 1px, transparent 1px);
    background-size: 12px 12px;
    padding: 20px;
    min-height: 200px;
    max-height: 300px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wa-msg {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.88rem;
    position: relative;
    box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.wa-msg-received {
    background-color: #fff;
    color: #303030;
    align-self: flex-start;
    border-top-left-radius: 0;
}

.wa-msg-sender {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2px;
}

.wa-msg-text {
    line-height: 1.4;
}

.wa-msg-time {
    display: block;
    text-align: right;
    font-size: 0.65rem;
    color: #8c8c8c;
    margin-top: 4px;
}

.wa-chat-footer {
    padding: 12px 16px;
    display: flex;
    gap: 12px;
    align-items: center;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-card);
}

#wa-user-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 10px 16px;
    border-radius: 30px;
    font-size: 0.88rem;
    color: var(--text-main);
}

#wa-user-input:focus {
    border-color: var(--whatsapp);
}

#wa-send-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #075e54;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

#wa-send-btn:hover {
    background-color: #0c7569;
    transform: scale(1.05);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-lead {
        margin-left: auto;
        margin-right: auto;
    }
    
    .domain-checker {
        width: 100%;
        max-width: 480px;
    }
    
    .domain-hint {
        margin-left: 0;
    }
    
    .hero-visual {
        max-width: 500px;
        width: 100%;
        margin: 0 auto;
    }
    
    .mockup-window {
        transform: none !important;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-btn-hide {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    /* Toggle active state hamburger */
    .mobile-nav-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(2px, 2px);
    }
    
    .mobile-nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-nav-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(2px, -2px);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-bottom {
        padding-bottom: 100px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-section {
        padding-top: 140px;
    }
    
    .domain-checker {
        flex-direction: column;
        border-radius: 16px;
        padding: 12px;
        gap: 12px;
    }
    
    .domain-prefix {
        font-size: 0.9rem;
    }
    
    #domain-input {
        padding: 8px 0;
        text-align: center;
        width: 100%;
    }
    
    .btn-domain {
        width: 100%;
    }
    
    .hero-features-minimal {
        flex-direction: column;
        gap: 12px;
    }
    
    .plan-card {
        padding: 32px 20px;
    }
    
    .glass-form {
        padding: 24px 16px;
    }
}

/* Floating Audio Control Panel styling */
.audio-control-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(18, 20, 32, 0.85);
    border: 1px solid var(--border-color);
    padding: 10px 16px;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    transition: var(--transition-normal);
}

.audio-toggle-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-main);
}

.audio-icon {
    font-size: 1.1rem;
    display: inline-block;
    transition: var(--transition-fast);
}

.audio-icon.playing {
    animation: rotateMusic 4s linear infinite;
}

@keyframes rotateMusic {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.audio-status-text {
    user-select: none;
}

.audio-volume-panel {
    display: flex;
    align-items: center;
    width: 0;
    overflow: hidden;
    transition: var(--transition-normal);
}

.audio-control-container:hover .audio-volume-panel {
    width: 80px;
    margin-left: 8px;
}

#audio-volume {
    width: 80px;
    height: 4px;
    accent-color: var(--secondary);
    cursor: pointer;
}

@media (max-width: 768px) {
    .audio-volume-panel {
        width: 80px;
        margin-left: 8px;
    }
}

/* ==========================================================================
   Sección Promocional: Prueba Gratis 30 Días (Directo a WhatsApp)
   ========================================================================== */

.hero-trial-cta {
    margin-top: 15px;
    margin-bottom: 30px;
    display: flex;
}

.btn-whatsapp-glow {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff !important;
    font-weight: 700;
    font-size: 1.05rem;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: wa-pulse 2s infinite;
}

.btn-whatsapp-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    filter: brightness(1.1);
}

.wa-icon-svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

@keyframes wa-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Plan Trial Ribbon/Badge styles */
.plan-card {
    position: relative;
}

.trial-badge-ribbon {
    position: absolute;
    top: -12px;
    left: 20px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.plan-features li.trial-feature {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.15);
    padding: 10px 14px;
    border-radius: 10px;
    color: #34d399;
}

.plan-features li.trial-feature .check-icon {
    color: #34d399;
}

/* Full Width Trial Section between Hero and Features */
.trial-promo-section {
    padding: 80px 0;
    background: relative;
    z-index: 2;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(180deg, var(--bg-main) 0%, rgba(18, 20, 32, 0.4) 50%, var(--bg-main) 100%);
}

.trial-promo-card {
    position: relative;
    background: rgba(18, 20, 32, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 60px 40px;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    text-align: center;
}

.trial-promo-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.trial-promo-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.trial-badge {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #34d399, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 6px 18px;
    border-radius: 50px;
    background-color: rgba(16, 185, 129, 0.08);
}

.trial-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.trial-title span {
    background: linear-gradient(135deg, #25d366, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.trial-desc {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.btn-whatsapp-large {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white !important;
    font-size: 1.15rem;
    font-weight: 700;
    padding: 16px 40px;
    border-radius: 50px;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-normal);
    animation: wa-pulse 2s infinite;
}

.btn-whatsapp-large:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.6);
    filter: brightness(1.1);
}

.icon-wa {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .trial-promo-card {
        padding: 40px 20px;
    }
    
    .trial-title {
        font-size: 2rem;
    }
    
    .trial-desc {
        font-size: 1rem;
    }
    
    .btn-whatsapp-large {
        font-size: 1rem;
        padding: 14px 28px;
        width: 100%;
        justify-content: center;
    }
    
    .hero-trial-cta {
        width: 100%;
        justify-content: center;
    }
    
    .btn-whatsapp-glow {
        width: 100%;
        max-width: 480px;
    }
}


