/* ══════════════════════════════════════════
   ROTA VAN — style.css
   ══════════════════════════════════════════ */

/* ── RESETS & BASE ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #336E9E;
    --primary-light: #528FB8;
    --primary-dark: #1E4E76;
    --accent: #FFB300;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --bg-main: #FFFFFF;
    --bg-alt: #F8FAFC;
    --white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* ── ANIMATIONS ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.05); }
}
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-8px); }
}

/* ── SCROLL REVEAL ── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── NAVBAR ── */
.navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}
.navbar.scrolled {
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}
.logo i { font-size: 2rem; color: var(--accent); }
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}
.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}
.nav-links a:hover { color: var(--primary); }

/* ── HERO ── */
.hero {
    padding: 10rem 0 6rem;
    background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg-main) 100%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -10%; right: -5%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--primary-light) 0%, rgba(51, 110, 158, 0) 70%);
    opacity: 0.15;
    border-radius: 50%;
    z-index: 0;
}
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(51, 110, 158, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(51, 110, 158, 0.2);
}
.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    letter-spacing: -1px;
}
.hero-text p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-buttons.center { justify-content: center; }

.btn-store {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: var(--text-main);
    color: var(--white);
    border-radius: 12px;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(30, 41, 59, 0.15);
}
.btn-store:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(30, 41, 59, 0.25);
    background: var(--primary-dark);
}
.btn-store i { font-size: 2rem; }
.btn-store-text { display: flex; flex-direction: column; text-align: left; }
.btn-store-text span { font-size: 0.7rem; opacity: 0.8; line-height: 1; }
.btn-store-text strong { font-size: 1.1rem; font-weight: 600; line-height: 1.2; }

/* ── MOCKUP ── */
.hero-image { display: flex; justify-content: center; position: relative; }
.mockup-frame {
    width: 300px; height: 600px;
    background: #0F172A;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    transform: rotate(-3deg);
    transition: var(--transition);
}
.mockup-frame:hover { transform: rotate(0deg) translateY(-10px); }
.mockup-frame::after {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 120px; height: 30px;
    background: #0F172A;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 10;
}
.mockup-screen {
    background: var(--bg-alt);
    width: 100%; height: 100%;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}
.slideshow {
    width: 100%; height: 100%;
    position: relative;
    background: #000;
}
.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}
.slide.active { opacity: 1; }
.slide-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
}
.slide-logo {
    width: 120px;
    height: auto;
    animation: pulse 2s infinite;
}

/* ── SECTION LABEL ── */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(51, 110, 158, 0.08);
    border: 1px solid rgba(51, 110, 158, 0.2);
    border-radius: 100px;
    padding: 0.35rem 0.9rem;
    margin-bottom: 1rem;
}
.section-header .section-label { margin-bottom: 0.75rem; }

/* ── SECTION HEADER ── */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}
.section-header p {
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* ── STATS BAR ── */
.stats-bar {
    background: var(--primary);
    padding: 2.5rem 0;
    position: relative;
    overflow: hidden;
}
.stats-bar::before {
    content: '';
    position: absolute; inset: 0;
    background: url('data:image/svg+xml;utf8,<svg width="100%25" height="100%25" viewBox="0 0 400 80" xmlns="http://www.w3.org/2000/svg"><path d="M0 80 Q 100 0 200 40 T 400 20 L400 80Z" fill="rgba(255,255,255,0.04)"/></svg>') no-repeat bottom center;
    background-size: cover;
    pointer-events: none;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    z-index: 1;
}
.stat-item {
    text-align: center;
    padding: 0.5rem 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}
.stat-item:last-child { border-right: none; }
.stat-number {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.35rem;
}
.stat-number span { color: var(--accent); }
.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

/* ── HOW IT WORKS ── */
.how-it-works {
    padding: 6rem 0;
    background: var(--bg-alt);
    position: relative;
    overflow: hidden;
}
.how-it-works::before {
    content: '';
    position: absolute;
    bottom: -120px; left: -80px;
    width: 420px; height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    opacity: 0.07;
}
.tabs-wrapper { display: flex; flex-direction: column; gap: 2rem; }
.tab-btns {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}
.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.4rem;
    border: 2px solid rgba(51, 110, 158, 0.2);
    background: white;
    border-radius: 100px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.925rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.25s ease;
}
.tab-btn i { font-size: 1.1rem; }
.tab-btn:hover { border-color: var(--primary); color: var(--primary); }
.tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 6px 20px rgba(51, 110, 158, 0.3);
}
.tab-panels { position: relative; }
.tab-panel { display: none; animation: fadeUp 0.4s ease forwards; }
.tab-panel.active { display: block; }
.flow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    position: relative;
}
.flow-grid::before {
    content: '';
    position: absolute;
    top: 36px; left: 10%; right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.25;
    pointer-events: none;
}
.flow-step {
    background: white;
    border: 1px solid rgba(51, 110, 158, 0.1);
    border-radius: 18px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}
.flow-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(51, 110, 158, 0.1);
    border-color: rgba(51, 110, 158, 0.25);
}
.flow-num {
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%);
    width: 28px; height: 28px;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 10px rgba(51, 110, 158, 0.35);
}
.flow-icon {
    width: 52px; height: 52px;
    background: rgba(51, 110, 158, 0.08);
    color: var(--primary);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 1rem;
}
.flow-step h4 { font-size: 0.975rem; font-weight: 700; color: var(--text-main); margin-bottom: 0.4rem; }
.flow-step p  { font-size: 0.85rem; color: var(--text-muted); line-height: 1.55; }

/* ── FEATURES ── */
.features { padding: 6rem 0; background: var(--bg-main); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.feature-card {
    background: var(--bg-alt);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(51, 110, 158, 0.08);
    background: white;
    border-color: rgba(51, 110, 158, 0.1);
}
.feature-icon {
    width: 60px; height: 60px;
    background: rgba(51, 110, 158, 0.1);
    color: var(--primary);
    border-radius: 15px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}
.feature-card:hover .feature-icon { background: var(--primary); color: white; }
.feature-card h3 { font-size: 1.25rem; margin-bottom: 1rem; color: var(--text-main); }
.feature-card p  { color: var(--text-muted); font-size: 0.95rem; }

/* ── PROFILES ── */
.profiles { padding: 6rem 0; background: var(--bg-main); }
.profiles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.profile-card {
    border-radius: 24px;
    padding: 2rem 1.75rem 1.75rem;
    border: 1.5px solid rgba(0, 0, 0, 0.06);
    background: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.profile-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    border-radius: 24px 24px 0 0;
}
.profile-card.driver::after  { background: var(--primary); }
.profile-card.monitor::after { background: #10B981; }
.profile-card.parent::after  { background: var(--accent); }
.profile-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
}
.profile-emoji { font-size: 2.4rem; margin-bottom: 1rem; display: block; }
.profile-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--text-main); margin-bottom: 0.35rem; }
.profile-card .profile-role {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    display: block;
}
.profile-card.driver  .profile-role { color: var(--primary); }
.profile-card.monitor .profile-role { color: #10B981; }
.profile-card.parent  .profile-role { color: #D97706; }
.profile-features {
    list-style: none;
    padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 0.6rem;
}
.profile-features li {
    display: flex; align-items: flex-start; gap: 0.55rem;
    font-size: 0.875rem; color: var(--text-muted); line-height: 1.5;
}
.profile-features li i { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.profile-card.driver  .profile-features li i { color: var(--primary); }
.profile-card.monitor .profile-features li i { color: #10B981; }
.profile-card.parent  .profile-features li i { color: #D97706; }

/* ── FINANCE SECTION ── */
.finance-section {
    padding: 6rem 0;
    background: var(--bg-alt);
    position: relative;
    overflow: hidden;
}
.finance-section::after {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent) 0%, transparent 65%);
    opacity: 0.06;
    pointer-events: none;
}
.finance-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.finance-text h2 {
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.finance-text p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 1.75rem;
}
.finance-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    background: white;
    border: 1.5px solid rgba(51, 110, 158, 0.15);
    border-radius: 100px;
    font-size: 0.82rem; font-weight: 500; color: var(--text-main);
}
.chip i { color: var(--primary); font-size: 1rem; }
.finance-visual { position: relative; z-index: 1; }
.finance-card-mock {
    background: white;
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}
.mock-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 1.5rem;
}
.mock-title  { font-size: 0.875rem; font-weight: 700; color: var(--text-main); }
.mock-badge  {
    font-size: 0.72rem; font-weight: 600;
    padding: 0.25rem 0.65rem; border-radius: 100px;
    background: rgba(16, 185, 129, 0.1); color: #10B981;
}
.mock-expense-list { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.25rem; }
.mock-expense {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.7rem 0.9rem;
    background: var(--bg-alt); border-radius: 10px;
}
.mock-expense-info { display: flex; align-items: center; gap: 0.65rem; }
.mock-exp-icon {
    width: 30px; height: 30px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem;
}
.mock-exp-icon.fuel   { background: #FEF3C7; color: #D97706; }
.mock-exp-icon.insure { background: #DBEAFE; color: #2563EB; }
.mock-exp-icon.maint  { background: #F3E8FF; color: #7C3AED; }
.mock-exp-icon.custom { background: rgba(51, 110, 158, 0.1); color: var(--primary); }
.mock-exp-name  { font-size: 0.82rem; font-weight: 600; color: var(--text-main); }
.mock-exp-cat   { font-size: 0.72rem; color: var(--text-muted); }
.mock-exp-value { font-size: 0.875rem; font-weight: 700; color: var(--text-main); }
.mock-divider   { height: 1px; background: rgba(0, 0, 0, 0.05); margin: 0.25rem 0; }
.mock-total { display: flex; justify-content: space-between; align-items: center; }
.mock-total span   { font-size: 0.82rem; color: var(--text-muted); font-weight: 500; }
.mock-total strong { font-size: 1.1rem; font-weight: 800; color: var(--primary); }
.float-tag {
    position: absolute;
    background: white; border-radius: 14px;
    padding: 0.6rem 1rem;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.8rem; font-weight: 600;
}
.float-tag.top-right {
    top: -16px; right: -16px; color: #10B981;
    animation: float 3s ease-in-out infinite;
}
.float-tag.bottom-left {
    bottom: -16px; left: -16px; color: var(--primary);
    animation: float 3.5s ease-in-out infinite 0.5s;
}
.float-tag i { font-size: 1rem; }

/* ── SOCIAL PROOF ── */
.social-proof { padding: 5rem 0; background: var(--bg-main); }
.proof-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.proof-card {
    background: var(--bg-alt); border-radius: 18px;
    padding: 1.75rem; border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}
.proof-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07); }
.proof-stars { display: flex; gap: 3px; margin-bottom: 0.9rem; color: var(--accent); font-size: 1rem; }
.proof-text  { font-size: 0.925rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 1.25rem; font-style: italic; }
.proof-author { display: flex; align-items: center; gap: 0.75rem; }
.proof-avatar {
    width: 38px; height: 38px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; font-weight: 700; color: white; flex-shrink: 0;
}
.proof-avatar.a { background: var(--primary); }
.proof-avatar.b { background: #10B981; }
.proof-avatar.c { background: #D97706; }
.proof-name { font-size: 0.875rem; font-weight: 700; color: var(--text-main); }
.proof-role { font-size: 0.78rem; color: var(--text-muted); }

/* ── FAQ ── */
.faq-section { padding: 6rem 0; background: var(--bg-alt); }
.faq-wrap {
    max-width: 760px;
    margin: 3rem auto 0;
    display: flex; flex-direction: column; gap: 0.75rem;
}
.faq-item {
    background: white; border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden; transition: box-shadow 0.3s ease;
}
.faq-item:hover { box-shadow: 0 6px 20px rgba(51, 110, 158, 0.07); }
.faq-q {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.25rem 1.5rem; cursor: pointer;
    font-weight: 600; font-size: 0.975rem; color: var(--text-main);
    user-select: none; gap: 1rem;
}
.faq-q i { font-size: 1.25rem; color: var(--primary); flex-shrink: 0; transition: transform 0.3s ease; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    font-size: 0.925rem; color: var(--text-muted); line-height: 1.7;
    padding: 0 1.5rem;
}
.faq-item.open .faq-a { max-height: 2000px; padding: 0 1.5rem 1.25rem; }

/* ── CTA ── */
.cta {
    padding: 6rem 0;
    background: var(--primary);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: '';
    position: absolute; inset: 0;
    background: url('data:image/svg+xml;utf8,<svg width="100%25" height="100%25" viewBox="0 0 100 100" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 100 C 20 0 50 0 100 100 Z" fill="rgba(255,255,255,0.05)"/></svg>') no-repeat center center;
    background-size: cover;
    pointer-events: none;
}
.cta::after {
    content: '';
    position: absolute;
    top: -120px; left: -80px;
    width: 360px; height: 360px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    pointer-events: none;
}
.cta-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.cta-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 100px;
    padding: 0.4rem 1rem;
    font-size: 0.82rem; font-weight: 600; letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}
.cta h2    { font-size: 2.5rem; margin-bottom: 1.5rem; }
.cta p     { font-size: 1.2rem; margin-bottom: 2.5rem; opacity: 0.9; }
.store-light { background: white; color: var(--primary); }
.store-light:hover { background: var(--bg-alt); color: var(--primary-dark); }

/* ── FOOTER ── */
.footer {
    padding: 4rem 0 2rem;
    background: var(--bg-alt);
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.footer-centered {
    display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
    max-width: 600px; margin: 0 auto; padding: 0 1rem;
}
.footer-logo {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 1.75rem; font-weight: 700; color: var(--primary);
}
.footer-logo i { font-size: 2rem; color: var(--accent); }
.footer-tagline { color: var(--text-muted); font-size: 1.1rem; }
.footer-links {
    display: flex; gap: 1rem; align-items: center;
    flex-wrap: wrap; justify-content: center; margin-top: 1rem;
}
.footer-links a { color: var(--primary); font-size: 0.95rem; font-weight: 500; transition: var(--transition); }
.footer-links a:hover { color: var(--primary-dark); text-decoration: underline; }
.separator { color: #CBD5E1; }
.copyright { margin-top: 2rem; color: #94A3B8; font-size: 0.85rem; }

/* ══════════════════════════════════════════
   PÁGINAS DE DOCUMENTO (privacidade/termos)
   ══════════════════════════════════════════ */

.doc-hero {
    background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg-main) 100%);
    padding: 8rem 0 3rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}
.doc-hero::before {
    content: '';
    position: absolute;
    top: -10%; right: -5%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, var(--primary-light) 0%, rgba(51, 110, 158, 0) 70%);
    opacity: 0.12;
    border-radius: 50%;
}
.doc-hero-inner { position: relative; z-index: 1; }
.doc-breadcrumb {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1.5rem;
}
.doc-breadcrumb a { color: var(--primary); font-weight: 500; transition: var(--transition); }
.doc-breadcrumb a:hover { color: var(--primary-dark); }
.doc-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -1px;
    margin-bottom: 0.75rem;
}
.doc-hero h1 span { color: var(--primary); }
.doc-meta {
    display: flex; gap: 1.5rem; flex-wrap: wrap;
    font-size: 0.875rem; color: var(--text-muted); margin-top: 0.5rem;
}
.doc-meta span { display: flex; align-items: center; gap: 0.35rem; }

.doc-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 3rem;
    padding: 3rem 0 5rem;
    align-items: start;
    width: 100%;
    min-width: 0;
}
.doc-sidebar { position: sticky; top: 90px; }
.sidebar-title {
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 1rem;
}
.sidebar-nav { display: flex; flex-direction: column; gap: 0.25rem; }
.sidebar-nav a {
    font-size: 0.9rem; color: var(--text-muted); padding: 0.5rem 0.75rem;
    border-radius: 8px; transition: var(--transition);
    border-left: 2px solid transparent; font-weight: 400;
}
.sidebar-nav a:hover,
.sidebar-nav a.active {
    color: var(--primary);
    background: rgba(51, 110, 158, 0.06);
    border-left-color: var(--primary);
    font-weight: 500;
}
.doc-content { min-width: 0; width: 100%; overflow-x: hidden; }
.doc-intro {
    background: rgba(51, 110, 158, 0.05);
    border: 1px solid rgba(51, 110, 158, 0.15);
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    font-size: 0.95rem; color: var(--text-muted);
    margin-bottom: 2.5rem; line-height: 1.7;
}
.doc-section { margin-bottom: 3rem; scroll-margin-top: 100px; }
.doc-section-title {
    display: flex; align-items: center; gap: 0.75rem;
    margin-bottom: 1rem; padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--bg-alt);
}
.section-num {
    width: 32px; height: 32px;
    background: var(--primary); color: white;
    font-size: 0.8rem; font-weight: 700; border-radius: 8px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.doc-section h2 { font-size: 1.25rem; font-weight: 700; color: var(--text-main); }
.doc-section p  { font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 0.75rem; }
.doc-section p:last-child { margin-bottom: 0; }

.doc-alert {
    display: flex; gap: 0.75rem; align-items: flex-start;
    background: #FFF8EC;
    border: 1px solid rgba(255, 179, 0, 0.35);
    border-left: 4px solid var(--accent);
    border-radius: 10px;
    padding: 1rem 1.25rem; margin: 1rem 0;
    font-size: 0.9rem; color: #7a5800;
}
.doc-alert i { font-size: 1.25rem; color: var(--accent); flex-shrink: 0; margin-top: 1px; }
.doc-alert.info {
    background: rgba(51, 110, 158, 0.05);
    border-color: rgba(51, 110, 158, 0.2);
    border-left-color: var(--primary);
    color: var(--primary-dark);
}
.doc-alert.info i { color: var(--primary); }

.doc-table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid rgba(0,0,0,0.07); margin: 1rem 0; }
.doc-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; background: white; }
.doc-table thead tr { background: var(--primary); }
.doc-table th { padding: 0.75rem 1rem; text-align: left; color: white; font-weight: 600; font-size: 0.8rem; letter-spacing: 0.03em; }
.doc-table td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--bg-alt); color: var(--text-muted); vertical-align: top; }
.doc-table tr:last-child td { border-bottom: none; }
.doc-table tr:nth-child(even) td { background: var(--bg-alt); }

.tag { display: inline-block; background: rgba(51,110,158,0.1); color: var(--primary); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; border-radius: 100px; padding: 2px 8px; }

.doc-list { list-style: none; padding: 0; margin: 0.75rem 0; display: flex; flex-direction: column; gap: 0.5rem; }
.doc-list li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }
.doc-list li i { color: var(--primary); font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }

.doc-contact {
    background: var(--primary); border-radius: 16px; padding: 2rem 2.5rem;
    display: flex; align-items: center; justify-content: space-between;
    gap: 1.5rem; flex-wrap: wrap; margin-top: 3rem;
}
.doc-contact h3 { font-size: 1.2rem; color: white; font-weight: 700; margin-bottom: 0.25rem; }
.doc-contact p  { font-size: 0.9rem; color: rgba(255,255,255,0.7); margin: 0; }
.doc-contact-btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: white; color: var(--primary); font-weight: 600;
    font-size: 0.9rem; padding: 0.75rem 1.5rem; border-radius: 10px;
    text-decoration: none; transition: var(--transition); white-space: nowrap;
}
.doc-contact-btn:hover { background: var(--bg-alt); transform: translateY(-2px); }

.roles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin: 1rem 0; }
.role-card { background: var(--bg-alt); border: 1px solid rgba(0,0,0,0.04); border-radius: 14px; padding: 1.25rem 1rem; transition: var(--transition); }
.role-card:hover { background: white; border-color: rgba(51,110,158,0.15); box-shadow: 0 4px 16px rgba(51,110,158,0.08); }
.role-icon { font-size: 1.75rem; margin-bottom: 0.5rem; }
.role-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--primary); margin-bottom: 0.35rem; }
.role-card p  { font-size: 0.85rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* ══════════════════════════════════════════
   PÁGINA DE SUPORTE
   ══════════════════════════════════════════ */

.support-cards { padding: 4rem 0; }
.support-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    align-items: stretch;
}
.support-card {
    background: #fff;
    border: 1px solid rgba(51, 110, 158, 0.1);
    border-radius: 18px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}
.support-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(51, 110, 158, 0.1);
    border-color: rgba(51, 110, 158, 0.25);
}
.icon-box {
    width: 52px; height: 52px;
    background: rgba(51, 110, 158, 0.08);
    color: var(--primary);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
}
.icon-box i { font-size: 1.6rem; color: var(--primary); }
.support-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--text-main); margin-bottom: 0.5rem; }
.support-card p  { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }

.support-panel-card {
    background: #fff;
    border: 1px solid rgba(51, 110, 158, 0.10);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 12px 32px rgba(51, 110, 158, 0.06);
    max-width: 980px;
    margin: 0 auto;
}
.support-panel-head { text-align: center; margin-bottom: 2rem; }
.support-panel-head h3 { font-size: 1.8rem; color: var(--text-main); margin-bottom: 0.75rem; font-weight: 800; }
.support-panel-head p  { max-width: 700px; margin: 0 auto; color: var(--text-muted); line-height: 1.7; font-size: 0.98rem; }

.support-faq { display: flex; flex-direction: column; gap: 1rem; }
.support-faq .faq-item {
    background: #fff;
    border: 1px solid rgba(51, 110, 158, 0.12);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.25s ease;
}
.support-faq .faq-item:hover { border-color: rgba(51, 110, 158, 0.22); box-shadow: 0 12px 24px rgba(51, 110, 158, 0.06); }
.support-faq .faq-item.open  { border-color: rgba(51, 110, 158, 0.28); box-shadow: 0 16px 28px rgba(51, 110, 158, 0.08); }
.support-faq .faq-q {
    display: flex; justify-content: space-between; align-items: center;
    gap: 1rem; padding: 1.2rem 1.35rem; cursor: pointer;
}
.support-faq .faq-q > div { display: flex; flex-direction: column; gap: 0.2rem; }
.support-faq .faq-q strong { color: var(--text-main); font-size: 1rem; font-weight: 700; }
.support-faq .faq-q span   { color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; }
.support-faq .faq-q i { color: var(--primary); font-size: 1.35rem; flex-shrink: 0; transition: transform 0.25s ease; }
.support-faq .faq-item.open .faq-q i { transform: rotate(45deg); }
.support-faq .faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; padding: 0 1.35rem; color: var(--text-muted); line-height: 1.75; font-size: 0.95rem; }
.support-faq .faq-item.open .faq-a { max-height: 2000px; padding: 0 1.35rem 1.35rem; }

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */

@media (max-width: 960px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .profiles-grid { grid-template-columns: 1fr 1fr; }
    .finance-layout { grid-template-columns: 1fr; gap: 3rem; }
    .proof-grid { grid-template-columns: 1fr 1fr; }
    .support-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
    .hero-text h1 { font-size: 2.75rem; }
    .hero-text p  { margin: 0 auto 2.5rem; }
    .hero-buttons { justify-content: center; }
    .mockup-frame { transform: rotate(0); margin: 0 auto; }
}

/* ── DOCUMENTO MOBILE (820px) ── */
@media (max-width: 820px) {
    .doc-layout {
        grid-template-columns: 1fr;
        padding: 2rem 0 4rem;
    }
    .doc-sidebar { display: none; }
    .doc-content { width: 100%; overflow-x: hidden; }
}

@media (max-width: 640px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .profiles-grid { grid-template-columns: 1fr; }
    .proof-grid { grid-template-columns: 1fr; }
    .flow-grid::before { display: none; }
    .float-tag { display: none; }
}

@media (max-width: 600px) {
    .hero { padding: 8rem 0 4rem; }
    .hero-text h1 { font-size: 2.25rem; }
    .nav-links { display: none; }
    .section-header h2 { font-size: 2rem; }
    .doc-hero { padding: 7rem 0 2.5rem; }
    .doc-contact { flex-direction: column; }
    .doc-meta { gap: 0.75rem; }
}

@media (max-width: 768px) {
    .support-panel-card { padding: 1.25rem; border-radius: 18px; }
    .support-panel-head h3 { font-size: 1.35rem; }
    .support-faq .faq-q { align-items: flex-start; padding: 1rem; }
    .support-faq .faq-item.open .faq-a { padding: 0 1rem 1rem; }
}
