/* ---------------------------------------------------------------------------
 * cheap3dprinting.com — site-wide theme
 *
 * Single accent (#35c3d3) over a white-and-grey palette. We override a small
 * set of Bootstrap 5 CSS variables so the existing components (buttons, links,
 * focus rings, badges) inherit the brand color automatically, then add a few
 * bespoke classes prefixed `c3p-` for the navbar / hero / cards / carousel.
 * ------------------------------------------------------------------------- */

:root {
    --c3p-accent: #35c3d3;
    --c3p-accent-dark: #279bab;
    --c3p-accent-darker: #1f7a86;
    --c3p-accent-soft: #e8f8fa;

    --c3p-ink: #1f2937;
    --c3p-ink-soft: #4b5563;
    --c3p-muted: #6b7280;

    --c3p-surface: #ffffff;
    --c3p-surface-soft: #f6f7f9;
    --c3p-border: #e5e7eb;
    --c3p-border-strong: #d1d5db;

    /* Distance from the viewport edge to where Bootstrap's `.container` content
     * actually starts — used by full-bleed sections (e.g. the homepage carousel)
     * to align their captions / controls with the rest of the page content even
     * though the section spans 100vw. The breakpoints mirror Bootstrap 5's
     * container max-widths. */
    --c3p-content-pad: 1rem;

    /* Bootstrap variable overrides — components that pull from these inherit
       the brand automatically. We keep `secondary` neutral grey. */
    --bs-primary: #35c3d3;
    --bs-primary-rgb: 53, 195, 211;
    --bs-link-color: var(--c3p-accent-dark);
    --bs-link-color-rgb: 39, 155, 171;
    --bs-link-hover-color: var(--c3p-accent-darker);
}
@media (min-width: 576px)  { :root { --c3p-content-pad: max(1rem, calc((100vw - 540px)  / 2)); } }
@media (min-width: 768px)  { :root { --c3p-content-pad: max(1rem, calc((100vw - 720px)  / 2)); } }
@media (min-width: 992px)  { :root { --c3p-content-pad: max(1rem, calc((100vw - 960px)  / 2)); } }
@media (min-width: 1200px) { :root { --c3p-content-pad: max(1rem, calc((100vw - 1140px) / 2)); } }
@media (min-width: 1400px) { :root { --c3p-content-pad: max(1rem, calc((100vw - 1320px) / 2)); } }

html { font-size: 14px; min-height: 100%; position: relative; }
@media (min-width: 768px) { html { font-size: 16px; } }

body {
    background: var(--c3p-surface);
    color: var(--c3p-ink);
    -webkit-font-smoothing: antialiased;
}

/* Focus rings use the accent. */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus,
.form-control:focus, .form-check-input:focus, .form-select:focus {
    box-shadow: 0 0 0 0.1rem #fff, 0 0 0 0.25rem var(--c3p-accent);
}
.form-control:focus, .form-select:focus { border-color: var(--c3p-accent); }

/* Floating-label tweak from the default template. */
.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}
.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder { text-align: start; }

/* Bootstrap primary -> accent. Keep contrast on hover/disabled. */
.btn-primary {
    --bs-btn-bg: var(--c3p-accent);
    --bs-btn-border-color: var(--c3p-accent);
    --bs-btn-hover-bg: var(--c3p-accent-dark);
    --bs-btn-hover-border-color: var(--c3p-accent-dark);
    --bs-btn-active-bg: var(--c3p-accent-darker);
    --bs-btn-active-border-color: var(--c3p-accent-darker);
    --bs-btn-disabled-bg: var(--c3p-accent);
    --bs-btn-disabled-border-color: var(--c3p-accent);
}
.btn-outline-primary {
    --bs-btn-color: var(--c3p-accent-dark);
    --bs-btn-border-color: var(--c3p-accent);
    --bs-btn-hover-bg: var(--c3p-accent);
    --bs-btn-hover-border-color: var(--c3p-accent);
    --bs-btn-active-bg: var(--c3p-accent-dark);
    --bs-btn-active-border-color: var(--c3p-accent-dark);
}
a { color: var(--c3p-accent-dark); }
a:hover { color: var(--c3p-accent-darker); }

/* ---------- Navbar ---------- */
.c3p-nav {
    background: var(--c3p-surface);
    border-bottom: 1px solid var(--c3p-border);
    padding: .5rem 1rem;
}
.c3p-nav .navbar-brand {
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--c3p-ink);
    font-size: 1.15rem;
}
.c3p-nav .navbar-brand .accent { color: var(--c3p-accent); }
.c3p-nav .nav-link {
    color: var(--c3p-ink-soft);
    font-weight: 500;
    padding-left: .85rem;
    padding-right: .85rem;
    transition: color .12s ease;
}
.c3p-nav .nav-link:hover,
.c3p-nav .nav-link:focus { color: var(--c3p-accent-dark); }
.c3p-nav .nav-link.admin-link { color: var(--c3p-accent-dark); font-weight: 600; }

/* ---------- Hero ---------- */
.c3p-hero {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 2.25rem 1.5rem 2rem;
    margin: .5rem 0 1.25rem;
    border-radius: 1.25rem;
    background:
        radial-gradient(1200px 400px at 80% -10%, rgba(53,195,211,.18), transparent 60%),
        radial-gradient(900px 350px at 0% 110%, rgba(53,195,211,.10), transparent 65%),
        linear-gradient(180deg, #fff 0%, #fbfdfe 100%);
    border: 1px solid var(--c3p-border);
}
.c3p-hero h1 {
    font-weight: 800;
    letter-spacing: -.025em;
    margin-bottom: .65rem;
    color: var(--c3p-ink);
    font-size: clamp(1.75rem, 3.4vw, 2.6rem);
}
.c3p-hero h1 .accent { color: var(--c3p-accent); }
.c3p-hero p.lead {
    color: var(--c3p-ink-soft);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
    margin-bottom: 0;
}
.c3p-hero .hero-actions {
    display: inline-flex;
    flex-wrap: wrap;
    gap: .65rem;
    justify-content: center;
    margin-top: 1rem;
}
.c3p-hero .btn { padding: .55rem 1.2rem; font-weight: 600; border-radius: .6rem; }

/* ---------- Carousel ----------
 * The `.c3p-fullbleed` modifier breaks out of the bootstrap `.container`
 * (which is what wraps RenderBody) to span the entire viewport width.
 * Calc trick keeps it from triggering a horizontal scrollbar by using
 * 100vw minus the scrollbar width via a CSS variable JS sets on load.
 */
.c3p-fullbleed {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    border-radius: 0;
}

.c3p-carousel {
    position: relative;
    border-top: 1px solid var(--c3p-border);
    border-bottom: 1px solid var(--c3p-border);
    background: var(--c3p-surface-soft);
    overflow: hidden;
    margin-bottom: 2rem;
}
.c3p-carousel .carousel-inner {
    height: clamp(220px, 28vw, 360px);
}
.c3p-carousel .carousel-item { height: 100%; }
.c3p-carousel .carousel-item.active,
.c3p-carousel .carousel-item-next,
.c3p-carousel .carousel-item-prev { display: block; }

.c3p-carousel .c3p-slide {
    position: absolute; inset: 0;
    display: flex;
}
.c3p-carousel .c3p-slide-viewer {
    flex: 1 1 auto;
    background:
        linear-gradient(180deg, #fff 0%, #f0f4f6 100%);
    position: relative;
    min-height: 100%;
}
.c3p-carousel .c3p-slide-meta {
    position: absolute;
    left: var(--c3p-content-pad);
    bottom: 1rem;
    max-width: min(480px, calc(100vw - 2 * var(--c3p-content-pad) - 4rem));
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(6px);
    border: 1px solid var(--c3p-border);
    border-radius: .75rem;
    padding: .65rem .9rem;
    pointer-events: none;
}
.c3p-carousel .c3p-slide-meta h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--c3p-ink);
}
.c3p-carousel .c3p-slide-meta p {
    margin: .1rem 0 0; font-size: .8rem; color: var(--c3p-muted);
}
.c3p-carousel .c3p-slide-status {
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    color: var(--c3p-muted); font-size: .9rem;
}

/* Bootstrap's default carousel chevrons live in dark grey; we want them to
 * match the accent and read on light backgrounds. They're also pulled inward
 * to sit at the container's left/right edges (rather than the viewport's) so
 * they line up with the rest of the page content even though the carousel
 * itself spans 100vw. */
.c3p-carousel .carousel-control-prev,
.c3p-carousel .carousel-control-next {
    width: 3rem;
    opacity: 1;
}
.c3p-carousel .carousel-control-prev { left: calc(var(--c3p-content-pad) - .25rem); }
.c3p-carousel .carousel-control-next { right: calc(var(--c3p-content-pad) - .25rem); }
.c3p-carousel .carousel-control-prev-icon,
.c3p-carousel .carousel-control-next-icon {
    background-color: var(--c3p-accent);
    border-radius: 50%;
    width: 2.25rem; height: 2.25rem;
    background-size: .9rem;
    box-shadow: 0 .35rem 1rem rgba(0,0,0,.15);
    background-position: center;
}
.c3p-carousel .carousel-indicators {
    left: var(--c3p-content-pad);
    right: var(--c3p-content-pad);
    margin-bottom: .5rem;
}
.c3p-carousel .carousel-indicators [data-bs-target] {
    background-color: var(--c3p-accent);
    width: 10px; height: 10px; border-radius: 50%;
    border: 0; opacity: .35;
}
.c3p-carousel .carousel-indicators .active { opacity: 1; }

/* ---------- CTA cards (the two below the carousel) ---------- */
.c3p-card {
    display: block;
    height: 100%;
    background: var(--c3p-surface);
    border: 1px solid var(--c3p-border);
    border-radius: 1.1rem;
    padding: 1.75rem 1.75rem 1.5rem;
    text-decoration: none;
    color: var(--c3p-ink);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.c3p-card:hover, .c3p-card:focus-visible {
    color: var(--c3p-ink);
    transform: translateY(-3px);
    box-shadow: 0 1.25rem 1.75rem rgba(15,23,42,.07);
    border-color: var(--c3p-accent);
}
.c3p-card .icon-circle {
    width: 56px; height: 56px;
    background: var(--c3p-accent-soft);
    color: var(--c3p-accent-dark);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}
.c3p-card h3 { font-weight: 700; margin: 0 0 .35rem; }
.c3p-card p { color: var(--c3p-muted); margin: 0; font-size: .95rem; }
.c3p-card .arrow {
    display: inline-flex; align-items: center; gap: .35rem;
    color: var(--c3p-accent-dark);
    font-weight: 600;
    margin-top: 1rem;
}

/* ---------- Auth (Login / Register) ---------- */
.c3p-auth {
    display: flex;
    justify-content: center;
    padding: 1.5rem 0 3rem;
}
.c3p-auth-card {
    width: 100%;
    max-width: 440px;
    background:
        radial-gradient(600px 200px at 90% -20%, rgba(53,195,211,.14), transparent 60%),
        linear-gradient(180deg, #fff 0%, #fbfdfe 100%);
    border: 1px solid var(--c3p-border);
    border-radius: 1.25rem;
    padding: 2rem 1.75rem 1.75rem;
    box-shadow: 0 1.25rem 2.5rem rgba(15,23,42,.06);
}
.c3p-auth-title {
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--c3p-ink);
    font-size: clamp(1.5rem, 2.6vw, 1.9rem);
    margin-bottom: .35rem;
}
.c3p-auth-sub {
    color: var(--c3p-ink-soft);
    font-size: .95rem;
    margin-bottom: 1.5rem;
}
.c3p-auth .form-floating > label { color: var(--c3p-muted); }
.c3p-auth .form-control {
    border-radius: .65rem;
    border-color: var(--c3p-border-strong);
}
.c3p-auth-submit {
    padding: .65rem 1.2rem;
    font-weight: 600;
    border-radius: .65rem;
    margin-top: .25rem;
}
.c3p-auth-error:not(:empty) {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #be123c;
    padding: .65rem .85rem;
    border-radius: .65rem;
    font-size: .9rem;
    margin-bottom: 1rem;
}
.c3p-auth-error ul { margin: 0; padding-left: 1.1rem; }
.c3p-auth-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .5rem;
    align-items: center;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--c3p-border);
    font-size: .9rem;
    color: var(--c3p-muted);
}
.c3p-auth-links a {
    font-weight: 600;
    text-decoration: none;
}
.c3p-auth-links a:hover { text-decoration: underline; }

/* ---------- Marketing pages & homepage long-form sections ----------
 * Shared design language for everything below the hero/carousel/cards on
 * the home page, and for /how-it-works, /materials, /pricing, /faq, /about.
 * Keeps the same accent + rounded-card + soft-grey palette as the rest of
 * the site so the marketing surface doesn't look bolted on.
 */

/* Page header used at the top of /how-it-works, /pricing, etc. */
.c3p-page-header {
    text-align: center;
    padding: 1.75rem 0 1.25rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--c3p-border);
}
.c3p-page-eyebrow {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--c3p-accent-dark);
    background: var(--c3p-accent-soft);
    padding: .3rem .7rem;
    border-radius: 999px;
    margin-bottom: .85rem;
}
.c3p-page-title {
    font-weight: 800;
    letter-spacing: -.025em;
    color: var(--c3p-ink);
    font-size: clamp(1.85rem, 3.6vw, 2.6rem);
    margin: 0 0 .65rem;
    line-height: 1.15;
}
.c3p-page-title .accent { color: var(--c3p-accent); }
.c3p-page-lead {
    color: var(--c3p-ink-soft);
    font-size: clamp(1rem, 1.6vw, 1.1rem);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.55;
}

/* Section header used inside a page (h2 + optional eyebrow + sub) */
.c3p-section { margin: 2rem 0; }
.c3p-section-header { text-align: center; margin-bottom: 1.5rem; }
.c3p-section-header.left { text-align: left; }
.c3p-eyebrow {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--c3p-accent-dark);
    margin-bottom: .5rem;
}
.c3p-section-title {
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--c3p-ink);
    font-size: clamp(1.4rem, 2.6vw, 1.95rem);
    margin: 0 0 .5rem;
    line-height: 1.2;
}
.c3p-section-sub {
    color: var(--c3p-ink-soft);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.55;
}
.c3p-section-header.left .c3p-section-sub { margin-left: 0; }

/* Inline long-form copy (used inside .c3p-panel and on marketing pages) */
.c3p-prose { max-width: 760px; }
.c3p-prose p { color: var(--c3p-ink-soft); line-height: 1.65; margin-bottom: 1rem; }
.c3p-prose h2 {
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--c3p-ink);
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
    margin: 2rem 0 .75rem;
}
.c3p-prose h3 {
    font-weight: 700;
    color: var(--c3p-ink);
    font-size: 1.15rem;
    margin: 1.25rem 0 .35rem;
}
.c3p-prose ul { color: var(--c3p-ink-soft); line-height: 1.65; padding-left: 1.25rem; }
.c3p-prose ul li { margin-bottom: .35rem; }
.c3p-prose ul li strong { color: var(--c3p-ink); }
.c3p-prose code {
    background: var(--c3p-surface-soft);
    border: 1px solid var(--c3p-border);
    padding: .05rem .35rem;
    border-radius: .35rem;
    font-size: .88em;
    color: var(--c3p-ink);
}

/* Panel — a soft card that wraps prose or grids to give them visual weight. */
.c3p-panel {
    background:
        radial-gradient(600px 200px at 100% -20%, rgba(53,195,211,.08), transparent 60%),
        var(--c3p-surface);
    border: 1px solid var(--c3p-border);
    border-radius: 1.25rem;
    padding: clamp(1.25rem, 3vw, 2.25rem);
    margin-bottom: 2rem;
}
.c3p-panel.soft {
    background:
        radial-gradient(900px 320px at 0% 110%, rgba(53,195,211,.08), transparent 65%),
        var(--c3p-surface-soft);
}
.c3p-panel > h2:first-child,
.c3p-panel > .c3p-section-header:first-child { margin-top: 0; }

/* 3-step / how-it-works row (used on the home page and /how-it-works) */
.c3p-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}
.c3p-step {
    background: var(--c3p-surface);
    border: 1px solid var(--c3p-border);
    border-radius: 1.1rem;
    padding: 1.4rem 1.3rem 1.25rem;
    position: relative;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.c3p-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 1rem 1.5rem rgba(15,23,42,.06);
    border-color: var(--c3p-accent);
}
.c3p-step .num {
    display: inline-flex;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--c3p-accent-soft);
    color: var(--c3p-accent-dark);
    align-items: center; justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: .75rem;
    border: 1px solid color-mix(in srgb, var(--c3p-accent) 25%, transparent);
}
.c3p-step h3 {
    font-weight: 700;
    font-size: 1.05rem;
    margin: 0 0 .35rem;
    color: var(--c3p-ink);
    letter-spacing: -.01em;
}
.c3p-step p { color: var(--c3p-ink-soft); margin: 0; font-size: .94rem; line-height: 1.55; }

/* Checklist — "Why us" style list with accent check marks. */
.c3p-checklist {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: .85rem;
}
.c3p-checklist li {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    background: var(--c3p-surface);
    border: 1px solid var(--c3p-border);
    border-radius: .9rem;
    padding: .85rem 1rem;
    line-height: 1.5;
    color: var(--c3p-ink-soft);
}
.c3p-checklist li::before {
    content: "";
    flex: 0 0 22px;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--c3p-accent);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'><path d='M6.173 11.293 2.88 8 1.467 9.413l4.706 4.707L15.467 4.827l-1.414-1.414z'/></svg>");
    background-size: 12px 12px;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: .15rem;
}
.c3p-checklist li strong { color: var(--c3p-ink); font-weight: 700; display: block; margin-bottom: .1rem; }

/* FAQ list — homepage mini-FAQ + /faq page. Card per question. */
.c3p-faq {
    display: grid;
    gap: .75rem;
    margin: 0;
}
.c3p-faq dt {
    font-weight: 700;
    color: var(--c3p-ink);
    background: var(--c3p-surface);
    border: 1px solid var(--c3p-border);
    border-bottom: 0;
    border-radius: .85rem .85rem 0 0;
    padding: .85rem 1.1rem .5rem;
    position: relative;
    padding-left: 2.5rem;
}
.c3p-faq dt::before {
    content: "?";
    position: absolute;
    left: .85rem; top: .85rem;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--c3p-accent-soft);
    color: var(--c3p-accent-dark);
    font-weight: 800;
    font-size: .85rem;
    display: inline-flex; align-items: center; justify-content: center;
    line-height: 1;
}
.c3p-faq dd {
    color: var(--c3p-ink-soft);
    background: var(--c3p-surface);
    border: 1px solid var(--c3p-border);
    border-top: 0;
    border-radius: 0 0 .85rem .85rem;
    padding: 0 1.1rem .9rem 2.5rem;
    margin: 0;
    line-height: 1.6;
}

/* Pricing cards (AI credit packs). */
.c3p-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: .85rem;
    margin: .75rem 0 0;
}
.c3p-pricing-card {
    background: var(--c3p-surface);
    border: 1px solid var(--c3p-border);
    border-radius: 1rem;
    padding: 1.1rem 1.1rem 1rem;
    text-align: center;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.c3p-pricing-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 .85rem 1.4rem rgba(15,23,42,.06);
    border-color: var(--c3p-accent);
}
.c3p-pricing-card .credits {
    font-weight: 800;
    color: var(--c3p-ink);
    font-size: 1.5rem;
    letter-spacing: -.02em;
}
.c3p-pricing-card .price {
    color: var(--c3p-accent-dark);
    font-weight: 700;
    font-size: 1.05rem;
    margin-top: .35rem;
}
.c3p-pricing-card .per {
    color: var(--c3p-muted);
    font-size: .82rem;
    margin-top: .25rem;
}

/* Materials grid — colored swatch + name + blurb. */
.c3p-material-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: .85rem;
    margin: .75rem 0 0;
}
.c3p-material {
    background: var(--c3p-surface);
    border: 1px solid var(--c3p-border);
    border-radius: 1rem;
    padding: 1rem 1.1rem;
    transition: transform .15s ease, border-color .15s ease;
}
.c3p-material:hover { transform: translateY(-2px); border-color: var(--c3p-accent); }
.c3p-material .swatch {
    display: inline-block;
    width: 28px; height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--c3p-accent), var(--c3p-accent-darker));
    margin-bottom: .55rem;
    box-shadow: inset 0 -2px 0 rgba(0,0,0,.08);
}
.c3p-material .name {
    font-weight: 700;
    color: var(--c3p-ink);
    font-size: 1.05rem;
    letter-spacing: -.01em;
}
.c3p-material .blurb {
    color: var(--c3p-ink-soft);
    font-size: .9rem;
    margin-top: .25rem;
    line-height: 1.5;
}

/* Side-by-side card pair (used for "Two ways to get a model" etc.) */
.c3p-card-pair {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

/* Final CTA banner above the footer on marketing pages. */
.c3p-cta {
    text-align: center;
    margin: 3rem 0 1rem;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border-radius: 1.25rem;
    border: 1px solid var(--c3p-border);
    background:
        radial-gradient(800px 280px at 80% -20%, rgba(53,195,211,.22), transparent 60%),
        radial-gradient(700px 260px at 0% 120%, rgba(53,195,211,.16), transparent 65%),
        linear-gradient(180deg, #fff 0%, #fbfdfe 100%);
}
.c3p-cta h2 {
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--c3p-ink);
    font-size: clamp(1.35rem, 2.6vw, 1.85rem);
    margin: 0 0 .45rem;
}
.c3p-cta p {
    color: var(--c3p-ink-soft);
    max-width: 560px;
    margin: 0 auto 1.1rem;
}
.c3p-cta .hero-actions { margin-top: 0; }

/* ---------- Footer ---------- */
.footer {
    margin-top: 3rem;
    background:
        linear-gradient(180deg, var(--c3p-surface) 0%, var(--c3p-surface-soft) 100%);
    border-top: 1px solid var(--c3p-border);
    color: var(--c3p-ink-soft);
    font-size: .92rem;
    position: relative;
}
.footer::before {
    content: "";
    position: absolute;
    top: -1px; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--c3p-accent) 25%,
        var(--c3p-accent-darker) 50%,
        var(--c3p-accent) 75%,
        transparent 100%);
    opacity: .55;
}
.footer-main {
    padding: 2.25rem 0 1.5rem;
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(0, 1fr));
}
@media (max-width: 767px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    .footer-brand { grid-column: 1 / -1; }
}
.footer-brand .brand {
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--c3p-ink);
    font-size: 1.15rem;
    text-decoration: none;
    display: inline-block;
    margin-bottom: .65rem;
}
.footer-brand .brand .accent { color: var(--c3p-accent); }
.footer-brand .tagline {
    color: var(--c3p-ink-soft);
    line-height: 1.55;
    max-width: 320px;
    margin: 0 0 1rem;
}
.footer-brand .footer-cta {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .5rem .95rem;
    border-radius: .65rem;
    background: var(--c3p-accent);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    font-size: .9rem;
    transition: background .15s ease, transform .15s ease;
}
.footer-brand .footer-cta:hover {
    background: var(--c3p-accent-dark);
    color: #fff;
    transform: translateY(-1px);
}

.footer-col h6 {
    font-size: .72rem;
    font-weight: 700;
    color: var(--c3p-muted);
    text-transform: uppercase;
    letter-spacing: .14em;
    margin: 0 0 .85rem;
}
.footer-col ul {
    list-style: none;
    padding: 0; margin: 0;
    display: flex; flex-direction: column;
    gap: .5rem;
}
.footer-col a {
    color: var(--c3p-ink-soft);
    text-decoration: none;
    font-weight: 500;
    transition: color .15s ease;
}
.footer-col a:hover { color: var(--c3p-accent-dark); }

.footer-bottom {
    border-top: 1px solid var(--c3p-border);
    padding: .95rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .75rem;
    font-size: .85rem;
    color: var(--c3p-muted);
}
.footer-bottom .brand-mini .accent { color: var(--c3p-accent); }
.footer-bottom .legal { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-bottom .legal a {
    color: var(--c3p-muted);
    text-decoration: none;
}
.footer-bottom .legal a:hover { color: var(--c3p-accent-dark); text-decoration: underline; }
