/* FloriPro placeholder site
   Palette and type are taken from the app itself (Platform.Themes/floripro/theme.css and
   App.razor), so the site and the product read as the same thing. */

:root {
    --forest: #1b5e20;
    --green: #2e7d32;
    --leaf: #66bb6a;
    --leaf-soft: #a5d6a7;
    --coral: #e8786a;
    --coral-soft: #f5a89a;

    --paper: #ffffff;
    --paper-tint: #f4f8f3;
    --paper-warm: #fbfaf6;
    --ink: #1f2a23;
    --ink-soft: #5c6a61;
    --rule: rgba(27, 94, 32, 0.12);

    --serif: 'Playfair Display', Georgia, serif;
    --sans: 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Decelerating curve: plain `ease` starts fast and makes small movements read as a jolt */
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

    --wrap: 1120px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--sans);
    font-weight: 500;
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0;
}

a { color: var(--green); }

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--rule);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 74px;
}

.brand img {
    height: 34px;
    width: auto;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.header-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink-soft);
    text-decoration: none;
}

.header-link:hover { color: var(--green); }

.header-cta {
    font-size: 15px;
    font-weight: 700;
    color: var(--forest);
    text-decoration: none;
    padding: 9px 18px;
    border: 1.5px solid var(--leaf-soft);
    border-radius: 999px;
    transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.header-cta:hover {
    background: var(--paper-tint);
    border-color: var(--leaf);
}

/* ---------- hero ---------- */

.hero {
    position: relative;
    text-align: center;
    padding: 92px 0 0;
    overflow: hidden;
}

/* Soft wash of brand green behind the headline. Two offset radials rather than a flat
   gradient, so the colour pools instead of banding across the width. */
.hero::before {
    content: "";
    position: absolute;
    inset: -200px 0 auto;
    height: 720px;
    background:
        radial-gradient(60% 55% at 28% 38%, rgba(102, 187, 106, 0.20), rgba(102, 187, 106, 0) 70%),
        radial-gradient(52% 50% at 76% 30%, rgba(245, 168, 154, 0.22), rgba(245, 168, 154, 0) 70%),
        linear-gradient(180deg, var(--paper-tint) 0%, rgba(244, 248, 243, 0) 100%);
    pointer-events: none;
}

.hero-inner { position: relative; }

.eyebrow {
    margin: 0 0 22px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--green);
}

/* 21ch lands the break after "for", so the emphasised phrase stays whole on its own line.
   Narrower and it splits "Australian / florists" across the underline. */
.hero h1 {
    margin: 0 auto;
    max-width: 21ch;
    font-size: clamp(2.5rem, 5.6vw, 4.1rem);
}

.hero h1 em {
    font-style: italic;
    color: var(--forest);
    /* Coral underline sits below the descenders rather than through them */
    background: linear-gradient(var(--coral-soft), var(--coral-soft)) bottom / 100% 0.14em no-repeat;
    padding-bottom: 0.06em;
}

/* balance evens the lines out instead of leaving a single word stranded on the last one.
   Browsers without it simply wrap as normal. */
.lead {
    margin: 26px auto 0;
    max-width: 56ch;
    text-wrap: balance;
    font-size: clamp(1.02rem, 1.8vw, 1.19rem);
    color: var(--ink-soft);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 36px;
}

/* ---------- buttons ---------- */

.btn {
    display: inline-block;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    padding: 14px 30px;
    border-radius: 999px;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--green), var(--forest));
    box-shadow: 0 6px 18px rgba(27, 94, 32, 0.22);
}

.btn-quiet {
    color: var(--forest);
    background: rgba(255, 255, 255, 0.7);
    border: 1.5px solid var(--leaf-soft);
}

.btn-big {
    font-size: 17px;
    padding: 18px 40px;
    word-break: break-word;
}

/* hover: hover only, or a tap leaves the button stuck in its lifted state on a phone */
@media (hover: hover) {
    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 26px rgba(27, 94, 32, 0.28);
    }
    .btn-quiet:hover { background: #fff; }
}

/* ---------- screenshots ---------- */

.shot {
    margin: 0;
    padding: 0;
}

.shot-lead {
    position: relative;
    max-width: 1000px;
    margin: 64px auto 0;
    padding: 0 24px;
}

.frame {
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--rule);
    box-shadow:
        0 1px 2px rgba(31, 42, 35, 0.04),
        0 18px 50px -12px rgba(27, 94, 32, 0.22);
}

.frame-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 11px 14px;
    background: var(--paper-warm);
    border-bottom: 1px solid var(--rule);
}

.frame-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #dcdcd4;
}

.shot figcaption {
    margin-top: 16px;
    font-size: 14.5px;
    color: var(--ink-soft);
    text-align: center;
}

/* ---------- bands ---------- */

.band { padding: 104px 0; }

.band-tint {
    background: linear-gradient(180deg, var(--paper-tint) 0%, var(--paper) 100%);
}

.section-title {
    max-width: 20ch;
    margin: 0 auto 62px;
    font-size: clamp(1.9rem, 3.8vw, 2.7rem);
    text-align: center;
}

/* ---------- features ---------- */

/* 215px, not 250: four columns plus three 36px gaps have to fit the 1072px inside the wrap,
   and at 250 the fourth card dropped to a row of its own. */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
    gap: 44px 36px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.feature h3 {
    margin: 18px 0 10px;
    font-size: 1.32rem;
}

.feature p {
    margin: 0;
    font-size: 15.5px;
    color: var(--ink-soft);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    color: var(--green);
    background: var(--paper-tint);
    border: 1px solid var(--rule);
}

.feature-icon svg { width: 22px; height: 22px; }

/* ---------- screenshot pair ---------- */

.shot-pair {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 48px 40px;
}

/* ---------- contact ---------- */

.contact {
    padding: 104px 0;
    text-align: center;
    background: var(--paper);
}

.contact h2 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); }

.contact-lead {
    margin: 22px auto 36px;
    max-width: 52ch;
    color: var(--ink-soft);
}

/* ---------- footer ---------- */

.site-footer {
    padding: 64px 0 56px;
    text-align: center;
    color: rgba(255, 255, 255, 0.72);
    background: var(--forest);
}

.footer-mark {
    width: auto;
    height: 46px;
    margin: 0 auto 16px;
    /* The mark is drawn for light backgrounds; lifting it slightly keeps it from muddying */
    filter: brightness(1.08);
}

.footer-name {
    margin: 0;
    font-family: var(--serif);
    font-size: 1.3rem;
    color: #fff;
}

.footer-note {
    margin: 6px 0 22px;
    font-size: 14.5px;
}

.footer-legal {
    margin: 0;
    font-size: 14px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
}

.footer-legal a:hover { color: #fff; text-decoration: underline; }

/* ---------- narrow screens ---------- */

@media (max-width: 760px) {
    body { font-size: 16px; }

    .hero { padding-top: 64px; }
    .shot-lead { margin-top: 48px; }

    .band, .contact { padding: 72px 0; }
    .section-title { margin-bottom: 46px; }

    .header-link { display: none; }

    .features { gap: 36px; }
}

@media (prefers-reduced-motion: reduce) {
    .btn { transition: none; }
    .btn-primary:hover { transform: none; }
}
