/* ============================================
   SAÚDE INDICADORES e-SUS — Landing Page
   CI Digital Solutions
   ============================================ */

/* === CUSTOM PROPERTIES === */
:root {
    --navy-dark: #0f1629;
    --navy: #1a1f3a;
    --navy-light: #252b4a;
    --teal-primary: #0d9488;
    --teal-light: #14b8a6;
    --teal-pale: #ccfbf1;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --orange-accent: #f59e0b;
    --green-accent: #10b981;
    --blue-accent: #3b82f6;
    --purple-accent: #8b5cf6;
    --rose-accent: #f43f5e;
    --white: #ffffff;
    --font-display: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --shadow-card: 0 1px 3px rgba(0,0,0,0.06), 0 6px 16px rgba(0,0,0,0.06);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }

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

/* === ANIMATIONS === */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.3); }
    50% { box-shadow: 0 0 0 12px rgba(13, 148, 136, 0); }
}

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.938rem;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}
.btn--primary {
    background: var(--teal-primary);
    color: var(--white);
}
.btn--primary:hover {
    background: var(--teal-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(13, 148, 136, 0.3);
}
.btn--outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
}
.btn--outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
}
.btn--outline-light {
    background: transparent;
    color: var(--teal-light);
    border: 2px solid var(--teal-light);
}
.btn--outline-light:hover {
    background: var(--teal-light);
    color: var(--white);
}
.btn--white {
    background: var(--white);
    color: var(--teal-primary);
}
.btn--white:hover {
    background: var(--gray-50);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.btn--lg { padding: 16px 32px; font-size: 1rem; border-radius: var(--radius-md); }
.btn--sm { padding: 10px 20px; font-size: 0.875rem; }

/* === BADGES === */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 100px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.badge--teal { background: rgba(13,148,136,0.15); color: var(--teal-light); }
.badge--navy { background: rgba(59,130,246,0.15); color: var(--blue-accent); }
.badge--orange { background: rgba(245,158,11,0.15); color: var(--orange-accent); }

/* === HEADER === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: all var(--transition);
}
.header.is-scrolled {
    background: rgba(15, 22, 41, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.header__logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.header__logo-img {
    height: 40px;
    width: auto;
    transition: filter var(--transition);
}
.header__logo-divider {
    width: 1px;
    height: 28px;
    background: rgba(255,255,255,0.25);
}
.header__logo-product {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.938rem;
    color: var(--teal-light);
    letter-spacing: -0.01em;
}
.header__nav {
    display: flex;
    gap: 32px;
}
.header__link {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.75);
    transition: color var(--transition);
}
.header__link:hover { color: var(--white); }
.header__link.is-active { color: var(--teal-light); }
.header__cta svg { flex-shrink: 0; }

/* Theme Toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.08);
    color: var(--white);
    cursor: pointer;
    transition: all var(--transition);
}
.theme-toggle:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.4);
}
.theme-toggle__moon { display: none; }
[data-theme="dark"] .theme-toggle__sun { display: none; }
[data-theme="dark"] .theme-toggle__moon { display: block; }

.header__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.header__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
}
.header__hamburger.is-active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.header__hamburger.is-active span:nth-child(2) { opacity: 0; }
.header__hamburger.is-active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.header__mobile-menu {
    display: none;
    flex-direction: column;
    padding: 16px 24px 24px;
    background: rgba(15, 22, 41, 0.98);
    backdrop-filter: blur(12px);
}
.header__mobile-menu.is-open { display: flex; }
.header__mobile-link {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header__mobile-link:hover { color: var(--teal-light); }

/* === HERO === */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, #1a2847 100%);
    padding: 140px 0 80px;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
}
.hero__shape--1 {
    width: 600px; height: 600px;
    background: var(--teal-primary);
    top: -200px; right: -100px;
}
.hero__shape--2 {
    width: 400px; height: 400px;
    background: var(--blue-accent);
    bottom: -150px; left: -100px;
}
.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}
.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--white);
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}
.hero__title em {
    font-style: normal;
    background: linear-gradient(135deg, var(--teal-light), #5eead4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero__subtitle {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 540px;
}
.hero__ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.hero__mockup {
    perspective: 1000px;
}
.hero__mockup-frame {
    background: var(--navy-light);
    border-radius: var(--radius-lg);
    padding: 8px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.06);
    transform: rotateY(-4deg) rotateX(2deg);
    transition: transform 0.5s ease;
    animation: float 6s ease-in-out infinite;
}
.hero__mockup-frame:hover {
    transform: rotateY(0deg) rotateX(0deg);
}
.hero__mockup-frame img {
    border-radius: var(--radius-md);
    width: 100%;
}

/* === METRICS === */
.metrics {
    background: var(--navy-dark);
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 32px 0;
}
.metrics__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}
.metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.metric__number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--teal-light);
    letter-spacing: -0.03em;
}
.metric__label {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.metric__icon { margin-bottom: 4px; }

/* === SECTION HEADER === */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px;
}
.section-header__tag {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--teal-primary);
    background: var(--teal-pale);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
}
.section-header__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 16px;
}
.section-header__desc {
    font-size: 1.0625rem;
    color: var(--gray-500);
    line-height: 1.7;
}
.section-header--light .section-header__tag--light {
    background: rgba(255,255,255,0.1);
    color: var(--teal-light);
}
.section-header__title--light { color: var(--white); }
.section-header__desc--light { color: rgba(255,255,255,0.6); }

/* === FEATURES === */
.features {
    padding: 100px 0;
    background: var(--gray-50);
}
.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--teal-pale);
}
.feature-card__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.feature-card__icon--teal { background: rgba(13,148,136,0.1); color: var(--teal-primary); }
.feature-card__icon--blue { background: rgba(59,130,246,0.1); color: var(--blue-accent); }
.feature-card__icon--green { background: rgba(16,185,129,0.1); color: var(--green-accent); }
.feature-card__icon--purple { background: rgba(139,92,246,0.1); color: var(--purple-accent); }
.feature-card__icon--orange { background: rgba(245,158,11,0.1); color: var(--orange-accent); }
.feature-card__icon--rose { background: rgba(244,63,94,0.1); color: var(--rose-accent); }
.feature-card__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--gray-900);
    margin-bottom: 10px;
}
.feature-card__desc {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.65;
}

/* === SHOWCASE === */
.showcase {
    padding: 100px 0;
}
.showcase__item {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 80px;
}
.showcase__item--reverse {
    grid-template-columns: 1fr 1.2fr;
}
.showcase__item--reverse .showcase__image {
    order: 2;
}
.showcase__item--reverse .showcase__content {
    order: 1;
}
.showcase__image {
    position: relative;
    cursor: pointer;
}
.showcase__img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    transition: transform var(--transition), box-shadow var(--transition);
}
.showcase__img:hover {
    transform: scale(1.02);
    box-shadow: 0 24px 64px rgba(0,0,0,0.18);
}
.showcase__zoom-hint {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(15,22,41,0.8);
    backdrop-filter: blur(4px);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 100px;
    opacity: 0;
    transition: opacity var(--transition);
}
.showcase__image:hover .showcase__zoom-hint { opacity: 1; }
.showcase__number {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 3rem;
    color: var(--gray-100);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 8px;
}
.showcase__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--gray-900);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}
.showcase__desc {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 20px;
}
.showcase__benefits {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.showcase__benefits li {
    position: relative;
    padding-left: 24px;
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.5;
}
.showcase__benefits li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--teal-primary);
    opacity: 0.3;
}
.showcase__benefits li::after {
    content: '';
    position: absolute;
    left: 3px;
    top: 10px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--teal-primary);
}

/* Extras */
.showcase__extras {
    margin-top: 40px;
    padding-top: 60px;
    border-top: 1px solid var(--gray-200);
}
.showcase__extras-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--gray-900);
    text-align: center;
    margin-bottom: 32px;
}
.showcase__extras-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.showcase__extra-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: all var(--transition);
}
.showcase__extra-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.showcase__extra-img {
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    cursor: pointer;
    border: 1px solid var(--gray-200);
    transition: transform var(--transition);
}
.showcase__extra-img:hover { transform: scale(1.02); }
.showcase__extra-card h4 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    color: var(--gray-900);
    margin-bottom: 8px;
}
.showcase__extra-card p {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* === VIDEO === */
.video-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
}
.video-section__player {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    max-width: 960px;
    margin: 0 auto;
}
.video-section__player video {
    width: 100%;
    display: block;
}
.video-section__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15,22,41,0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    cursor: pointer;
    transition: background var(--transition);
}
.video-section__overlay:hover { background: rgba(15,22,41,0.35); }
.video-section__overlay.is-hidden { display: none; }
.video-section__play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--teal-primary);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
    animation: pulse-glow 2s ease-in-out infinite;
}
.video-section__play-btn:hover {
    background: var(--teal-light);
    transform: scale(1.08);
}
.video-section__play-btn svg { margin-left: 4px; }
.video-section__play-label {
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
}

/* === STEPS === */
.steps {
    padding: 100px 0;
    background: var(--gray-50);
}
.steps__grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}
.step {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: 0 16px;
}
.step__number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--teal-primary);
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.step__icon {
    margin-bottom: 16px;
}
.step__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--gray-900);
    margin-bottom: 10px;
}
.step__desc {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.65;
}
.step__connector {
    display: flex;
    align-items: center;
    padding-top: 20px;
    flex-shrink: 0;
}

/* === CTA FINAL === */
.cta-final {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--teal-primary), #0e7f74);
    overflow: hidden;
}
.cta-final__bg { position: absolute; inset: 0; pointer-events: none; }
.cta-final__shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.2;
}
.cta-final__shape--1 {
    width: 500px; height: 500px;
    background: var(--white);
    top: -200px; right: -100px;
}
.cta-final__shape--2 {
    width: 300px; height: 300px;
    background: var(--navy);
    bottom: -100px; left: -50px;
}
.cta-final__inner {
    position: relative;
    z-index: 1;
    text-align: center;
}
.cta-final__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    line-height: 1.2;
}
.cta-final__desc {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.8);
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.7;
}
.cta-final__note {
    margin-top: 20px;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
}

/* === FOOTER === */
.footer {
    background: var(--navy-dark);
    padding: 60px 0 0;
    color: rgba(255,255,255,0.6);
}
.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__logo-img {
    height: 48px;
    width: auto;
    margin-bottom: 16px;
}
.footer__about-text {
    font-size: 0.875rem;
    line-height: 1.65;
    margin-bottom: 12px;
}
.footer__cnpj {
    font-size: 0.8125rem;
    font-family: var(--font-display);
    font-weight: 600;
    color: rgba(255,255,255,0.35);
}
.footer__col-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 20px;
}
.footer__link {
    display: block;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.55);
    padding: 5px 0;
    transition: color var(--transition);
}
.footer__link:hover { color: var(--teal-light); }
.footer__link--icon {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.footer__link--icon svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--teal-light);
}
.footer__address {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-top: 8px;
}
.footer__address svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--teal-light);
}
.footer__demo-text {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 16px;
}
.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.35);
}
.footer__bottom-links {
    display: flex;
    gap: 24px;
}
.footer__bottom-links a { color: rgba(255,255,255,0.35); }
.footer__bottom-links a:hover { color: var(--teal-light); }

/* === LIGHTBOX === */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,0.9);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    cursor: zoom-out;
}
.lightbox.is-open { display: flex; animation: fadeIn 0.25s ease; }
.lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: var(--white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition);
}
.lightbox__close:hover { background: rgba(255,255,255,0.2); }
.lightbox__img {
    max-width: 95vw;
    max-height: 90vh;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 80px rgba(0,0,0,0.5);
}

/* === LEGAL PAGES === */
.legal { padding: 140px 0 80px; }
.legal__header { margin-bottom: 48px; }
.legal__title {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}
.legal__updated {
    font-size: 0.875rem;
    color: var(--gray-400);
}
.legal__content h2 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 40px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--teal-pale);
}
.legal__content h2:first-child { margin-top: 0; }
.legal__content p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 12px;
}
.legal__content ul, .legal__content ol {
    margin: 12px 0 12px 24px;
}
.legal__content ul { list-style: disc; }
.legal__content ol { list-style: decimal; }
.legal__content li {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 6px;
}
.legal__content strong { color: var(--gray-700); }
.legal__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--teal-primary);
    margin-bottom: 32px;
}
.legal__back:hover { color: var(--teal-light); }

/* === DARK THEME === */
[data-theme="dark"] body {
    background: var(--navy-dark);
    color: var(--gray-300);
}

/* Features section */
[data-theme="dark"] .features {
    background: var(--navy);
}
[data-theme="dark"] .feature-card {
    background: var(--navy-light);
    border-color: rgba(255,255,255,0.06);
}
[data-theme="dark"] .feature-card:hover {
    border-color: rgba(20,184,166,0.3);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
[data-theme="dark"] .feature-card__title { color: var(--white); }
[data-theme="dark"] .feature-card__desc { color: var(--gray-400); }

/* Section headers */
[data-theme="dark"] .section-header__tag {
    background: rgba(13,148,136,0.2);
    color: var(--teal-light);
}
[data-theme="dark"] .section-header__title { color: var(--white); }
[data-theme="dark"] .section-header__desc { color: var(--gray-400); }

/* Showcase */
[data-theme="dark"] .showcase {
    background: var(--navy-dark);
}
[data-theme="dark"] .showcase__number { color: var(--navy-light); }
[data-theme="dark"] .showcase__title { color: var(--white); }
[data-theme="dark"] .showcase__desc { color: var(--gray-400); }
[data-theme="dark"] .showcase__benefits li { color: var(--gray-400); }
[data-theme="dark"] .showcase__img {
    border-color: rgba(255,255,255,0.08);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
[data-theme="dark"] .showcase__extras {
    border-top-color: rgba(255,255,255,0.08);
}
[data-theme="dark"] .showcase__extras-title { color: var(--white); }
[data-theme="dark"] .showcase__extra-card {
    background: var(--navy);
    border-color: rgba(255,255,255,0.06);
}
[data-theme="dark"] .showcase__extra-card:hover {
    background: var(--navy-light);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
[data-theme="dark"] .showcase__extra-card h4 { color: var(--white); }
[data-theme="dark"] .showcase__extra-card p { color: var(--gray-400); }
[data-theme="dark"] .showcase__extra-img { border-color: rgba(255,255,255,0.08); }

/* Steps */
[data-theme="dark"] .steps {
    background: var(--navy);
}
[data-theme="dark"] .step__title { color: var(--white); }
[data-theme="dark"] .step__desc { color: var(--gray-400); }

/* Legal pages */
[data-theme="dark"] .legal__title { color: var(--white); }
[data-theme="dark"] .legal__content h2 {
    color: var(--white);
    border-bottom-color: rgba(13,148,136,0.3);
}
[data-theme="dark"] .legal__content p { color: var(--gray-400); }
[data-theme="dark"] .legal__content li { color: var(--gray-400); }
[data-theme="dark"] .legal__content strong { color: var(--gray-300); }

/* Theme toggle in scrolled/legal header */
.header.is-scrolled .theme-toggle {
    border-color: rgba(255,255,255,0.15);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .hero__inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero__subtitle { margin: 0 auto 32px; }
    .hero__ctas { justify-content: center; }
    .hero__badges { justify-content: center; }
    .hero__mockup-frame { transform: none; }
    .features__grid { grid-template-columns: repeat(2, 1fr); }
    .showcase__item, .showcase__item--reverse {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .showcase__item--reverse .showcase__image { order: 0; }
    .showcase__item--reverse .showcase__content { order: 0; }
    .showcase__extras-grid { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .header__nav { display: none; }
    .header__cta { display: none; }
    .header__hamburger { display: flex; }
    .hero { padding: 120px 0 60px; min-height: auto; }
    .hero__title { font-size: 1.75rem; }
    .hero__ctas { flex-direction: column; align-items: center; }
    .hero__ctas .btn { width: 100%; justify-content: center; }
    .metrics__inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .metric__number { font-size: 2rem; }
    .features { padding: 60px 0; }
    .features__grid { grid-template-columns: 1fr; }
    .showcase { padding: 60px 0; }
    .showcase__item { margin-bottom: 48px; }
    .showcase__number { font-size: 2rem; }
    .steps__grid { flex-direction: column; align-items: center; gap: 24px; }
    .step__connector { display: none; }
    .showcase__extras-grid { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
    .video-section { padding: 60px 0; }
    .cta-final { padding: 60px 0; }
    .lightbox { padding: 16px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero__badges { gap: 6px; }
    .badge { font-size: 0.6875rem; padding: 5px 10px; }
    .hero__title { font-size: 1.5rem; }
    .hero__subtitle { font-size: 1rem; }
    .btn--lg { padding: 14px 24px; font-size: 0.9375rem; }
}
