/* Base Styles B2B Tech Agency */
:root {
    --primary-color: #0E2A47; /* Deep Corporate Navy */
    --accent-color: #00B4D8; /* Tech Cyan */
    --text-color: #1E293B;
    --text-light: #64748B;
    --bg-color: #F8FAFC;
    --white: #FFFFFF;
    --font-family: 'Inter', sans-serif;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3 {
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3);
}

.btn-primary:hover {
    background-color: #0096b4;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 180, 216, 0.4);
}

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

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

.btn-text {
    color: var(--white);
    background: transparent;
    font-weight: 600;
}

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

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    margin: 0 20px;
    font-weight: 500;
    transition: var(--transition);
}

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

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center right;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(14,42,71,0.95) 0%, rgba(14,42,71,0.8) 50%, rgba(14,42,71,0.2) 100%);
    z-index: -1;
}

.hero-content {
    width: 100%;
}

.hero-text {
    max-width: 650px;
    color: var(--white);
}

.hero-text h1 {
    color: var(--white);
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(0, 180, 216, 0.2);
    color: var(--accent-color);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(0, 180, 216, 0.3);
}

.hero p {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 35px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Problem Section */
.problem-section {
    padding: 100px 0;
    background-color: var(--bg-color);
}

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

.center p {
    color: var(--text-light);
    font-size: 1.1rem;
}

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

.problem-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border-top: 4px solid var(--accent-color);
    transition: var(--transition);
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

.problem-card .icon {
    margin-bottom: 20px;
    color: var(--accent-color);
}

.problem-card .icon svg {
    width: 48px;
    height: 48px;
}

.problem-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.problem-card p {
    color: var(--text-light);
}

/* Solution Section */
.solution-section {
    padding: 100px 0;
    background-color: var(--white);
}

.solution-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.solution-text {
    flex: 1;
}

.solution-text .subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 30px;
}

.feature-list strong {
    display: block;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.feature-list p {
    color: var(--text-light);
}

.solution-image {
    flex: 1;
}

.solution-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 50px rgba(14,42,71,0.15);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a365d 100%);
    padding: 80px 0;
    color: var(--white);
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item h3 {
    color: var(--accent-color);
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Cases Section */
.cases-section {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.case-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.case-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #e0f2fe;
    color: #0284c7;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.case-card h3 {
    margin-bottom: 5px;
}

.specialty {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.case-desc {
    font-style: italic;
    color: var(--text-light);
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,180,216,0.15) 0%, rgba(14,42,71,0) 70%);
}

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

.cta-content h2 {
    color: var(--white);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #cbd5e1;
}

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

/* Filter Form Styles */
.filter-form-container {
    background: rgba(11, 28, 46, 0.7);
    border: 1px solid rgba(0, 180, 216, 0.3);
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.05);
}

.wizard-progress {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 10px;
    transition: width 0.4s ease;
}

.wizard-steps-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

.wizard-steps-indicator span.active {
    color: var(--primary);
}

.wizard-step {
    display: none;
    animation: fadeInStep 0.5s ease forwards;
}

.wizard-step.active {
    display: block;
}

@keyframes fadeInStep {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-title {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: #fff;
    font-weight: 600;
    text-align: center;
}

/* Radio Cards */
.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 10px;
}

.options-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.option-card input[type="radio"] {
    display: none;
}

.card-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #cbd5e1;
}

.list-card .card-content {
    text-align: left;
    padding: 15px 20px;
}

.option-card:hover .card-content {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.option-card input[type="radio"]:checked + .card-content {
    background: rgba(0, 180, 216, 0.15);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 180, 216, 0.3);
}

.wizard-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.wizard-actions .btn {
    flex: 1;
}

.glow-btn {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, #00d4ff 100%);
    box-shadow: 0 10px 30px rgba(0, 180, 216, 0.4);
    border: none;
    transition: all 0.3s ease;
    z-index: 1;
}

.glow-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, #00d4ff 0%, var(--primary) 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.glow-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 180, 216, 0.6);
}

.glow-btn:hover::before {
    opacity: 1;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 20px rgba(0, 180, 216, 0.4); }
    50% { box-shadow: 0 0 30px rgba(0, 180, 216, 0.7); }
    100% { box-shadow: 0 0 20px rgba(0, 180, 216, 0.4); }
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #e2e8f0;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 30, 45, 0.6);
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    background: rgba(15, 30, 45, 0.9);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 180, 216, 0.25), inset 0 0 0 1px var(--primary);
    transform: translateY(-2px);
}

/* Organic Animations */
@keyframes floatSoft {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0px); }
}

@keyframes breathGlow {
    0% { box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(0, 180, 216, 0.1); }
    50% { box-shadow: 0 25px 60px rgba(0, 180, 216, 0.15), inset 0 0 0 1px rgba(0, 180, 216, 0.3); }
    100% { box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(0, 180, 216, 0.1); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-overlay {
    background: linear-gradient(135deg, rgba(11,28,46,0.85), rgba(14,42,71,0.9), rgba(0,180,216,0.15));
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
}

.problem-card .icon svg {
    width: 48px;
    height: 48px;
    transition: all 0.5s ease;
}

.problem-card:hover .icon svg {
    animation: floatSoft 2s ease-in-out infinite;
    filter: drop-shadow(0 10px 10px rgba(0, 180, 216, 0.4));
    color: #00d4ff;
    transform: scale(1.1);
}

.filter-form-container {
    background: rgba(11, 28, 46, 0.65);
    border: 1px solid rgba(0, 180, 216, 0.2);
    border-radius: 20px;
    padding: 40px;
    max-width: 550px;
    margin: 0 auto;
    text-align: left;
    backdrop-filter: blur(15px);
    animation: breathGlow 4s ease-in-out infinite;
}

.form-group select option {
    background: #0f1e2d;
    color: white;
}

.form-hint {
    display: block;
    margin-top: 5px;
    font-size: 0.8rem;
    color: #94a3b8;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Footer */
footer {
    background: #0b1c2e;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.footer-logo {
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--white);
}

footer p {
    color: #64748b;
    margin-bottom: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    
    /* Center logo on mobile */
    .nav-content { 
        flex-direction: column; 
        justify-content: center;
        gap: 10px;
        padding: 10px 0;
    }
    .logo img {
        height: 70px !important; /* Logo grande */
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }
    .nav-links { display: none; }
    .navbar .btn-outline { display: none; } /* Ocultar botón header en móvil para limpieza */

    .hero-overlay {
        background: linear-gradient(180deg, rgba(14,42,71,0.85) 0%, rgba(14,42,71,0.98) 100%);
    }
    .hero-actions { flex-direction: column; align-items: center; width: 100%; gap: 15px; }
    .hero-actions .btn { width: 100%; text-align: center; }
    
    .solution-content { flex-direction: column; }
    .cta-buttons { flex-direction: column; }
    .premium-wizard { padding: 25px 20px; }
    .options-grid { grid-template-columns: 1fr; }
    .wizard-actions { flex-direction: column; }
}

/* Premium Image Enhancements */
.hero-bg {
    filter: contrast(1.1) saturate(1.1);
    animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}
