:root {
    /* Corporate Color Palette - SILEX 3.0 */
    --midnight: #0B2135;
    --mustard: #EBC347;
    --bone: #F2EFE4;

    --bg-main: var(--bone);
    --bg-dark: var(--midnight);
    --primary: var(--mustard);
    --primary-glow: rgba(235, 195, 71, 0.2);
    --text-main: var(--midnight);
    --text-muted: #475569;
    --border: rgba(11, 33, 53, 0.1);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Gradients */
    --grad-primary: linear-gradient(135deg, #EBC347 0%, #C9A73A 100%);
    --grad-surface: linear-gradient(180deg, #F2EFE4 0%, #E8E5DA 100%);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Borders */
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --section-spacing: 100px;
    --container-max: 1200px;
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
    position: relative;
    width: 100%;
}

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

h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    color: var(--midnight);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

li {
    list-style: none;
}

/* Layout */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: var(--section-spacing) 0;
}

.text-gradient {
    background: linear-gradient(to right, var(--midnight), var(--text-muted));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-midnight {
    background-color: var(--midnight) !important;
    color: var(--bone) !important;
}

.bg-mustard {
    background-color: var(--mustard) !important;
    color: var(--midnight) !important;
}

.accent-brand {
    color: var(--mustard);
}

/* ========================================
   NAVIGATION
   ======================================== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 33, 53, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(242, 239, 228, 0.1);
    padding: 16px 0;
}

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

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--bone);
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--bone);
    opacity: 0.8;
}

.nav-links .btn-primary {
    color: var(--midnight) !important;
    opacity: 1 !important;
    font-weight: 700;
    box-shadow: 0 4px 14px 0 rgba(235, 195, 71, 0.4);
    animation: pulse-glow 2s infinite;
}

.nav-links .btn-primary:hover {
    color: var(--midnight) !important;
    background: #d4ae36;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(235, 195, 71, 0.6);
}

.nav-links a.active {
    color: var(--mustard);
    opacity: 1;
}

.nav-links a:hover {
    color: var(--mustard);
    opacity: 1;
}

/* Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--midnight);
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 12px 0;
    border: 1px solid rgba(242, 239, 228, 0.1);
    z-index: 1000;
}

/* Invisible bridge so the user's mouse never loses hover in any pixel gap */
.dropdown-content::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
}

.dropdown-content a {
    color: var(--bone) !important;
    padding: 10px 20px;
    display: block;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-content a:hover {
    background-color: rgba(235, 195, 71, 0.1);
    color: var(--mustard) !important;
    padding-left: 24px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--bone);
    border-radius: 2px;
    transition: 0.3s;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    font-family: var(--font-heading);
    border: none;
    gap: 10px;
    font-size: 16px;
}

.btn-primary {
    background: var(--mustard);
    color: var(--midnight);
    box-shadow: 0 4px 14px 0 rgba(235, 195, 71, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(235, 195, 71, 0.45);
    background: #d4ae36;
}

.btn-lg {
    padding: 20px 40px;
    font-size: 18px;
}

.btn-xl {
    padding: 24px 48px;
    font-size: 20px;
}

.btn-ghost {
    background: transparent;
    color: var(--bone);
    border: 1px solid rgba(242, 239, 228, 0.3);
    padding: 16px 32px;
}

.btn-ghost:hover {
    background: rgba(242, 239, 228, 0.1);
    border-color: var(--mustard);
    color: var(--mustard);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(235, 195, 71, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(235, 195, 71, 0); }
    100% { box-shadow: 0 0 0 0 rgba(235, 195, 71, 0); }
}

@keyframes urgency-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse-glow 2s infinite;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    padding-top: 160px;
    padding-bottom: 100px;
    text-align: center;
    background: var(--midnight);
    color: var(--bone);
    position: relative;
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(235, 195, 71, 0.1);
    border: 1px solid rgba(235, 195, 71, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--mustard);
    margin-bottom: 32px;
    letter-spacing: 0.02em;
}

.hero-section h1 {
    font-size: clamp(32px, 5vw, 60px);
    margin-bottom: 24px;
    line-height: 1.1;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--bone);
    font-weight: 800;
}

.hero-section h1 strong {
    color: var(--mustard);
    font-weight: 900;
}

.hero-sub {
    font-size: 19px;
    color: var(--bone);
    opacity: 0.85;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-sub strong {
    color: var(--mustard);
}

.hero-cta-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-proof {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-proof-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--bone);
    opacity: 0.9;
}

/* ========================================
   SECTION HEADER
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--mustard);
    background: rgba(235, 195, 71, 0.1);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.section-tag-light {
    background: rgba(235, 195, 71, 0.15);
    color: var(--mustard);
}

.section-header h2 {
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 16px;
    font-weight: 800;
}

.section-desc {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ========================================
   PAIN POINTS — Split Layout
   ======================================== */
.pain-split {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.pain-left {
    position: sticky;
    top: 120px;
}

.pain-big-number {
    font-family: var(--font-heading);
    font-size: 120px;
    font-weight: 900;
    color: #ef4444;
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -4px;
}

.pain-big-text {
    font-size: 22px;
    color: var(--midnight);
    line-height: 1.5;
    font-weight: 500;
}

.pain-big-text strong {
    color: #ef4444;
}

.pain-right {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pain-list-item {
    display: flex;
    gap: 20px;
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.pain-list-item:first-child {
    padding-top: 0;
}

.pain-list-item:last-child {
    border-bottom: none;
}

.pain-list-item:hover {
    padding-left: 12px;
}

.pain-list-num {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;
    color: #ef4444;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.pain-list-item h4 {
    font-size: 17px;
    margin-bottom: 6px;
    color: var(--midnight);
}

.pain-list-item p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ========================================
   STATS
   ======================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.stat-card {
    text-align: center;
    padding: 48px 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(235, 195, 71, 0.08);
    border-color: rgba(235, 195, 71, 0.3);
    transform: translateY(-4px);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 900;
    color: var(--mustard);
    line-height: 1;
    margin-bottom: 16px;
}

.stat-card p {
    font-size: 15px;
    color: var(--bone);
    opacity: 0.8;
    line-height: 1.5;
}

/* ========================================
   SOLUTION — Vertical Timeline
   ======================================== */
.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 60px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--mustard), rgba(235,195,71,0.15));
}

.timeline-step {
    position: relative;
    display: flex;
    gap: 28px;
    padding-bottom: 48px;
}

.timeline-step:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -60px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--midnight);
    border: 3px solid var(--mustard);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mustard);
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-step:hover .timeline-dot {
    background: var(--mustard);
    color: var(--midnight);
    transform: scale(1.15);
}

.timeline-content {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    flex: 1;
    transition: all 0.3s ease;
}

.timeline-step:hover .timeline-content {
    box-shadow: 0 16px 40px rgba(11, 33, 53, 0.1);
    border-color: var(--mustard);
}

.timeline-label {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
    color: var(--mustard);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 8px;
}

.timeline-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 14px;
}

.card-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--mustard) !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    opacity: 1 !important;
    transition: gap 0.3s ease;
}

.card-link:hover {
    gap: 10px;
}

/* ========================================
   SECTORS — Horizontal Rows
   ======================================== */
.sectors-showcase {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sector-row {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 28px 36px;
    background: var(--bone);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.35s ease;
}

.sector-row:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(11, 33, 53, 0.08);
    border-color: var(--mustard);
}

.sector-icon-wrap {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(235, 195, 71, 0.1);
    border-radius: 14px;
    color: var(--mustard);
}

.sector-info {
    flex: 1;
}

.sector-info h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.sector-info p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

.sector-stat {
    flex-shrink: 0;
    text-align: right;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.sector-stat span {
    display: block;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 900;
    color: var(--mustard);
    line-height: 1;
    margin-bottom: 2px;
}

/* ========================================
   TRUST / TRATO CERCANO + REVIEWS
   ======================================== */
.trust-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.trust-values {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.trust-value-item {
    display: flex;
    gap: 16px;
    align-items: start;
}

.trust-value-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    background: rgba(235, 195, 71, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mustard);
}

/* Reviews Widget */
.reviews-widget {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.reviews-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.reviews-stars {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.reviews-score {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 900;
    color: var(--midnight);
    line-height: 1;
}

.stars-row {
    color: #FBBC04;
    font-size: 16px;
    letter-spacing: 2px;
}

.reviews-scroll {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 360px;
    overflow-y: auto;
    padding-right: 8px;
}

.reviews-scroll::-webkit-scrollbar {
    width: 4px;
}

.reviews-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.reviews-scroll::-webkit-scrollbar-thumb {
    background: rgba(11, 33, 53, 0.15);
    border-radius: 10px;
}

.review-card {
    padding: 20px;
    background: var(--bone);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.review-card:hover {
    border-color: var(--mustard);
}

.review-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.review-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--midnight);
    color: var(--mustard);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
}

.review-top strong {
    font-size: 14px;
    color: var(--midnight);
    display: block;
}

.review-stars-sm {
    color: #FBBC04;
    font-size: 12px;
    letter-spacing: 1px;
}

.review-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    font-style: italic;
}

.reviews-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 14px;
    font-weight: 600;
    color: var(--midnight) !important;
    opacity: 1 !important;
    transition: color 0.3s ease;
}

.reviews-link:hover {
    color: var(--mustard) !important;
}

/* ========================================
   COMPARISON TABLE
   ======================================== */
.compare-table-wrap {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
}

.compare-table th {
    padding: 24px 32px;
    font-size: 16px;
    font-weight: 700;
    text-align: left;
}

.compare-before {
    background: rgba(239, 68, 68, 0.1);
    color: #fca5a5 !important;
}

.compare-after {
    background: rgba(34, 197, 94, 0.1);
    color: #86efac !important;
}

.compare-table td {
    padding: 20px 32px;
    font-size: 15px;
    color: var(--bone);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.compare-table td:first-child {
    opacity: 0.6;
}

.compare-table td:last-child {
    color: #86efac;
}

.compare-table tr:last-child td {
    border-bottom: none;
}

/* ========================================
   RESULTS
   ======================================== */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.result-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.result-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(11, 33, 53, 0.1);
    border-color: var(--mustard);
}

.result-metric {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 900;
    color: var(--mustard);
    line-height: 1;
    margin-bottom: 8px;
}

.result-label {
    font-size: 16px;
    font-weight: 700;
    color: var(--midnight);
    margin-bottom: 16px;
}

.result-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ========================================
   FAQ
   ======================================== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bone);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--mustard);
}

.faq-question {
    width: 100%;
    padding: 24px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--midnight);
    text-align: left;
}

.faq-question i {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--mustard);
    transition: transform 0.3s ease;
}

.faq-item.open .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 24px;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ========================================
   FINAL CTA
   ======================================== */
.final-cta-section {
    padding: 120px 0;
    background: var(--midnight);
    position: relative;
    overflow: hidden;
}

.final-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 120%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(235,195,71,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.final-cta-box {
    text-align: center;
    position: relative;
    z-index: 2;
}

.urgency-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 32px;
}

.urgency-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    animation: urgency-pulse 1.5s infinite;
}

.final-cta-box h2 {
    font-size: clamp(28px, 4vw, 48px);
    color: var(--bone);
    margin-bottom: 20px;
    font-weight: 800;
}

.final-cta-box p {
    font-size: 18px;
    color: var(--bone);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.final-cta-trust {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
}

.final-cta-trust span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--bone);
    opacity: 0.8;
    font-weight: 500;
}

/* ========================================
   CARDS (legacy)
   ======================================== */
.glass-card {
    background: #ffffff;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px -10px rgba(11, 33, 53, 0.05);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 30px 60px -15px rgba(11, 33, 53, 0.15);
    border-color: var(--mustard);
}

.glass-card i {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover i {
    transform: scale(1.1) rotate(5deg);
    color: var(--mustard) !important;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    padding: 80px 0 40px;
    background: var(--midnight);
    color: var(--bone);
    border-top: 1px solid rgba(242, 239, 228, 0.1);
}

footer p {
    color: var(--bone);
    opacity: 0.7;
}

footer .logo {
    color: var(--bone);
}

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

.footer-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer-links li {
    margin-bottom: 12px;
}

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

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

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 13px;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stat-number {
        font-size: 48px;
    }

    .stat-card {
        padding: 32px 24px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-spacing: 60px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .logo {
        font-size: 20px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: var(--midnight);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 16px;
        z-index: 999;
        display: flex;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        pointer-events: none;
        padding: 120px 24px 40px;
        overflow-y: auto;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-links > a {
        font-size: 22px;
        font-weight: 500;
        color: var(--bone);
        width: 100%;
        text-align: center;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .nav-links .btn {
        width: 100%;
        margin-top: 24px;
        font-size: 18px;
        font-weight: 700;
        color: var(--midnight) !important;
        background: var(--mustard);
        opacity: 1;
    }

    /* Dropdown inside Mobile Menu */
    .dropdown {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .dropdown-trigger {
        justify-content: center;
        font-size: 22px;
        font-weight: 500;
        color: var(--bone) !important;
        padding: 12px 0;
    }

    .dropdown-content {
        display: none; /* Collapsed by default */
        position: static;
        box-shadow: none;
        background: transparent; /* Remove background as requested */
        border-radius: 12px;
        margin: 4px 0;
        padding: 0;
        border: none;
        overflow: hidden;
    }

    .dropdown.open .dropdown-content {
        display: block !important;
    }

    .dropdown.open .dropdown-trigger i {
        transform: rotate(180deg);
    }

    .dropdown-trigger i {
        transition: transform 0.3s ease;
    }

    .dropdown-content::before {
        display: none;
    }

    .dropdown-content a {
        font-size: 16px;
        color: rgba(242, 239, 228, 0.7) !important;
        padding: 14px 20px;
    }

    .dropdown-content a:hover {
        background: rgba(235, 195, 71, 0.1);
        color: var(--mustard) !important;
        padding-left: 20px;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 1000;
        position: relative;
    }

    /* Hamburger Animation */
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    h1 {
        font-size: 32px !important;
    }

    h2 {
        font-size: 26px !important;
    }

    .section-padding {
        padding: 60px 0;
    }

    .hero-section {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .hero-sub {
        font-size: 16px;
    }

    .hero-cta-row {
        flex-direction: column;
    }

    .btn-lg, .btn-xl {
        padding: 16px 28px;
        font-size: 16px;
        width: 100%;
    }

    .hero-proof {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    /* Pain split → stacked */
    .pain-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pain-left {
        position: static;
        text-align: center;
    }

    .pain-big-number {
        font-size: 80px;
    }

    .pain-big-text {
        font-size: 18px;
    }

    /* Timeline */
    .timeline {
        padding-left: 40px;
    }

    .timeline::before {
        left: 14px;
    }

    .timeline-dot {
        left: -40px;
        width: 36px;
        height: 36px;
    }

    .timeline-dot i {
        width: 16px !important;
        height: 16px !important;
    }

    .timeline-content {
        padding: 24px;
    }

    /* Sectors → stacked */
    .sector-row {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
        gap: 16px;
    }

    .sector-row:hover {
        transform: translateY(-4px);
        transform: translateX(0);
    }

    .sector-stat {
        text-align: center;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .compare-table th,
    .compare-table td {
        padding: 16px;
        font-size: 13px;
    }

    .result-metric {
        font-size: 40px;
    }

    .final-cta-section {
        padding: 80px 0;
    }

    .final-cta-trust {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .section-desc {
        font-size: 15px;
    }

    /* Trust / Reviews */
    .trust-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .reviews-widget {
        padding: 24px;
    }

    .reviews-scroll {
        max-height: 280px;
    }
}

/* Cookie Consent Popup */
.cookie-consent {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 480px;
    background: rgba(11, 33, 53, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    z-index: 10000;
    color: var(--bone);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    display: none;
    animation: cookieSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transition: all 0.6s ease;
}

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

.cookie-content h3 {
    color: var(--mustard);
    font-size: 18px;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.cookie-content p {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.5;
    margin-bottom: 20px;
}

.cookie-actions {
    display: flex;
    gap: 12px;
}

.cookie-btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-heading);
}

.cookie-btn-accept {
    background: var(--mustard);
    color: var(--midnight);
    border: none;
}

.cookie-btn-accept:hover {
    background: #d4ae36;
    transform: translateY(-2px);
}

.cookie-btn-settings {
    background: transparent;
    color: var(--bone);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn-settings:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--bone);
}

@media (max-width: 480px) {
    .cookie-consent {
        bottom: 12px;
        left: 12px;
        right: 12px;
        padding: 20px;
    }
    .cookie-actions {
        flex-direction: column;
    }
    .cookie-btn {
        width: 100%;
    }
}

/* Home Sectors Switcher/Grid */
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.sector-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.sector-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(11, 33, 53, 0.08);
    border-color: var(--mustard);
}

.sector-card .sector-icon-wrap {
    width: 48px;
    height: 48px;
    background: rgba(235, 195, 71, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mustard);
    margin-bottom: 20px;
}

.sector-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--midnight);
}

.sector-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.sector-card .sector-stat-badge {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.sector-card .sector-stat-badge span {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 900;
    color: var(--mustard);
}

.sector-card .sector-stat-badge label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sector-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: var(--mustard);
    opacity: 0.03;
    border-radius: 100% 0 0 0;
    transition: all 0.4s ease;
}

.sector-card:hover::after {
    opacity: 0.1;
    width: 100px;
    height: 100px;
}

/* Home Section Sector Selection (Tab Style) */
.sector-nav {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    width: 100%;
}

.sector-nav-btn {
    padding: 10px 20px;
    background: rgba(11, 33, 53, 0.03);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--midnight);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sector-nav-btn i {
    width: 16px;
    height: 16px;
}

.sector-nav-btn:hover {
    background: rgba(11, 33, 53, 0.08);
}

.sector-nav-btn.active {
    background: var(--midnight) !important;
    color: var(--mustard) !important;
    border-color: var(--midnight) !important;
}

.sector-content-item {
    display: none;
    animation: fadeIn 0.5s ease;
    width: 100%;
}

.sector-content-item.active {
    display: block;
}

.sector-display {
    width: 100%;
    margin-top: 20px;
}

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

@media (max-width: 768px) {
    .sector-nav {
        justify-content: flex-start !important;
        overflow-x: auto !important;
        padding-bottom: 20px !important;
        flex-wrap: nowrap !important; /* Force single line */
        margin-left: -24px !important;
        margin-right: -24px !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
        scrollbar-width: none !important;
        cursor: grab;
        width: calc(100% + 48px) !important;
    }
    
    .scroll-nav-wrapper {
        overflow: hidden !important; /* Clip the negative margins here */
        width: 100%;
    }
}

/* Pain Points - Branding Colors Fix */
.pain-stat-number {
    font-size: clamp(80px, 15vw, 120px);
    font-weight: 900;
    color: var(--midnight); /* No red */
    line-height: 1;
    margin-bottom: 20px;
}

.pain-badge {
    background: rgba(11, 33, 53, 0.05);
    color: var(--midnight);
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 12px;
    display: inline-block;
}

/* Scroll Hint & Fade Edge - ONLY FOR MOBILE */
@media (max-width: 992px) {
    .scroll-nav-wrapper {
        position: relative;
        width: 100%;
        margin-bottom: 32px;
        overflow: hidden !important;
    }

    .scroll-nav-wrapper::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        height: 100%;
        width: 60px;
        background: linear-gradient(to right, transparent, var(--bone));
        pointer-events: none;
        z-index: 2;
        opacity: 1;
        transition: opacity 0.4s ease;
    }

    .scroll-nav-wrapper.scrolled::after {
        opacity: 0;
    }
}

.scroll-hint {
    display: none;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--mustard);
    color: var(--midnight);
    padding: 6px 12px;
    border-radius: 50px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(235, 195, 71, 0.5);
    z-index: 5;
    pointer-events: none;
    animation: hintSlide 2s infinite ease-in-out;
}

@keyframes hintSlide {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-50%) translateX(-15px); }
}

@media (max-width: 768px) {
    .scroll-hint {
        display: flex;
    }
    .scroll-nav-wrapper.scrolled .scroll-hint {
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
    }
}

/* Casos Page Responsive Grid */
.casos-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    align-items: start;
}

@media (max-width: 992px) {
    .casos-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .sidebar-wrapper {
        position: relative !important;
        margin-bottom: 32px !important;
        width: 100%;
        overflow: hidden !important;
    }
    
    .sidebar {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important; /* Force single line */
        overflow-x: auto !important;
        gap: 12px;
        padding-bottom: 12px;
        position: relative !important;
        top: 0 !important;
        scrollbar-width: none !important;
        width: calc(100% + 48px) !important;
        margin-left: -24px !important;
        margin-right: -24px !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
        -webkit-overflow-scrolling: touch;
    }
    
    .sidebar-link {
        flex-shrink: 0 !important;
        margin-bottom: 0 !important;
        white-space: nowrap !important;
    }
    
    .sidebar-wrapper::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        height: 100%;
        width: 60px;
        background: linear-gradient(to right, transparent, var(--bone));
        pointer-events: none;
        z-index: 2;
    }
}

/* Cookie Consent Popup */
.cookie-consent {
    position: fixed;
    bottom: 24px;
    left: 24px;
    background: white;
    padding: 24px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(11, 33, 53, 0.15);
    display: none;
    z-index: 10000;
    border: 1px solid var(--border);
    max-width: 420px;
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-consent.active {
    display: block;
}

.cookie-consent h4 {
    color: var(--midnight);
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 700;
}

.cookie-consent p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.cookie-consent .cookie-btns {
    display: flex;
    gap: 12px;
}

.cookie-consent .btn {
    padding: 10px 16px;
    font-size: 13px;
    flex: 1;
    text-align: center;
}

@media (max-width: 576px) {
    .cookie-consent {
        bottom: 0;
        left: 0;
        right: 0;
        max-width: 100%;
        border-radius: 24px 24px 0 0;
        padding: 32px 24px;
    }
}

@keyframes slideUp {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
/* Floating Chatbot Premium */
.chatbot-bubble {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: var(--mustard);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--midnight);
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(235, 195, 71, 0.4);
    z-index: 10000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.chatbot-bubble:hover { transform: scale(1.1) rotate(5deg); }

.chatbot-window {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 380px;
    height: 580px;
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.15);
    display: none;
    flex-direction: column;
    z-index: 10001;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    animation: chatOpen 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.chatbot-window.active { display: flex; }

.chatbot-header {
    background: var(--midnight);
    color: white;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.chatbot-header h4 { font-family: var(--font-heading); font-size: 18px; margin: 0; }

.chatbot-messages {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f8fafc;
}

.chat-msg {
    max-width: 85%;
    padding: 14px 18px;
    border-radius: 20px;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.chat-msg.bot { background: white; color: var(--midnight); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-msg.user { background: var(--mustard); color: var(--midnight); align-self: flex-end; border-bottom-right-radius: 4px; font-weight: 600; }

.chatbot-input-area {
    padding: 20px;
    background: white;
    border-top: 1px solid #f1f5f9;
    display: flex;
    gap: 12px;
}
.chatbot-input {
    flex: 1;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    padding: 12px 20px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}
.chatbot-input:focus { border-color: var(--mustard); }
.chatbot-send {
    width: 45px;
    height: 45px;
    background: var(--midnight);
    color: var(--mustard);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Automation Feed */
.automation-feed-container {
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px;
    backdrop-filter: blur(10px);
}
.feed-header {
    color: var(--mustard);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.feed-item {
    background: white;
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    animation: slideIn 0.5s ease;
}

/* CRM Pipeline Premium */
.pipeline-view {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.pipeline-col {
    background: #f1f5f9;
    border-radius: 20px;
    padding: 20px;
    min-height: 400px;
}
.pipeline-col-header {
    font-size: 12px;
    font-weight: 800;
    color: var(--midnight);
    text-transform: uppercase;
    opacity: 0.6;
    margin-bottom: 24px;
    letter-spacing: 1px;
}
.p-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    border-left: 4px solid var(--mustard);
    cursor: grab;
}
.p-tag {
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    background: #f8fafc;
    margin-bottom: 8px;
    display: inline-block;
}
.p-tag.ai { background: rgba(235, 195, 71, 0.1); color: var(--midnight); border: 1px solid var(--mustard); }
.p-name { display: block; font-weight: 700; color: var(--midnight); font-size: 15px; margin-bottom: 4px; }
.p-val { color: var(--text-muted); font-size: 13px; }

@keyframes chatOpen { from { opacity: 0; transform: translateY(40px) scale(0.9); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes slideIn { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }

@media (max-width: 1200px) {
    .pipeline-view { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .pipeline-view { grid-template-columns: 1fr; gap: 12px; }
    .pipeline-col { min-height: auto; padding: 16px; }
    .chatbot-window { width: calc(100vw - 40px); right: 20px; bottom: 100px; }
}


/* IA Page Visual Grid Fixes */
.ia-visual-grid {
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 1200px) {
    .ia-visual-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
}


/* Comparison Grid (CRM Page Replacement) */
.comparison-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.comp-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.comp-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.comp-card.old {
    background: #1e293b; /* Slate darker */
    color: rgba(255,255,255,0.6);
}

.comp-card.silex {
    background: #ffffff;
    color: var(--midnight);
    border: 4px solid var(--mustard);
    position: relative;
}

.comp-card h4 { font-size: 20px; margin-bottom: 12px; font-weight: 800; }
.comp-card.silex h4 { color: var(--midnight); }
.comp-card.old h4 { color: rgba(255,255,255,0.4); }

.comp-label {
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    display: block;
}

.comp-card.silex .comp-label { color: var(--mustard); }

@media (max-width: 768px) {
    .comp-pair {
        grid-template-columns: 1fr;
    }
}


/* Niche Selector Layout Fix */
.niche-selector {
    display: flex;
    gap: 12px;
    padding-bottom: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.niche-selector::-webkit-scrollbar { display: none; }

@media (min-width: 992px) {
    .niche-selector {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .scroll-nav-wrapper .scroll-hint {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}


/* Comprehensive Niche Menu Mobile Fixes */
@media (max-width: 991px) {
    .scroll-nav-wrapper {
        position: relative;
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
        overflow: hidden;
    }

    .niche-selector {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        gap: 12px;
        padding-bottom: 16px;
        scrollbar-width: none;
        justify-content: flex-start !important;
    }

    .niche-selector::-webkit-scrollbar { display: none; }

    .niche-selector .niche-btn {
        flex: 0 0 auto !important;
        white-space: nowrap !important;
    }

    /* Gradients to hint scroll */
    .scroll-nav-wrapper::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        height: 100%;
        width: 50px;
        background: linear-gradient(to right, transparent, var(--midnight));
        pointer-events: none;
        z-index: 2;
    }
}


/* Premium Button Styles */
.btn-premium {
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--mustard) 0%, #ffcc33 100%);
    color: var(--midnight) !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(235, 195, 71, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    font-size: 14px;
}

.btn-premium:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(235, 195, 71, 0.6);
    background: linear-gradient(135deg, #ffcc33 0%, var(--mustard) 100%);
}

.btn-premium i {
    width: 18px;
    height: 18px;
    transition: transform 0.3s;
}

.btn-premium:hover i {
    transform: translateX(4px);
}


/* Advanced Comparison Grid Design */
.comp-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: rgba(255,255,255,0.3);
}

.comp-icon-box.brand {
    background: rgba(235, 195, 71, 0.1);
    color: var(--mustard);
}

.status-badge {
    margin-top: 24px;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-badge.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.status-badge.success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.comp-card p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
}


/* Improved Floating Action Button */
.floating-chat-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: var(--mustard);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--midnight);
    box-shadow: 0 10px 30px rgba(235, 195, 71, 0.4);
    z-index: 1000;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
}

.floating-chat-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(235, 195, 71, 0.6);
}

.floating-chat-btn::after {
    content: "";
    position: absolute;
    top: -5px;
    right: -5px;
    bottom: -5px;
    left: -5px;
    border-radius: 50%;
    border: 2px solid var(--mustard);
    opacity: 0;
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* Niche Selector Premium Redesign */
.niche-selector .niche-btn {
    padding: 10px 24px !important;
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 100px !important;
    color: var(--bone) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.niche-selector .niche-btn.active {
    background: var(--mustard) !important;
    color: var(--midnight) !important;
    border-color: var(--mustard) !important;
    box-shadow: 0 0 20px rgba(235, 195, 71, 0.3);
}

.niche-selector .niche-btn:hover:not(.active) {
    background: rgba(255,255,255,0.1) !important;
    border-color: var(--mustard) !important;
    transform: translateY(-2px);
}


/* Contrast Fix for Dark Comparison Cards */
.comp-card.old h4 {
    color: #ffffff !important;
    opacity: 1 !important;
}

.comp-card.old .comp-label {
    color: rgba(255, 255, 255, 0.5) !important;
}

