/* AisleCast public landing page — scoped entirely to Views/Home/Index.cshtml via
   _LayoutLanding.cshtml. Does not touch the authenticated dashboard chrome; see
   site.css for that. Extends the existing brand pair (teal #57c5a5, slate #435966,
   both used throughout the admin console) into a three-color system: one accent
   per audience, so color itself communicates the Creator/Retailer/Brand model. */

:root {
    --ac-teal: #57c5a5;
    --ac-teal-dark: #3f9c81;
    --ac-amber: #f5a623;
    --ac-amber-dark: #d98c12;
    --ac-coral: #ff6b6b;
    --ac-coral-dark: #e14f4f;
    --ac-slate: #435966;
    --ac-slate-light: #7a8b93;
    --ac-bg-warm: #fbf9f6;
}

body {
    background: #ffffff;
}

/* ---------- shared type/utility ---------- */

.section-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 12px;
}

.section-eyebrow.teal { color: var(--ac-teal); }
.section-eyebrow.amber { color: var(--ac-amber-dark); }
.section-eyebrow.coral { color: var(--ac-coral-dark); }

.section-title {
    font-family: 'Karla', sans-serif;
    font-weight: 700;
    font-size: 34px;
    color: var(--ac-slate);
    margin: 0 0 16px;
}

.section-title.centered-wide { max-width: 820px; margin-left: auto; margin-right: auto; }

.section-subtitle {
    font-size: 17px;
    color: var(--ac-slate-light);
    max-width: 640px;
    margin: 0 auto 50px;
}

.text-center { text-align: center; }

.icon-badge {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-badge .zmdi { color: #ffffff; font-size: 26px; }
.icon-badge.teal { background: var(--ac-teal); }
.icon-badge.amber { background: var(--ac-amber); }
.icon-badge.coral { background: var(--ac-coral); }
.icon-badge.slate { background: var(--ac-slate); }

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

.btn-landing {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 30px;
    font-family: 'Karla', sans-serif;
    font-weight: 700;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
    border: 2px solid transparent;
}

.btn-landing:hover, .btn-landing:focus { text-decoration: none; transform: translateY(-2px); }

.btn-landing-lg { padding: 18px 40px; font-size: 18px; }

.btn-landing-teal { background: var(--ac-teal); color: #ffffff; box-shadow: 0 8px 20px rgba(87, 197, 165, .35); }
.btn-landing-teal:hover, .btn-landing-teal:focus { background: var(--ac-teal-dark); color: #ffffff; }

.btn-landing-amber { background: var(--ac-amber); color: #ffffff; box-shadow: 0 8px 20px rgba(245, 166, 35, .35); }
.btn-landing-amber:hover, .btn-landing-amber:focus { background: var(--ac-amber-dark); color: #ffffff; }

.btn-landing-coral { background: var(--ac-coral); color: #ffffff; box-shadow: 0 8px 20px rgba(255, 107, 107, .35); }
.btn-landing-coral:hover, .btn-landing-coral:focus { background: var(--ac-coral-dark); color: #ffffff; }

.btn-landing-outline { background: transparent; color: var(--ac-slate); border-color: #e4e9ea; }
.btn-landing-outline:hover, .btn-landing-outline:focus { border-color: var(--ac-teal); color: var(--ac-teal); }

.btn-landing-ghost { background: transparent; color: #ffffff; border-color: rgba(255, 255, 255, .4); }
.btn-landing-ghost:hover, .btn-landing-ghost:focus { border-color: #ffffff; color: #ffffff; }

/* ---------- nav ---------- */

.landing-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(67, 89, 102, .08);
}

.landing-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.landing-nav .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--ac-slate);
    font-family: 'Karla', sans-serif;
    font-weight: 700;
    font-size: 22px;
}

.landing-nav .logo img { width: 30px; height: 30px; margin-right: 8px; }
.landing-nav .logo span span { color: var(--ac-teal); }

.landing-nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.landing-nav-links a {
    color: var(--ac-slate);
    font-weight: 500;
    text-decoration: none;
}

.landing-nav-links a:hover { color: var(--ac-teal); }

.landing-nav-actions { display: flex; align-items: center; gap: 12px; }
.landing-nav-actions .btn-landing { padding: 10px 22px; }

.landing-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    color: var(--ac-slate);
    cursor: pointer;
    padding: 4px 8px;
}

.landing-nav-mobile {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 12px 20px 18px;
    border-top: 1px solid #eceff0;
}

.landing-nav-mobile a {
    padding: 10px 0;
    color: var(--ac-slate);
    text-decoration: none;
    font-weight: 500;
}

.landing-nav.is-open .landing-nav-mobile { display: flex; }

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

.hero {
    position: relative;
    overflow: hidden;
    background: var(--ac-bg-warm);
    padding: 90px 20px 110px;
}

.blob {
    position: absolute;
    z-index: 0;
    opacity: .4;
    border-radius: 62% 38% 34% 66% / 58% 32% 68% 42%;
}

.blob-teal { background: var(--ac-teal); }
.blob-amber { background: var(--ac-amber); }
.blob-coral { background: var(--ac-coral); }

.hero .blob-1 { width: 360px; height: 360px; top: -120px; left: -140px; }
.hero .blob-2 { width: 220px; height: 220px; bottom: -70px; right: 6%; opacity: .3; }
.hero .blob-3 { width: 150px; height: 150px; top: 30%; right: -50px; opacity: .3; }

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-copy { flex: 1 1 480px; }

.hero-copy h1 {
    font-family: 'Karla', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 1.15;
    color: var(--ac-slate);
    margin: 0 0 22px;
}

.hero-copy h1 .accent { color: var(--ac-teal); }

.hero-copy p.lead {
    font-size: 18px;
    color: var(--ac-slate-light);
    max-width: 520px;
    margin: 0 0 34px;
}

.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-actions .secondary-link { color: var(--ac-slate); font-weight: 500; text-decoration: none; }
.hero-actions .secondary-link:hover { color: var(--ac-teal); }

.hero-illustration { flex: 1 1 380px; display: flex; justify-content: center; position: relative; z-index: 1; }
.hero-illustration img { max-width: 420px; width: 100%; height: auto; }

/* ---------- generic section bands ---------- */

.landing-section { padding: 90px 20px; }
.landing-section.bg-white { background: #ffffff; }
.landing-section.bg-warm { background: var(--ac-bg-warm); }
.landing-section-inner { max-width: 1200px; margin: 0 auto; }

/* ---------- how it works ---------- */

.steps-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.step-card { flex: 1 1 260px; max-width: 320px; text-align: center; }

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--ac-teal);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-number .zmdi { color: #ffffff; font-size: 24px; }
.step-number.amber { background: var(--ac-amber); }
.step-number.coral { background: var(--ac-coral); }

.step-card h3 { font-family: 'Karla', sans-serif; font-weight: 700; font-size: 19px; color: var(--ac-slate); margin: 0 0 10px; }
.step-card p { color: var(--ac-slate-light); font-size: 15px; margin: 0; }

/* ---------- audience spotlights ---------- */

.audience-section.creator { background: linear-gradient(180deg, rgba(87, 197, 165, .12), rgba(87, 197, 165, .02)); padding: 110px 20px; }
.audience-section.retailer { background: rgba(245, 166, 35, .07); padding: 70px 20px; }
.audience-section.brand { background: rgba(255, 107, 107, .07); padding: 70px 20px; }

.audience-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.audience-inner.compact { max-width: 900px; flex-direction: column; text-align: center; }

.audience-copy { flex: 1; }
.audience-section.creator .section-title { font-size: 38px; }
.audience-section.retailer .section-title, .audience-section.brand .section-title { font-size: 27px; }

.audience-visual { flex: 1; display: flex; justify-content: center; }

.benefit-list { list-style: none; margin: 28px 0; padding: 0; }
.benefit-list li { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.benefit-list li .icon-badge { width: 40px; height: 40px; }
.benefit-list li .icon-badge .zmdi { font-size: 18px; }
.benefit-list li span { color: var(--ac-slate); font-size: 15px; padding-top: 8px; }

.benefit-row { display: flex; gap: 32px; flex-wrap: wrap; justify-content: center; margin: 30px 0; }
.benefit-row .benefit-item { display: flex; align-items: center; gap: 12px; }
.benefit-row .benefit-item .zmdi { font-size: 22px; }
.benefit-row .benefit-item span { color: var(--ac-slate); font-size: 15px; font-weight: 500; }

/* ---------- spotlight badge (audience sections) ---------- */

.spotlight-badge { position: relative; width: 220px; height: 220px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.spotlight-badge .ring { position: absolute; border-radius: 50%; border: 2px solid; opacity: .25; }
.spotlight-badge .ring-1 { width: 100%; height: 100%; }
.spotlight-badge .ring-2 { width: 78%; height: 78%; }
.spotlight-badge .core { width: 56%; height: 56%; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.spotlight-badge .core .zmdi { font-size: 64px; color: #ffffff; }

.spotlight-badge.teal .ring { border-color: var(--ac-teal); }
.spotlight-badge.teal .core { background: var(--ac-teal); }
.spotlight-badge.amber .ring { border-color: var(--ac-amber); }
.spotlight-badge.amber .core { background: var(--ac-amber); }
.spotlight-badge.coral .ring { border-color: var(--ac-coral); }
.spotlight-badge.coral .core { background: var(--ac-coral); }

.spotlight-badge.sm { width: 130px; height: 130px; margin: 0 auto 24px; }
.spotlight-badge.sm .core .zmdi { font-size: 42px; }

/* ---------- the model diagram ---------- */

.model-diagram-wrap { max-width: 480px; margin: 40px auto 0; position: relative; aspect-ratio: 1 / 1; }
.model-lines { position: absolute; inset: 0; width: 100%; height: 100%; }

.model-node {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 150px;
    text-align: center;
}

.model-node .icon-badge { width: 72px; height: 72px; margin: 0 auto 12px; }
.model-node .icon-badge .zmdi { font-size: 32px; }
.model-node strong { display: block; font-family: 'Karla', sans-serif; color: var(--ac-slate); font-size: 15px; }

.model-node.creator { left: 50%; top: 12.5%; }
.model-node.retailer { left: 18.75%; top: 83.3%; }
.model-node.brand { left: 81.25%; top: 83.3%; }

/* the shopper community sits at the hub - everything else radiates out to it */
.model-node.shoppers { left: 50%; top: 50%; width: 170px; z-index: 1; }
.model-node.shoppers .icon-badge { width: 100px; height: 100px; margin: 0 auto 12px; }
.model-node.shoppers .icon-badge .zmdi { font-size: 44px; }
.model-node.shoppers strong { font-size: 16px; }

/* ---------- closing CTA ---------- */

.cta-band { background: var(--ac-slate); color: #ffffff; padding: 80px 20px; text-align: center; }
.cta-band h2 { font-family: 'Karla', sans-serif; font-weight: 700; font-size: 32px; margin: 0 0 16px; }
.cta-band p { color: rgba(255, 255, 255, .75); margin: 0 0 36px; font-size: 16px; }
.cta-band .cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

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

.landing-footer { background: #ffffff; border-top: 1px solid #eceff0; padding: 50px 20px 0; }

.landing-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 30px;
}

.landing-footer .logo { display: flex; align-items: center; margin-bottom: 10px; text-decoration: none; color: var(--ac-slate); font-family: 'Karla', sans-serif; font-weight: 700; font-size: 20px; }
.landing-footer .logo img { width: 26px; height: 26px; margin-right: 8px; }
.landing-footer .logo span span { color: var(--ac-teal); }
.landing-footer p.tagline { color: var(--ac-slate-light); font-size: 14px; max-width: 320px; margin: 0; }

.landing-footer-links { display: flex; gap: 24px; list-style: none; padding: 0; margin: 0; }
.landing-footer-links a { color: var(--ac-slate); text-decoration: none; font-size: 14px; }
.landing-footer-links a:hover { color: var(--ac-teal); }

.landing-footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0 30px;
    border-top: 1px solid #eceff0;
    color: var(--ac-slate-light);
    font-size: 13px;
}

/* ---------- responsive ---------- */

@media (max-width: 991px) {
    .hero-inner { flex-direction: column; text-align: center; }
    .hero-copy p.lead { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .audience-inner:not(.compact) { flex-direction: column; text-align: center; }
    .audience-inner:not(.compact) .benefit-list li { text-align: left; }
}

@media (max-width: 767px) {
    .landing-nav-links, .landing-nav-actions .btn-landing-outline { display: none; }
    .landing-nav-toggle { display: block; }
    .hero-copy h1 { font-size: 34px; }
    .hero { padding: 60px 20px 80px; }
    .landing-section, .audience-section.creator { padding: 60px 20px; }
    .audience-section.retailer, .audience-section.brand { padding: 50px 20px; }
    .section-title { font-size: 26px; }
    .audience-section.creator .section-title { font-size: 28px; }
    .cta-band h2 { font-size: 26px; }
}

@media (max-width: 480px) {
    .btn-landing { width: 100%; text-align: center; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .cta-band .cta-buttons { flex-direction: column; align-items: stretch; }
    .model-node { width: 110px; }
    .model-node .icon-badge { width: 56px; height: 56px; }
    .model-node.shoppers { width: 130px; }
    .model-node.shoppers .icon-badge { width: 76px; height: 76px; }
    .model-node.shoppers .icon-badge .zmdi { font-size: 32px; }
}

/* ---------- auth pages (Register) ---------- */
/* Shares the landing page's nav/hero/blob/spotlight-badge/btn-landing building blocks so signup
   feels like a continuation of the site, not a bare form dropped on a blank page. */

.auth-hero {
    position: relative;
    overflow: hidden;
    background: var(--ac-bg-warm);
    padding: 64px 20px 50px;
    text-align: center;
}

.auth-hero .blob-1 { width: 260px; height: 260px; top: -110px; left: -110px; }
.auth-hero .blob-2 { width: 180px; height: 180px; bottom: -70px; right: 4%; opacity: .3; }

.auth-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

.auth-hero .spotlight-badge { margin: 0 auto 24px; }

.auth-hero h1 {
    font-family: 'Karla', sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 1.2;
    color: var(--ac-slate);
    margin: 0 0 16px;
    text-wrap: balance;
}

.auth-hero p.lead {
    font-size: 17px;
    color: var(--ac-slate-light);
    margin: 0 auto;
    max-width: 480px;
}

.auth-form-section { padding: 40px 20px 80px; background: #ffffff; }
.auth-form-section-inner { max-width: 440px; margin: 0 auto; }

.auth-card {
    background: #ffffff;
    border: 1px solid #eceff0;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(67, 89, 102, .08);
    padding: 36px 32px;
}

.auth-card + .auth-card { margin-top: 20px; }

.auth-card-featured {
    border: 1px solid var(--ac-teal);
    box-shadow: 0 12px 30px rgba(87, 197, 165, .2);
}

.auth-card-featured .section-eyebrow {
    display: block;
    text-align: center;
}

.auth-card h4 {
    font-family: 'Karla', sans-serif;
    font-weight: 700;
    color: var(--ac-slate);
    margin: 0 0 24px;
    text-align: center;
    text-transform: none;
    font-size: 21px;
}

.auth-field { margin-bottom: 20px; }

.auth-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ac-slate);
    margin-bottom: 6px;
}

.auth-field .form-control {
    border-radius: 10px;
    border: 1px solid #dfe4e6;
}

.auth-field .form-control:focus {
    border-color: var(--ac-teal);
    box-shadow: 0 0 0 3px rgba(87, 197, 165, .15);
}

.auth-checkbox-row { margin-bottom: 24px; }

.auth-footnote {
    text-align: center;
    color: var(--ac-slate-light);
    font-size: 14px;
    margin-top: 24px;
}

.auth-footnote a { color: var(--ac-teal); font-weight: 600; text-decoration: none; }
.auth-footnote a:hover { text-decoration: underline; }

/* Honeypot field - present in the DOM for bots that fill in every input, invisible and
   unreachable (off-screen, not tabbable, not autofilled) for real visitors. */
.hp-field {
    position: absolute;
    left: -5000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 767px) {
    .auth-hero { padding: 48px 20px 36px; }
    .auth-hero h1 { font-size: 28px; }
    .auth-card { padding: 28px 22px; border-radius: 14px; }
    .auth-form-section { padding: 30px 16px 60px; }
}

/* ---------- motion ---------- */

@media (prefers-reduced-motion: reduce) {
    .wow { animation: none !important; opacity: 1 !important; transform: none !important; }
    .btn-landing:hover, .btn-landing:focus { transform: none; }
}
