/* ===========================
   Product Page (Generalp Flux)
   =========================== */

:root {
    --flux-blue: #5B9BD5;
    --flux-purple: #9B8AF0;
    --flux-green: #3FCF8E;
    --flux-amber: #E0A038;
    --flux-navy: #123A9A;
    --flux-panel: #1A1F33;
    --flux-panel-border: rgba(107, 79, 229, 0.22);
}

/* ---------- Shared section rhythm ---------- */
.flux-section {
    padding: 5rem 0;
    background-color: var(--dark-bg);
}

.flux-section-alt {
    background-color: var(--darker-bg);
}

.flux-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--flux-blue);
    margin-bottom: 1.25rem;
}

.flux-eyebrow::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--flux-blue);
    box-shadow: 0 0 12px currentColor;
    flex-shrink: 0;
}

.flux-eyebrow.green { color: var(--flux-green); }
.flux-eyebrow.green::before { background: var(--flux-green); }
.flux-eyebrow.purple { color: var(--flux-purple); }
.flux-eyebrow.purple::before { background: var(--flux-purple); }
.flux-eyebrow.amber { color: var(--flux-amber); }
.flux-eyebrow.amber::before { background: var(--flux-amber); }

.flux-h2 {
    font-size: 2.4rem;
    line-height: 1.25;
    color: #8A93A6;
    margin-bottom: 1.25rem;
}

.flux-h2 strong {
    color: var(--text-primary);
    font-weight: 700;
}

.flux-h2 .hl { color: var(--flux-blue); }
.flux-h2 .hl-green { color: var(--flux-green); }
.flux-h2 .hl-purple { color: var(--flux-purple); }
.flux-h2 .hl-amber { color: var(--flux-amber); }

.flux-lead {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 46rem;
}

/* ---------- Hero ---------- */
.product-hero {
    padding: 150px 0 4rem;
    background:
        radial-gradient(circle at 15% 20%, rgba(18, 58, 154, 0.35) 0%, transparent 55%),
        radial-gradient(circle at 85% 80%, rgba(107, 79, 229, 0.25) 0%, transparent 55%),
        var(--darker-bg);
}

.product-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.product-breadcrumb a {
    color: var(--flux-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-breadcrumb a:hover { color: var(--text-primary); }
.product-breadcrumb span { color: var(--text-secondary); }

.product-lockup {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.product-lockup img {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(18, 58, 154, 0.45);
}

.product-lockup .lockup-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.product-lockup .lockup-kicker {
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--flux-blue);
    font-weight: 600;
}

.product-title {
    font-size: 3.1rem;
    line-height: 1.18;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.product-title .hl {
    background: linear-gradient(135deg, var(--flux-blue) 0%, var(--flux-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2.25rem;
    max-width: 42rem;
}

.product-hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.product-hero-buttons .btn {
    padding: 0.9rem 2rem;
    border-radius: 30px;
    font-weight: 600;
}

.hero-trust {
    display: flex;
    gap: 1.75rem;
    flex-wrap: wrap;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border-color);
}

.hero-trust div {
    color: var(--text-secondary);
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-trust i { color: var(--flux-green); }

/* ---------- Table of contents ---------- */
.page-toc {
    margin-top: 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border-color);
}

.toc-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.35rem 1.75rem;
}

.toc-list a {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    padding: 0.4rem 0;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.45;
    border-bottom: 1px solid transparent;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.toc-list a:hover {
    color: var(--text-primary);
    border-bottom-color: var(--flux-blue);
}

.toc-list .n {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--flux-blue);
    flex-shrink: 0;
}

/* ---------- Video ---------- */
.video-frame {
    background: var(--flux-panel);
    border: 1px solid var(--flux-panel-border);
    border-radius: 18px;
    padding: 0.75rem;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
    overflow: hidden;
}

.video-chrome {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.5rem 0.75rem;
}

.video-chrome i {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: block;
}

.video-chrome i:nth-child(1) { background: #E05C4B; }
.video-chrome i:nth-child(2) { background: #E0B44B; }
.video-chrome i:nth-child(3) { background: #4BC46B; }

.video-chrome span {
    margin-left: auto;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.flux-video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    background: #0A0E1A;
}

/* ---------- Problem ---------- */
.problem-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--flux-amber);
    border-radius: 14px;
    padding: 1.5rem 1.6rem;
    height: 100%;
    transition: all 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-3px);
    border-color: var(--flux-amber);
}

.problem-card .num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--flux-amber);
    display: block;
    line-height: 1.2;
}

.problem-card p {
    color: var(--text-secondary);
    margin: 0.35rem 0 0;
    font-size: 0.98rem;
    line-height: 1.6;
}

/* ---------- Numbered steps ---------- */
.step-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 2rem 1.75rem;
    height: 100%;
    transition: all 0.35s ease;
    position: relative;
}

.step-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: 0 14px 34px rgba(107, 79, 229, 0.22);
}

.step-card .step-badge {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--accent-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
}

.step-card h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.65rem;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.7;
    margin: 0;
}

/* ---------- Chat sample ---------- */
.chat-sample {
    background: var(--flux-panel);
    border: 1px solid var(--flux-panel-border);
    border-radius: 18px;
    padding: 1.75rem;
}

.chat-sample .ask-raw {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.7rem 1.1rem;
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin-bottom: 0.6rem;
}

.chat-sample .ask {
    background: rgba(91, 155, 213, 0.14);
    border: 1px solid rgba(91, 155, 213, 0.35);
    border-radius: 12px;
    padding: 0.85rem 1.1rem;
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.chat-sample .reply {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.chat-sample .reply strong { color: var(--text-primary); }

.chat-sample .cite {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
    background: rgba(91, 155, 213, 0.18);
    border: 1px solid rgba(91, 155, 213, 0.4);
    color: var(--flux-blue);
    border-radius: 8px;
    padding: 0.45rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.verified-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(63, 207, 142, 0.14);
    border: 1px solid rgba(63, 207, 142, 0.45);
    color: var(--flux-green);
    border-radius: 20px;
    padding: 0.3rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
}

/* ---------- Check list ---------- */
.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li {
    display: flex;
    gap: 1rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.check-list li:last-child { border-bottom: none; }

.check-list i {
    color: var(--flux-green);
    font-size: 1.05rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.check-list strong {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.check-list span {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ---------- Agent teams ---------- */
.team-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 90px;
    background: radial-gradient(ellipse at top right, var(--glow, rgba(91, 155, 213, 0.35)) 0%, transparent 70%);
    pointer-events: none;
}

.team-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

.team-card .team-no {
    position: relative;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.team-card .team-icon {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(107, 79, 229, 0.18);
    border: 1px solid var(--flux-panel-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--flux-blue);
    font-size: 1.05rem;
    margin: 0.85rem 0 1.1rem;
}

.team-card h3 {
    position: relative;
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 0.65rem;
    line-height: 1.35;
}

.team-card p {
    position: relative;
    color: var(--text-secondary);
    font-size: 0.93rem;
    line-height: 1.65;
    margin: 0;
}

.team-tag {
    position: relative;
    display: inline-block;
    margin-top: 1rem;
    border-radius: 20px;
    padding: 0.25rem 0.8rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.team-tag.amber {
    color: var(--flux-amber);
    background: rgba(224, 160, 56, 0.12);
    border: 1px solid rgba(224, 160, 56, 0.45);
}

.team-tag.green {
    color: var(--flux-green);
    background: rgba(63, 207, 142, 0.12);
    border: 1px solid rgba(63, 207, 142, 0.45);
}

.callout-bar {
    background: linear-gradient(135deg, rgba(18, 58, 154, 0.28), rgba(107, 79, 229, 0.16));
    border: 1px solid var(--flux-panel-border);
    border-radius: 14px;
    padding: 1.35rem 1.75rem;
    margin-top: 2rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.callout-bar strong { color: var(--text-primary); }

/* ---------- Benefits & audiences ---------- */
.benefit-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    height: 100%;
    text-align: center;
    transition: all 0.35s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

.benefit-card i {
    font-size: 1.5rem;
    color: var(--flux-blue);
    margin-bottom: 1rem;
    display: block;
}

.benefit-card h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.benefit-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

.audience-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.75rem;
    height: 100%;
}

.audience-card h3 {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
}

.audience-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

.audience-card .tag {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--flux-purple);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

/* ---------- Deployment pills ---------- */
.deploy-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem 0;
}

.deploy-item i {
    color: var(--flux-blue);
    font-size: 1.1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.deploy-item strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.deploy-item span {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ---------- FAQ ---------- */
.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: var(--card-bg);
    margin-bottom: 0.85rem;
    overflow: hidden;
}

.faq-q {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    text-align: left;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-q:hover { color: var(--flux-blue); }

.faq-q i {
    color: var(--primary-color);
    font-size: 0.9rem;
    transition: transform 0.35s ease;
    flex-shrink: 0;
}

.faq-item.open .faq-q i { transform: rotate(45deg); }

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.open .faq-a { max-height: 420px; }

.faq-a p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.98rem;
    padding: 0 1.5rem 1.5rem;
    margin: 0;
}

/* ---------- Closing CTA ---------- */
.flux-cta {
    padding: 5rem 0;
    background:
        radial-gradient(circle at 50% 50%, rgba(107, 79, 229, 0.2) 0%, transparent 70%),
        var(--darker-bg);
    text-align: center;
}

.flux-cta h2 {
    font-size: 2.3rem;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.flux-cta p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 40rem;
    margin: 0 auto 2.25rem;
}

.flux-cta .cta-buttons .btn {
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-size: 1.05rem;
}

.flux-cta .mail {
    display: block;
    margin-top: 1.75rem;
    color: var(--flux-blue);
    text-decoration: none;
    font-size: 0.98rem;
}

.flux-cta .mail:hover { color: var(--text-primary); }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .product-title { font-size: 2.4rem; }
    .flux-h2 { font-size: 1.95rem; }
    .product-hero { padding: 130px 0 3rem; }
    .toc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .product-title { font-size: 2rem; }
    .product-subtitle { font-size: 1.05rem; }
    .flux-h2 { font-size: 1.65rem; }
    .flux-section { padding: 3.5rem 0; }
    .flux-cta { padding: 3.5rem 0; }
    .flux-cta h2 { font-size: 1.75rem; }
    .product-hero-buttons { flex-direction: column; }
    .product-hero-buttons .btn { width: 100%; }
    .hero-trust { gap: 0.75rem; flex-direction: column; }
    .toc-list { grid-template-columns: 1fr; gap: 0; }
}
