/* =============================================================
   KasirPro — Landing Page
   Design: Dark theme, DM Serif Display + DM Sans, gold accent
   ============================================================= */

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

:root {
    --bg:         #0D0F14;
    --surface:    #13161D;
    --panel:      #181C26;
    --card:       #1E2230;
    --border:     rgba(255,255,255,0.07);
    --border-hi:  rgba(255,255,255,0.14);
    --gold:       #C9A84C;
    --gold-dim:   rgba(201,168,76,0.10);
    --gold-glow:  rgba(201,168,76,0.25);
    --green:      #1a6b4a;
    --green-dim:  rgba(26,107,74,0.15);
    --text:       #F0EDE6;
    --muted:      #8A8880;
    --muted-hi:   #B8B5AF;
    --danger:     #E05555;
    --radius:     14px;
    --radius-sm:  8px;
    --radius-lg:  20px;
    --max-w:      1120px;
}

html, body {
    background: var(--bg);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    scroll-behavior: smooth;
}

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

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

/* ─────────────────────────────────────────
   NAVBAR
───────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(13,15,20,0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

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

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

.nav-logo-mark {
    width: 36px; height: 36px;
    background: var(--gold);
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.nav-logo-mark svg { width: 20px; height: 20px; }

.nav-logo-name {
    font-family: 'DM Serif Display', serif;
    font-size: 20px;
    letter-spacing: -0.3px;
    color: var(--text);
}

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

.nav-link-ghost {
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--muted-hi);
    transition: color 0.2s;
}

.nav-link-ghost:hover { color: var(--text); }

.nav-link-primary {
    padding: 8px 20px;
    background: var(--gold);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: #0D0F14;
    transition: opacity 0.2s, transform 0.15s;
}

.nav-link-primary:hover { opacity: 0.92; transform: translateY(-1px); }

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero {
    position: relative;
    padding: 140px 24px 100px;
    text-align: center;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -120px; left: 50%; transform: translateX(-50%);
    width: 700px; height: 400px;
    background: radial-gradient(ellipse at center, rgba(201,168,76,0.14) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--gold-dim);
    border: 1px solid rgba(201,168,76,0.25);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gold);
    margin-bottom: 28px;
}

.hero-badge i { font-size: 14px; }

.hero-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(36px, 5.5vw, 72px);
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--text);
    max-width: 800px;
    margin: 0 auto 20px;
}

.hero-title span { color: var(--gold); }

.hero-desc {
    font-size: clamp(15px, 1.4vw, 18px);
    color: var(--muted-hi);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--gold);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    color: #0D0F14;
    transition: opacity 0.2s, transform 0.15s;
}

.btn-primary:hover { opacity: 0.92; transform: translateY(-1px); }

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    border: 1px solid var(--border-hi);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 500;
    color: var(--muted-hi);
    transition: border-color 0.2s, color 0.2s;
}

.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.hero-note {
    margin-top: 16px;
    font-size: 13px;
    color: var(--muted);
}

.hero-note i { font-size: 13px; }

/* App preview mockup */
.hero-preview {
    margin: 60px auto 0;
    max-width: 860px;
    background: var(--surface);
    border: 1px solid var(--border-hi);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(201,168,76,0.08);
}

.preview-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

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

.preview-dot--red   { background: #E05555; }
.preview-dot--amber { background: #f0a500; }
.preview-dot--green { background: #3DAA7A; }

.preview-url {
    flex: 1;
    background: var(--panel);
    border-radius: 6px;
    height: 26px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    font-size: 11px;
    color: var(--muted);
    font-family: monospace;
}

.preview-screen {
    background: var(--bg);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

/* Mini dashboard mockup inside preview */
.mock-sidebar {
    display: flex;
    height: 280px;
}

.mock-sb-inner {
    width: 160px;
    background: var(--surface);
    border-right: 1px solid var(--border);
    padding: 16px 12px;
    flex-shrink: 0;
}

.mock-sb-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
}

.mock-sb-logo-mark {
    width: 22px; height: 22px;
    background: var(--gold);
    border-radius: 5px;
}

.mock-sb-logo-name {
    font-family: 'DM Serif Display', serif;
    font-size: 12px;
    color: var(--text);
}

.mock-nav-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border-radius: 6px;
    margin-bottom: 2px;
    font-size: 10px;
    color: var(--muted);
}

.mock-nav-item--active {
    background: rgba(26,107,74,0.18);
    color: #3DAA7A;
}

.mock-nav-item i { font-size: 12px; }

.mock-main {
    flex: 1;
    padding: 16px;
    overflow: hidden;
}

.mock-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.mock-metric {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px;
}

.mock-metric-label { font-size: 8px; color: var(--muted); margin-bottom: 4px; }
.mock-metric-value { font-size: 11px; font-weight: 700; color: var(--text); }

.mock-chart {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    height: 80px;
    display: flex;
    align-items: flex-end;
    padding: 8px;
    gap: 4px;
}

.mock-bar {
    flex: 1;
    border-radius: 3px 3px 0 0;
    background: rgba(26,107,74,0.4);
}

/* ─────────────────────────────────────────
   LOGOS / TRUST BAR
───────────────────────────────────────── */
.trust-bar {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 28px 24px;
    text-align: center;
}

.trust-bar p {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trust-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted-hi);
}

.trust-badge i { font-size: 18px; color: var(--gold); }

/* ─────────────────────────────────────────
   FEATURES
───────────────────────────────────────── */
.section {
    padding: 96px 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

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

.section-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(28px, 3.5vw, 44px);
    line-height: 1.15;
    letter-spacing: -0.5px;
    color: var(--text);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 16px;
    color: var(--muted-hi);
    max-width: 520px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: border-color 0.25s, transform 0.2s;
}

.feature-card:hover {
    border-color: rgba(201,168,76,0.3);
    transform: translateY(-3px);
}

.feature-icon {
    width: 44px; height: 44px;
    background: var(--gold-dim);
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 22px;
    color: var(--gold);
}

.feature-title {
    font-weight: 700;
    font-size: 15px;
    color: var(--text);
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.65;
}

/* ─────────────────────────────────────────
   HOW IT WORKS
───────────────────────────────────────── */
.steps-section { background: var(--surface); }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    max-width: var(--max-w);
    margin: 0 auto;
}

.step-card { text-align: center; padding: 8px; }

.step-num {
    width: 48px; height: 48px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'DM Serif Display', serif;
    font-size: 22px;
    color: #0D0F14;
    margin: 0 auto 20px;
}

.step-title {
    font-weight: 700;
    font-size: 16px;
    color: var(--text);
    margin-bottom: 10px;
}

.step-desc {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.65;
}

/* ─────────────────────────────────────────
   PRICING
───────────────────────────────────────── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 820px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    position: relative;
}

.pricing-card--featured {
    border-color: var(--gold);
    background: linear-gradient(135deg, var(--surface) 0%, rgba(201,168,76,0.05) 100%);
}

.pricing-badge {
    position: absolute;
    top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--gold);
    color: #0D0F14;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 100px;
    white-space: nowrap;
}

.pricing-name {
    font-weight: 700;
    font-size: 15px;
    color: var(--muted-hi);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-price {
    font-family: 'DM Serif Display', serif;
    font-size: 40px;
    line-height: 1;
    color: var(--text);
    margin-bottom: 6px;
}

.pricing-price span { font-size: 18px; font-family: 'DM Sans', sans-serif; font-weight: 400; color: var(--muted); }

.pricing-period {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 28px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
    font-size: 14px;
    color: var(--muted-hi);
    border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child { border-bottom: none; }

.pricing-features li i { font-size: 15px; color: #3DAA7A; margin-top: 2px; flex-shrink: 0; }

.pricing-cta {
    display: block;
    width: 100%;
    padding: 12px;
    text-align: center;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

.pricing-cta--outline {
    border: 1px solid var(--border-hi);
    color: var(--muted-hi);
}

.pricing-cta--outline:hover { border-color: var(--gold); color: var(--gold); }

.pricing-cta--primary {
    background: var(--gold);
    color: #0D0F14;
}

.pricing-cta--primary:hover { opacity: 0.9; }

/* ─────────────────────────────────────────
   TESTIMONIALS
───────────────────────────────────────── */
.testimonials-section { background: var(--panel); }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: var(--max-w);
    margin: 0 auto;
}

.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}

.testimonial-stars {
    color: var(--gold);
    font-size: 14px;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 14px;
    color: var(--muted-hi);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

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

.testimonial-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--gold-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    color: var(--gold);
    flex-shrink: 0;
}

.testimonial-name { font-weight: 600; font-size: 14px; }
.testimonial-role { font-size: 12px; color: var(--muted); }

/* ─────────────────────────────────────────
   FINAL CTA
───────────────────────────────────────── */
.cta-section {
    padding: 100px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center 40%, rgba(201,168,76,0.12) 0%, transparent 65%);
    pointer-events: none;
}

.cta-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(28px, 4vw, 52px);
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.cta-title span { color: var(--gold); }

.cta-desc {
    font-size: 16px;
    color: var(--muted-hi);
    margin-bottom: 36px;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 40px 24px;
}

.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo-mark {
    width: 28px; height: 28px;
    background: var(--gold);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-mark svg { width: 16px; height: 16px; }

.footer-logo-name {
    font-family: 'DM Serif Display', serif;
    font-size: 16px;
    color: var(--text);
}

.footer-copy { font-size: 13px; color: var(--muted); }

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    font-size: 13px;
    color: var(--muted);
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--gold); }

/* ─────────────────────────────────────────
   PROBLEM-SOLUTION SECTION (replaces testimonials)
───────────────────────────────────────── */
.problem-icon {
    font-size: 28px;
    color: var(--gold);
    margin-bottom: 14px;
}

.testimonial-avatar--green {
    background: rgba(61,170,122,0.15);
    color: #3DAA7A;
}

/* Pro badge inline in feature / section titles */
.feature-pro-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    background: var(--gold);
    color: #0D0F14;
    border-radius: 100px;
    margin-left: 8px;
    vertical-align: middle;
    font-family: 'DM Sans', sans-serif;
    letter-spacing: 0.5px;
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 768px) {
    .nav-links { gap: 4px; }
    .nav-link-ghost { display: none; }
    .hero { padding: 120px 16px 72px; }
    .hero-preview { display: none; }
    .section { padding: 64px 16px; }
    .trust-bar { padding: 20px 16px; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
    .mock-sidebar { display: none; }
}
