/* ==========================================================================
   TL-Medik 360 — Redesign Design System
   All colors as CSS custom properties for easy updates.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */


/* hide all stupid google translate hovers
*/
font {
  background-color: transparent !important;
  box-shadow: none !important;
}

:root {
    /* Cotizador Design Philosophy Colors */
    --bg: #f4f7fb;
    --paper: #ffffff;
    --line: #dbe4f2;
    --ink: #13295d;
    --brand: #2563eb;
    --accent: #78ebe2;

    /* Brand colors (mapped to cotizador palette) */
    --color-primary: #2563eb;
    /* Brand blue */
    --color-primary-dark: #1e40af;
    --color-primary-light: #dbeafe;
    --color-accent: #78ebe2;
    /* Accent teal */
    --color-accent-dark: #5dd5cf;
    --color-accent-light: #d1faf5;
    --color-accent-text: #0891b2;
    /* Darker teal for text on light backgrounds */

    /* Semantic */
    --color-success: #16A34A;
    --color-warning: #D97706;
    --color-danger: #DC2626;

    /* Neutral */
    --color-text: #0f172a;
    /* Almost black for maximum readability */
    --color-text-light: #1e293b;
    --color-text-muted: #475569;
    /* Darker muted for better contrast */
    --color-text-inverse: #FFFFFF;

    /* Backgrounds */
    --color-bg: #f4f7fb;
    /* BG */
    --color-bg-alt: #e8eef6;
    --color-bg-dark: #2563eb;
    /* Brand */
    --color-bg-darker: #1e40af;
    --color-bg-section: #edf2f8;

    /* UI */
    --color-border: #dbe4f2;
    /* Line */
    --color-border-dark: #b8cce6;
    --color-highlight: #FFF8E1;
    --color-badge-popular: #FF6B35;
    --color-badge-better: #6835ff;

    /* Pricing card accents */
    --color-card-basic: #ffffff;
    --color-card-integral: #ffffff;
    --color-card-total: #2563eb;

    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-weight-normal: 500;
    /* Slightly bolder for better readability */
    --font-weight-medium: 600;
    --font-weight-semibold: 700;
    --font-weight-bold: 800;

    /* Spacing scale */
    --space-xs: 0.25rem;
    /* 4px */
    --space-sm: 0.5rem;
    /* 8px */
    --space-md: 1rem;
    /* 16px */
    --space-lg: 1.5rem;
    /* 24px */
    --space-xl: 2.5rem;
    /* 40px */
    --space-2xl: 4rem;
    /* 64px */
    --space-3xl: 6rem;
    /* 96px */

    /* Border radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* Soft shadows (cotizador style) */
    --shadow-sm: 0 4px 12px rgba(37, 99, 235, 0.04);
    --shadow-md: 0 8px 24px rgba(37, 99, 235, 0.06);
    --shadow-lg: 0 16px 48px rgba(37, 99, 235, 0.08);
    --shadow-xl: 0 24px 60px rgba(37, 99, 235, 0.10);
    --shadow-card: 0 8px 24px rgba(37, 99, 235, 0.06);

    /* Transitions */
    --ease-fast: 0.15s ease;
    --ease-normal: 0.25s ease;
    --ease-slow: 0.4s ease;

    /* Layout */
    --max-width: 1200px;
    --nav-height: 72px;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background: radial-gradient(circle at 50% 0%,
            rgba(120, 235, 226, 0.08),
            rgba(37, 99, 235, 0.04) 25%,
            rgba(244, 247, 251, 1) 50%), var(--color-bg);
    line-height: 1.6;
    font-weight: 500;
    /* Improved base readability */
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */
.text-hero {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -.02em;
    color: var(--color-text);
}

.text-h1 {
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-text);
}

.text-h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    line-height: 1.25;
    color: var(--color-text);
}

.text-h3 {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-text);
}

.text-h4 {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--color-text);
}

.text-body {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.7;
}

.text-body-sm {
    font-size: .9rem;
    font-weight: 500;
    line-height: 1.6;
}

.text-label {
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.text-muted {
    color: var(--color-text-muted);
}

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

/* Use darker accent for text */
.text-primary {
    color: var(--color-primary);
}

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

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

.fw-semibold {
    font-weight: 700;
}

.fw-bold {
    font-weight: 800;
}

.fw-extrabold {
    font-weight: 900;
}

/* --------------------------------------------------------------------------
   4. LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container {
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: var(--space-xl);
}

.section {
    padding-block: var(--space-3xl);
}

.section--sm {
    padding-block: var(--space-2xl);
}

.section--lg {
    padding-block: calc(var(--space-3xl) * 1.3);
}

.section--dark {
    background: var(--color-bg-dark);
    color: var(--color-text-inverse);
}

.section--alt {
    background: var(--color-bg-alt);
}

.section--blue {
    background: var(--color-bg-section);
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-center {
    align-items: center;
    justify-content: center;
}

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

.flex-wrap {
    flex-wrap: wrap;
}

.gap-sm {
    gap: var(--space-sm);
}

.gap-md {
    gap: var(--space-md);
}

.gap-lg {
    gap: var(--space-lg);
}

.gap-xl {
    gap: var(--space-xl);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

/* --------------------------------------------------------------------------
   5. NAVIGATION
   -------------------------------------------------------------------------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    transition: box-shadow var(--ease-normal);
}

.nav.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.9);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 30px;
    height: 100%;
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: var(--space-xl);
}

.nav__logo {
    display: flex;
    align-items: center;
}

.nav__logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav__link {
    font-size: .9rem;
    font-weight: 600;
    /* Improved visibility */
    color: var(--color-text);
    transition: color var(--ease-fast);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--ease-normal);
}

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

.nav__link:hover::after {
    width: 100%;
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

/* Hamburger */
.nav__ham {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10000;
    /* Above drawer so it's always clickable */
    position: relative;
}

.nav__ham span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--ease-normal);
}

.nav__ham.open span {
    background: var(--color-primary);
    /* Change color when open for visibility */
}

.nav__ham.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav__ham.open span:nth-child(2) {
    opacity: 0;
}

.nav__ham.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
.nav__drawer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(244, 247, 251, 0.98);
    /* Semi-transparent bg */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    /* Above everything including nav */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    padding-top: var(--nav-height);
    /* Account for nav bar */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity var(--ease-normal), transform var(--ease-normal), visibility 0s 0.25s;
}

.nav__drawer.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    height: 100vh;
    transition: opacity var(--ease-normal), transform var(--ease-normal), visibility 0s 0s;
}

.nav__drawer .nav__link {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text);
    padding: var(--space-lg);
    transition: all var(--ease-fast);
    border-bottom: 3px solid transparent;
    position: relative;
}

.nav__drawer .nav__link:hover,
.nav__drawer .nav__link:focus {
    color: var(--color-primary);
    border-bottom-color: var(--color-accent-text);
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   6. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: .75rem 1.75rem;
    border-radius: var(--radius-full);
    font-size: .95rem;
    font-weight: 700;
    /* Bolder for better visibility */
    letter-spacing: .01em;
    transition: all var(--ease-normal);
    white-space: nowrap;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn--primary {
    background: var(--color-primary);
    color: var(--color-text-inverse);
    border-color: var(--color-primary);
}

.btn--primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn--accent {
    background: var(--color-accent);
    color: #0f172a;
    /* Dark text on light accent for better contrast */
    border-color: var(--color-accent);
    font-weight: 800;
}

.btn--accent:hover {
    background: var(--color-accent-dark);
    color: #fff;
    /* White text on darker accent */
    border-color: var(--color-accent-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn--outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn--outline:hover {
    background: var(--color-primary-light);
}

.btn--outline-white {
    background: transparent;
    color: var(--color-text-inverse);
    border-color: rgba(255, 255, 255, .5);
}

.btn--outline-white:hover {
    background: rgba(255, 255, 255, .1);
    border-color: #fff;
}

.btn--ghost {
    background: transparent;
    color: var(--color-text);
}

.btn--ghost:hover {
    color: var(--color-primary);
}

.btn--lg {
    padding: 1rem 2.25rem;
    font-size: 1.05rem;
}

.btn--sm {
    padding: .5rem 1.25rem;
    font-size: .85rem;
}

.btn--full {
    width: 100%;
}

/* --------------------------------------------------------------------------
   7. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: var(--nav-height);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--color-bg-darker);
    color: var(--color-text-inverse);
}

.hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .35;
    z-index: 0;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(7, 53, 97, .92) 0%,
            rgba(11, 79, 140, .75) 60%,
            rgba(0, 168, 200, .25) 100%);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-inline: auto;
    padding-inline: var(--space-xl);
    padding-block: var(--space-3xl);
    text-align: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: .35rem 1rem;
    background: rgba(0, 168, 200, .2);
    border: 1px solid rgba(0, 168, 200, .5);
    border-radius: var(--radius-full);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #7DE8FF;
    margin-bottom: var(--space-lg);
}

.hero__badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #7DE8FF;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .5;
        transform: scale(.7);
    }
}

.hero__title {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    letter-spacing: -.02em;
}

.hero__title em {
    font-style: normal;
    color: var(--color-accent);
    /* Bright accent on dark background is OK */
}

.hero__subtitle {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: rgba(255, 255, 255, .95);
    /* Improved contrast */
    margin-bottom: var(--space-xl);
    line-height: 1.7;
    max-width: 680px;
    margin-inline: auto;
    font-weight: 500;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-xl);
    justify-content: center;
}

.hero__app-stores {
    display: flex;
    gap: var(--space-md);
    align-items: center;
    justify-content: center;
}

.hero__app-stores img {
    height: 40px;
    width: auto;
}

.hero__stats {
    display: flex;
    gap: var(--space-2xl);
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, .15);
    justify-content: center;
    max-width: 700px;
    margin-inline: auto;
}

.hero__stat-num {
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
}

.hero__stat-label {
    font-size: .8rem;
    color: rgba(255, 255, 255, .85);
    /* Better visibility */
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   8. TRUST BAR
   -------------------------------------------------------------------------- */
.trust-bar {
    background: var(--color-primary);
    padding-block: var(--space-lg);
}

.trust-bar__inner {
    display: flex;
    gap: var(--space-xl);
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-bar__item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    color: rgba(255, 255, 255, .95);
    /* Better visibility */
}

.trust-bar__icon {
    font-size: 1.4rem;
    color: var(--color-accent);
}

.trust-bar__num {
    font-size: 1.4rem;
    font-weight: 900;
    color: #fff;
}

.trust-bar__label {
    font-size: .8rem;
    color: rgba(255, 255, 255, .85);
    /* Improved visibility */
    font-weight: 600;
}

.trust-bar__sep {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, .2);
    display: none;
}

@media (min-width: 901px) {
    .trust-bar__sep {
        display: block;
    }
}

@media (min-width: 901px) {
    .trust-bar__inner {
        flex-wrap: nowrap;
        gap: var(--space-3xl);
    }

    .trust-bar__item {
        flex: 0 0 auto;
    }

    .trust-bar__num,
    .trust-bar__label {
        white-space: nowrap;
    }
}

/* --------------------------------------------------------------------------
   9. FEATURES (Why TL-Medik)
   -------------------------------------------------------------------------- */
.features-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
}

.feature-card {
    width: 300px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--ease-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--color-accent);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform var(--ease-normal);
}

.feature-card:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.feature-card:hover::before {
    transform: scaleY(1);
}

.feature-card__icon {
    width: 72px;
    height: 72px;
    background: transparent;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    padding: 0;
    overflow: hidden;
    opacity: 0.9;
}

.feature-card__icon svg {
    width: 100%;
    height: 100%;
    filter: grayscale(0%) contrast(1.1);
}

.feature-card:hover .feature-card__icon {
    opacity: 1;
    transform: scale(1.05);
    transition: all 0.3s ease;
}

.feature-card__title {
    font-size: 1.05rem;
    font-weight: 800;
    /* Bolder for emphasis */
    color: var(--color-text);
    /* Darker for better contrast */
    margin-bottom: var(--space-sm);
}

.feature-card__text {
    font-size: .9rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   10. SECTION HEADER (reusable)
   -------------------------------------------------------------------------- */
.section-header {
    text-align: center;
    max-width: 680px;
    margin-inline: auto;
    margin-bottom: var(--space-2xl);
}

.section-header__tag {
    display: inline-block;
    padding: .3rem .9rem;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: var(--radius-full);
    font-size: .75rem;
    font-weight: 800;
    /* Bolder for better visibility */
    letter-spacing: .07em;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
}

.section-header__title {
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

.section-header__title span {
    color: var(--color-accent-text);
    font-weight: 900;
}

/* Darker accent for light backgrounds */
.section-header__sub {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   11. APP SHOWCASE (How it works)
   -------------------------------------------------------------------------- */
.app-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.app-showcase__steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.app-step {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
    cursor: default;
}

.app-step__num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-primary-light);
    color: var(--color-primary);
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid var(--color-border);
    transition: all var(--ease-normal);
}

.app-step.active .app-step__num,
.app-step:hover .app-step__num {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.app-step__title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--color-text);
    /* Darker for better contrast */
    margin-bottom: var(--space-xs);
}

.app-step__text {
    font-size: .9rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    font-weight: 500;
}

.app-showcase__phone {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 290px;
    aspect-ratio: 9/19.5;
    background: #0c1a2e;
    border-radius: 25px;
    /* Reduced radius for classic iPhone look */
    box-shadow: 0 40px 80px rgba(11, 79, 140, .25), 0 0 0 6px rgba(11, 79, 140, .08), inset 0 0 0 1px rgba(255, 255, 255, .05);
    overflow: hidden;
    position: relative;
    padding: 8px 8px;
    /* Reduced side padding for wider screen */
}

/* Classic iPhone home button area */
/* .phone-mockup::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  z-index: 5;
} */

.phone-mockup__notch {
    display: none;
    /* Hide notch for classic look */
}

.phone-mockup__screens {
    width: 100%;
    height: 100%;
    /* Account for top/bottom padding */
    position: relative;
    border-radius: 4px;
    /* Slight rounding on screen content */
    overflow: hidden;
}

.phone-mockup__screen {
    position: absolute;
    inset: 0;
    display: none;
    transition: opacity var(--ease-slow);
}

.phone-mockup__screen.active {
    display: block;
}

.phone-mockup__screen img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    border-radius: 20px;
}

/* --------------------------------------------------------------------------
   12. PRICING SECTION
   -------------------------------------------------------------------------- */
.pricing-toggle {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-2xl);
}

.pricing-toggle__label {
    font-size: .9rem;
    font-weight: 700;
    /* Bolder for better visibility */
    color: var(--color-text-muted);
    transition: color var(--ease-fast);
}

.pricing-toggle__label.active {
    color: var(--color-primary);
}

.toggle-switch {
    position: relative;
    width: 52px;
    height: 28px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    inset: 0;
    background: var(--color-border);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: background var(--ease-normal);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    transition: transform var(--ease-normal);
}

.toggle-switch input:checked+.toggle-slider {
    background: var(--color-primary);
}

.toggle-switch input:checked+.toggle-slider::before {
    transform: translate(24px, -50%);
}

.pricing-toggle__save {
    background: var(--color-success);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    padding: .2rem .6rem;
    border-radius: var(--radius-full);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    align-items: start;
}

.pricing-card {
    background: var(--color-card-basic);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    position: relative;
    transition: all var(--ease-normal);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card--featured {
    background: var(--color-card-total);
    border-color: var(--color-primary);
    color: var(--color-text-inverse);
}

.pricing-card--featured .pricing-card__price-period,
.pricing-card--featured .pricing-card__feature {
    color: rgba(255, 255, 255, .75);
}

.pricing-card--featured .pricing-card__feature-icon {
    color: #7DE8FF;
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-badge-popular);
    color: #fff;
    font-size: .75rem;
    font-weight: 800;
    padding: .3rem 1.1rem;
    border-radius: var(--radius-full);
    white-space: nowrap;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.pricing-badge.big {
    top: -16px;
    background: var(--color-badge-better);
    font-size: .90rem;
    font-weight: 800;
    padding: .3rem 1.1rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.pricing-card__tag {
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.pricing-card--featured .pricing-card__tag {
    color: rgba(255, 255, 255, .6);
}

.pricing-card__name {
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: var(--space-xs);
    color: var(--color-text);
    /* Darker for better contrast */
}

.pricing-card--featured .pricing-card__name {
    color: #fff;
}

.pricing-card__price {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
}

.pricing-card--featured .pricing-card__price {
    color: #fff;
}

.pricing-card__price sup {
    font-size: 1.2rem;
    vertical-align: super;
    line-height: 0;
    font-weight: 700;
}

.pricing-card__price-period {
    font-size: .9rem;
    color: var(--color-text-muted);
    display: inline-block;
    font-weight: 500;
}

.pricing-card__price-annual {
    display: none;
    font-size: .85rem;
    color: var(--color-success);
    font-weight: 700;
    margin-top: var(--space-xs);
}

.pricing-card__price-annual.show {
    display: block;
}

.pricing-card__divider {
    height: 1px;
    background: var(--color-border);
    margin-block: var(--space-lg);
}

.pricing-card--featured .pricing-card__divider {
    background: rgba(255, 255, 255, .15);
}

.pricing-card__features {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.pricing-card__feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: .9rem;
    color: var(--color-text);
    font-weight: 500;
}

.pricing-card__feature-icon {
    width: 18px;
    height: 18px;
    color: var(--color-success);
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-card__cta {
    margin-top: auto;
}

.pricing-card__pdf-link {
    display: block;
    text-align: center;
    margin-top: var(--space-md);
    font-size: .8rem;
    color: var(--color-text-muted);
    font-weight: 600;
    transition: color var(--ease-fast);
}

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

.pricing-card--featured .pricing-card__pdf-link {
    color: rgba(255, 255, 255, .5);
}

.pricing-card--featured .pricing-card__pdf-link:hover {
    color: rgba(255, 255, 255, .9);
}

/* --------------------------------------------------------------------------
   13. TESTIMONIALS
   -------------------------------------------------------------------------- */
.testimonials-track {
    overflow: hidden;
}

.testimonials-marquee {
    padding: 5px 0;
    box-sizing: border-box;
    display: flex;
    gap: var(--space-lg);
    animation: marquee 28s linear infinite;
    width: max-content;
}

.testimonials-marquee:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.testimonial-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    width: 320px;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.testimonial-card__stars {
    display: flex;
    gap: 3px;
    margin-bottom: var(--space-md);
    color: #F59E0B;
    font-size: 2rem;

}

.testimonial-card__text {
    font-size: .9rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
    font-weight: 500;
}

.testimonial-card__author-name {
    font-size: .9rem;
    font-weight: 800;
    color: var(--color-text);
}

.testimonial-card__author-role {
    font-size: .8rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.testimonial-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--color-primary);
    font-size: .9rem;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   14. FAQ ACCORDION
   -------------------------------------------------------------------------- */
.faq-list {
    max-width: 800px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.faq-item {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--ease-fast), box-shadow var(--ease-fast);
}

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

.faq-item.open {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.faq-trigger {
    width: 100%;
    padding: var(--space-lg) var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    cursor: pointer;
    text-align: left;
    background: none;
    border: none;
    font-family: inherit;
}

.faq-trigger__q {
    font-size: .95rem;
    font-weight: 700;
    color: var(--color-text);
    /* Darker for better contrast */
    line-height: 1.4;
}

.faq-trigger__icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--ease-normal);
    color: var(--color-primary);
}

.faq-item.open .faq-trigger__icon {
    background: var(--color-primary);
    color: #fff;
    transform: rotate(45deg);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--ease-slow);
}

.faq-body__inner {
    padding: 0 var(--space-xl) var(--space-lg);
    font-size: .9rem;
    line-height: 1.75;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   15. CTA BANNER
   -------------------------------------------------------------------------- */
.cta-banner {
    background: var(--color-primary);
    color: var(--color-text-inverse);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl) var(--space-3xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
    position: relative;
    overflow: hidden;
}

.cta-banner--clickable {
    cursor: pointer;
}

.cta-banner--clickable:focus-visible {
    outline: 3px solid rgba(120, 235, 226, .95);
    outline-offset: 4px;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
    pointer-events: none;
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -40%;
    right: 15%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(0, 168, 200, .12);
    pointer-events: none;
}

.cta-banner__text {
    position: relative;
    z-index: 1;
}

.cta-banner__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 900;
    margin-bottom: var(--space-sm);
}

.cta-banner__sub {
    color: rgba(255, 255, 255, .9);
    font-size: 1rem;
    font-weight: 500;
}

/* Improved contrast */
.cta-banner__actions {
    position: relative;
    z-index: 1;
    display: flex;
    gap: var(--space-md);
    align-items: center;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   16. FOOTER
   -------------------------------------------------------------------------- */
.footer {
    background: var(--color-bg-darker);
    color: rgba(255, 255, 255, .8);
    padding-top: var(--space-3xl);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer__brand img {
    height: 38px;
    margin-bottom: var(--space-lg);
    filter: brightness(0) invert(1);
}

.footer__brand-text {
    font-size: .9rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, .75);
    font-weight: 500;
}

/* Better visibility */
.footer__col-title {
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
    /* Improved visibility */
    margin-bottom: var(--space-lg);
}

.footer__link {
    display: block;
    font-size: .9rem;
    color: rgba(255, 255, 255, .75);
    /* Better visibility */
    margin-bottom: var(--space-sm);
    font-weight: 500;
    transition: color var(--ease-fast);
}

.footer__link:hover {
    color: #fff;
}

.footer__contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    font-size: .9rem;
    color: rgba(255, 255, 255, .75);
    /* Better visibility */
    font-weight: 500;
}

.footer__contact-item a {
    color: inherit;
}

.footer__contact-item a:hover {
    color: #fff;
}

.footer__stores {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer__stores img {
    height: 36px;
    width: auto;
    opacity: .8;
    transition: opacity var(--ease-fast);
}

.footer__stores img:hover {
    opacity: 1;
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: var(--space-lg);
    font-size: .8rem;
    color: rgba(255, 255, 255, .55);
    /* Improved visibility */
    font-weight: 500;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer__socials {
    display: flex;
    gap: var(--space-md);
}

.footer__social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, .8);
    /* Better visibility */
    transition: all var(--ease-fast);
}

.footer__social-btn:hover {
    background: rgba(255, 255, 255, .18);
    color: #fff;
}

.footer__legal {
    display: flex;
    gap: var(--space-lg);
}

.footer__legal a {
    color: rgba(255, 255, 255, .6);
    font-weight: 500;
    transition: color var(--ease-fast);
}

/* Better visibility */
.footer__legal a:hover {
    color: rgba(255, 255, 255, .85);
}

/* --------------------------------------------------------------------------
   17. FLOATING WHATSAPP
   -------------------------------------------------------------------------- */
.whatsapp-float-wrap {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 900;
}

.whatsapp-float {
    position: relative;
    bottom: auto;
    right: auto;
    height: 52px;
    width: auto;
    padding: 0 20px 0 14px;
    background: #25D366;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, .4);
    transition: transform var(--ease-normal), box-shadow var(--ease-normal);
    text-decoration: none;
}

.whatsapp-float-label {
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: .01em;
}

.whatsapp-float:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 28px rgba(37, 211, 102, .55);
}

.whatsapp-float img {
    width: 28px;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

/* --------------------------------------------------------------------------
   18. ANIMATIONS / REVEAL
   -------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

.reveal--left {
    transform: translateX(-24px);
}

.reveal--right {
    transform: translateX(24px);
}

.reveal--left.visible,
.reveal--right.visible {
    transform: none;
}

/* Stagger children */
.reveal-stagger>*:nth-child(1) {
    transition-delay: 0s;
}

.reveal-stagger>*:nth-child(2) {
    transition-delay: .1s;
}

.reveal-stagger>*:nth-child(3) {
    transition-delay: .2s;
}

.reveal-stagger>*:nth-child(4) {
    transition-delay: .3s;
}

.reveal-stagger>*:nth-child(5) {
    transition-delay: .4s;
}

.reveal-stagger>*:nth-child(6) {
    transition-delay: .5s;
}

/* --------------------------------------------------------------------------
   19. RISK REVERSAL STRIP
   -------------------------------------------------------------------------- */
.risk-strip {
    background: var(--color-accent-light);
    border: 1px solid var(--color-accent);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-xl);
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--space-2xl);
}

.risk-strip__item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: .9rem;
    font-weight: 700;
    /* Bolder for emphasis */
    color: var(--color-primary-dark);
}

.risk-strip__sep {
    color: var(--color-accent);
    font-size: 1.2rem;
}

/* --------------------------------------------------------------------------
   20. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-md);
    }

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

@media (max-width: 900px) {
    .app-showcase {
        grid-template-columns: 1fr;
    }

    .app-showcase__phone {
        display: none;
    }

    .trust-bar__inner {
        gap: var(--space-xl);
    }

    .cta-banner {
        flex-direction: column;
        text-align: center;
        padding: var(--space-2xl);
    }

    .cta-banner__actions {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    :root {
        --space-3xl: 4rem;
        --space-2xl: 3rem;
    }

    .nav__links {
        display: none;
    }

    .nav__ham {
        display: flex;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin-inline: auto;
    }

    .pricing-card--featured {
        order: -1;
    }

    .container {
        padding-inline: var(--space-lg);
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .hero__stats {
        gap: var(--space-lg);
        flex-wrap: wrap;
    }

    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .risk-strip {
        flex-direction: column;
        gap: var(--space-md);
    }
}

/* --------------------------------------------------------------------------
   21. URGENCY BANNER (top of page)
   -------------------------------------------------------------------------- */

#notifications-bar {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    box-sizing: border-box;
    width: 100vw;
    z-index: 10;
}


.urgency-bar {
    width: 100%;
    background: var(--color-primary-dark);
    color: rgba(255, 255, 255, .95);
    /* Better visibility */
    text-align: center;
    padding: .5rem var(--space-lg);
    font-size: .8rem;
    font-weight: 700;
    /* Bolder */
    letter-spacing: .02em;
}

.urgency-bar strong {
    color: var(--color-accent);
    font-weight: 900;
}

/* Bright accent on dark urgent bar is OK */
.urgency-bar a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   22. COMPANY LOGOS (social proof strip)
   -------------------------------------------------------------------------- */
.logos-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3xl);
    flex-wrap: wrap;
    opacity: .4;
    filter: grayscale(1);
    transition: opacity var(--ease-normal);
}

.logos-strip:hover {
    opacity: .6;
}

.logos-strip img {
    height: 28px;
    width: auto;
}

/* --------------------------------------------------------------------------
   23. COMPARISON TABLE
   -------------------------------------------------------------------------- */
.comparison-container {
    max-width: 900px;
    margin-inline: auto;
}

.comparison--simple {
    margin-bottom: var(--space-xl);
}

.comparison-toggle {
    width: 100%;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    cursor: pointer;
    font-size: .9rem;
    font-weight: 700;
    color: var(--color-text-muted);
    letter-spacing: .05em;
    text-transform: uppercase;
    transition: all var(--ease-normal);
    box-shadow: var(--shadow-sm);
}

.comparison-toggle:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.comparison-toggle__icon {
    font-size: 1.2rem;
    transition: transform var(--ease-normal);
    color: var(--color-primary);
}

.comparison-toggle[aria-expanded="true"] .comparison-toggle__icon {
    transform: rotate(180deg);
}

.comparison-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--ease-slow);
}

.comparison-content.open {
    max-height: 2000px;
}

.comparison {
    overflow-x: auto;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: var(--space-md);
}

.comparison--detailed {
    margin-top: var(--space-md);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .85rem;
    font-weight: 500;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem var(--space-lg);
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.comparison-table th {
    font-weight: 700;
    font-size: .7rem;
    letter-spacing: .06em;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

.comparison-table th.col-feature {
    text-align: left;
}

.comparison-table td:first-child {
    text-align: left;
    color: var(--color-text);
    font-weight: 600;
}

.comparison-table thead tr {
    border-bottom: 2px solid var(--color-border);
}

.comparison-table .col-highlighted {
    background: rgba(37, 99, 235, 0.03);
}

.comparison-table th.col-highlighted {
    color: var(--color-primary);
    font-weight: 800;
}

.comparison-table .check {
    color: var(--color-primary);
    font-size: 1rem;
    font-weight: 600;
}

.comparison-table .check strong {
    color: var(--color-primary);
    font-weight: 800;
}

.comparison-table .cross {
    color: var(--color-border-dark);
    font-size: 1.1rem;
    font-weight: 400;
}

.comparison-table .text-muted {
    color: var(--color-text-muted);
    font-size: .8rem;
}

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

.comparison-table tbody tr:hover {
    background: rgba(37, 99, 235, 0.02);
}

/* Detailed table styling */
.comparison-table--detailed {
    font-size: .8rem;
}

.comparison-table--detailed .category-row {
    background: var(--color-bg-alt);
}

.comparison-table--detailed .category-row td {
    padding: var(--space-md) var(--space-lg);
    border-top: 2px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    font-weight: 800;
    color: var(--color-text);
    font-size: .75rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.comparison-table--detailed tbody tr:first-child .category-row td {
    border-top: none;
}

/* --------------------------------------------------------------------------
   24. LOADING / OVERLAY (keep UX clean)
   -------------------------------------------------------------------------- */
.page-overlay {
    position: fixed;
    inset: 0;
    background: var(--color-bg);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .4s ease;
}

.page-overlay.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--color-border);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin .7s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}