/* ==========================================================================
   ansley — marketing & auth design system
   Used by: index.php, signin.php, signup.php
   (Other pages continue to use quickFaqSiteStyle.css)
   ========================================================================== */

:root {
    --blue: #0066ff;
    --blue-dark: #0049c7;
    --blue-deep: #002d80;
    --violet: #7a5cff;
    --ink: #0b1526;
    --ink-soft: #22314a;
    --muted: #5a6b82;
    --faint: #8fa0b5;
    --bg: #f7f9fc;
    --surface: #ffffff;
    --border: rgba(11, 21, 38, 0.08);
    --border-strong: rgba(11, 21, 38, 0.14);
    --green: #0bab64;
    --red: #e5484d;
    --amber: #b98900;
    --grad: linear-gradient(120deg, #0066ff 0%, #4d8dff 55%, #7a5cff 100%);
    --shadow-sm: 0 1px 2px rgba(11, 21, 38, 0.06), 0 2px 8px rgba(11, 21, 38, 0.05);
    --shadow-md: 0 4px 12px rgba(11, 21, 38, 0.07), 0 12px 32px rgba(11, 21, 38, 0.08);
    --shadow-lg: 0 8px 24px rgba(11, 21, 38, 0.10), 0 24px 64px rgba(11, 21, 38, 0.12);
    --radius: 16px;
    --radius-lg: 24px;
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
        Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    background-color: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img,
video {
    max-width: 100%;
    display: block;
}

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

::selection {
    background: rgba(0, 102, 255, 0.18);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 999px;
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease,
        color 0.16s ease, border-color 0.16s ease;
    white-space: nowrap;
}

.btn:active {
    transform: translateY(1px) scale(0.99);
}

.btn-primary {
    background: linear-gradient(180deg, #1a75ff 0%, var(--blue) 55%, #0057d9 100%);
    color: #fff;
    box-shadow: 0 1px 2px rgba(0, 45, 128, 0.35), 0 8px 20px -6px rgba(0, 102, 255, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 45, 128, 0.35), 0 14px 28px -6px rgba(0, 102, 255, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-ghost {
    background: rgba(0, 102, 255, 0.08);
    color: var(--blue);
    border: 1px solid rgba(0, 102, 255, 0.18);
}

.btn-ghost:hover {
    background: rgba(0, 102, 255, 0.14);
    border-color: rgba(0, 102, 255, 0.3);
}

.btn-plain {
    background: transparent;
    color: var(--ink-soft);
    padding: 10px 18px;
}

.btn-plain:hover {
    background: rgba(11, 21, 38, 0.05);
}

.btn-white {
    background: #fff;
    color: var(--blue-deep);
    box-shadow: 0 8px 24px rgba(0, 20, 60, 0.35);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0, 20, 60, 0.45);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 17px;
}

.btn-note {
    font-size: 13.5px;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 5000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 14px clamp(16px, 4vw, 40px);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px) saturate(1.4);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    border-bottom: 1px solid var(--border);
}

.site-header .logo a {
    display: inline-flex;
    align-items: center;
}

.logo-image {
    height: 44px;
    width: auto;
}

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

.header-nav .nav-link {
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.15s ease;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 720px) {
    .header-nav .nav-link {
        display: none;
    }

    .logo-image {
        height: 38px;
    }

    .btn {
        padding: 11px 20px;
        font-size: 14.5px;
    }

    .btn-lg {
        padding: 14px 26px;
        font-size: 15.5px;
    }
}

/* --------------------------------------------------------------------------
   Shared section scaffolding
   -------------------------------------------------------------------------- */
.section {
    padding: clamp(64px, 9vw, 110px) clamp(16px, 5vw, 40px);
}

.section-inner {
    max-width: 1120px;
    margin: 0 auto;
}

.section-head {
    max-width: 680px;
    margin: 0 auto clamp(36px, 5vw, 56px);
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(0, 102, 255, 0.08);
    border: 1px solid rgba(0, 102, 255, 0.16);
    color: var(--blue);
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 18px;
}

.section-head h2,
.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--ink);
}

.section-head p {
    margin-top: 14px;
    font-size: clamp(16px, 1.6vw, 18px);
    color: var(--muted);
}

.text-grad {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Scroll-reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s cubic-bezier(0.22, 0.61, 0.36, 1),
        transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .btn,
    .hero-orb {
        transition: none;
        animation: none !important;
    }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(56px, 8vw, 96px) clamp(16px, 5vw, 40px) clamp(40px, 5vw, 64px);
    background:
        radial-gradient(1000px 480px at 50% -140px, rgba(0, 102, 255, 0.14), transparent 68%),
        linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
    text-align: center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(11, 21, 38, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11, 21, 38, 0.045) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(720px 420px at 50% 0%, #000 30%, transparent 75%);
    mask-image: radial-gradient(720px 420px at 50% 0%, #000 30%, transparent 75%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-orb {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.35;
    pointer-events: none;
    z-index: -1;
}

.hero-orb.left {
    background: #4d8dff;
    top: -120px;
    left: -220px;
}

.hero-orb.right {
    background: #a48bff;
    top: 40px;
    right: -240px;
}

.hero h1 {
    font-size: clamp(38px, 6.2vw, 68px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.08;
    max-width: 850px;
    margin-bottom: 22px;
    color: var(--ink);
}

.hero-sub {
    font-size: clamp(17px, 2vw, 20px);
    color: var(--muted);
    max-width: 640px;
    margin-bottom: 32px;
}

.hero-sub strong {
    color: var(--ink-soft);
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 14px;
}

.hero-microcopy {
    font-size: 14px;
    color: var(--faint);
    margin-bottom: 34px;
}

.hero-microcopy .dot {
    margin: 0 8px;
    opacity: 0.6;
}

/* Social proof strip under hero CTAs */
.proof-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: clamp(36px, 5vw, 56px);
}

.avatar-stack {
    display: flex;
}

.avatar-stack span {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2.5px solid #fff;
    background: linear-gradient(135deg, #cdd9ec, #9fb4d4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    margin-left: -10px;
    box-shadow: var(--shadow-sm);
}

.avatar-stack span:first-child {
    margin-left: 0;
}

.avatar-stack span:nth-child(2) {
    background: linear-gradient(135deg, #7a5cff, #a48bff);
}

.avatar-stack span:nth-child(3) {
    background: linear-gradient(135deg, #0066ff, #4d8dff);
}

.avatar-stack span:nth-child(4) {
    background: linear-gradient(135deg, #0bab64, #3fd08d);
}

.proof-text {
    text-align: left;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.45;
}

.proof-text .stars {
    color: #f5a623;
    letter-spacing: 2px;
    font-size: 13px;
}

/* Product showcase / carousel */
.showcase {
    position: relative;
    width: 100%;
    max-width: 1060px;
    margin: 0 auto;
}

.browser-frame {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: linear-gradient(180deg, #fbfcfe, #f2f5fa);
    border-bottom: 1px solid var(--border);
}

.browser-bar i {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
}

.browser-bar i:nth-child(1) {
    background: #ff5f57;
}

.browser-bar i:nth-child(2) {
    background: #febc2e;
}

.browser-bar i:nth-child(3) {
    background: #28c840;
}

.browser-bar .url {
    flex: 1;
    max-width: 420px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 12.5px;
    color: var(--faint);
    padding: 4px 14px;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.image-container {
    width: 100%;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    background: #eef2f8;
}

.image-container::-webkit-scrollbar {
    display: none;
}

.image-container img {
    flex: 0 0 100%;
    width: 100%;
    height: auto;
    object-fit: contain;
    scroll-snap-align: center;
    cursor: pointer;
}

.dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dots span {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.dots .active {
    background-color: var(--blue);
    width: 26px;
}

.dots .inactive {
    background-color: #c6d2e2;
}

/* --------------------------------------------------------------------------
   Logo strip (social proof placeholder)
   -------------------------------------------------------------------------- */
.logo-strip {
    padding: 34px clamp(16px, 5vw, 40px) 44px;
    text-align: center;
}

.logo-strip p {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--faint);
    margin-bottom: 22px;
}

.logo-strip-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: clamp(28px, 5vw, 56px);
    max-width: 1000px;
    margin: 0 auto;
}

.customer-logo {
    height: 44px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.72;
    transition: filter 0.2s ease, opacity 0.2s ease;
}

.customer-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

.logo-placeholder {
    min-width: 132px;
    padding: 12px 20px;
    border: 1.5px dashed var(--border-strong);
    border-radius: 10px;
    color: var(--faint);
    font-size: 13px;
    font-weight: 600;
    opacity: 0.85;
}

/* --------------------------------------------------------------------------
   Stats band
   -------------------------------------------------------------------------- */
.stats-band .section-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 30px 26px;
    text-align: center;
}

.stat-card .stat-value {
    font-size: clamp(30px, 3.4vw, 40px);
    font-weight: 800;
    letter-spacing: -0.02em;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.stat-card .stat-label {
    margin-top: 6px;
    color: var(--muted);
    font-size: 15px;
}

@media (max-width: 720px) {
    .stats-band .section-inner {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   How it works — 3 steps
   -------------------------------------------------------------------------- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.step-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 32px 28px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--grad);
    color: #fff;
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 18px;
    box-shadow: 0 6px 16px -4px rgba(0, 102, 255, 0.5);
}

.step-card h3 {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
}

.step-card p {
    color: var(--muted);
    font-size: 15px;
}

.step-card code {
    display: inline-block;
    margin-top: 10px;
    background: #0b1526;
    color: #7fd0ff;
    font-size: 12.5px;
    padding: 8px 12px;
    border-radius: 8px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.steps-cta {
    text-align: center;
    margin-top: 40px;
}

@media (max-width: 880px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   Features grid
   -------------------------------------------------------------------------- */
.features {
    background: linear-gradient(180deg, var(--bg), #ffffff);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 26px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 102, 255, 0.28);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: rgba(0, 102, 255, 0.09);
    color: var(--blue);
    margin-bottom: 16px;
}

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

.feature-card h3 {
    font-size: 17.5px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 7px;
}

.feature-card p {
    color: var(--muted);
    font-size: 14.5px;
}

@media (max-width: 960px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   Integrations
   -------------------------------------------------------------------------- */
.integrations-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.integration-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 30px 26px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.integration-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 102, 255, 0.28);
    box-shadow: var(--shadow-md);
}

.integration-emblem {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    background: rgba(0, 102, 255, 0.08);
}

.integration-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
}

.integration-card p {
    color: var(--muted);
    font-size: 14px;
}

.integration-card .link-hint {
    display: inline-block;
    margin-top: 12px;
    color: var(--blue);
    font-weight: 600;
    font-size: 14px;
}

@media (max-width: 880px) {
    .integrations-row {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.testimonials {
    background:
        radial-gradient(800px 400px at 85% 0%, rgba(122, 92, 255, 0.08), transparent 70%),
        radial-gradient(800px 400px at 10% 100%, rgba(0, 102, 255, 0.08), transparent 70%),
        #ffffff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.testimonial-card .stars {
    color: #f5a623;
    font-size: 15px;
    letter-spacing: 3px;
}

.testimonial-card blockquote {
    font-size: 15.5px;
    color: var(--ink-soft);
    line-height: 1.65;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #cdd9ec, #9fb4d4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    flex-shrink: 0;
}

.testimonial-author .who strong {
    display: block;
    font-size: 14.5px;
    color: var(--ink);
}

.testimonial-author .who span {
    font-size: 13px;
    color: var(--faint);
}

@media (max-width: 880px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */
.pricing-card {
    max-width: 480px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
}

.pricing-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--grad);
}

.pricing-body {
    padding: 40px 36px 36px;
    text-align: center;
}

.pricing-badge {
    display: inline-block;
    background: rgba(11, 171, 100, 0.1);
    color: var(--green);
    border: 1px solid rgba(11, 171, 100, 0.25);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 14px;
    margin-bottom: 18px;
}

.pricing-price {
    font-size: 54px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--ink);
}

.pricing-price--pending {
    font-size: clamp(26px, 3.4vw, 34px);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.pricing-price .per {
    font-size: 17px;
    font-weight: 500;
    color: var(--faint);
    letter-spacing: 0;
}

.pricing-tagline {
    margin-top: 10px;
    color: var(--muted);
    font-size: 15px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin: 28px auto;
    max-width: 320px;
    display: grid;
    gap: 12px;
}

.pricing-features li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 15px;
    color: var(--ink-soft);
}

.pricing-features li::before {
    content: "";
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    border-radius: 50%;
    background: rgba(11, 171, 100, 0.12) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%230bab64" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center / 11px no-repeat;
}

.pricing-fineprint {
    margin-top: 14px;
    font-size: 13px;
    color: var(--faint);
}

/* --------------------------------------------------------------------------
   FAQ accordion
   -------------------------------------------------------------------------- */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.faq-item[open] {
    border-color: rgba(0, 102, 255, 0.3);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 19px 22px;
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary .chev {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(0, 102, 255, 0.08);
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: transform 0.25s ease;
}

.faq-item[open] summary .chev {
    transform: rotate(45deg);
}

.faq-item .faq-answer {
    padding: 0 22px 20px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Final CTA band
   -------------------------------------------------------------------------- */
.final-cta {
    padding: clamp(70px, 9vw, 110px) clamp(16px, 5vw, 40px);
    background:
        radial-gradient(900px 460px at 20% -10%, rgba(122, 92, 255, 0.45), transparent 60%),
        radial-gradient(900px 460px at 85% 110%, rgba(0, 168, 255, 0.35), transparent 60%),
        linear-gradient(135deg, #002d80 0%, #0047c7 55%, #0066ff 100%);
    text-align: center;
    color: #fff;
}

.final-cta h2 {
    font-size: clamp(30px, 4.6vw, 48px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.12;
    max-width: 720px;
    margin: 0 auto 16px;
}

.final-cta p {
    font-size: clamp(16px, 1.8vw, 19px);
    color: rgba(255, 255, 255, 0.82);
    max-width: 560px;
    margin: 0 auto 34px;
}

.final-cta .hero-ctas {
    margin-bottom: 18px;
}

.final-cta .microcopy {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
}

.final-cta .btn-ghost {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.final-cta .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
    background: #0b1526;
    color: #b7c3d4;
    padding: clamp(48px, 6vw, 72px) clamp(16px, 5vw, 40px) 32px;
}

.footer-grid {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-brand img {
    height: 40px;
    filter: brightness(0) invert(1);
    opacity: 0.95;
    margin-bottom: 14px;
}

.footer-brand p {
    font-size: 14px;
    max-width: 300px;
    color: #8fa0b5;
}

.footer-col h4 {
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}

.footer-col a {
    display: block;
    color: #b7c3d4;
    text-decoration: none;
    font-size: 14.5px;
    margin-bottom: 10px;
    transition: color 0.15s ease;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    max-width: 1120px;
    margin: 24px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 13.5px;
    color: #8fa0b5;
}

.footer-bottom a {
    color: #8fa0b5;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #fff;
}

@media (max-width: 820px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* --------------------------------------------------------------------------
   AUTH PAGES (signin.php / signup.php)
   -------------------------------------------------------------------------- */
.auth-body {
    min-height: 100vh;
    background: var(--bg);
}

.auth-shell {
    display: grid;
    grid-template-columns: minmax(400px, 46%) 1fr;
    min-height: 100vh;
}

/* Left brand panel */
.auth-aside {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(28px, 4vw, 52px);
    background:
        radial-gradient(800px 420px at 0% 0%, rgba(122, 92, 255, 0.5), transparent 62%),
        radial-gradient(900px 500px at 100% 100%, rgba(0, 168, 255, 0.42), transparent 62%),
        linear-gradient(160deg, #002d80 0%, #0047c7 55%, #0066ff 100%);
    color: #fff;
}

.auth-aside::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    -webkit-mask-image: radial-gradient(600px 600px at 30% 20%, #000 20%, transparent 80%);
    mask-image: radial-gradient(600px 600px at 30% 20%, #000 20%, transparent 80%);
    pointer-events: none;
}

.auth-aside > * {
    position: relative;
}

.auth-aside .aside-logo img {
    height: 42px;
    filter: brightness(0) invert(1);
}

.auth-aside-main {
    max-width: 420px;
    margin: 40px 0;
}

.auth-aside-main h2 {
    font-size: clamp(26px, 2.6vw, 34px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.18;
    margin-bottom: 24px;
}

.auth-points {
    list-style: none;
    display: grid;
    gap: 16px;
}

.auth-points li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 15.5px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.5;
}

.auth-points li::before {
    content: "";
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center / 12px no-repeat;
}

.auth-aside-quote {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 20px 22px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    max-width: 420px;
}

.auth-aside-quote blockquote {
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 12px;
}

.auth-aside-quote .who {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
}

.auth-aside-quote .who i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    font-weight: 700;
    font-size: 12.5px;
    color: #fff;
}

/* Right form panel */
.auth-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(28px, 4vw, 56px) clamp(18px, 4vw, 48px);
}

.signupContainer {
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
}

.signupForm {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: clamp(28px, 3.4vw, 40px);
    margin-bottom: 22px;
}

.signupForm_header {
    text-align: center;
    margin-bottom: 26px;
}

.signupForm_header h1,
.signupForm_header h2 {
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 6px;
}

.signupForm_header p {
    color: var(--muted);
    font-size: 15px;
}

.signupForm label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-soft);
    margin-bottom: 6px;
}

.signupForm input {
    width: 100%;
    background: #fbfcfe;
    border: 1.5px solid var(--border-strong);
    border-radius: 12px;
    padding: 13px 16px;
    color: var(--ink);
    font-size: 15px;
    font-family: inherit;
    margin-bottom: 16px;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.signupForm input::placeholder {
    color: #a4b1c2;
}

.signupForm input:focus {
    border-color: var(--blue);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.12);
}

.signupForm input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.password-input-container {
    position: relative;
    width: 100%;
    margin-bottom: 16px;
}

.password-input-container input {
    margin-bottom: 0;
    padding-right: 48px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 17px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.15s ease;
}

.password-toggle:hover {
    background-color: rgba(11, 21, 38, 0.06);
}

.signupButton {
    width: 100%;
    padding: 14px;
    margin-top: 4px;
    background: linear-gradient(180deg, #1a75ff 0%, var(--blue) 55%, #0057d9 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
    box-shadow: 0 1px 2px rgba(0, 45, 128, 0.35), 0 8px 18px -6px rgba(0, 102, 255, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.signupButton:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

.signupButton:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.form-microcopy {
    margin-top: 14px;
    text-align: center;
    font-size: 12.5px;
    color: var(--faint);
    line-height: 1.5;
}

.form-microcopy a {
    color: var(--muted);
}

.signupForm .error-message {
    display: none;
    color: #b3261e;
    background: #fdecea;
    border: 1px solid #f6c8c4;
    border-radius: 10px;
    padding: 11px 14px;
    text-align: center;
    margin-bottom: 16px;
    font-size: 14px;
}

.signupForm .success-message {
    display: none;
    color: #106b43;
    background: #e7f7ef;
    border: 1px solid #bfe8d3;
    border-radius: 10px;
    padding: 11px 14px;
    text-align: center;
    margin-bottom: 16px;
    font-size: 14px;
}

.signupLink {
    text-align: center;
    font-size: 14.5px;
    color: var(--muted);
}

.signupLink p {
    margin-bottom: 8px;
}

.signupLink a {
    color: var(--blue);
    font-weight: 600;
    text-decoration: none;
}

.signupLink a:hover {
    text-decoration: underline;
}

.auth-back-home {
    margin-top: 26px;
    font-size: 13.5px;
}

.auth-back-home a {
    color: var(--faint);
    text-decoration: none;
}

.auth-back-home a:hover {
    color: var(--blue);
}

/* Mobile-only compact logo header (aside hidden) */
.auth-mobile-header {
    display: none;
    padding: 18px 20px 0;
    text-align: center;
}

.auth-mobile-header img {
    height: 40px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .auth-shell {
        grid-template-columns: 1fr;
    }

    .auth-aside {
        display: none;
    }

    .auth-mobile-header {
        display: block;
    }

    .auth-main {
        padding-top: 28px;
    }
}
