/**
 * eWarrant — Landing page styles
 * Pro-level, on-brand (primary blue, Barlow), no generic AI aesthetic
 */

.landing {
    font-family: 'Barlow', -apple-system, sans-serif;
    color: #1a1a2e;
    background: #fff;
    overflow-x: hidden;
}

/* ---- Nav ---- */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.landing-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #1a1a2e;
    font-weight: 700;
    font-size: 1.25rem;
}

.landing-brand-img {
    height: 36px;
    width: auto;
}

.landing-brand-name {
    letter-spacing: -0.02em;
}

.landing-btn-nav {
    font-weight: 600;
    border-radius: 10px;
}

.landing-nav-link {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease;
}

.landing-nav-link:hover {
    color: #284796;
    background: rgba(40, 71, 150, 0.06);
}

/* ---- Hero ---- */
.landing-hero {
    position: relative;
    padding-top: 4rem;
    min-height: 75vh;
    display: flex;
    align-items: center;
}

.landing-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, #f8fafc 0%, #f0f4fa 45%, #e8eef6 100%);
    background-image:
        linear-gradient(160deg, #f8fafc 0%, #f0f4fa 45%, #e8eef6 100%),
        radial-gradient(circle at 20% 30%, rgba(40, 71, 150, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(40, 71, 150, 0.04) 0%, transparent 45%);
}

.min-vh-75 {
    min-height: 65vh;
}

.landing-hero-title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #1a1a2e;
    margin-bottom: 1.25rem;
}

.landing-hero-lead {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #475569;
    max-width: 28rem;
}

.landing-cta {
    font-weight: 600;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.landing-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(40, 71, 150, 0.25);
}

/* Hero visual: compact sample warrant card */
.landing-hero-visual {
    display: inline-block;
    padding: 0.5rem;
}

.landing-hero-visual .wc {
    max-width: 280px;
    width: 100%;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(40, 71, 150, 0.08);
    border-radius: 10px;
}

.landing-hero-visual .wc-top {
    padding: 10px 14px;
    border-bottom-width: 1px;
}

.landing-hero-visual .wc-biz { font-size: 14px; }
.landing-hero-visual .wc-biz-info { font-size: 9px; margin-top: 1px; }
.landing-hero-visual .wc-title { font-size: 8px; margin-top: 6px; letter-spacing: 1px; }
.landing-hero-visual .wc-id { font-size: 10px; }
.landing-hero-visual .wc-status { padding: 3px 8px; font-size: 8px; }

.landing-hero-visual .wc-body {
    padding: 10px 14px;
}

.landing-hero-visual .wc-product-bar {
    padding: 8px 12px;
    margin-bottom: 8px;
    border-radius: 6px;
}

.landing-hero-visual .wc-product-bar .wc-label { font-size: 8px; margin-bottom: 2px; }
.landing-hero-visual .wc-product-bar .wc-val { font-size: 11px; }

.landing-hero-visual .wc-row { margin-bottom: 0; }
.landing-hero-visual .wc-col { padding: 4px 6px; }
.landing-hero-visual .wc-label { font-size: 8px; margin-bottom: 2px; }
.landing-hero-visual .wc-val { font-size: 11px; }

.landing-hero-visual .wc-divider { margin: 4px 0; }

.landing-hero-visual .wc-dates {
    padding: 8px 12px;
    border-radius: 6px;
}

.landing-hero-visual .wc-dates .wc-val { font-size: 10px; }

.landing-hero-visual .wc-terms-row {
    margin-top: 8px;
    padding-top: 8px;
    gap: 8px;
}

.landing-hero-visual .wc-stamp-col img {
    height: 20px !important;
    width: auto !important;
}

.landing-hero-visual .wc-bottom {
    padding: 10px 14px;
    gap: 10px;
}

.landing-hero-visual .wc-qr-col img {
    width: 70px !important;
    height: 70px !important;
    border-width: 2px !important;
}

.landing-hero-visual .wc-verify-title { font-size: 8px; }
.landing-hero-visual .wc-verify-url { font-size: 8px; margin-top: 2px; }

.landing-hero-visual .wc-footer {
    padding: 6px 14px;
    font-size: 9px;
}

@media (max-width: 991.98px) {
    .landing-hero-visual .wc {
        max-width: 100%;
    }
}

/* ---- Features ---- */
.landing-section {
    background: #fff;
}

.landing-section-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1a1a2e;
}

.landing-feature-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.75rem;
    height: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.landing-feature-card:hover {
    border-color: rgba(40, 71, 150, 0.2);
    box-shadow: 0 12px 32px rgba(40, 71, 150, 0.08);
}

.landing-feature-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #284796 0%, #1d3470 100%);
    color: #fff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.landing-feature-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.landing-feature-text {
    font-size: 0.95rem;
    line-height: 1.55;
    color: #64748b;
    margin: 0;
}

/* ---- How it works ---- */
.landing-how {
    background: #f8fafc;
}

.landing-step {
    text-align: center;
    padding: 1.5rem 1rem;
}

.landing-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #284796;
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.landing-step-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.landing-step-text {
    font-size: 0.95rem;
    line-height: 1.55;
    color: #64748b;
    margin: 0;
}

/* ---- Section lead ---- */
.landing-section-lead {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

/* ---- Pricing ---- */
.landing-pricing {
    background: #f8fafc;
}

.landing-pricing-note {
    font-size: 0.95rem;
    color: #64748b;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.landing-price-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.landing-price-card:hover {
    border-color: rgba(40, 71, 150, 0.25);
    box-shadow: 0 12px 32px rgba(40, 71, 150, 0.1);
}

.landing-price-card-featured {
    border-color: #284796;
    border-width: 2px;
    box-shadow: 0 12px 40px rgba(40, 71, 150, 0.15);
}

.landing-price-card-featured:hover {
    box-shadow: 0 16px 48px rgba(40, 71, 150, 0.2);
}

.landing-price-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #284796 0%, #1d3470 100%);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.landing-price-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.25rem;
}

.landing-price-desc {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 1.25rem;
}

.landing-price-amount {
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e2e8f0;
}

.landing-price-currency {
    font-size: 1rem;
    font-weight: 600;
    color: #64748b;
}

.landing-price-value {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1a1a2e;
    letter-spacing: -0.02em;
}

.landing-price-period {
    font-size: 0.95rem;
    color: #64748b;
}

.landing-price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    flex: 1;
}

.landing-price-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #475569;
    padding: 0.35rem 0;
}

.landing-price-features li i {
    color: #10b981;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.landing-price-cta {
    font-weight: 600;
    border-radius: 10px;
    margin-top: auto;
}

/* ---- CTA block ---- */
.landing-cta-section {
    background: linear-gradient(135deg, #284796 0%, #1d3470 100%);
    color: #fff;
}

.landing-cta-block {
    text-align: center;
    padding: 2rem 1rem;
}

.landing-cta-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.landing-cta-lead {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.landing-cta-section .btn-primary {
    background: #fff;
    color: #284796;
    border: none;
}

.landing-cta-section .btn-primary:hover {
    background: #f0f4fa;
    color: #1d3470;
}

/* ---- Footer ---- */
.landing-footer {
    background: #f1f5f9;
    border-top: 1px solid #e2e8f0;
}

.landing-footer-brand {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1a1a2e;
}

.landing-footer-tagline {
    font-size: 0.9rem;
}

.landing-footer-link {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}

.landing-footer-link:hover {
    color: #284796;
}

/* Responsive */
@media (max-width: 991.98px) {
    .landing-hero {
        min-height: auto;
        padding-bottom: 3rem;
    }

    .landing-hero-title,
    .landing-hero-lead {
        text-align: center;
    }

    .landing-hero-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .landing-hero .d-flex.flex-wrap {
        justify-content: center;
    }
}
