/* ===== Reset & base ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #0f172a;
    background: #fff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
}

/* ===== Variables ===== */
:root {
    --primary: #0d6efd;
    --primary-light: rgba(13, 110, 253, 0.12);
    --primary-border: rgba(13, 110, 253, 0.20);
    --success: #198754;
    --success-light: rgba(25, 135, 84, 0.12);
    --warning: #ffc107;
    --warning-light: rgba(255, 193, 7, 0.15);
    --info: #0dcaf0;
    --info-light: rgba(13, 202, 240, 0.15);
    --dark: #0f172a;
    --dark-muted: rgba(15, 23, 42, 0.75);
    --dark-soft: rgba(15, 23, 42, 0.08);
    --light: #f8fafc;
    --white: #fff;
    --radius: 1rem;
    --radius-lg: 1.25rem;
    --shadow: 0 12px 30px rgba(2, 6, 23, 0.10);
    --shadow-lg: 0 18px 50px rgba(2, 6, 23, 0.08);
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 768px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 0.375rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: #0b5ed7;
    border-color: #0a58ca;
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--dark);
    border-color: rgba(15, 23, 42, 0.25);
}

.btn-outline:hover {
    background: rgba(15, 23, 42, 0.05);
    border-color: rgba(15, 23, 42, 0.4);
}

/* ===== Nav ===== */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--dark-soft);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--dark);
}

.nav-brand .nav-logo {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    padding: 0.5rem 0.75rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--dark);
    opacity: 0.9;
}

.nav-link:hover {
    opacity: 1;
    text-decoration: underline;
}

@media (max-width: 767px) {
    .nav-link--hide-mobile {
        display: none;
    }
}

/* ===== Hero ===== */
.hero {
    background:
        radial-gradient(800px 380px at 15% 15%, rgba(13, 110, 253, 0.18), transparent 60%),
        radial-gradient(700px 340px at 85% 20%, rgba(25, 135, 84, 0.14), transparent 60%),
        linear-gradient(180deg, var(--white) 0%, var(--light) 100%);
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

@media (min-width: 992px) {
    .hero {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

.hero-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: rgba(13, 110, 253, 0.1);
    border: 1px solid var(--primary-border);
    font-weight: 600;
    font-size: 0.9rem;
}

.hero-title {
    margin: 0 0 1rem;
    font-size: clamp(1.75rem, 4vw, 3rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 800;
    color: var(--dark);
}

.hero-subtitle {
    margin: 0 0 1.5rem;
    max-width: 52ch;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--dark-muted);
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 576px) {
    .hero-actions {
        flex-direction: row;
    }
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: rgba(15, 23, 42, 0.72);
}

.hero-trust-item {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid var(--dark-soft);
}

/* ===== Shot (screenshot area) ===== */
.shot {
    background: var(--white);
    border: 1px solid var(--dark-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.shot-img {
    width: 100%;
    height: auto;
}

.shot--fallback .shot-img {
    display: none;
}

.shot-fallback {
    display: none;
    padding: 2.5rem 2rem;
    text-align: center;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.shot--fallback .shot-fallback {
    display: flex;
}

.shot-icon {
    width: 76px;
    height: 76px;
    border-radius: 18px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shot-fallback strong {
    font-weight: 600;
}

.shot-fallback span {
    font-size: 0.9rem;
    color: var(--dark-muted);
}

/* ===== Proof section ===== */
.proof {
    background: var(--white);
    border-top: 1px solid var(--dark-soft);
    border-bottom: 1px solid var(--dark-soft);
    padding: 1.5rem 0;
}

.proof-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .proof-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .proof-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.proof-card {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    padding: 1rem;
    background: var(--white);
    border: 1px solid var(--dark-soft);
    border-radius: var(--radius);
    color: rgba(15, 23, 42, 0.92);
}

.proof-card strong {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.proof-card p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--dark-muted);
}

.proof-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.proof-icon--primary {
    background: var(--primary-light);
    color: var(--primary);
}

.proof-icon--success {
    background: var(--success-light);
    color: var(--success);
}

.proof-icon--warning {
    background: var(--warning-light);
    color: #b38600;
}

.proof-icon--info {
    background: var(--info-light);
    color: #0aa2c0;
}

/* ===== Sections ===== */
.section {
    padding: 2.5rem 0;
    background: var(--white);
}

.section--light {
    background: var(--light);
}

@media (min-width: 992px) {
    .section {
        padding: 3rem 0;
    }
}

.section-header {
    max-width: 62ch;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

.section-header p {
    margin: 0;
    color: var(--dark-muted);
}

/* ===== Steps ===== */
.steps-grid {
    display: grid;
    gap: 1rem;
    margin-top: 0.5rem;
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.step {
    padding: 1.25rem;
    background: var(--white);
    border: 1px solid var(--dark-soft);
    border-radius: var(--radius);
    height: 100%;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 0.75rem;
    border-radius: 14px;
    font-weight: 800;
    font-size: 1.1rem;
    background: var(--primary-light);
    color: var(--primary);
}

.step h3 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
}

.step p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--dark-muted);
}

/* ===== Features ===== */
.features-grid {
    display: grid;
    gap: 1rem;
    margin-top: 0.5rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    padding: 1.5rem;
    background: var(--white);
    border: 1px solid var(--dark-soft);
    border-radius: var(--radius);
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 0.85rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.feature-icon--primary {
    background: var(--primary-light);
    color: var(--primary);
}

.feature-icon--success {
    background: var(--success-light);
    color: var(--success);
}

.feature-icon--info {
    background: var(--info-light);
    color: #0aa2c0;
}

.feature-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
}

.feature-card p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--dark-muted);
}

/* ===== CTA ===== */
.cta-grid {
    display: grid;
    gap: 1.5rem;
    align-items: center;
}

@media (min-width: 992px) {
    .cta-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

.cta-content h2 {
    margin: 0 0 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

.cta-content p {
    margin: 0;
    color: var(--dark-muted);
}

.cta-card {
    padding: 1.25rem;
    background: var(--white);
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.cta-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.cta-card-title {
    font-weight: 700;
    color: var(--dark);
}

.cta-card-note {
    margin: 0 0 1rem;
    font-size: 0.875rem;
    color: var(--dark-muted);
}

.cta-card-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.badge {
    display: inline-block;
    padding: 0.35rem 0.65rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 0.375rem;
}

.badge--success {
    background: var(--success);
    color: var(--white);
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-copy {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-link {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-link:hover {
    color: var(--white);
    text-decoration: underline;
}
