/*
 * Sutra landing page – small additions on top of the HOMER theme (app.min.css).
 * Colours come from HOMER's CSS variables (--ins-*), so light/dark mode keeps working.
 */

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

/* ---------- Navbar ---------- */
#landing-navbar { background-color: var(--ins-secondary-bg); transition: transform .3s ease; }
#landing-navbar .nav-link { color: var(--ins-body-color); }
#landing-navbar .nav-link.active,
#landing-navbar .nav-link:hover { color: var(--ins-primary); }
.brand-logo { height: 38px; width: auto; }

/* ---------- Hero ---------- */
.hero-title { font-size: clamp(1.9rem, 4.2vw, 2.9rem); line-height: 1.25; }
.hero-pattern { pointer-events: none; max-width: 100%; }

/* Board mock-up in the hero (pure HTML/CSS, no screenshot needed) */
.board-mock {
    background: var(--ins-secondary-bg);
    border: 1px solid var(--ins-border-color);
    border-radius: 1rem;
    box-shadow: 0 1.5rem 3rem rgba(var(--ins-body-color-rgb), .12);
    overflow: hidden;
}
.board-mock-bar { display: flex; align-items: center; gap: .4rem; padding: .75rem 1rem; border-bottom: 1px solid var(--ins-border-color); }
.board-mock-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ins-border-color); }
.board-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; padding: 1rem; }
.board-col { background: var(--ins-tertiary-bg); border-radius: .75rem; padding: .6rem; min-width: 0; }
.board-col-head { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; font-weight: 600; margin-bottom: .5rem; padding: 0 .15rem; }
.task-card { background: var(--ins-secondary-bg); border: 1px solid var(--ins-border-color); border-radius: .6rem; padding: .55rem .6rem; margin-bottom: .5rem; font-size: .75rem; }
.task-card:last-child { margin-bottom: 0; }
.task-card .t-title { font-weight: 600; margin-bottom: .4rem; color: var(--ins-heading-color, inherit); }
.task-card .t-meta { display: flex; justify-content: space-between; align-items: center; color: var(--ins-secondary-color); }
.task-card.is-dragging { transform: rotate(-3deg); box-shadow: 0 .75rem 1.5rem rgba(var(--ins-body-color-rgb), .18); border-color: var(--ins-primary); }
.task-card.is-done .t-title { text-decoration: line-through; color: var(--ins-secondary-color); }
.mini-avatar { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .6rem; font-weight: 700; color: #fff; }

@media (max-width: 575.98px) {
    .board-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .board-col:nth-child(3) { display: none; }
}

/* ---------- Template strip ---------- */
.template-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.template-step { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1rem; border-radius: 50rem; background: var(--ins-secondary-bg); border: 1px solid var(--ins-border-color); font-weight: 600; font-size: .875rem; }
.template-step .num { width: 22px; height: 22px; border-radius: 50%; background: var(--ins-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .7rem; }

/* ---------- Feature cards ---------- */
.feature-card { transition: transform .2s ease, box-shadow .2s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 1rem 2rem rgba(var(--ins-body-color-rgb), .08); }

/* ---------- Why Sutra ---------- */
.benefit-icon { width: 48px; height: 48px; flex-shrink: 0; }
.stat-number { font-size: 2.25rem; font-weight: 700; line-height: 1; }

/* ---------- CTA ---------- */
.section-cta-sutra {
    background-image: linear-gradient(to top, rgba(30, 31, 39, .92), rgba(30, 31, 39, .7)), url(../images/landing-cta.jpg);
    background-size: cover; background-position: center;
    padding: 5rem 1rem;
}

/* ---------- Pricing ---------- */
.price-card.is-featured { border: 2px solid var(--ins-primary) !important; }
.price-amount { font-size: 3rem; font-weight: 700; line-height: 1; }

/* ---------- Rich text from Umbraco (bold, italic, links) ---------- */
.template-intro strong { color: var(--ins-primary); font-weight: inherit; }
.pricing-footnote a { color: var(--ins-primary); font-weight: 600; }
.footer-copyright strong { font-weight: 600; }

/* ---------- Contact ---------- */
.form-status:empty { display: none; }

/* ---------- Footer ---------- */
.section-footer a.footer-link { color: inherit; text-decoration: none; }
.section-footer a.footer-link:hover { color: var(--ins-primary); }
