/* home.css — page-specific styles for home.blade.php
   Utility classes (display, flex, gap, padding, margin,
   font-size, font-weight, text-align, etc.) come from utils.css.
   Only project-specific values live here. */

/* ── CSS variables needed by profile/subscription modals ── */
:root {
    --clr-surface-2:    #FFF7ED;
    --clr-text-2:       #374151;
    --clr-primary-glow: #FFF4E6;
}

/* ── Shared buttons ── */
.btn-primary, .btn-secondary {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-width: 180px; height: 56px; padding: 16px 32px; border-radius: 16px;
    font-family: inherit; font-size: 16px; font-weight: 600; line-height: 1;
    cursor: pointer; white-space: nowrap; text-decoration: none;
    transition: filter 250ms ease, border-color 250ms ease, color 250ms ease,
                transform 250ms ease, box-shadow 250ms ease, background 250ms ease;
}
.btn-primary i, .btn-primary svg, .btn-secondary i, .btn-secondary svg { font-size: 18px; width: 18px; height: 18px; }

.btn-primary {
    background: linear-gradient(135deg, #FF7A18, #F97316); color: #fff; border: none;
    box-shadow: 0 12px 30px rgba(249,115,22,0.25);
}
.btn-primary:hover:not(:disabled) { filter: brightness(0.92); transform: translateY(-2px) scale(1.02); box-shadow: 0 16px 40px rgba(249,115,22,0.35); }
.btn-primary:active:not(:disabled) { transform: scale(0.98); }
.btn-primary:disabled { background: #FDBA74; color: #fff; cursor: not-allowed; box-shadow: none; transform: none; }

.btn-secondary {
    background: #fff; color: #F97316; border: 1.5px solid #F97316; box-shadow: none;
}
.btn-secondary:hover:not(:disabled) { background: #FFF7ED; border-color: #EA580C; color: #EA580C; transform: translateY(-1px) scale(1.01); }
.btn-secondary:active:not(:disabled) { transform: scale(0.98); }
.btn-secondary:disabled { border-color: #E5E7EB; color: #9CA3AF; background: #FAFAFA; cursor: not-allowed; transform: none; }

.btn-primary:focus-visible, .btn-secondary:focus-visible { outline: 2px solid #FED7AA; outline-offset: 2px; }

@media (max-width: 640px) {
    .btn-primary, .btn-secondary { width: 100%; height: 52px; }
}

/* ── Hero ── */
.hero2 {
    position: relative; overflow: hidden;
    background: linear-gradient(180deg, #FFF7ED 0%, #FFFFFF 55%);
    padding: 96px 32px 64px;
}
.hero2-decor-dots {
    position: absolute; top: 0; right: 0; width: 340px; height: 340px;
    background-image: radial-gradient(circle, #FDBA74 1.5px, transparent 1.5px);
    background-size: 20px 20px; opacity: 0.35; pointer-events: none;
}
.hero2-decor-blob {
    position: absolute; top: -120px; right: -160px; width: 480px; height: 480px;
    background: radial-gradient(circle, rgba(253,186,116,0.35) 0%, transparent 70%);
    border-radius: 50%; pointer-events: none;
}
.hero2-inner {
    max-width: 1280px; margin: 0 auto; position: relative; z-index: 1;
    display: grid; grid-template-columns: 45% 55%; gap: 64px; align-items: center;
}
.hero2-badge {
    display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700;
    color: #EA580C; background: #FED7AA; padding: 7px 16px; border-radius: 999px; margin-bottom: 22px;
}
.hero2-title { font-size: 44px; font-weight: 800; line-height: 1.15; letter-spacing: -1px; color: #111827; margin-bottom: 18px; -webkit-text-wrap: balance; text-wrap: balance; }
.hero2-title span { color: #F97316; }
.hero2-sub { font-size: 16.5px; color: #6B7280; line-height: 1.7; max-width: 440px; margin-bottom: 32px; }
.hero2-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 36px; }
.hero2-feature { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 12.5px; font-weight: 700; color: #374151; }
.hero2-feature-ic {
    width: 44px; height: 44px; border-radius: 14px; background: #FED7AA; color: #F97316;
    display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.hero2-cta {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-width: 180px; background: linear-gradient(135deg, #FF7A18, #F97316); color: #fff;
    border: none; border-radius: 16px; height: 56px; padding: 16px 32px;
    font-size: 16px; font-weight: 600; font-family: inherit; cursor: pointer;
    box-shadow: 0 12px 30px rgba(249,115,22,0.25);
    transition: transform 250ms ease, box-shadow 250ms ease, filter 250ms ease;
}
.hero2-cta:hover:not(:disabled) { filter: brightness(0.92); transform: translateY(-2px) scale(1.02); box-shadow: 0 16px 40px rgba(249,115,22,0.35); }
.hero2-cta:active:not(:disabled) { transform: scale(0.98); }
.hero2-cta:disabled { background: #FDBA74; cursor: not-allowed; box-shadow: none; transform: none; }
.hero2-cta:focus-visible { outline: 2px solid #FED7AA; outline-offset: 2px; }
.hero2-note { margin-top: 16px; font-size: 13.5px; color: #9CA3AF; font-style: italic; }

.hero2-right { position: relative; }

/* ── Hero dashboard image ── */
.hero2-img-wrap {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(15,23,42,0.14), 0 4px 16px rgba(15,23,42,0.07);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
    line-height: 0;
}
.hero2-img {
    width: 100%;
    height: auto;
    display: block;
}


.hero2-stats {
    max-width: 1120px; margin: 56px auto 0; background: #fff; border: 1px solid #F3F4F6;
    border-radius: 20px; box-shadow: 0 10px 30px rgba(15,23,42,0.06);
    display: grid; grid-template-columns: repeat(4, 1fr); position: relative; z-index: 1;
}
.hero2-stat { display: flex; align-items: center; gap: 14px; padding: 26px 24px; border-right: 1px solid #F3F4F6; }
.hero2-stat:last-child { border-right: none; }
.hero2-stat-ic { width: 44px; height: 44px; border-radius: 12px; background: #FED7AA; color: #F97316; display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.hero2-stat b { display: block; font-size: 21px; font-weight: 800; color: #111827; }
.hero2-stat span { font-size: 12px; color: #6B7280; }

/* iPad Pro (1024px) and similar tablet/small-laptop widths: stay side by
   side (not stacked). The image column is capped by minmax() — sized down
   to what's available, floor 240px — and the text column (1fr) just takes
   whatever's left, so there's one number to tune (the image's own cap)
   instead of hand-balancing two percentages against each other. */
@media (max-width: 1100px) {
    .hero2-inner { grid-template-columns: 1fr minmax(240px, 420px); gap: 32px; }
    .hero2-title { font-size: 32px; }
    .hero2-stats { grid-template-columns: repeat(2, 1fr); }
    .hero2-stat { border-right: 1px solid #F3F4F6; }
    .hero2-stat:nth-child(2) { border-right: none; }
    .hero2-stat:nth-child(3), .hero2-stat:nth-child(4) { border-top: 1px solid #F3F4F6; }
}
@media (max-width: 820px) {
    .hero2-inner { grid-template-columns: 1fr; gap: 44px; }
    .hero2-right { order: 2; }
}
@media (max-width: 640px) {
    .hero2 { padding: 56px 20px 40px; }
    .hero2-title { font-size: 30px; }
    .hero2-features { grid-template-columns: repeat(2, 1fr); }
    .hero2-cta { width: 100%; justify-content: center; }
    .hero2-img-wrap { border-radius: 14px; }
}

/* ── Marketing sections ── */
.mkt-trust {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 28px;
    padding: 22px 24px; background: #fff; border-bottom: 1px solid #f1f5f9;
}
/* font-size, font-weight, display, gap → utility classes on the element */
.mkt-trust-item { color: #374151; }
.mkt-trust-item i { color: #F97316; font-size: 13px; width: 14px; text-align: center; }

.mkt-section { padding: 72px 24px; max-width: 1040px; margin: 0 auto; }
.mkt-section.tinted { background: #f8fafc; max-width: none; }
.mkt-section.tinted > .mkt-section-inner { max-width: 1040px; margin: 0 auto; }

/* text-align, font-size, font-weight, letter-spacing, text-transform, margin-bottom → utilities */
.mkt-section-eyebrow { color: #DD5F0B; }
.mkt-section-title   { color: #0f172a; -webkit-text-wrap: balance; text-wrap: balance; }
.mkt-section-sub     { color: #64748b; max-width: 560px; margin: 0 auto 44px; line-height: 1.7; }

.mkt-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mkt-compare-col { border-radius: 20px; padding: 28px 26px; }
.mkt-compare-col.bad { background: #fff; border: 1.5px dashed #cbd5e1; }
.mkt-compare-col.good { background: #FEEADA; border: 1.5px solid #F97316; }
.mkt-compare-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.mkt-compare-icon { width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.mkt-compare-col.bad .mkt-compare-icon { background: #e2e8f0; color: #64748b; }
.mkt-compare-col.good .mkt-compare-icon { background: #F97316; color: #fff; }
.mkt-compare-title { font-size: 17px; font-weight: 800; color: #0f172a; }
.mkt-compare-item { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; line-height: 1.6; padding: 8px 0; }
.mkt-compare-col.bad .mkt-compare-item { color: #94a3b8; }
.mkt-compare-col.good .mkt-compare-item { color: #14532d; }
.mkt-compare-mark { flex-shrink: 0; font-weight: 800; width: 18px; }
.mkt-compare-col.bad .mkt-compare-mark { color: #cbd5e1; }
.mkt-compare-col.good .mkt-compare-mark { color: #F97316; }
.mkt-payoff { margin-top: 26px; padding: 20px 26px; background: #0A1628; border-radius: 16px; font-size: 14.5px; color: rgba(255,255,255,0.9); line-height: 1.7; text-align: center; }
.mkt-payoff strong { color: #FB923C; }

.mkt-steps { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.mkt-step { flex: 1; min-width: 200px; max-width: 280px; text-align: center; }
.mkt-step-num { width: 48px; height: 48px; border-radius: 50%; background: #FEEADA; color: #dd5f0b; font-weight: 800; font-size: 19px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
/* font-size, font-weight → utilities */
.mkt-step-title { color: #0f172a; margin-bottom: 6px; }
.mkt-step-desc  { color: #64748b; line-height: 1.6; }

.mkt-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mkt-feature-card { border: 1px solid #f1f5f9; background: #fff; border-radius: 16px; padding: 22px 20px; transition: border-color 0.2s, transform 0.2s; }
.mkt-feature-card:hover { border-color: #FDBA74; transform: translateY(-2px); }
.mkt-feature-icon { width: 42px; height: 42px; border-radius: 11px; background: #FEEADA; color: #dd5f0b; display: flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 14px; }
/* font-size, font-weight, display, align-items, gap, flex-wrap → utilities */
.mkt-feature-name { color: #0f172a; margin-bottom: 6px; }
.mkt-feature-desc { color: #64748b; line-height: 1.6; }
.mkt-feature-tag { display: inline-block; white-space: nowrap; font-size: 9.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #dbeafe; color: #1d4ed8; letter-spacing: 0.3px; }

.mkt-usecases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mkt-usecase { border-radius: 16px; overflow: hidden; border: 1px solid #f1f5f9; background: #fff; transition: transform 0.2s; }
.mkt-usecase:hover { transform: translateY(-3px); }
.mkt-usecase-img { height: 100px; display: flex; align-items: center; justify-content: center; font-size: 32px; }
.mkt-usecase-body { padding: 16px 16px 18px; }
/* font-size, font-weight → utilities */
.mkt-usecase-title { color: #0f172a; margin-bottom: 5px; }
.mkt-usecase-desc  { color: #64748b; line-height: 1.6; margin-bottom: 8px; }
.mkt-usecase-plan  { color: #dd5f0b; }

/* ── Shared billing-cycle toggle (drives every plan card's price at once) ── */
.billing-toggle {
    display: flex; justify-content: center; gap: 6px; width: fit-content;
    padding: 6px; margin: 0 auto 36px; background: #F3F4F6; border-radius: 16px;
}
.billing-toggle-btn {
    padding: 12px 26px; border: none; border-radius: 12px; background: transparent;
    color: #64748b; font-size: 14.5px; font-weight: 700; cursor: pointer; font-family: inherit;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.billing-toggle-btn:hover { color: #0f172a; }
.billing-toggle-btn.selected { background: #fff; color: #EA580C; box-shadow: 0 4px 14px rgba(0,0,0,0.08); }
@media (max-width: 640px) {
    .billing-toggle { flex-wrap: wrap; width: auto; }
    .billing-toggle-btn { padding: 10px 16px; font-size: 13px; }
}

.mkt-plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; max-width: 1020px; margin: 0 auto; }
.mkt-plan-card { border: 1.5px solid #e5e7eb; border-radius: 20px; padding: 28px 24px; display: flex; flex-direction: column; background: #fff; }
.mkt-plan-card.featured { border-color: #F97316; background: #FEEADA; position: relative; }
.mkt-plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: #F97316; color: #fff; font-size: 11px; font-weight: 800; padding: 5px 16px; border-radius: 999px; letter-spacing: 0.4px; white-space: nowrap; }
/* font-size, font-weight → utilities */
.mkt-plan-name    { color: #0f172a; text-transform: uppercase; letter-spacing: 0.5px; }
.mkt-plan-price   { color: #dd5f0b; margin: 10px 0 2px; }
.mkt-plan-price span { font-size: 13px; font-weight: 600; color: #64748b; }
.mkt-plan-price-strike { font-size: 18px; font-weight: 600; color: #9ca3af; text-decoration: line-through; margin-right: 6px; }
.mkt-plan-save { display: inline-block; padding: 4px 10px; border-radius: 8px; background: rgba(22,163,74,0.1); color: #16A34A; font-weight: 700; margin-bottom: 6px; }
.mkt-plan-price-billed { color: #9ca3af; margin-bottom: 8px; }
.mkt-plan-tagline { color: #64748b; margin-bottom: 22px; min-height: 34px; }
.mkt-plan-feat-list { flex: 1; margin-bottom: 22px; }
/* display, gap, align-items, font-size, padding → utilities */
.mkt-plan-feat { color: #374151; }
.mkt-plan-feat.no { color: #cbd5e1; }
.mkt-plan-feat i { flex-shrink: 0; margin-top: 3px; font-size: 12px; }
.mkt-plan-feat:not(.no) i { color: #F97316; }
.mkt-plan-feat.no i { color: #e2e8f0; }
.mkt-plan-cta {
    display: block; text-align: center; padding: 16px 32px; border-radius: 16px;
    font-size: 16px; font-weight: 600; cursor: pointer; font-family: inherit; width: 100%;
    transition: background 250ms ease, border-color 250ms ease, color 250ms ease,
                transform 250ms ease, box-shadow 250ms ease, filter 250ms ease;
}
.mkt-plan-cta.primary {
    background: linear-gradient(135deg, #FF7A18, #F97316); color: #fff; border: none;
    box-shadow: 0 12px 30px rgba(249,115,22,0.25);
}
.mkt-plan-cta.primary:hover   { filter: brightness(0.92); transform: translateY(-2px) scale(1.02); box-shadow: 0 16px 40px rgba(249,115,22,0.35); }
.mkt-plan-cta.primary:active  { transform: scale(0.98); }
.mkt-plan-cta.secondary { background: #fff; color: #F97316; border: 1.5px solid #F97316; }
.mkt-plan-cta.secondary:hover { background: #FFF7ED; border-color: #EA580C; color: #EA580C; transform: translateY(-1px) scale(1.01); }
.mkt-plan-cta:focus-visible { outline: 2px solid #FED7AA; outline-offset: 2px; }
.mkt-plans-note { text-align: center; font-size: 12.5px; color: #94a3b8; margin-top: 24px; }

.mkt-faq-list { max-width: 720px; margin: 0 auto; }
.mkt-faq-item { border: 1px solid #f1f5f9; border-radius: 14px; margin-bottom: 10px; overflow: hidden; background: #fff; }
/* display, justify-content, align-items, gap, font-size, font-weight → utilities */
.mkt-faq-q {
    width: 100%; padding: 18px 20px; background: none; border: none;
    font-family: inherit; color: #0f172a; cursor: pointer; text-align: left;
}
.mkt-faq-q i { color: #94a3b8; transition: transform 0.2s; flex-shrink: 0; }
.mkt-faq-item.open .mkt-faq-q i { transform: rotate(180deg); color: #F97316; }
.mkt-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.mkt-faq-item.open .mkt-faq-a { max-height: 220px; }
/* font-size → utility */
.mkt-faq-a-inner { padding: 0 20px 18px; color: #64748b; line-height: 1.7; }

@media (max-width: 900px) {
    .mkt-feature-grid { grid-template-columns: repeat(2, 1fr); }
    .mkt-usecases     { grid-template-columns: repeat(2, 1fr); }
    .mkt-plans-grid   { grid-template-columns: repeat(2, 1fr); max-width: 680px; margin: 0 auto; }
    .mkt-plan-card.featured { order: -1; }
}
@media (max-width: 640px) {
    .mkt-section  { padding: 52px 20px; }
    .mkt-compare  { grid-template-columns: 1fr; }
    .mkt-feature-grid { grid-template-columns: 1fr; }
    .mkt-plans-grid { grid-template-columns: 1fr; max-width: 420px; }
    .mkt-usecases {
        grid-template-columns: none; display: flex; overflow-x: auto;
        gap: 12px; margin: 0 -20px; padding: 0 20px 6px;
    }
    .mkt-usecase { flex: 0 0 200px; }
}
