/* ============================================
   ORGANÍZATE — IMPROVED STYLES
   ============================================ */

:root {
    --blue: #2196F3;
    --blue-d: #1565C0;
    --blue-l: #E3F2FD;
    --purple: #8B5CF6;
    --purple-d: #6D28D9;
    --purple-l: #EDE9FE;
    --coral: #F97316;
    --coral-l: #FFF7ED;
    --green: #22C55E;
    --green-d: #16A34A;
    --green-l: #F0FDF4;
    --teal: #06B6D4;
    --pink: #EC4899;
    --amber: #F59E0B;
    --indigo: #6366F1;
    --orange: #F97316;

    --dark: #0D1B2A;
    --dark-2: #162032;
    --g900: #111827;
    --g800: #1F2937;
    --g700: #374151;
    --g500: #6B7280;
    --g400: #9CA3AF;
    --g300: #D1D5DB;
    --g200: #E5E7EB;
    --g100: #F3F4F6;
    --g50:  #F9FAFB;
    --white: #FFFFFF;

    --font: 'Inter', sans-serif;
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 18px;
    --r-xl: 24px;
    --r-2xl: 32px;
    --r-full: 9999px;

    --sh-sm: 0 1px 4px rgba(0,0,0,0.07);
    --sh-md: 0 4px 16px rgba(0,0,0,0.08);
    --sh-lg: 0 8px 32px rgba(0,0,0,0.10);
    --sh-xl: 0 20px 60px rgba(0,0,0,0.12);

    --ease: 0.25s cubic-bezier(0.4,0,0.2,1);

    /* Theme tokens — overridden per theme */
    --hero-bg: #F8FAFF;
    --hero-text: var(--g900);
    --hero-sub: var(--g500);
    --primary: var(--blue);
    --primary-d: var(--blue-d);
    --primary-l: var(--blue-l);
    --primary-shadow: rgba(33,150,243,0.35);

    /* Density tokens */
    --section-py: 100px;
    --card-py: 28px;
    --card-px: 24px;
}

/* ---- Density ---- */
[data-density="compacto"] { --section-py: 70px; --card-py: 20px; --card-px: 18px; }
[data-density="espacioso"] { --section-py: 130px; --card-py: 36px; --card-px: 32px; }

/* ---- Themes ---- */
[data-theme="oscuro"] {
    --hero-bg: var(--dark);
    --hero-text: #FFFFFF;
    --hero-sub: rgba(255,255,255,0.65);
}
[data-theme="verde"] {
    --primary: var(--green);
    --primary-d: var(--green-d);
    --primary-l: var(--green-l);
    --primary-shadow: rgba(34,197,94,0.35);
    --blue: #22C55E;
    --blue-d: #16A34A;
    --blue-l: #F0FDF4;
}

/* ---- Cards style ---- */
[data-cards="elevado"] .feature-card,
[data-cards="elevado"] .specialty-card,
[data-cards="elevado"] .ai-card {
    box-shadow: var(--sh-lg);
    border-color: transparent;
}
[data-cards="plano"] .feature-card,
[data-cards="plano"] .specialty-card {
    border-color: var(--g200);
    box-shadow: none;
}
[data-cards="plano"] .feature-card:hover,
[data-cards="plano"] .specialty-card:hover {
    box-shadow: none;
    border-color: var(--primary);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--g700); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }

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

/* ---- Gradient text ---- */
.gradient-text {
    background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 60%, var(--coral) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.gradient-text-light {
    background: linear-gradient(135deg, #90CAF9, #CE93D8, #FFB74D);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 600; border-radius: var(--r-full); transition: var(--ease);
    white-space: nowrap; letter-spacing: -0.01em;
}
.btn--sm  { padding: 9px 22px; font-size: 0.875rem; }
.btn--lg  { padding: 14px 32px; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }

.btn--primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-d));
    color: var(--white);
    box-shadow: 0 4px 16px var(--primary-shadow);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px var(--primary-shadow); }

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

.btn--ghost {
    color: var(--primary); background: var(--white);
    border: 1.5px solid var(--g200);
    box-shadow: var(--sh-sm);
}
.btn--ghost:hover { border-color: var(--primary); background: var(--primary-l); }

/* ---- Section helpers ---- */
.section-tag {
    display: inline-block; padding: 5px 14px;
    border-radius: var(--r-full); font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.5px;
    background: var(--primary-l); color: var(--primary-d);
    margin-bottom: 14px;
}
.section-tag--light { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9); }
.section-tag--ai {
    background: linear-gradient(135deg, var(--purple-l), var(--blue-l));
    color: var(--purple-d);
}
.section-header { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-title {
    font-size: clamp(1.9rem, 4vw, 2.75rem);
    font-weight: 800; color: var(--g900); line-height: 1.2;
    margin-bottom: 14px; letter-spacing: -0.02em; text-wrap: pretty;
}
.section-title--light { color: var(--white); }
.section-subtitle { font-size: 1.05rem; color: var(--g500); max-width: 520px; margin: 0 auto; line-height: 1.7; }

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed; top: 0; left: 0; width: 100%;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: var(--ease);
}
.header--scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav__logo-img { height: 24px; width: auto; }

.nav__list { display: flex; gap: 4px; list-style: none; }
.nav__link {
    display: block; padding: 6px 12px;
    font-size: 0.875rem; font-weight: 500; color: var(--g700);
    border-radius: var(--r-sm); transition: var(--ease);
}
.nav__link:hover { color: var(--primary); background: var(--primary-l); }

.nav__link--dropdown { display: flex; align-items: center; gap: 4px; }
.nav__dropdown-icon { font-size: 0.6rem; transition: transform 0.3s; }
.nav__dropdown:hover .nav__dropdown-icon { transform: rotate(180deg); }

.nav__dropdown { position: relative; }
.nav__dropdown-menu {
    position: absolute; top: calc(100% + 8px); left: 50%;
    transform: translateX(-50%);
    min-width: 190px; background: var(--white);
    border-radius: var(--r-lg); box-shadow: var(--sh-xl);
    border: 1px solid var(--g100);
    padding: 6px; opacity: 0; visibility: hidden;
    transition: all 0.2s ease; z-index: 100; list-style: none;
}
.nav__dropdown-menu::before {
    content: ''; position: absolute; top: -6px; left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent; border-bottom-color: var(--white);
    filter: drop-shadow(0 -1px 1px rgba(0,0,0,0.06));
}
.nav__dropdown:hover .nav__dropdown-menu { opacity: 1; visibility: visible; }
.nav__dropdown-link {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 14px; font-size: 0.875rem; font-weight: 500;
    color: var(--g700); border-radius: var(--r-sm); transition: var(--ease);
}
.nav__dropdown-link i { width: 18px; text-align: center; color: var(--primary); font-size: 0.8rem; }
.nav__dropdown-link:hover { background: var(--g50); color: var(--primary); }

.nav__link--ai {
    background: linear-gradient(135deg, var(--purple), var(--blue));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    font-weight: 700;
}
.nav__link--ai:hover { background: var(--purple-l); -webkit-text-fill-color: var(--purple-d); }
.nav__ai-icon { font-size: 0.65rem; -webkit-text-fill-color: var(--purple); animation: ai-spark 2s ease-in-out infinite; }
@keyframes ai-spark { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.4)} }

.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__toggle, .nav__close { display: none; font-size: 1.4rem; color: var(--g700); padding: 4px; }

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative; padding: 136px 0 80px;
    background: var(--hero-bg);
    overflow: hidden; transition: background 0.4s ease;
}
.hero__grid-bg {
    position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(33,150,243,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(33,150,243,0.06) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 60% at 70% 50%, black 20%, transparent 80%);
}
[data-theme="oscuro"] .hero__grid-bg {
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
}

.hero__container {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 64px; align-items: center; position: relative; z-index: 1;
}

.hero__badge {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 6px 14px; border-radius: var(--r-full);
    background: var(--green-l); color: var(--green-d);
    font-size: 0.8rem; font-weight: 600; margin-bottom: 20px;
    border: 1px solid rgba(34,197,94,0.2);
}
[data-theme="oscuro"] .hero__badge { background: rgba(34,197,94,0.15); border-color: rgba(34,197,94,0.3); color: #6EE7B7; }

.hero__title {
    font-size: clamp(2.6rem, 5vw, 3.75rem);
    font-weight: 900; line-height: 1.1;
    color: var(--hero-text); margin-bottom: 20px;
    letter-spacing: -0.03em;
    transition: color 0.4s;
}

.hero__description {
    font-size: 1.1rem; color: var(--hero-sub); margin-bottom: 32px;
    max-width: 480px; line-height: 1.75; transition: color 0.4s;
}

.hero__buttons { display: flex; gap: 12px; margin-bottom: 36px; flex-wrap: wrap; }

.hero__stats {
    display: flex; align-items: center; gap: 0;
    padding: 16px 22px;
    background: rgba(255,255,255,0.7);
    border: 1px solid var(--g200);
    border-radius: var(--r-lg);
    backdrop-filter: blur(12px);
    width: fit-content;
}
[data-theme="oscuro"] .hero__stats { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.12); }

.hero__stat { text-align: center; padding: 0 20px; }
.hero__stat strong { display: block; font-size: 1.35rem; font-weight: 800; color: var(--hero-text); letter-spacing: -0.02em; transition: color 0.4s; }
.hero__stat span { font-size: 0.78rem; color: var(--hero-sub); transition: color 0.4s; }
.hero__stat-divider { width: 1px; height: 32px; background: var(--g200); }
[data-theme="oscuro"] .hero__stat-divider { background: rgba(255,255,255,0.15); }

/* Hero app visual */
.hero__visual { position: relative; }

.hero__app-frame {
    background: var(--white); border-radius: var(--r-xl);
    box-shadow: var(--sh-xl), 0 0 0 1px var(--g200);
    overflow: hidden;
}
.hero__app-bar {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 16px; background: var(--g50);
    border-bottom: 1px solid var(--g200);
}
.hero__app-dots { display: flex; gap: 5px; }
.hero__app-dots span { width: 10px; height: 10px; border-radius: 50%; }
.hero__app-title { font-size: 0.78rem; font-weight: 600; color: var(--g500); margin-left: 4px; }

.hero__app-body { display: flex; min-height: 320px; }
.hero__app-sidebar {
    width: 52px; background: var(--g50);
    border-right: 1px solid var(--g200);
    display: flex; flex-direction: column; align-items: center;
    padding: 16px 0; gap: 8px;
}
.hero__app-nav {
    width: 34px; height: 34px; border-radius: var(--r-md);
    display: flex; align-items: center; justify-content: center;
    color: var(--g400); font-size: 0.85rem; transition: var(--ease);
}
.hero__app-nav.active { background: var(--primary); color: white; }
.hero__app-nav:not(.active):hover { background: var(--g100); color: var(--g700); }

.hero__app-content { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 14px; }

.hero__app-header-row { display: flex; align-items: center; justify-content: space-between; }
.hero__app-month { font-size: 0.9rem; font-weight: 700; color: var(--g900); }
.hero__app-nav-btns { display: flex; gap: 4px; }
.hero__app-nav-btns span {
    width: 26px; height: 26px; display: flex; align-items: center; justify-content: center;
    border-radius: 6px; background: var(--g100); color: var(--g500); font-size: 0.7rem; cursor: pointer;
}

.hero__cal-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 3px; }
.hero__cal-head { font-size: 0.7rem; font-weight: 600; color: var(--g400); text-align: center; padding: 3px 0; }
.hero__cal-day {
    height: 30px; border-radius: 6px; display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; color: var(--g700); cursor: pointer; transition: var(--ease);
    position: relative;
}
.hero__cal-day:hover { background: var(--g100); }
.hero__cal-day.today { background: var(--primary); color: white; font-weight: 700; }
.hero__cal-day.has-apt::after {
    content: ''; position: absolute; bottom: 3px;
    width: 5px; height: 5px; border-radius: 50%;
}
.hero__cal-day.has-apt.blue::after { background: var(--blue); }
.hero__cal-day.has-apt.purple::after { background: var(--purple); }
.hero__cal-day.has-apt.green::after { background: var(--green); }
.hero__cal-day.has-apt.coral::after { background: var(--coral); }

.hero__app-upcoming { display: flex; flex-direction: column; gap: 6px; }
.hero__app-apt {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 10px; border-radius: var(--r-md); font-size: 0.78rem;
    border-left: 3px solid transparent;
}
.blue-apt  { background: var(--blue-l);   border-left-color: var(--blue);   }
.purple-apt{ background: var(--purple-l); border-left-color: var(--purple); }
.green-apt { background: var(--green-l);  border-left-color: var(--green);  }
.apt-time  { font-weight: 700; color: var(--g700); min-width: 40px; }
.apt-name  { color: var(--g600); }

/* Floating cards */
.hero__float {
    position: absolute; background: var(--white);
    border-radius: var(--r-lg); padding: 12px 16px;
    display: flex; align-items: center; gap: 10px;
    box-shadow: var(--sh-lg);
    border: 1px solid var(--g100);
}
.hero__float i { font-size: 1.25rem; }
.hero__float strong { display: block; font-size: 0.9rem; color: var(--g900); font-weight: 700; }
.hero__float small { font-size: 0.72rem; color: var(--g500); }
.hero__float--1 {
    top: 16px; right: -18px;
    animation: float-up 4s ease-in-out infinite;
}
.hero__float--1 i { color: var(--green); }
.hero__float--2 {
    bottom: 32px; left: -18px;
    animation: float-up 4s ease-in-out infinite 2s;
}
.hero__float--2 i { color: var(--amber); }
@keyframes float-up {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ============================================
   FEATURES
   ============================================ */
.features { padding: var(--section-py) 0; background: var(--white); }

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    padding: var(--card-py) var(--card-px);
    border-radius: var(--r-lg);
    background: var(--white);
    border: 1px solid var(--g100);
    transition: var(--ease);
    position: relative; overflow: hidden;
}
.feature-card::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 100%; height: 3px; border-radius: 3px 3px 0 0;
}
.feature-card[data-color="blue"]::before   { background: linear-gradient(90deg, var(--blue), var(--teal)); }
.feature-card[data-color="green"]::before  { background: linear-gradient(90deg, var(--green), var(--teal)); }
.feature-card[data-color="purple"]::before { background: linear-gradient(90deg, var(--purple), var(--pink)); }
.feature-card[data-color="orange"]::before { background: linear-gradient(90deg, var(--orange), var(--amber)); }
.feature-card[data-color="coral"]::before  { background: linear-gradient(90deg, var(--coral), var(--orange)); }
.feature-card[data-color="teal"]::before   { background: linear-gradient(90deg, var(--teal), var(--blue)); }
.feature-card[data-color="pink"]::before   { background: linear-gradient(90deg, var(--pink), var(--purple)); }
.feature-card[data-color="amber"]::before  { background: linear-gradient(90deg, var(--amber), var(--orange)); }
.feature-card[data-color="indigo"]::before { background: linear-gradient(90deg, var(--indigo), var(--blue)); }

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

.feature-card__icon {
    width: 48px; height: 48px; border-radius: var(--r-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; margin-bottom: 14px;
}
.feature-card[data-color="blue"]   .feature-card__icon { background: var(--blue-l);   color: var(--blue); }
.feature-card[data-color="green"]  .feature-card__icon { background: var(--green-l);  color: var(--green-d); }
.feature-card[data-color="purple"] .feature-card__icon { background: var(--purple-l); color: var(--purple-d); }
.feature-card[data-color="orange"] .feature-card__icon { background: #FFF7ED; color: var(--orange); }
.feature-card[data-color="coral"]  .feature-card__icon { background: #FFF7ED; color: var(--coral); }
.feature-card[data-color="teal"]   .feature-card__icon { background: #ECFEFF; color: var(--teal); }
.feature-card[data-color="pink"]   .feature-card__icon { background: #FDF2F8; color: var(--pink); }
.feature-card[data-color="amber"]  .feature-card__icon { background: #FFFBEB; color: var(--amber); }
.feature-card[data-color="indigo"] .feature-card__icon { background: #EEF2FF; color: var(--indigo); }

.feature-card h3 { font-size: 1rem; font-weight: 700; color: var(--g900); margin-bottom: 6px; }
.feature-card p  { font-size: 0.875rem; color: var(--g500); line-height: 1.65; }

/* ============================================
   DEMO CTA
   ============================================ */
.demo-cta {
    background: linear-gradient(135deg, var(--dark) 0%, #1a237e 100%);
    padding: 28px 0;
}
.demo-cta__inner {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.demo-cta__left { display: flex; align-items: center; gap: 18px; }
.demo-cta__icon { font-size: 2rem; color: var(--primary); flex-shrink: 0; }
.demo-cta h3 { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 2px; }
.demo-cta p { font-size: 0.875rem; color: rgba(255,255,255,0.6); }

/* ============================================
   SPECIALTIES
   ============================================ */
.specialties { padding: var(--section-py) 0; background: var(--g50); }

.specialties__grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.specialty-card {
    background: var(--white); border-radius: var(--r-lg);
    padding: 36px 28px; text-align: center;
    border: 1px solid var(--g100);
    transition: var(--ease);
}
.specialty-card:hover { transform: translateY(-6px); box-shadow: var(--sh-xl), 0 0 0 2px var(--primary-l); border-color: transparent; }
.specialty-card__icon {
    width: 68px; height: 68px; border-radius: var(--r-lg);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.75rem; color: var(--white); margin: 0 auto 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.14);
}
.specialty-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--g900); margin-bottom: 8px; }
.specialty-card p { font-size: 0.875rem; color: var(--g500); line-height: 1.65; }

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
    padding: var(--section-py) 0;
    background: linear-gradient(160deg, #F0F4FF 0%, #F5F0FF 100%);
}
.steps {
    max-width: 700px; margin: 0 auto;
    display: flex; flex-direction: column; align-items: stretch;
}
.step {
    display: flex; align-items: center; gap: 24px;
    padding: 24px 28px; border-radius: var(--r-lg);
    background: var(--white); border: 1px solid var(--g100);
    transition: var(--ease);
}
.step:hover { box-shadow: var(--sh-md); border-color: var(--primary-l); }

.step__num {
    width: 48px; height: 48px; min-width: 48px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--purple));
    color: var(--white); display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; font-weight: 800;
    box-shadow: 0 4px 14px var(--primary-shadow);
}
.step__body { flex: 1; }
.step__body h3 { font-size: 1.05rem; font-weight: 700; color: var(--g900); margin-bottom: 4px; }
.step__body p  { font-size: 0.875rem; color: var(--g500); line-height: 1.65; }
.step__icon {
    width: 44px; height: 44px; border-radius: var(--r-md);
    background: var(--primary-l); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    animation: step-float 3.5s ease-in-out infinite;
}
@keyframes step-float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-5px)} }
.step__line {
    width: 2px; height: 36px; margin: 0 auto;
    background: linear-gradient(180deg, var(--primary), var(--purple));
    opacity: 0.25;
}

/* ============================================
   TUTORIALS
   ============================================ */
.tutorials { padding: var(--section-py) 0; background: var(--white); }
.tutorials__list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; }

.tutorial-item {
    display: flex; align-items: center; gap: 18px;
    padding: 20px 24px;
    border-radius: var(--r-lg);
    border: 1px solid rgba(239,68,68,0.18);
    background: var(--white);
    transition: var(--ease);
}
.tutorial-item:hover {
    border-color: rgba(239,68,68,0.4);
    box-shadow: 0 4px 16px rgba(239,68,68,0.08);
}
.tutorial-item__icon {
    width: 46px; height: 46px; border-radius: var(--r-md);
    background: linear-gradient(135deg, #EF4444, #B91C1C);
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 1.2rem; flex-shrink: 0;
}
.tutorial-item__text { flex: 1; }
.tutorial-item__text h3 { font-size: 0.975rem; font-weight: 700; color: var(--g900); margin-bottom: 3px; }
.tutorial-item__text p  { font-size: 0.85rem; color: var(--g500); line-height: 1.5; }
.tutorial-item__btn {
    width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
    background: #EF4444; color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.15rem; transition: var(--ease);
    box-shadow: 0 2px 10px rgba(239,68,68,0.3);
}
.tutorial-item__btn:hover { background: #B91C1C; transform: scale(1.1); }

.tutorials__cta { display: flex; justify-content: center; }
.tutorials__yt-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 32px; border-radius: var(--r-full);
    background: linear-gradient(135deg, #EF4444, #B91C1C);
    color: white; font-weight: 600; font-size: 1rem;
    box-shadow: 0 4px 18px rgba(239,68,68,0.3);
    transition: var(--ease);
}
.tutorials__yt-btn i { font-size: 1.3rem; }
.tutorials__yt-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(239,68,68,0.4); }

/* ============================================
   AI SECTION
   ============================================ */
.ai-section {
    padding: var(--section-py) 0;
    background: linear-gradient(160deg, #F3E8FF 0%, #EFF6FF 50%, #ECFDF5 100%);
    position: relative; overflow: hidden;
}
.ai-layout { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: center; }
.ai-image { display: flex; justify-content: center; }
.ai-img {
    width: 220px; height: 220px; border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 16px 50px rgba(139,92,246,0.2);
    animation: float-up 4.5s ease-in-out infinite;
    border: 4px solid white;
}
.ai-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ai-card {
    display: flex; gap: 14px;
    background: white; padding: 20px;
    border-radius: var(--r-lg);
    box-shadow: var(--sh-md);
    transition: var(--ease);
}
.ai-card:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.ai-card__icon {
    flex-shrink: 0; width: 44px; height: 44px;
    border-radius: var(--r-md);
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 1.1rem;
}
.ai-card h3 { font-size: 0.925rem; font-weight: 700; color: var(--g900); margin-bottom: 4px; }
.ai-card p  { font-size: 0.82rem; color: var(--g500); line-height: 1.55; }

/* ============================================
   PRICING
   ============================================ */
.pricing { padding: var(--section-py) 0; background: var(--g50); }
.pricing__promo-banner {
    max-width: 680px; margin: 0 auto 24px;
    display: flex; align-items: center; justify-content: center; gap: 20px;
    padding: 14px 0;
    font-size: 0.95rem; color: var(--g700);
}
.pricing__promo-banner > span:not(.pricing__promo-divider) {
    display: inline-flex; align-items: center;
    animation: promo-bounce 1.8s ease-in-out infinite;
}
.pricing__promo-banner > span:not(.pricing__promo-divider):nth-child(1) { animation-delay: 0s; }
.pricing__promo-banner > span:not(.pricing__promo-divider):nth-child(3) { animation-delay: 0.3s; }
.pricing__promo-banner > span:not(.pricing__promo-divider):nth-child(5) { animation-delay: 0.6s; }
@keyframes promo-bounce {
    0%, 100% { transform: translateY(0); }
    40% { transform: translateY(-6px); }
    60% { transform: translateY(-3px); }
}
.pricing__promo-banner i { color: var(--primary); margin-right: 6px; }
.pricing__promo-banner i.fa-gift { color: var(--green); }
.pricing__promo-banner strong { font-weight: 800; color: var(--g900); font-size: 1rem; }
.pricing__promo-divider { width: 1px; height: 20px; background: var(--g200); }

.pricing__card {
    max-width: 680px; margin: 0 auto;
    background: var(--white); border-radius: var(--r-2xl);
    border: 1.5px solid var(--blue-l);
    box-shadow: var(--sh-xl);
    overflow: hidden;
    position: relative;
}
.pricing__card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px;
    background: linear-gradient(90deg, var(--blue), var(--purple), var(--coral), var(--amber), var(--green));
}
.pricing__card-top {
    text-align: center; padding: 44px 44px 32px;
    border-bottom: 1px solid var(--g100);
}
.pricing__badge-pill {
    display: inline-block; padding: 5px 16px; border-radius: var(--r-full);
    background: linear-gradient(135deg, var(--green), var(--teal));
    color: white; font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px;
}
.pricing__plan { font-size: 1.75rem; font-weight: 800; color: var(--g900); margin-bottom: 8px; }
.pricing__price { display: flex; align-items: baseline; justify-content: center; gap: 6px; margin: 10px 0 10px; }
.pricing__amount { font-size: 3.5rem; font-weight: 900; color: var(--primary); letter-spacing: -0.03em; }
.pricing__period { font-size: 1rem; color: var(--g500); font-weight: 500; }
.pricing__desc { font-size: 0.95rem; color: var(--g500); }

.pricing__features {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 12px 24px; padding: 32px 44px;
    border-bottom: 1px solid var(--g100);
}
.pricing__feat { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--g700); }
.pricing__feat i {
    color: var(--green); font-size: 0.8rem;
    background: var(--green-l); width: 22px; height: 22px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.pricing__sms {
    display: flex; align-items: center; gap: 12px;
    padding: 16px 44px; background: var(--g50);
    border-bottom: 1px solid var(--g100);
}
.pricing__sms i { font-size: 1.2rem; color: var(--primary); flex-shrink: 0; }
.pricing__sms p { font-size: 0.84rem; color: var(--g600); }

.pricing__action { padding: 28px 44px; text-align: center; }
.pricing__note { margin-top: 12px; font-size: 0.8rem; color: var(--g400); }

/* Convenios */
.convenios__grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 24px; max-width: 860px; margin: 0 auto;
}
.convenio-card {
    background: var(--white); border-radius: var(--r-xl);
    padding: 36px 28px; border: 1.5px solid var(--g200);
    text-align: center; transition: var(--ease);
}
.convenio-card:hover { border-color: var(--primary); box-shadow: var(--sh-lg); transform: translateY(-3px); }
.convenio-card__logo { height: 90px; width: auto; max-width: 220px; object-fit: contain; margin: 0 auto 18px; display: block; }
.convenio-card h3 { font-size: 1rem; font-weight: 700; color: var(--g900); margin-bottom: 12px; line-height: 1.4; }
.convenio-card__promo {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 7px 18px; border-radius: var(--r-full);
    background: linear-gradient(135deg, var(--green), var(--teal));
    color: white; font-weight: 700; font-size: 0.875rem; margin-bottom: 18px;
}
.convenio-card ul { text-align: left; display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.convenio-card li { display: flex; align-items: flex-start; gap: 9px; font-size: 0.85rem; color: var(--g700); line-height: 1.5; }
.convenio-card li i { color: var(--green); font-size: 0.75rem; margin-top: 3px; flex-shrink: 0; }
.convenio-card li i.fa-star { color: var(--amber); }

/* ============================================
   FAQ
   ============================================ */
.faq { padding: var(--section-py) 0; background: var(--white); }
.faq__list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq__item {
    border: 1px solid var(--g100); border-radius: var(--r-md);
    overflow: hidden; transition: var(--ease);
}
.faq__item.open { border-color: var(--primary); box-shadow: 0 4px 16px rgba(33,150,243,0.1); }
.faq__q {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: 18px 22px; font-size: 0.975rem; font-weight: 600;
    color: var(--g900); text-align: left; transition: var(--ease);
}
.faq__q:hover { color: var(--primary); }
.faq__q i { font-size: 0.75rem; color: var(--g400); transition: var(--ease); flex-shrink: 0; margin-left: 16px; }
.faq__item.open .faq__q i { transform: rotate(180deg); color: var(--primary); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq__item.open .faq__a { max-height: 200px; }
.faq__a p { padding: 0 22px 18px; font-size: 0.9rem; color: var(--g500); line-height: 1.7; }

/* ============================================
   CONTACT
   ============================================ */
.contact {
    padding: var(--section-py) 0;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 50%, #1a237e 100%);
}
.contact__wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact__desc { color: rgba(255,255,255,0.65); font-size: 1rem; line-height: 1.75; margin-bottom: 36px; }
.contact__details { display: flex; flex-direction: column; gap: 20px; }
.contact__detail { display: flex; align-items: flex-start; gap: 14px; }
.contact__detail-icon {
    width: 42px; height: 42px; min-width: 42px; border-radius: var(--r-md);
    background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center;
    color: var(--primary);
}
.contact__detail strong { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.4); margin-bottom: 3px; }
.contact__detail p { font-size: 0.9rem; color: rgba(255,255,255,0.8); line-height: 1.5; }

.contact__form-wrap {
    background: var(--white); border-radius: var(--r-xl);
    padding: 36px; box-shadow: var(--sh-xl);
}
.contact__form h3 { font-size: 1.2rem; font-weight: 700; color: var(--g900); margin-bottom: 22px; }
.form-group { margin-bottom: 14px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 16px;
    border: 1px solid var(--g300); border-radius: var(--r-md);
    background: var(--g50); color: var(--g900);
    transition: var(--ease); outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(33,150,243,0.12);
    background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-check { display: flex; align-items: center; gap: 10px; }
.form-check input { width: auto; accent-color: var(--primary); }
.form-check label { font-size: 0.82rem; color: var(--g500); }
.form-check a { color: var(--primary); text-decoration: underline; }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: rgb(249, 250, 251); color: var(--g600); padding: 64px 0 0; border-top: 1px solid var(--g200); }
.footer__top {
    display: flex; justify-content: space-between; gap: 48px;
    padding-bottom: 44px; border-bottom: 1px solid var(--g200);
}
.footer__brand p { font-size: 0.875rem; color: var(--g500); line-height: 1.7; }
.footer__cols { display: flex; gap: 48px; }
.footer__col h4 { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--g400); margin-bottom: 16px; }
.footer__col li { margin-bottom: 10px; }
.footer__col a { font-size: 0.875rem; color: var(--g600); transition: var(--ease); }
.footer__col a:hover { color: var(--primary); }
.footer__bottom {
    padding: 22px 0; font-size: 0.82rem;
    color: var(--g400);
    border-top: 1px solid var(--g200);
}

/* ============================================
   WHATSAPP WIDGET
   ============================================ */
.wa-widget { position: fixed; bottom: 28px; right: 28px; z-index: 999; }
.wa-btn {
    width: 56px; height: 56px; border-radius: 50%;
    background: #25D366; color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; box-shadow: 0 4px 20px rgba(37,211,102,0.45);
    transition: var(--ease); cursor: pointer;
}
.wa-btn:hover { transform: scale(1.08); }
.wa-tooltip {
    position: absolute; bottom: 68px; right: 0;
    width: 260px; background: white; border-radius: var(--r-lg);
    padding: 20px; box-shadow: var(--sh-xl); border: 1px solid var(--g100);
    display: none;
}
.wa-widget.active .wa-tooltip { display: block; animation: pop-in 0.2s ease; }
@keyframes pop-in { from{opacity:0;transform:scale(0.95) translateY(8px)} to{opacity:1;transform:scale(1) translateY(0)} }
.wa-tooltip__close {
    position: absolute; top: 10px; right: 12px;
    font-size: 0.9rem; color: var(--g400);
}
.wa-tooltip p { font-size: 0.85rem; color: var(--g600); margin-bottom: 6px; }
.wa-tooltip strong { color: var(--g900); }
.wa-tooltip__btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; padding: 10px; margin-top: 12px;
    background: #25D366; color: white; border-radius: var(--r-full);
    font-size: 0.875rem; font-weight: 600; transition: var(--ease);
}
.wa-tooltip__btn:hover { background: #1EB851; }

/* ============================================
   TWEAKS UI
   ============================================ */
.tweaks-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.3); z-index: 9000; backdrop-filter: blur(2px); }
.tweaks-box {
    position: fixed; bottom: 28px; right: 28px; z-index: 9001;
    width: 280px; background: white; border-radius: var(--r-xl);
    box-shadow: var(--sh-xl); overflow: hidden;
    border: 1px solid var(--g200);
}
.tweaks-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px; border-bottom: 1px solid var(--g100);
    font-size: 0.95rem; font-weight: 700; color: var(--g900);
}
.tweaks-header button { color: var(--g400); font-size: 1rem; }
.tweaks-section { padding: 16px 20px; border-bottom: 1px solid var(--g100); }
.tweaks-section:last-child { border-bottom: none; }
.tweaks-label { display: block; font-size: 0.75rem; font-weight: 600; color: var(--g500); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.tweaks-options { display: flex; flex-wrap: wrap; gap: 7px; }
.tweak-opt {
    padding: 6px 12px; border-radius: var(--r-full);
    font-size: 0.8rem; font-weight: 500; color: var(--g600);
    border: 1px solid var(--g200); transition: var(--ease); cursor: pointer;
}
.tweak-opt:hover { border-color: var(--primary); color: var(--primary); }
.tweak-opt.active { background: var(--primary); color: white; border-color: var(--primary); }

/* ============================================
   SCROLL FADE-IN
   ============================================ */
.fade-up {
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .features__grid { grid-template-columns: repeat(2, 1fr); }
    .hero__container { gap: 40px; }
}

@media (max-width: 768px) {
    .nav__menu {
        position: fixed; top: 0; right: -100%; width: 300px;
        height: 100vh; background: var(--white); box-shadow: var(--sh-xl);
        padding: 72px 32px 32px; z-index: 1001; transition: right 0.35s ease;
    }
    .nav__menu.show { right: 0; }
    .nav__list { flex-direction: column; gap: 4px; }
    .nav__link { font-size: 1rem; padding: 10px 14px; }
    .nav__dropdown-menu { position: static; transform: none; box-shadow: none; opacity: 1; visibility: visible; background: var(--g50); margin-top: 6px; }
    .nav__dropdown-menu::before { display: none; }
    .nav__toggle { display: block; }
    .nav__close { display: block; position: absolute; top: 20px; right: 20px; }
    .nav__actions .btn--outline { display: none; }

    .hero__container { grid-template-columns: 1fr; gap: 36px; text-align: center; }
    .hero__title { font-size: clamp(1.85rem, 7.5vw, 2.6rem); }
    .hero__description { margin: 0 auto 28px; }
    .hero__buttons { justify-content: center; }
    .hero__stats { margin: 0 auto; flex-wrap: wrap; justify-content: center; gap: 0; padding: 14px 16px; }
    .hero__stat { padding: 6px 14px; }
    .hero__float { display: none; }

    .features__grid { grid-template-columns: 1fr; gap: 14px; }
    .specialties__grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
    .ai-layout { grid-template-columns: 1fr; }
    .ai-cards { grid-template-columns: 1fr; }
    .pricing__features { grid-template-columns: 1fr; }
    .pricing__card-top, .pricing__action { padding-left: 28px; padding-right: 28px; }
    .pricing__features, .pricing__sms { padding-left: 28px; padding-right: 28px; }
    .convenios__grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .contact__wrap { grid-template-columns: 1fr; gap: 36px; }
    .footer__top { flex-direction: column; gap: 32px; }
    .footer__cols { flex-wrap: wrap; gap: 32px; }
    .step { flex-wrap: wrap; }
    .step__icon { display: none; }
    .demo-cta__inner { flex-direction: column; text-align: center; }
    .demo-cta__left { flex-direction: column; text-align: center; }
    .tweaks-box { right: 12px; bottom: 12px; width: 260px; }
}
