/* ==========================================================================
   Design System & Variables
   ========================================================================== */
:root {
    /* Colors */
    --primary: #084787;
    --primary-light: #206ab5;
    --primary-dark: #042954;
    --accent: #63b2e4;
    --accent-light: #90cdfa;

    --dark: #0A1628;
    --dark-surface: #112240;
    --dark-border: rgba(255, 255, 255, 0.1);

    --light: #F8FAFC;
    --light-surface: #FFFFFF;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-800: #1e293b;

    --success: #10B981;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --gradient-dark: linear-gradient(180deg, var(--dark) 0%, #030811 100%);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    /* Radii */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.07);

    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
}

/* ==========================================================================
   Base
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: var(--font-family);
    color: var(--gray-800);
    background-color: var(--light);
    scroll-behavior: smooth;
    line-height: 1.5;
}

body {
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

/* ==========================================================================
   Layout Utilities
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-success {
    color: var(--success);
}

.text-primary {
    color: var(--primary);
}

/* ==========================================================================
   Components — Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1.0625rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(8, 71, 135, 0.39);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(8, 71, 135, 0.23);
}

.btn-secondary {
    background: var(--light-surface);
    color: var(--primary);
    border: 1px solid var(--gray-200);
}

.btn-secondary:hover {
    background: var(--gray-100);
    border-color: var(--gray-400);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary-light);
}

.btn-outline:hover {
    background: rgba(8, 71, 135, 0.05);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.nav-link-btn {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600 !important;
    color: var(--primary) !important;
    padding: 0.5rem 0;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--transition-normal);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
}

.navbar.scrolled {
    padding: 0.75rem 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 2.25rem;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--gray-800);
    font-size: 0.9375rem;
}

.nav-links a:hover {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--gray-800);
}

.d-none {
    display: none !important;
}

.d-md-none {
    display: none !important;
}

.d-mobile-only {
    display: none !important;
}

@media (max-width: 1024px) {
    .nav-links {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-md);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.3s ease-in-out;
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .menu-toggle {
        display: block;
        order: 3;
    }

    .nav-actions {
        order: 2;
        margin-left: auto;
        margin-right: 1.5rem;
    }

    .d-mobile-only {
        display: inline-flex !important;
    }
}

@media (max-width: 768px) {
    .nav-actions {
        display: none;
    }

    .menu-toggle {
        margin-left: auto;
    }

    .d-md-none {
        display: inline-flex !important;
        width: 100%;
        justify-content: center;
    }

    .nav-link-btn.d-md-none {
        justify-content: flex-start;
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    padding: 10rem 0 6rem;
    background: var(--light);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.gradient-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: 0;
}

.sphere-1 {
    background: var(--accent);
    width: 50vw;
    height: 50vw;
    top: -20%;
    right: -10%;
}

.sphere-2 {
    background: var(--primary);
    width: 40vw;
    height: 40vw;
    bottom: -10%;
    left: -10%;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-container {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.hero-content {
    max-width: 600px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    background: rgba(99, 178, 228, 0.1);
    color: var(--primary);
    border-radius: 2rem;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(99, 178, 228, 0.2);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(8, 71, 135, 0.2);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--gray-500);
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    border-top: 1px solid var(--gray-200);
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-800);
}

.stat-item i {
    width: 1.25rem;
    height: 1.25rem;
}

/* Mockup / Glassmorphism */
.glass-mockup {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-glass), 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.glass-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-10px);
}

.mockup-header {
    background: rgba(255, 255, 255, 0.9);
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.window-controls {
    display: flex;
    gap: 6px;
}

.window-controls span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e2e8f0;
}

.window-controls span:nth-child(1) {
    background: #ff5f56;
}

.window-controls span:nth-child(2) {
    background: #ffbd2e;
}

.window-controls span:nth-child(3) {
    background: #27c93f;
}

.mockup-body {
    height: auto;
    position: relative;
    background: white;
    padding: 0;
}

/* ==========================================================================
   Trust Bar (counters)
   ========================================================================== */
.trust-bar {
    padding: 3rem 0;
    background: var(--dark);
    position: relative;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.trust-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.trust-suffix {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.trust-label {
    font-size: 0.9rem;
    color: var(--gray-400);
    margin-top: 0.5rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .trust-number {
        font-size: 2rem;
    }
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features {
    padding: 6rem 0;
    background: var(--light-surface);
}

.section-header {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-500);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--light-surface);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(99, 178, 228, 0.1);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.feature-desc {
    color: var(--gray-500);
    line-height: 1.6;
    font-size: 0.9375rem;
}

/* ==========================================================================
   Specialties Section
   ========================================================================== */
.specialties {
    padding: 6rem 0;
    background: var(--light);
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.specialty-card {
    background: var(--light-surface);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.specialty-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-color, var(--primary));
    transition: height var(--transition-normal);
}

.specialty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.12);
}

.specialty-card:hover::before {
    height: 6px;
}

.specialty-icon-wrap {
    width: 4rem;
    height: 4rem;
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--accent-color, var(--primary)) 12%, transparent);
    color: var(--accent-color, var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.specialty-icon-wrap i {
    width: 1.75rem;
    height: 1.75rem;
}

.specialty-card h3 {
    font-size: 1.375rem;
    margin-bottom: 0.5rem;
}

.specialty-desc {
    color: var(--gray-500);
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.specialty-features {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.specialty-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.specialty-features i {
    width: 1.1rem;
    height: 1.1rem;
    color: var(--success);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

/* Coming Soon Bar */
.coming-soon-bar {
    background: linear-gradient(135deg, rgba(99, 178, 228, 0.08) 0%, rgba(8, 71, 135, 0.06) 100%);
    border: 1px solid rgba(99, 178, 228, 0.2);
    border-radius: var(--radius-lg);
    padding: 1.25rem 2rem;
}

.coming-soon-inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
    font-size: 0.95rem;
    color: var(--gray-600);
}

.coming-soon-inner i {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

/* ==========================================================================
   Agenda Showcase
   ========================================================================== */
.agenda-showcase {
    padding: 6rem 0;
    background: var(--light-surface);
}

.agenda-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .agenda-layout {
        grid-template-columns: 1fr 1fr;
    }
}

.agenda-features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.agenda-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.agenda-feature-icon {
    width: 2.75rem;
    height: 2.75rem;
    min-width: 2.75rem;
    background: rgba(99, 178, 228, 0.1);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.agenda-feature-icon i {
    width: 1.25rem;
    height: 1.25rem;
}

.agenda-feature strong {
    display: block;
    font-size: 0.975rem;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.agenda-feature p {
    color: var(--gray-500);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================================
   Productivity Section
   ========================================================================== */
.productivity {
    padding: 6rem 0;
    background: var(--light);
}

.productivity-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .productivity-layout {
        grid-template-columns: 1fr 1fr;
    }
}

.productivity-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 640px) {
    .productivity-grid {
        grid-template-columns: 1fr;
    }
}

.prod-item {
    background: var(--light-surface);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all var(--transition-normal);
}

.prod-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.prod-icon {
    width: 2rem;
    height: 2rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.prod-item h4 {
    font-size: 0.975rem;
    margin-bottom: 0.5rem;
}

.prod-item p {
    color: var(--gray-500);
    font-size: 0.85rem;
    line-height: 1.55;
}

/* ==========================================================================
   Multi-Establishment Section
   ========================================================================== */
.multi-section {
    padding: 3rem 0;
    background: var(--light-surface);
}

.multi-banner {
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    padding: 3.5rem;
    position: relative;
    overflow: hidden;
}

.multi-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.multi-banner::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.multi-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.multi-content h2 {
    color: white;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.multi-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.multi-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: center;
}

.multi-features span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    backdrop-filter: blur(8px);
}

.multi-features i {
    width: 1rem;
    height: 1rem;
}

@media (max-width: 768px) {
    .multi-banner {
        padding: 2.5rem 1.5rem;
    }
}

/* ==========================================================================
   CTA Final
   ========================================================================== */
.cta-final {
    padding: 5rem 0;
    background: var(--light);
}

.cta-box {
    background: var(--light-surface);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 4rem 3rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.cta-box h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    margin-bottom: 1rem;
}

.cta-box p {
    color: var(--gray-500);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .cta-box {
        padding: 3rem 1.5rem;
    }
}

/* ==========================================================================
   Security Section
   ========================================================================== */
.security {
    padding: 6rem 0;
    background: var(--dark);
    color: white;
}

.security .section-title {
    color: white;
}

.security .section-subtitle {
    color: var(--gray-400);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
}

.security-card {
    padding: 2.5rem 2rem;
    background: var(--dark-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--dark-border);
    transition: transform var(--transition-normal);
}

.security-card:hover {
    transform: translateY(-5px);
}

.security-icon {
    width: 3rem;
    height: 3rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.security-card h4 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.security-card p {
    color: var(--gray-400);
    line-height: 1.6;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq {
    padding: 6rem 0;
    background: var(--light-surface);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
}

.faq-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: none;
    border: none;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    text-align: left;
}

.faq-btn i {
    transition: transform var(--transition-normal);
    color: var(--primary);
}

.faq-btn.active i {
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-content p {
    padding-bottom: 1.5rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ==========================================================================
   Herramientas & CIE-10 Section
   ========================================================================== */
.cie10-tool {
    padding: 6rem 0;
    background: var(--light);
}

.cie10-container {
    max-width: 700px;
    margin: 3rem auto 0;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: left;
}

.search-box {
    position: relative;
    padding: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.search-icon {
    position: absolute;
    left: 1.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}

.search-box input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    outline: none;
    transition: border-color var(--transition-fast);
}

.search-box input:focus {
    border-color: var(--primary);
}

.loader {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: translateY(-50%) rotate(0deg);
    }

    100% {
        transform: translateY(-50%) rotate(360deg);
    }
}

.search-results-wrapper {
    max-height: 400px;
    overflow-y: auto;
}

.cie10-results {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cie10-results li {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: background-color var(--transition-fast);
    position: relative;
    overflow: visible;
}

.cie10-results li:last-child {
    border-bottom: none;
}

.cie10-results li:hover:not(.cie-empty-state) {
    background-color: var(--gray-50);
}

.cie-code {
    font-weight: 600;
    color: white;
    background: #2563eb;
    padding: 0.35rem 0.6rem;
    border-radius: 6px;
    font-size: 0.95rem;
    white-space: nowrap;
    align-self: flex-start;
}

.cie-desc {
    color: #334155;
    font-size: 1.05rem;
    line-height: 1.5;
    padding-top: 0.2rem;
    flex: 1;
}

.cie-empty-state {
    color: var(--gray-500);
    text-align: center;
    padding: 3rem 1.5rem !important;
    justify-content: center;
}

.cie-actions {
    display: flex;
    gap: 0.35rem;
    margin-left: auto;
    align-self: center;
}

.cie-btn-sm {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    color: var(--gray-500);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    padding: 0;
}

.cie-btn-sm:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-1px);
}

.cie-btn-both {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.2);
    color: #2563eb;
}

.cie-btn-both:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: white;
}

.cie-btn-sm.success {
    background: #10b981 !important;
    border-color: #10b981 !important;
    color: white !important;
}

@media (max-width: 640px) {
    .cie10-results li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .cie-actions {
        margin-left: 0;
        width: 100%;
        justify-content: flex-end;
    }
}

/* ==========================================================================
   Contact Form Custom Styles
   ========================================================================== */
.custom-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-contact-form .form-group {
    width: 100%;
}

.custom-contact-form .form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-600);
    background: rgba(0, 0, 0, 0.2);
    color: white;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.custom-contact-form .form-control::placeholder {
    color: var(--gray-400);
}

.custom-contact-form .form-control:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 3px rgba(99, 178, 228, 0.2);
}

.custom-contact-form .form-submit-btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem;
    font-size: 1.05rem;
    margin-top: 0.5rem;
    background: var(--primary);
    border: none;
}

.custom-contact-form .form-submit-btn:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.floating-wa {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
}

.floating-wa:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
    color: white;
}

@media (max-width: 768px) {
    .floating-wa {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 50px;
        height: 50px;
    }

    .floating-wa svg {
        width: 26px;
        height: 26px;
    }
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   CIE-10 Navbar Button
   ========================================================================== */
.btn-cie10 {
    display: inline-flex;
    align-items: center;
    margin-right: 0.5rem;
    background: rgba(99, 178, 228, 0.12);
    color: var(--primary) !important;
    border: 1px solid rgba(99, 178, 228, 0.25) !important;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-cie10:hover {
    background: var(--primary);
    color: white !important;
    border-color: var(--primary) !important;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--dark);
    color: var(--gray-400);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-light);
}

.footer-bottom {
    margin-top: 3rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.footer-bottom p {
    color: var(--gray-500);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-contact {
        grid-column: 1 / -1;
    }
}

/* ==========================================================================
   Visual Cards (shared)
   ========================================================================== */
.visual-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

/* ==========================================================================
   Trial Promo Section
   ========================================================================== */
.trial-promo {
    padding: 1rem 0 4rem;
    background: var(--light);
}

@media (max-width: 768px) {
    .trial-promo-card {
        padding: 28px 20px !important;
    }

    .trial-promo-card > div > div {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    .trial-promo-card h2 {
        font-size: 24px !important;
    }
}