/* style.css - Premium V2 */
:root {
    --bg-dark: #050505;
    --bg-surface: #0f0f11;
    --bg-panel: rgba(255, 255, 255, 0.02);
    --bg-panel-hover: rgba(255, 255, 255, 0.05);
    
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    
    /* Neon Gradients */
    --primary: #3b82f6; /* Blue */
    --primary-glow: rgba(59, 130, 246, 0.4);
    --secondary: #ec4899; /* Pink */
    --accent: #22d3ee; /* Cyan */
    --accent-red: #ef4444; /* Added for "red" in name */
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(255, 255, 255, 0.15);
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Hosting Layout Utilities */
    --pricing-bg: rgba(255, 255, 255, 0.03);
    --pricing-highlight: #3b82f6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
}

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

::selection {
    background: var(--primary);
    color: white;
}

/* Typography Utilities */
h1, h2, h3, h4, .counter, .brand {
    font-family: var(--font-heading);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 700; margin-bottom: 1.5rem; }
h2 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 600; margin-bottom: 1rem; }
h3 { font-size: clamp(1.5rem, 2vw, 2rem); font-weight: 500; }
p { font-size: 1.125rem; color: var(--text-secondary); margin-bottom: 1.5rem; }

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

.text-accent { color: var(--accent-red); }

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
.container-sm { max-width: 800px; margin: 0 auto; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.1rem; }
.btn-sm, .btn-primary-sm { padding: 0.6rem 1.2rem; font-size: 0.9rem; }

.btn-primary, .btn-primary-sm {
    background: var(--text-primary);
    color: var(--bg-dark);
}

.btn-primary:hover, .btn-primary-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.btn-primary .arrow {
    transition: transform 0.3s ease;
}
.btn-primary:hover .arrow {
    transform: translateX(5px);
}

.btn-outline {
    border: 1px solid var(--border-color);
    color: white;
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.btn-glow {
    background: #10b981; /* Flow green */
    color: white;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}
.btn-glow:hover { box-shadow: 0 6px 25px rgba(16, 185, 129, 0.6); transform: scale(1.02); }

/* Glassmorphism & Panels */
.glass-panel, .glassmorphism {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: var(--transition);
}
.glass-panel:hover {
    background: var(--bg-panel-hover);
    border-color: var(--border-glow);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 1.5rem 0; z-index: 100;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
}
.nav-content { display: flex; justify-content: space-between; align-items: center; }
.brand { text-decoration: none; font-size: 1.5rem; font-weight: 700; color: white; display: flex; align-items: center; gap: 10px; }
.logo-wrapper { display: flex; align-items: center; }
.nav-links { list-style: none; display: flex; gap: 2rem; align-items: center; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: var(--transition); }
.nav-links a:not(.btn):hover { color: white; }

/* Background Orbs */
.hero-bg-animated {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    overflow: hidden; z-index: -1;
}
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out alternate;
}
.orb-1 { width: 600px; height: 600px; background: var(--primary); top: -200px; left: -100px; }
.orb-2 { width: 500px; height: 500px; background: var(--secondary); top: 20%; right: -100px; animation-delay: -5s; opacity: 0.2; }
.footer-orb { width: 800px; height: 400px; background: var(--accent); bottom: -200px; left: 50%; transform: translateX(-50%); opacity: 0.1; }

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
}
.hero-container {
    display: grid; grid-template-columns: 1.2fr 1fr;
    gap: 4rem; align-items: center;
}
.trust-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 0.5rem 1rem; border-radius: 50px;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem; margin-bottom: 2rem; color: var(--text-secondary);
}
.dot { width: 8px; height: 8px; background: #10b981; border-radius: 50%; display: inline-block; box-shadow: 0 0 10px #10b981; }
.dot.red { background: #ef4444; box-shadow: none; }
.dot.yellow { background: #f59e0b; box-shadow: none; }
.dot.green { background: #10b981; box-shadow: none; }

.hero-actions { display: flex; gap: 1rem; margin-top: 2.5rem; }

.trusted-by { margin-top: 4rem; }
.trusted-by p { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted); margin-bottom: 1rem; }
.partner-logos { display: flex; gap: 2rem; align-items: center; }
.partner-badge { display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--text-secondary); filter: grayscale(1); transition: var(--transition); }
.partner-badge:hover { filter: grayscale(0); color: white; }

/* Dashboard Mockup (Hero Visual) */
.dashboard-mockup {
    width: 100%; height: 400px;
    border-radius: 16px; padding: 1.5rem;
    display: flex; flex-direction: column;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border-top: 1px solid rgba(255,255,255,0.2);
    border-left: 1px solid rgba(255,255,255,0.1);
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
}
.dashboard-mockup:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
}
.mockup-header { display: flex; gap: 6px; margin-bottom: 2rem; }
.mockup-body { flex: 1; display: flex; flex-direction: column; gap: 2rem; }
.chart-container {
    flex: 1; display: flex; gap: 15px; align-items: flex-end;
    border-bottom: 1px solid var(--border-color); padding-bottom: 10px;
}
.bar { flex: 1; background: rgba(255,255,255,0.1); border-radius: 4px 4px 0 0; position: relative; overflow: hidden; }
.bar::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, transparent, rgba(255,255,255,0.2)); }
.bar.accent { background: var(--primary); box-shadow: 0 0 20px var(--primary-glow); }
.mockup-stats { display: flex; justify-content: space-between; }
.stat-box { display: flex; flex-direction: column; }
.stat-box .label { font-size: 0.8rem; color: var(--text-muted); }
.stat-box .val { font-size: 1.5rem; font-weight: 700; font-family: var(--font-heading); color: var(--accent); }

/* Global Sections */
section { padding: 8rem 0; position: relative; }
.center-heading { text-align: center; max-width: 700px; margin: 0 auto 5rem; }

/* DNA Section */
.dna-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 6rem; align-items: center; }
.check-list { list-style: none; margin-top: 2rem; }
.check-list li { display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; color: white; font-weight: 500; }
.check-list li::before { content: "✦"; color: var(--accent); font-size: 1.2rem; }

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.stat-card { padding: 2rem; text-align: center; }
.stat-card.highlight { background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(236,72,153,0.1)); border-color: rgba(236,72,153,0.3); }
.stat-card h3 { font-size: 3.5rem; color: white; margin-bottom: 0.5rem; }
.stat-card.highlight h3 { color: var(--secondary); }
.stat-card p { font-size: 0.9rem; margin: 0; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }

/* Bento Grid Services */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(280px, auto);
    gap: 1.5rem;
}
.bento-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex; flex-direction: column;
}
.bento-item:hover {
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-5px);
    background: var(--bg-panel-hover);
}
.col-span-2 { grid-column: span 2; }
@media (max-width: 900px) { .col-span-2 { grid-column: span 1; } .bento-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .bento-grid { grid-template-columns: 1fr; } }

.icon-wrapper {
    width: 60px; height: 60px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 2rem;
}
.style-sem { background: rgba(34, 211, 238, 0.1); color: var(--accent); }
.style-seo { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.style-auto { background: rgba(236, 72, 153, 0.1); color: var(--secondary); }
.style-web { background: rgba(59, 130, 246, 0.1); color: var(--primary); }
.style-app { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.style-smm { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }

.bento-item h3 { margin-bottom: 1rem; }
.bento-item p { margin: 0; font-size: 1rem; }

/* Process Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::before {
    content: '';
    position: absolute; top: 0; left: 24px;
    width: 2px; height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary), transparent);
}
.timeline-item { position: relative; padding-left: 80px; margin-bottom: 4rem; }
.timeline-step {
    position: absolute; left: 0; top: 0;
    width: 50px; height: 50px; border-radius: 50%;
    background: var(--bg-dark); border: 2px solid var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading); font-weight: 700; color: white;
    z-index: 2;
}
.timeline-content h3 { margin-bottom: 0.5rem; }

/* Cases Carousel */
.cases-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.case-card { padding: 2.5rem; display: flex; flex-direction: column; }
.industry-tag { display: inline-block; padding: 0.4rem 1rem; background: rgba(255,255,255,0.05); border-radius: 50px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1.5rem; }
.case-title { font-size: 1.5rem; margin-bottom: 1rem; }
.case-metrics { display: flex; gap: 2rem; margin-top: auto; padding-top: 2rem; border-top: 1px solid var(--border-color); }
.metric h4 { font-size: 2rem; color: var(--accent); margin-bottom: 0.2rem; }
.metric span { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; }

/* Quotes */
.testimonial-section { text-align: center; }
.quote-wrapper { max-width: 800px; margin: 0 auto; }
blockquote { font-size: clamp(1.5rem, 3vw, 2.5rem); font-family: var(--font-heading); font-weight: 500; margin: 2rem 0; line-height: 1.4; color: white; }
.quote-author strong { display: block; font-size: 1.2rem; color: white; margin-bottom: 0.2rem; }
.quote-author span { color: var(--text-muted); font-size: 0.9rem; }

/* Payment CTA */
.payment-cta { text-align: center; }
.cta-box { padding: 6rem 4rem; position: relative; overflow: hidden; }
.cta-box::before {
    content: ''; position: absolute; top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at center, rgba(59,130,246,0.1) 0%, transparent 50%);
    z-index: -1; animation: rotate 20s linear infinite;
}
@keyframes rotate { 100% { transform: rotate(360deg); } }
.cta-actions { display: flex; gap: 1rem; justify-content: center; margin-top: 3rem; flex-wrap: wrap; }

/* Footer */
.footer { border-top: 1px solid var(--border-color); padding: 5rem 0 2rem; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 2fr 1.5fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer h3, .footer h4 { color: white; margin-bottom: 1.5rem; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.8rem; }
.footer a { color: var(--text-secondary); text-decoration: none; transition: var(--transition); }
.footer a:hover { color: white; }
.social-links { display: flex; flex-direction: column; gap: 0.8rem; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid var(--border-color); }

/* Animation Classes */
.reveal { opacity: 0; transform: translateY(40px); transition: all 1s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Contact Form Section */
.contact-section { padding: 6rem 0; }
.form-wrapper { padding: 3rem; background: var(--bg-surface); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } .form-wrapper { padding: 2rem; } }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-size: 0.95rem; font-weight: 500; color: var(--text-secondary); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255,255,255,0.05);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.select-wrapper { position: relative; }
.select-wrapper::after {
    content: '▼'; position: absolute; top: 50%; right: 1.2rem;
    transform: translateY(-50%); font-size: 0.8rem; color: var(--text-muted); pointer-events: none;
}
.form-group select { appearance: none; -webkit-appearance: none; cursor: pointer; color: var(--text-secondary); }
.form-group select option { background: var(--bg-dark); color: white; }
.form-message { margin-top: 1.5rem; text-align: center; padding: 1rem; border-radius: 8px; display: none; font-weight: 500; font-size: 0.95rem; }
.form-message.success { display: block; background: rgba(16, 185, 129, 0.1); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.2); }
.form-message.error { display: block; background: rgba(239, 68, 68, 0.1); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.2); }

/* Cotizar Buttons in Bento Grid */
.bento-item { display: flex; flex-direction: column; height: 100%; }
.bento-item p { margin-bottom: 1.5rem; flex-grow: 1; }
.cotizar-btn { align-self: flex-start; margin-top: auto; }

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-actions { justify-content: center; }
    .partner-logos { justify-content: center; }
    .dna-grid { grid-template-columns: 1fr; gap: 4rem; }
    .cases-carousel { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .pricing-cards { grid-template-columns: 1fr; gap: 2rem; }
}

/* --- Hosting Page Specific Styles --- */
.hosting-hero { 
    padding: 8rem 0 2rem;
    text-align: center;
}

.hosting-hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    max-width: 900px;
    margin: 0 auto 1rem;
}

/* Pricing Cards */
.pricing-cards { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 1.5rem; 
    margin-bottom: 5rem;
    margin-top: 2rem;
}


.pricing-card {
    padding: 3rem 2.5rem;
    display: flex; flex-direction: column;
    text-align: center;
    position: relative;
}

.pricing-card.recommended {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.05);
    transform: scale(1.05);
    z-index: 10;
}

.recommended-badge {
    position: absolute; top: -15px; left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white; padding: 6px 15px;
    border-radius: 50px; font-weight: 700; font-size: 0.8rem;
    text-transform: uppercase; letter-spacing: 1px;
}

.plan-header h3 { font-size: 2rem; margin-bottom: 1rem; }
.plan-header p { font-size: 0.95rem; margin-bottom: 2rem; }

.plan-price { 
    font-family: var(--font-heading); 
    margin-bottom: 0.5rem; 
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}
.currency { 
    font-size: 1.5rem; 
    font-weight: 600;
    color: var(--text-secondary);
}
.price-val { 
    font-size: 3rem; 
    font-weight: 700; 
    color: white; 
}
.iva { 
    font-size: 0.85rem; 
    font-weight: 500;
    color: var(--text-muted); 
    margin-left: 2px;
}
.plan-period { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 2.5rem; }

.plan-features { list-style: none; text-align: left; margin-bottom: 3rem; flex-grow: 1; }
.plan-features li { 
    margin-bottom: 1.2rem; 
    font-size: 1rem; 
    display: flex; align-items: flex-start; gap: 10px;
}
.plan-features li::before { content: "✓"; color: #10b981; font-weight: 800; }

.w-100 { width: 100%; border-radius: 8px; }

/* Bento Item Hosting - Custom Styles */
.bento-item.hosting {
    background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(34, 211, 238, 0.05));
    border-color: rgba(59,130,246,0.2);
}
.style-hosting { background: rgba(59, 130, 246, 0.15); color: var(--primary); }

/* Trust Banner */
.trust-banner {
    padding: 6rem 0;
    margin: 8rem 0;
    text-align: center;
}
.trust-banner h2 { margin-bottom: 1.5rem; }
.trust-banner p { max-width: 600px; margin: 0 auto 2.5rem; }

@media (max-width: 1024px) {
    .pricing-card.recommended { transform: none; margin: 1rem 0; }
    .pricing-cards { grid-template-columns: 1fr; }
}

/* Success Page Specific Styles */
.success-page {
    padding: 10rem 0 6rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.success-visual-wrapper {
    width: 250px;
    height: 250px;
    margin: 0 auto 2rem;
    position: relative;
}

.success-icon-img {
    width: 100%;
    height: auto;
    border-radius: 50px;
    filter: drop-shadow(0 0 30px rgba(34, 211, 238, 0.3));
    animation: success-pulse 3s infinite ease-in-out;
}

@keyframes success-pulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 30px rgba(34, 211, 238, 0.3)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 50px rgba(34, 211, 238, 0.5)); }
}

.next-steps-card {
    margin-top: 3rem;
    padding: 4rem;
    text-align: left;
    max-width: 100%;
}

.next-steps-card h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(135deg, white, var(--text-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.step-item {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 0 15px var(--primary-glow);
}

.step-item p { margin: 0; color: white; font-size: 1.1rem; }

.cta-success-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    flex-wrap: wrap;
}

.footer-simple {
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}


@media (max-width: 768px) {
    .nav-links { display: none; }
    .timeline::before { left: 20px; }
    .timeline-item { padding-left: 60px; }
    .timeline-step { width: 40px; height: 40px; font-size: 0.9rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .cta-actions { flex-direction: column; }
    .stat-grid { grid-template-columns: 1fr; }
}
