/* ================================================================
   Kesingan — Telecalling CRM
   Light-mode design system. No dark mode.
   ================================================================ */

:root {
    --brand: #6A2AF1;
    --brand-hover: #5518D4;
    --brand-light: #F3EDFF;
    --brand-bg: rgba(106, 42, 241, 0.06);

    --text-1: #0F172A;
    --text-2: #475569;
    --text-3: #94A3B8;

    --bg: #FFFFFF;
    --surface: #F8FAFC;
    --surface-alt: #F1F5F9;

    --border: #E2E8F0;
    --border-light: #F1F5F9;

    --green: #059669;
    --green-light: #ECFDF5;
    --red: #DC2626;
    --amber: #D97706;
    --blue: #2563EB;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-w: 1140px;
}


/* ---- Reset ---- */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-1);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; }


/* ---- Typography ---- */

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-1);
}

h1 { font-size: 3.5rem; font-weight: 800; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { color: var(--text-2); }

.section-label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 12px;
}

.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.section-head h2 {
    margin-bottom: 16px;
}

.section-head p {
    font-size: 1.125rem;
    color: var(--text-2);
}


/* ---- Layout ---- */

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

section {
    padding: 100px 24px;
}

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


/* ---- Buttons ---- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9375rem;
    border: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--brand);
    color: #fff;
}

.btn-primary:hover {
    background: var(--brand-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(106, 42, 241, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--text-1);
    border: 1.5px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--text-3);
    background: var(--surface);
}

.btn-sm { padding: 8px 18px; font-size: 0.875rem; }
.btn-lg { padding: 14px 30px; font-size: 1rem; }

.btn-ghost {
    background: transparent;
    color: var(--brand);
    padding: 12px 20px;
}

.btn-ghost:hover {
    background: var(--brand-bg);
}


/* ================================================================
   NAVBAR
   ================================================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    height: 30px;
    max-width: 160px;
    width: auto;
    flex-shrink: 0;
    object-fit: contain;
}

.footer-logo {
    height: 24px;
    width: auto;
    object-fit: contain;
}

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

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-2);
    transition: color 0.2s;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Hamburger */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-1);
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    z-index: 99;
    flex-direction: column;
    gap: 20px;
    box-shadow: var(--shadow-md);
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-2);
}


/* ================================================================
   HERO
   ================================================================ */

.hero {
    padding: 140px 24px 80px;
    max-width: var(--max-w);
    margin: 0 auto;
    text-align: center;
}

.hero-content {
    max-width: 760px;
    margin: 0 auto;
}

.hero h1 {
    margin-bottom: 24px;
    color: var(--text-1);
}

.hero-subtitle {
    font-size: 1.1875rem;
    line-height: 1.7;
    color: var(--text-2);
    max-width: 600px;
    margin: 0 auto 36px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Dashboard mockup in hero */
.hero-dashboard {
    margin-top: 72px;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.dashboard-frame {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.frame-header {
    height: 36px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 14px;
    gap: 6px;
}

.frame-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.frame-dot:nth-child(1) { background: #FF5F57; }
.frame-dot:nth-child(2) { background: #FFBD2E; }
.frame-dot:nth-child(3) { background: #28CA41; }

.dash-body {
    padding: 20px;
}

.dash-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}

.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
}

.stat-card .label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-3);
    margin-bottom: 6px;
}

.stat-card .value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-1);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-card .meta {
    font-size: 0.75rem;
    font-weight: 500;
}

.meta-purple { color: var(--brand); }
.meta-green { color: var(--green); }
.meta-blue { color: var(--blue); }

/* Leaderboard inside dashboard */
.lb {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.lb-head, .lb-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    padding: 12px 16px;
    font-size: 0.8125rem;
    align-items: center;
}

.lb-head {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-3);
    background: var(--surface-alt);
    border-bottom: 1px solid var(--border);
}

.lb-row {
    border-bottom: 1px solid var(--border-light);
    color: var(--text-2);
}

.lb-row:last-child { border-bottom: none; }

.lb-row .name {
    font-weight: 600;
    color: var(--text-1);
}

.lb-row .highlight {
    color: var(--brand);
    font-weight: 700;
}

.lb-row.top-row {
    background: var(--brand-bg);
}

.lb-row.top-row .name {
    color: var(--brand);
}


/* ================================================================
   STATS BAR
   ================================================================ */

.stats-bar {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 40px 24px;
}

.stats-row {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 64px;
    flex-wrap: wrap;
}

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

.stat-item .num {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-1);
    line-height: 1.2;
}

.stat-item .desc {
    font-size: 0.8125rem;
    color: var(--text-3);
    font-weight: 500;
    margin-top: 4px;
}


/* ================================================================
   HOW IT WORKS
   ================================================================ */

.steps-grid {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}

.step {
    text-align: center;
    position: relative;
}

.step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--brand-light);
    color: var(--brand);
    font-weight: 700;
    font-size: 1.125rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.step h3 {
    margin-bottom: 10px;
}

.step p {
    font-size: 0.9375rem;
    color: var(--text-2);
    max-width: 300px;
    margin: 0 auto;
}

/* Connector line between steps */
.steps-grid::before {
    content: '';
    position: absolute;
    top: 24px;
    left: calc(16.67% + 40px);
    right: calc(16.67% + 40px);
    height: 1px;
    background: var(--border);
}


/* ================================================================
   FEATURES
   ================================================================ */

.features-grid {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.feature-card:hover {
    border-color: rgba(106, 42, 241, 0.3);
    box-shadow: 0 8px 30px rgba(106, 42, 241, 0.08);
    transform: translateY(-2px);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--brand-light);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-2);
}


/* ================================================================
   SPLIT SECTIONS (App + Admin)
   ================================================================ */

.split {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.split.reverse {
    direction: rtl;
}

.split.reverse > * {
    direction: ltr;
}

.split-text .section-label,
.split-text h2 {
    text-align: left;
}

.split-text h2 {
    margin-bottom: 16px;
}

.split-text > p {
    font-size: 1.0625rem;
    margin-bottom: 32px;
    color: var(--text-2);
}

.split-feature {
    margin-bottom: 28px;
}

.split-feature:last-child {
    margin-bottom: 0;
}

.split-feature h3 {
    margin-bottom: 6px;
}

.split-feature p {
    font-size: 0.9375rem;
    color: var(--text-2);
    line-height: 1.6;
}


/* ---- Mobile Mockup ---- */

.phone-frame {
    width: 290px;
    background: var(--bg);
    border: 6px solid #1E293B;
    border-radius: 36px;
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,0.05);
    margin: 0 auto;
}

.phone-screen {
    display: flex;
    flex-direction: column;
    height: 560px;
}

.phone-bar {
    background: var(--surface);
    padding: 16px 14px 12px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-1);
}

.phone-badge {
    background: var(--brand);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
}

.phone-list {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
}

.phone-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px;
}

.phone-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
}

.phone-card-top .lead-name {
    font-weight: 600;
    font-size: 0.8125rem;
    color: var(--text-1);
}

.priority-tag {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 2px 6px;
    border-radius: 4px;
}

.priority-tag.high {
    background: #FEF2F2;
    color: var(--red);
}

.priority-tag.med {
    background: #FFFBEB;
    color: var(--amber);
}

.phone-card .phone-num {
    font-size: 0.75rem;
    color: var(--text-3);
    margin-bottom: 8px;
}

.phone-card .phone-meta {
    font-size: 0.6875rem;
    color: var(--text-3);
    margin-bottom: 10px;
}

.phone-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.phone-btn {
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 6px 0;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text-2);
    text-align: center;
}

.phone-btn.wa {
    background: var(--green-light);
    border-color: transparent;
    color: var(--green);
}

.phone-tab-bar {
    display: flex;
    border-top: 1px solid var(--border);
    background: var(--surface);
}

.phone-tab {
    flex: 1;
    text-align: center;
    padding: 10px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-3);
}

.phone-tab.active {
    color: var(--brand);
    font-weight: 600;
}


/* ---- Admin Mockup ---- */

.admin-frame {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.admin-bar {
    height: 44px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8125rem;
}

.admin-bar .ab-brand {
    font-weight: 700;
    color: var(--text-1);
}

.admin-bar .ab-label {
    color: var(--text-3);
    font-weight: 500;
}

.admin-body {
    display: flex;
    min-height: 320px;
}

.admin-side {
    width: 120px;
    background: var(--surface);
    border-right: 1px solid var(--border);
    padding: 12px 0;
    flex-shrink: 0;
}

.admin-side-link {
    display: block;
    padding: 8px 16px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-3);
}

.admin-side-link.active {
    color: var(--brand);
    background: var(--brand-bg);
    border-right: 2px solid var(--brand);
    font-weight: 600;
}

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

.admin-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.admin-kpi {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px;
}

.admin-kpi .kpi-label {
    font-size: 0.6875rem;
    color: var(--text-3);
    font-weight: 500;
    margin-bottom: 4px;
}

.admin-kpi .kpi-val {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-1);
}

/* Rep table inside admin */
.admin-table {
    flex: 1;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.at-head, .at-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    padding: 8px 12px;
    font-size: 0.6875rem;
    align-items: center;
}

.at-head {
    background: var(--surface-alt);
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-3);
}

.at-row {
    border-bottom: 1px solid var(--border-light);
    color: var(--text-2);
}

.at-row:last-child { border-bottom: none; }

.at-row .at-name {
    font-weight: 600;
    color: var(--text-1);
}

.at-row .at-hi {
    color: var(--brand);
    font-weight: 700;
}


/* ================================================================
   PRICING
   ================================================================ */

.pricing-grid {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.price-card {
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    position: relative;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.price-card:hover {
    border-color: var(--brand);
    box-shadow: 0 8px 30px rgba(106, 42, 241, 0.1);
}

.price-card.featured {
    border-color: var(--brand);
    box-shadow: 0 8px 30px rgba(106, 42, 241, 0.12);
}

.price-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 100px;
}

.price-card .plan-name {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-1);
}

.price-card .plan-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-1);
    line-height: 1;
    margin-bottom: 4px;
}

.price-card .plan-period {
    font-size: 0.8125rem;
    color: var(--text-3);
    margin-bottom: 24px;
}

.price-card .plan-desc {
    font-size: 0.875rem;
    color: var(--text-2);
    margin-bottom: 24px;
    line-height: 1.5;
}

.plan-features {
    margin-bottom: 28px;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--text-2);
    margin-bottom: 12px;
    line-height: 1.4;
}

.plan-features li::before {
    content: '';
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--green-light);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23059669'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
    background-size: 14px;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 1px;
}

.price-card .btn {
    width: 100%;
}


/* ================================================================
   FAQ
   ================================================================ */

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
    border-top: 1px solid var(--border);
}

.faq-q {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-1);
    text-align: left;
    line-height: 1.4;
    gap: 16px;
}

.faq-q:hover {
    color: var(--brand);
}

.faq-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s;
    color: var(--text-3);
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    color: var(--brand);
}

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

.faq-item.open .faq-a {
    max-height: 200px;
}

.faq-a p {
    padding-bottom: 20px;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-2);
}


/* ================================================================
   CTA BANNER
   ================================================================ */

.cta-section {
    padding: 100px 24px;
}

.cta-box {
    max-width: 900px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 72px 48px;
    text-align: center;
}

.cta-box h2 {
    margin-bottom: 12px;
}

.cta-box p {
    font-size: 1.0625rem;
    color: var(--text-2);
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}


/* ================================================================
   FOOTER
   ================================================================ */

.site-footer {
    border-top: 1px solid var(--border);
    padding: 64px 24px 32px;
    background: var(--surface);
}

.footer-grid {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-brand .brand-icon { width: 24px; height: 24px; }
.footer-brand .brand-name { font-size: 1rem; font-weight: 800; }

.footer-about p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-3);
    max-width: 280px;
}

.footer-col h4 {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-3);
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    font-size: 0.875rem;
    color: var(--text-2);
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--brand);
}

.footer-bottom {
    max-width: var(--max-w);
    margin: 0 auto;
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom span {
    font-size: 0.8125rem;
    color: var(--text-3);
}

.footer-india {
    font-size: 0.8125rem;
    color: var(--text-3);
}


/* ================================================================
   ANIMATIONS
   ================================================================ */

.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }


/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 1024px) {
    h1 { font-size: 2.75rem; }
    h2 { font-size: 2rem; }

    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid .price-card:last-child { grid-column: 1 / -1; max-width: 400px; margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }

    section { padding: 72px 20px; }

    .nav-links { display: none; }
    .nav-actions { display: none; }
    .mobile-menu-btn { display: flex; }

    .dash-stats { grid-template-columns: repeat(2, 1fr); }
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .steps-grid::before { display: none; }
    .features-grid { grid-template-columns: 1fr; }

    .split {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .split.reverse { direction: ltr; }

    .phone-frame { width: 260px; }
    .phone-screen { height: 480px; }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    .pricing-grid .price-card:last-child { max-width: none; }

    .stats-row { gap: 32px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

    .cta-box { padding: 48px 24px; }

    .admin-side { width: 80px; }
    .admin-side-link { font-size: 0.6875rem; padding: 6px 10px; }
    .admin-kpis { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.875rem; }

    .hero { padding: 120px 16px 60px; }
    .hero-subtitle { font-size: 1rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 100%; max-width: 280px; }

    .dash-stats { grid-template-columns: 1fr; }
    .lb-head, .lb-row { font-size: 0.6875rem; padding: 10px 12px; }

    .stat-item .num { font-size: 1.5rem; }
    .stats-row { gap: 24px; }
}
