/* ==========================================================================
   marketing.css — Platform Design Language
   The single source of truth for all public-facing page components.
   Used by: marketing pages (Index, Contact) AND sales pages (Website, Social, Branding).
   Loaded on top of site.css → base.css, which provides all --primary-* tokens.
   DO NOT duplicate components in page-specific CSS files.
   ========================================================================== */


/* ============================================================
   TYPOGRAPHY — defined once, inherited everywhere
   ============================================================ */

h1, h2 {
    font-family: var(--font-heading);
}

h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0 0 0.5rem;
}

h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0 0 0.5rem;
}

/* Eyebrow label — small uppercase category tag used across all pages */
.product-badge,
.action-path-label,
.demo-label,
.pkg-badge {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Price display — large price number used in all pricing components */
.pkg-price {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 0.2rem;
}

/* Caption — small supporting text beneath images, taglines, fine print */
.preview-caption,
.pkg-tagline,
.static-pkg .pkg-tagline {
    font-size: 0.85rem;
    color: var(--light-text);
}

/* Fine print — form notes, disclaimers */
.form-note {
    font-size: 0.82rem;
    color: var(--light-text);
    text-align: center;
    margin: 0;
}

/* Form labels */
.sales-field label {
    font-size: 0.85rem;
    font-weight: 600;
}


/* ============================================================
   MARKETING PAGE SECTIONS (floating card sections, Index/Contact)
   ============================================================ */

.marketing-container {
    width: 100%;
    padding: 0.75rem 1.5rem 1rem;
    box-sizing: border-box;
}

.section {
    max-width: var(--platform-content-width);
    margin: 0 auto 2.7rem auto;
    padding: 2.6rem 1.5rem 2.6rem 1.5rem;
    border-radius: 32px;
    background: #fff;
    box-shadow: 0 10px 48px 0 rgba(0,112,185,0.08), 0 1.5px 3px 0 rgba(0,0,0,0.03);
    position: relative;
    box-sizing: border-box;
}

.section.alt {
    background: linear-gradient(115deg, #f7fafb 70%, #e5f4e9 100%);
    box-shadow: 0 10px 48px 0 rgba(86,192,69,0.06), 0 1.5px 3px 0 rgba(0,0,0,0.03);
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 1.4rem;
    color: var(--primary-blue);
    font-weight: 500;
    letter-spacing: -0.7px;
}

.section h2,
#hero h1,
.hero-highlight,
.package-card h3 {
    font-family: var(--font-heading);
}

.section strong {
    color: var(--primary-blue);
    font-weight: 600;
    letter-spacing: 0.1px;
    transition: color 0.15s;
}


/* ============================================================
   HERO (marketing pages — Index)
   ============================================================ */

#hero, .hero-card {
    position: relative;
    background: linear-gradient(111deg, #f3f8fc 0%, #f8fcf3 100%);
    color: #fff;
    text-align: center;
    padding: 5rem 0 4rem 0;
    border-radius: 32px;
    margin: 1.5rem auto 2rem auto;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 40px 0 rgba(0,112,185,0.10), 0 2px 8px 0 rgba(0,0,0,0.04);
    overflow: hidden;
    z-index: 1;
    max-width: var(--platform-content-width);
    width: 100%;
}

#hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('/images/index-hero2.jpg') center center/cover no-repeat;
    opacity: 0.32;
    border-radius: 32px;
    z-index: 0;
    transition: opacity 0.4s;
}

#hero .marketing-container {
    position: relative;
    z-index: 1;
    background: none;
    box-shadow: none;
    padding-left: 2rem;
    padding-right: 2rem;
}

#hero h1 {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 1.1rem;
    letter-spacing: -1px;
    color: var(--primary-blue);
    text-align: center;
    text-shadow: 0 0 12px rgba(255,255,255,0.95), 0 0 28px rgba(255,255,255,0.6), 0 2px 4px rgba(0,0,0,0.08);
}

.hero-highlight {
    color: var(--primary-blue);
    font-weight: 600;
    letter-spacing: -0.4px;
    text-shadow: 0 0 14px rgba(255,255,255,0.95), 0 0 32px rgba(255,255,255,0.65), 0 2px 4px rgba(0,0,0,0.08);
}

#hero .subtitle {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    color: var(--primary-green);
    font-weight: 500;
    margin-bottom: 2rem;
    text-align: center;
    text-shadow: 0 0 8px rgba(255,255,255,1), 0 0 20px rgba(255,255,255,0.85), 0 0 40px rgba(255,255,255,0.45), 0 2px 4px rgba(0,0,0,0.10);
}

#hero .cta-button { margin-top: 1rem; box-shadow: 0 4px 16px 0 rgba(0,112,185,0.09); }

@keyframes fadeUp {
    0%   { opacity: 0; transform: translateY(40px); }
    65%  { opacity: 1; transform: translateY(-6px); }
    100% { opacity: 1; transform: translateY(0); }
}

#hero h1,
#hero .subtitle,
#hero .cta-button {
    opacity: 0;
    animation: fadeUp 1.05s cubic-bezier(.18,.65,.41,1.02) forwards;
}

#hero h1          { animation-delay: 0.15s; }
#hero .subtitle   { animation-delay: 0.35s; }
#hero .cta-button { animation-delay: 0.60s; }


/* ============================================================
   BUTTONS
   ============================================================ */

.cta-button {
    background: var(--primary-blue);
    color: #fff;
    padding: 0.85rem 2.2rem;
    font-size: 1rem;
    border: none;
    border-radius: 32px;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.1px;
    box-shadow: 0 4px 28px 0 rgba(0,112,185,0.11);
    transition: background 0.17s, color 0.17s, box-shadow 0.17s, transform 0.15s;
    display: inline-block;
    cursor: pointer;
}

.cta-button:hover,
.cta-button:focus {
    background: var(--primary-green);
    color: #fff;
    transform: scale(1.03);
    box-shadow: 0 6px 36px 0 rgba(86,192,69,0.13);
    text-decoration: none;
}

.cta-button--accent {
    background: var(--primary-green);
    color: #fff;
    box-shadow: 0 4px 28px 0 rgba(86,192,69,0.18);
}

.cta-button--accent:hover,
.cta-button--accent:focus {
    background: #4aaa3a;
    box-shadow: 0 6px 36px 0 rgba(86,192,69,0.28);
}

.cta-button--outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.55);
    box-shadow: none;
}

.cta-button--outline:hover,
.cta-button--outline:focus {
    background: transparent;
    border-color: #fff;
    color: #fff;
    box-shadow: none;
    transform: scale(1.03);
}

.cta-button--full {
    width: 100%;
    text-align: center;
    display: block;
    box-sizing: border-box;
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
    font-size: 1.05rem;
}

.cta-button-secondary {
    background: transparent;
    color: var(--primary-blue);
    padding: 0.85rem 2.2rem;
    font-size: 1rem;
    border: 1.5px solid var(--primary-blue);
    border-radius: 32px;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.1px;
    transition: background 0.17s, color 0.17s, box-shadow 0.17s, transform 0.16s;
    display: inline-block;
    cursor: pointer;
}

.cta-button-secondary:hover,
.cta-button-secondary:focus {
    background: var(--primary-blue);
    color: #fff;
    transform: scale(1.03);
    box-shadow: 0 4px 28px 0 rgba(0,112,185,0.11);
    text-decoration: none;
}

.btn-sample {
    background: #f3f8fc;
    color: var(--primary-blue);
    padding: 0.55rem 1.1rem;
    font-size: 0.88rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background 0.15s;
}

.btn-sample:hover { background: #dde9f5; text-decoration: none; }


/* ============================================================
   SALES PAGE SECTIONS (full-bleed sections, no platform chrome)
   ============================================================ */

.sales-section {
    padding: 5rem 1.5rem;
}

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

.sales-section h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 500;
    color: var(--primary-blue);
    margin: 0 0 0.75rem;
    letter-spacing: -0.7px;
}

.sales-section-lead {
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.sales-inner {
    max-width: var(--platform-content-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.sales-inner--narrow { max-width: 680px; }

.sales-alt-bg { background: #f3f8fc; }

.sales-dark-bg {
    background: linear-gradient(135deg, #082a47 0%, var(--primary-blue) 100%);
}

.sales-dark-bg h2 { color: #fff; }

.on-dark { color: #fff; }
.on-dark-muted { color: rgba(255,255,255,0.68); }


/* ============================================================
   SALES HERO (full-bleed gradient + photo overlay)
   ============================================================ */

.sales-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #005fa0 50%, #1a6e2e 100%);
    padding: 5.5rem 1.5rem 4.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sales-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('/Images/index-hero3.jpg') center center/cover no-repeat;
    opacity: 0.12;
}

.sales-hero > * { position: relative; z-index: 1; }

.sales-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.9rem);
    font-weight: 500;
    color: #fff;
    margin: 0 auto 1.25rem;
    line-height: 1.2;
    letter-spacing: -0.7px;
    max-width: 780px;
}

.sales-hero h1 em {
    font-style: normal;
    color: #7ee8a4;
}

.sales-hero-sub {
    color: rgba(255,255,255,0.78);
    max-width: 580px;
    margin: 0 auto 2.5rem;
}

.sales-hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}


/* ============================================================
   DEMO CARDS (live site examples)
   ============================================================ */

.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    max-width: var(--platform-content-width);
    margin: 0 auto;
}

.demo-grid--large .demo-thumb { aspect-ratio: 16/9; }

.demo-card {
    background: #fff;
    border: 1px solid var(--light-border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 24px 0 rgba(0,112,185,0.09);
    transition: transform 0.15s, box-shadow 0.15s;
}

.demo-card--linked {
    text-decoration: none;
    display: block;
    cursor: pointer;
}

.demo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px 0 rgba(0,0,0,0.14);
    text-decoration: none;
}

.demo-thumb {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.demo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.demo-body { padding: 1.25rem 1.5rem 1.5rem; }

.demo-label {
    color: var(--primary-green);
    margin-bottom: 0.4rem;
}

.demo-body h3 {
    margin: 0 0 0.4rem;
}

.demo-body p {
    color: var(--light-text);
    margin: 0 0 1rem;
}


/* ============================================================
   STEPS (How It Works)
   ============================================================ */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    max-width: var(--platform-content-width);
    margin: 0 auto;
}

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

.step-num {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.step p {
    color: var(--light-text);
    margin: 0;
}


/* ============================================================
   PRICING CARDS (dynamic — from DB)
   ============================================================ */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: var(--platform-content-width);
    margin: 0 auto;
}

.pricing-pkg {
    background: #fff;
    border: 2px solid var(--light-border);
    border-radius: 14px;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 24px 0 rgba(0,112,185,0.09);
    position: relative;
}

.pricing-pkg--featured { border-color: var(--primary-green); }

.pkg-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-green);
    color: #fff;
    padding: 0.3rem 1rem;
    border-radius: 100px;
    white-space: nowrap;
}

.pkg-price-desc {
    font-size: 0.85rem;
    color: var(--light-text);
    margin: 0 0 1.25rem;
}

.pricing-pkg ul {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.pricing-pkg ul li {
    padding-left: 1.5rem;
    position: relative;
}

.pricing-pkg ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: 700;
}

.pricing-pkg .cta-button {
    text-align: center;
    width: 100%;
    display: block;
    box-sizing: border-box;
}

.pricing-note {
    color: var(--light-text);
    margin: 2rem auto 0;
    max-width: 640px;
    text-align: center;
}


/* ============================================================
   STATIC PRICING CARDS (fallback — no DB packages)
   ============================================================ */

.static-packages {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: var(--platform-content-width);
    margin: 0 auto;
}

.static-pkg {
    background: #fff;
    border: 2px solid var(--light-border);
    border-radius: 14px;
    padding: 2rem 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 24px 0 rgba(0,112,185,0.09);
    position: relative;
}

.static-pkg--featured {
    border-color: var(--primary-green);
    box-shadow: 0 8px 40px 0 rgba(86,192,69,0.18);
    transform: translateY(-6px);
}

.static-pkg h4 {
    font-family: var(--font-heading);
    margin: 0 0 0.75rem;
}

.static-pkg .pkg-price span {
    font-weight: 500;
    color: var(--light-text);
}

.static-pkg .pkg-tagline {
    margin: 0 0 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--light-border);
}

.static-pkg ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.static-pkg ul li {
    padding-left: 1.5rem;
    position: relative;
}

.static-pkg ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: 700;
}

.static-pkg .cta-button {
    text-align: center;
    width: 100%;
    display: block;
    box-sizing: border-box;
    margin-top: auto;
}

.static-pkg--custom {
    background: linear-gradient(135deg, #f7faff 0%, #f0f7f0 100%);
    border-style: dashed;
}

.static-pkg--custom .pkg-price { font-size: 1.6rem; }


/* ============================================================
   ADD-ON CARDS
   ============================================================ */

.addons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
    max-width: 800px;
    margin: 0 auto;
}

.addons-grid--3 {
    grid-template-columns: repeat(3, 1fr);
    max-width: var(--platform-content-width);
}

.addon-card {
    background: #fff;
    border: 1px solid var(--light-border);
    border-radius: 14px;
    padding: 2rem 1.75rem;
    box-shadow: 0 4px 24px 0 rgba(0,112,185,0.09);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: left;
}

.addon-icon { font-size: 2rem; }

.addon-card h3 {
    margin: 0;
}

.addon-card p {
    color: var(--light-text);
    margin: 0;
    flex: 1;
}

.addon-card .cta-button {
    width: fit-content;
    padding: 0.65rem 1.4rem;
}


/* ============================================================
   EXCHANGE SECTION (what you bring → what you get)
   ============================================================ */

.exchange-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: start;
    max-width: var(--platform-content-width);
    margin: 0 auto;
}

.exchange-side {
    background: #fff;
    border: 1px solid var(--light-border);
    border-radius: 14px;
    padding: 2.25rem 2rem;
    box-shadow: 0 4px 24px 0 rgba(0,112,185,0.09);
}

.exchange-label {
    margin-bottom: 1.5rem;
}

.exchange-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 5rem;
}

.exchange-arrow {
    font-size: 2rem;
    color: var(--primary-green);
    font-weight: 700;
}

.bring-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.bring-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.bring-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.bring-list li div {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.bring-list li strong {
    font-weight: 700;
    color: var(--primary-blue);
}

.bring-list li span {
    color: var(--light-text);
}

.exchange-preview {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

.preview-screenshot {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 12px 48px 0 rgba(0,112,185,0.22), 0 2px 8px 0 rgba(0,0,0,0.08);
    display: block;
    border: 3px solid #fff;
    outline: 1px solid var(--light-border);
}

.preview-caption {
    text-align: center;
    font-style: italic;
}

.deliver-close {
    color: var(--primary-blue);
    margin: 1.5rem 0 0;
    border-top: 1px solid var(--light-border);
    padding-top: 1.25rem;
}


/* ============================================================
   DARK PHOTO SECTION
   ============================================================ */

.section-dark-photo {
    position: relative;
    overflow: hidden;
    background: #082a47;
}

.section-dark-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.28;
    z-index: 0;
}

.section-dark-photo > * { position: relative; z-index: 1; }

.section-dark-photo h2 { color: #fff; }

.problem-body {
    color: var(--light-text);
    margin: 0 0 1rem;
}

.section-dark-photo .problem-body { color: rgba(255,255,255,0.75); }

.problem-close {
    margin: 0;
}

.section-dark-photo .problem-close { color: rgba(255,255,255,0.85); }
.section-dark-photo .problem-close strong { color: #fff; }


/* ============================================================
   RESULT SHOWCASE
   ============================================================ */

.result-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: var(--platform-content-width);
    margin: 3rem auto 0;
    align-items: stretch;
}

.result-shot {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 48px 0 rgba(0,112,185,0.18);
    transition: transform 0.18s;
    display: block;
}

.result-shot:hover { transform: translateY(-4px); }

.result-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

.showcase-cta { margin-top: 2rem; }


/* ============================================================
   SALES CTA BANNER
   ============================================================ */

.sales-cta-banner {
    background: linear-gradient(135deg, #082a47 0%, var(--primary-blue) 60%, #1a6e2e 100%);
    padding: 4rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sales-cta-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.18;
    z-index: 0;
}

.sales-cta-banner > * { position: relative; z-index: 1; }

.sales-cta-banner h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.75rem;
}

.sales-cta-banner p {
    color: rgba(255,255,255,0.72);
    margin: 0 0 2rem;
}


/* ============================================================
   SALES CONTACT / SETUP FORM
   ============================================================ */

.sales-contact-inner {
    max-width: 560px;
    margin: 0 auto;
}

.sales-contact-inner h2 { text-align: center; }

.sales-contact-lead {
    text-align: center;
    color: var(--light-text);
    margin: 0 auto 2rem;
    max-width: 460px;
}

.sales-form {
    background: #fff;
    border: 1px solid var(--light-border);
    border-radius: 14px;
    padding: 2rem;
    box-shadow: 0 4px 24px 0 rgba(0,112,185,0.09);
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.sales-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.sales-field input,
.sales-field textarea {
    border: 1px solid var(--light-border);
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 1rem;
    padding: 0.75rem 1rem;
    outline: none;
    transition: border-color 0.2s;
    background: #fff;
}

.sales-field input:focus,
.sales-field textarea:focus { border-color: var(--primary-green); }

.sales-field textarea { resize: vertical; min-height: 110px; }

.form-note--spaced { margin-top: 1.5rem; }

.sales-cta-banner .form-note { color: rgba(255,255,255,0.6); }
.sales-cta-banner .form-note a { color: rgba(255,255,255,0.85); }

.form-success {
    background: #f0fbf5;
    border: 1px solid #b2e8cc;
    border-radius: 10px;
    padding: 1.5rem;
    color: #1a7a4a;
    text-align: center;
}

.form-error {
    background: #fff5f5;
    border: 1px solid #f5c2c2;
    border-radius: 10px;
    padding: 1rem;
    color: #c0392b;
    text-align: center;
    margin-top: 1rem;
}


/* ============================================================
   PACKAGE CARDS (legacy — marketing pages)
   ============================================================ */

.package-card {
    background: #f7fafb;
    margin: 1.5rem 0;
    padding: 2.2rem 2rem 1.8rem 2rem;
    border-radius: 18px;
    box-shadow: 0 4px 24px 0 rgba(0,112,185,0.07), 0 0.7px 2.5px 0 rgba(0,0,0,0.03);
    text-align: left;
    border-left: 7px solid var(--primary-blue);
    transition: box-shadow 0.13s, border-color 0.18s;
}

.package-card h3 {
    font-weight: 500;
    letter-spacing: -0.2px;
    margin-bottom: 0.5rem;
}

.package-card .package-price {
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 0.7rem;
}

.package-card:hover {
    box-shadow: 0 7px 32px 0 rgba(0,112,185,0.15);
    border-color: var(--primary-green);
}


/* ============================================================
   STATUS / ERROR PAGES
   ============================================================ */

.status-page-title {
    font-size: 2rem;
    color: var(--primary-blue);
    font-weight: 500;
    letter-spacing: -0.7px;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.status-page-detail {
    color: var(--light-text);
    margin-top: 0.5rem;
}

.status-page-detail code {
    background: #f0f4f8;
    padding: 0.15em 0.45em;
    border-radius: 4px;
    font-size: 0.92em;
}

.status-page-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.status-page-help {
    margin-top: 1rem;
    font-size: 0.93rem;
    color: var(--light-text);
}

.status-page-help summary {
    cursor: pointer;
    font-weight: 500;
    color: var(--blue-600);
}

.status-page-help div { margin-top: 0.4rem; }


/* ============================================================
   CONTACT PAGE FORM (Contact.cshtml — within platform shell)
   ============================================================ */

.contact-page-title {
    font-size: 2rem;
    color: var(--primary-blue);
    font-weight: 500;
    letter-spacing: -0.7px;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.contact-page-subtitle {
    color: var(--light-text);
    margin-bottom: 2rem;
}

.contact-page-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-page-field label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.3rem;
    color: var(--blue-600);
    font-size: 0.97rem;
}

.contact-page-required { color: var(--red-600); }

.contact-page-field input,
.contact-page-field textarea {
    width: 100%;
    padding: 0.65rem 0.9rem;
    border: 1.5px solid var(--light-border);
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-sans);
    transition: border-color 0.15s, box-shadow 0.15s;
    box-sizing: border-box;
}

.contact-page-field input:focus,
.contact-page-field textarea:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 2.5px rgba(0,112,185,0.10);
    outline: none;
}

.contact-page-field textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-page-success {
    background: linear-gradient(88deg, #e8f6ec 80%, #f7fafb 100%);
    border-left: 4px solid var(--primary-green);
    padding: 1.2rem 1.5rem;
    border-radius: 0 12px 12px 0;
    color: #2b4a33;
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.contact-page-error {
    background: #fef2f2;
    border-left: 4px solid var(--red-600);
    padding: 1rem 1.3rem;
    border-radius: 0 12px 12px 0;
    color: #991b1b;
    font-size: 0.97rem;
    margin-top: 1rem;
}


/* ============================================================
   DEMO TENANT LINKS (Index page footer)
   ============================================================ */

.dev-links h2,
.prod-links h2 { color: var(--primary-blue); }

.dev-links,
.prod-links {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.prod-links h2 { color: var(--primary-green); }

.tenant-links {
    opacity: 0.9;
    font-size: 0.9em;
    position: relative;
    width: 100%;
    margin-top: 6rem;
    pointer-events: none;
    user-select: none;
    text-align: center;
}

.tenant-links h2 { font-size: 1.1em; margin-bottom: 0.5em; color: #bbb; }
.tenant-links ul { padding: 0; margin: 0; list-style: none; }
.tenant-links li { display: inline-block; margin: 0 0.7em; }
.tenant-links a { color: #bbb; text-decoration: underline; pointer-events: all; }

#why-choose-us ul,
#how-it-works ol {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

#why-choose-us ul li {
    font-size: 1.09rem;
    margin-bottom: 1.05rem;
    padding-left: 2.3rem;
    position: relative;
}

#why-choose-us ul li::before {
    content: '';
    position: absolute;
    left: 0.4rem;
    top: 0.43em;
    width: 1.35em;
    height: 1.35em;
    background: url('/Images/Icons/blue-check.png') center center/contain no-repeat;
    display: inline-block;
    opacity: 0.96;
    border-radius: 0.2em;
    box-shadow: 0 1.5px 7px rgba(0,112,185,0.07);
}

#how-it-works ol { counter-reset: li; }

#how-it-works ol li {
    padding-left: 2.1rem;
    position: relative;
    font-size: 1.09rem;
    margin-bottom: 1.05rem;
}

#how-it-works ol li::before {
    content: counter(li, decimal-leading-zero) " ";
    counter-increment: li;
    position: absolute;
    left: 0;
    top: 0.3em;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1.02em;
}

#testimonials blockquote {
    font-size: 1.10rem;
    color: #2b4a33;
    background: linear-gradient(88deg, #e8f6ec 80%, #f7fafb 100%);
    border-left: 4px solid var(--primary-green);
    margin: 1.1rem 0;
    padding: 1.2rem 1.7rem;
    border-radius: 0 14px 14px 0;
    box-shadow: 0 2px 12px 0 rgba(86,192,69,0.06);
}

#premium-add-ons a {
    background: var(--primary-blue);
    color: white;
    padding: 1em 2.4em;
    font-size: 1.04rem;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 4px 20px 0 rgba(0,112,185,0.08);
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    display: inline-block;
    margin-top: 20px;
    cursor: pointer;
}

#premium-add-ons a:hover {
    background: var(--primary-green);
    color: white;
    box-shadow: 0 4px 24px 0 rgba(86,192,69,0.15);
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1100px) {
    .static-packages { grid-template-columns: repeat(2, 1fr); }
    .static-pkg--featured { transform: none; }
}

@media (max-width: 860px) {
    .exchange-grid { grid-template-columns: 1fr; }
    .exchange-divider { padding-top: 0; }
    .exchange-arrow { transform: rotate(90deg); display: block; text-align: center; }
    .result-showcase { grid-template-columns: 1fr; }
    .addons-grid--3 { grid-template-columns: 1fr; }
    .addons-grid { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
    .section,
    .section.alt {
        padding: 1.5rem 0.8rem 1.8rem 0.8rem;
        max-width: 100vw;
    }

    #hero,
    .hero-card {
        padding: 2.2rem 0 2.2rem 0;
        min-height: 210px;
    }

    #hero h1 { font-size: 1.35rem; }

    .package-card { padding: 1.2rem 0.8rem 1rem 0.8rem; }

    .contact-page-field input,
    .contact-page-field textarea {
        font-size: 0.97rem;
        padding: 0.55rem 0.7rem;
    }

    .sales-hero-btns { flex-direction: column; align-items: center; }
}

@media (max-width: 700px) {
    .static-packages { grid-template-columns: 1fr; }
    .static-pkg--featured { transform: none; }
}
