/* ==========================================================================
   Page-Specific Custom Styles - Techphin Labs
   ========================================================================== */

/* ===== COMMON INNER HERO (Used in Portfolio, Contact, etc.) ===== */
.inner-hero {
    padding: 180px 0 100px;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.1), transparent 40%);
}

/* ===== ABOUT PAGE STYLES (about.php) ===== */
.about-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 140px 0 80px;
}
.about-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(59,130,246,0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.about-hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139,92,246,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.about-hero-image {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}
.about-hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 24px;
}
.hero-badge-float {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--card-glass, rgba(15,23,42,0.95));
    border: 1px solid rgba(59,130,246,0.3);
    border-radius: 16px;
    padding: 20px 24px;
    backdrop-filter: blur(20px);
}
.hero-badge-float h3 {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    line-height: 1;
}
.hero-badge-float p {
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 4px 0 0;
}
.hero-badge-float2 {
    position: absolute;
    top: 20px;
    right: -15px;
    background: var(--card-glass, rgba(15,23,42,0.95));
    border: 1px solid rgba(139,92,246,0.3);
    border-radius: 16px;
    padding: 16px 20px;
    backdrop-filter: blur(20px);
}
.hero-badge-float2 h3 {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #8b5cf6, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    line-height: 1;
}
.hero-badge-float2 p {
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 4px 0 0;
}
.story-section { padding: 100px 0; }
.story-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.story-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59,130,246,0.05), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
}
.story-card:hover::before { opacity: 1; }
.story-card:hover { border-color: rgba(59,130,246,0.25); transform: translateY(-4px); }
.story-year {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, rgba(59,130,246,0.3), rgba(139,92,246,0.3));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 16px;
}
.stats-about-section {
    background: linear-gradient(135deg, rgba(59,130,246,0.08), rgba(139,92,246,0.08));
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 80px 0;
}
.stat-about-item { text-align: center; padding: 20px; }
.stat-about-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}
.stat-about-label {
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 8px;
}
.stat-divider {
    width: 1px;
    background: rgba(255,255,255,0.08);
    height: 80px;
    margin: auto;
}
.whatwedo-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    padding: 36px;
    transition: all 0.4s ease;
    height: 100%;
}
.whatwedo-card:hover {
    border-color: rgba(59,130,246,0.3);
    background: rgba(59,130,246,0.05);
    transform: translateY(-6px);
}
.value-block {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 32px;
    background: rgba(255,255,255,0.02);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}
.value-block:hover { border-color: rgba(59,130,246,0.25); background: rgba(59,130,246,0.04); }
.value-num {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    min-width: 50px;
}
.team-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
}
.team-card:hover { transform: translateY(-8px); border-color: rgba(59,130,246,0.3); }
.team-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: top;
}
.team-info { padding: 24px; }
.team-role {
    font-size: 0.8rem;
    font-weight: 700;
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
}
.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
}
.tech-stack-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    padding: 20px 16px;
    text-align: center;
    transition: all 0.3s ease;
}
.tech-stack-item:hover {
    background: rgba(59,130,246,0.1);
    border-color: rgba(59,130,246,0.3);
    transform: translateY(-4px);
}
.tech-stack-item i { font-size: 2rem; color: #3b82f6; display: block; margin-bottom: 8px; }
.tech-stack-item span { font-size: 0.78rem; font-weight: 600; color: #94a3b8; }
.why-us-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
}
.about-cta {
    background: linear-gradient(135deg, rgba(59,130,246,0.1) 0%, rgba(139,92,246,0.1) 100%);
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 100px 0;
    text-align: center;
}
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}
.section-eyebrow::before {
    width: 24px;
    height: 2px;
    background: #3b82f6;
    border-radius: 2px;
}
.pulse-button {
    width: 80px;
    height: 80px;
    background: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}
.pulse-button::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #3b82f6;
    border-radius: 50%;
    z-index: -1;
    animation: pulse-border 2s infinite;
}
@keyframes pulse-border {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.8); opacity: 0; }
}

/* ===== PORTFOLIO PAGE STYLES (portfolio.php) ===== */
.filter-btn {
    background: transparent;
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    padding: 8px 24px;
    border-radius: 50px;
    margin: 5px;
    font-weight: 600;
    transition: var(--transition-smooth);
}
.filter-btn:hover, .filter-btn.active {
    background: var(--primary-glow);
    border-color: var(--primary-glow);
    color: #fff;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}
.portfolio-card {
    height: 100%;
    cursor: pointer;
}

/* ===== CONTACT PAGE STYLES (contact.php) ===== */
.form-control, .form-select {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    color: #fff;
    padding: 12px 20px;
    border-radius: 12px;
}
.form-control:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-glow);
    color: #fff;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
}

/* ===== POLICY PAGES STYLES (privacy, terms, etc.) ===== */
.policy-container {
    padding: 120px 0 80px;
    min-height: 70vh;
}
.policy-content {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 60px;
    backdrop-filter: blur(10px);
}
[data-theme="light"] .policy-content {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}
.policy-content h2 { margin-top: 40px; margin-bottom: 20px; color: var(--primary-glow); }
.policy-content p { margin-bottom: 20px; line-height: 1.8; opacity: 0.9; }
.policy-content ul { margin-bottom: 30px; }
.policy-content li { margin-bottom: 10px; opacity: 0.8; }

/* ===== BLOG SINGLE PAGE STYLES (blog-single.php) ===== */
.content-body {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}
.content-body h2, .content-body h3 {
    color: #fff;
    margin-top: 40px;
    margin-bottom: 20px;
}
.quote-box {
    padding: 40px;
    border-left: 4px solid var(--primary-glow);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0 24px 24px 0;
    margin: 40px 0;
    font-style: italic;
}

/* ═══════════════════════════════════════════════════
   GLOBAL PARTNERS — 3D CARD SLIDER
   ═══════════════════════════════════════════════════ */

.partners-slider-section {
    position: relative;
    padding: 100px 0 80px;
    overflow: hidden;
}

.partners-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
    color: var(--text-primary);
}

/* ── Stage ── */
.ps-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1400px;
    height: 420px;
    margin: 0 auto 48px;
    max-width: 900px;
}

/* ── Cards base ── */
.ps-card {
    position: absolute;
    width: 380px;
    border-radius: 28px;
    cursor: pointer;
    transition:
        transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        opacity   0.5s ease,
        z-index   0s 0.3s;
    will-change: transform, opacity;
}

.ps-card-inner {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 28px;
    padding: 36px 36px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

/* Shimmer top line */
.ps-card-inner::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}

/* ── Card States ── */
.ps-card.ps-active {
    transform: translateX(0) translateZ(0) rotateY(0deg) scale(1);
    z-index: 10;
    opacity: 1;
}

.ps-card.ps-prev {
    transform: translateX(-72%) translateZ(-180px) rotateY(18deg) scale(0.88);
    z-index: 5;
    opacity: 0.6;
}

.ps-card.ps-next {
    transform: translateX(72%) translateZ(-180px) rotateY(-18deg) scale(0.88);
    z-index: 5;
    opacity: 0.6;
}

.ps-card.ps-hidden {
    transform: translateX(0) translateZ(-400px) scale(0.7);
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

.ps-card.ps-prev:hover,
.ps-card.ps-next:hover {
    opacity: 0.85;
}

/* ── Card Contents ── */
.ps-meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    width: fit-content;
}

.ps-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    letter-spacing: -0.3px;
    margin: 0;
}

.ps-card-desc {
    font-size: 0.9rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.52);
    margin: 0;
    flex: 1;
}

.ps-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ps-tag {
    padding: 5px 14px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(59, 130, 246, 0.9);
}

.ps-author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 4px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.ps-author img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.1);
    flex-shrink: 0;
}

.ps-author-label {
    display: block;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.4);
    font-weight: 500;
    margin-bottom: 2px;
}

.ps-author-name {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.2px;
}

/* ── Slider Controls ── */
.ps-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 60px;
}

.ps-arrow {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
    flex-shrink: 0;
}
.ps-arrow:hover {
    background: var(--primary-glow);
    border-color: var(--primary-glow);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(59,130,246,0.4);
}

.ps-progress-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 280px;
}

.ps-counter {
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(255,255,255,0.35);
    letter-spacing: 1px;
}

.ps-progress-track {
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,0.06);
    border-radius: 2px;
    overflow: hidden;
}

.ps-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-glow), var(--accent-glow));
    border-radius: 2px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Stats Row ── */
.ps-stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 36px 48px;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 24px;
    max-width: 640px;
    margin: 0 auto;
}

.ps-stat {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ps-stat-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.38);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.ps-stat-value {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -1px;
    line-height: 1;
}

.ps-stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.07);
    flex-shrink: 0;
    margin: 0 24px;
}

/* ── Light Mode ── */
[data-theme="light"] .ps-card-inner {
    background: #1e293b;
    border-color: rgba(255,255,255,0.06);
}

[data-theme="light"] .ps-arrow {
    background: #ffffff;
    border-color: rgba(0,0,0,0.08);
    color: #334155;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}
[data-theme="light"] .ps-arrow:hover {
    background: var(--primary-glow);
    color: #fff;
}

[data-theme="light"] .ps-counter {
    color: rgba(15,23,42,0.35);
}

[data-theme="light"] .ps-progress-track {
    background: rgba(0,0,0,0.06);
}

[data-theme="light"] .ps-stats-row {
    background: #ffffff;
    border-color: rgba(0,0,0,0.06);
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
}

[data-theme="light"] .ps-stat-label {
    color: rgba(15,23,42,0.4);
}

[data-theme="light"] .ps-stat-divider {
    background: rgba(0,0,0,0.07);
}

/* Responsive */
@media (max-width: 768px) {
    .ps-stage { height: 380px; }
    .ps-card  { width: 300px; }
    .ps-card.ps-prev { transform: translateX(-60%) translateZ(-120px) rotateY(15deg) scale(0.85); }
    .ps-card.ps-next { transform: translateX(60%)  translateZ(-120px) rotateY(-15deg) scale(0.85); }
    .ps-stats-row { flex-direction: column; padding: 28px 24px; gap: 16px; }
    .ps-stat-divider { width: 80px; height: 1px; margin: 0; }
    .ps-progress-wrap { width: 180px; }
}

@media (max-width: 480px) {
    .ps-card { width: 270px; }
    .ps-card-inner { padding: 24px; }
    .ps-card.ps-prev, .ps-card.ps-next { opacity: 0.3; }
}


/* ═══════════════════════════════════════════════════
   FAQ — PERFECT MODERN DESIGN
   ═══════════════════════════════════════════════════ */

/* ---------- Section Wrapper ---------- */
.faq-next-section {
    position: relative;
    padding: 120px 0 110px;
    overflow: hidden;
    isolation: isolate;
}

/* ---------- Background Mesh Glows ---------- */
.faq-glow-left,
.faq-glow-right {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
    z-index: -1;
}
.faq-glow-left {
    top: -5%;
    left: -15%;
    background: radial-gradient(circle, rgba(59,130,246,0.18) 0%, transparent 65%);
    animation: faqFloat 12s ease-in-out infinite alternate;
}
.faq-glow-right {
    bottom: -10%;
    right: -15%;
    background: radial-gradient(circle, rgba(139,92,246,0.15) 0%, transparent 65%);
    animation: faqFloat 15s ease-in-out infinite alternate-reverse;
}
@keyframes faqFloat {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -20px) scale(1.1); }
}

/* ---------- Section Headline ---------- */
.faq-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--primary-glow);
    margin-bottom: 18px;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 100px;
}
.faq-eyebrow::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-glow);
    box-shadow: 0 0 6px var(--primary-glow);
    animation: faqDot 2s ease-in-out infinite alternate;
}
@keyframes faqDot {
    from { opacity: 1; transform: scale(1); }
    to   { opacity: 0.4; transform: scale(0.7); }
}

.faq-big-title {
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    color: var(--text-primary);
    margin-bottom: 0;
}

/* ---------- FAQ Cards ---------- */
.faq-card {
    position: relative;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.028);
    border: 1px solid rgba(255, 255, 255, 0.075);
    transition:
        transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.4s ease,
        border-color 0.3s ease,
        background 0.3s ease;
    will-change: transform;
}

/* Subtle top highlight line */
.faq-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
    border-radius: 0 0 2px 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow:
        0 2px 4px rgba(0,0,0,0.05),
        0 12px 24px rgba(0,0,0,0.15),
        0 30px 60px rgba(0,0,0,0.12),
        0 0 0 1px rgba(59,130,246,0.08) inset;
    background: rgba(255, 255, 255, 0.042);
}
.faq-card:hover::before {
    opacity: 1;
}

/* Active/open state — glowing ring */
.faq-card:has(.collapse.show) {
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(59, 130, 246, 0.04);
    transform: translateY(-3px);
    box-shadow:
        0 0 0 1px rgba(59, 130, 246, 0.25),
        0 20px 50px rgba(59, 130, 246, 0.08),
        0 8px 20px rgba(0,0,0,0.12);
}
.faq-card:has(.collapse.show)::before {
    background: linear-gradient(90deg, transparent, rgba(59,130,246,0.4), transparent);
    opacity: 1;
}

/* ---------- Button Trigger Row ---------- */
.faq-card-btn {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    width: 100%;
    background: none;
    border: none;
    padding: 26px 26px;
    cursor: pointer;
    text-align: left;
    outline: none;
}
.faq-card-btn:focus-visible {
    outline: 2px solid var(--primary-glow);
    outline-offset: -2px;
    border-radius: 20px;
}

/* ---------- Number Badge ---------- */
.faq-num {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(59, 130, 246, 0.8);
    letter-spacing: 0.5px;
    transition:
        background 0.4s ease,
        color 0.3s ease,
        box-shadow 0.4s ease,
        border-color 0.3s ease,
        transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-top: 1px; /* optical align with text */
}
.faq-card:has(.collapse.show) .faq-num {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(59, 130, 246, 0.4), 0 0 0 4px rgba(59,130,246,0.1);
    transform: scale(1.05);
}

/* ---------- Question Text ---------- */
.faq-q-text {
    flex: 1;
    padding-top: 4px;
    font-size: 1.02rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.45;
    letter-spacing: -0.2px;
    transition: color 0.3s ease;
}
.faq-card:hover .faq-q-text {
    color: rgba(255, 255, 255, 0.88);
}
.faq-card:has(.collapse.show) .faq-q-text {
    color: #ffffff;
}

/* ---------- Toggle Icon (+/×) ---------- */
.faq-toggle-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 4px;
    transition:
        background 0.35s ease,
        border-color 0.35s ease,
        color 0.3s ease,
        transform 0.45s cubic-bezier(0.68, -0.55, 0.265, 1.45),
        box-shadow 0.35s ease;
}
.faq-card:hover .faq-toggle-icon {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.6);
}
.faq-card:has(.collapse.show) .faq-toggle-icon {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-color: transparent;
    color: #ffffff;
    transform: rotate(45deg);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.45);
}

/* ---------- Answer Body ---------- */
.faq-card-body {
    padding: 4px 26px 26px calc(26px + 46px + 18px); /* left = button-pad + num-width + gap */
    font-size: 0.95rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.52);
    letter-spacing: 0.1px;
}
.faq-card-body strong {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 700;
}

/* ---------- Bottom CTA Strip ---------- */
.faq-cta-strip {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    padding: 40px 48px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
}
/* Gradient mesh inside the CTA */
.faq-cta-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px circle at 0% 50%, rgba(59,130,246,0.07), transparent),
        radial-gradient(400px circle at 100% 50%, rgba(139,92,246,0.07), transparent);
    pointer-events: none;
}
/* Top shimmer line */
.faq-cta-strip::after {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59,130,246,0.5), rgba(139,92,246,0.5), transparent);
}
.faq-cta-label {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-glow);
    opacity: 0.8;
}
.faq-cta-title {
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

/* ═══════════════════════════════════════════════════
   LIGHT MODE — Completely Different Feel
   ═══════════════════════════════════════════════════ */

[data-theme="light"] .faq-glow-left {
    background: radial-gradient(circle, rgba(59,130,246,0.07) 0%, transparent 65%);
}
[data-theme="light"] .faq-glow-right {
    background: radial-gradient(circle, rgba(79,70,229,0.06) 0%, transparent 65%);
}

/* Eyebrow tag in light */
[data-theme="light"] .faq-eyebrow {
    color: var(--primary-glow);
    background: rgba(225, 29, 72, 0.05);
    border-color: rgba(225, 29, 72, 0.15);
}
[data-theme="light"] .faq-eyebrow::before {
    background: var(--primary-glow);
    box-shadow: 0 0 6px var(--primary-glow);
}

/* Cards */
[data-theme="light"] .faq-card {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.07);
    box-shadow:
        0 1px 3px rgba(0,0,0,0.04),
        0 8px 20px rgba(0,0,0,0.04);
}
[data-theme="light"] .faq-card::before {
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.06), transparent);
}
[data-theme="light"] .faq-card:hover {
    border-color: rgba(225, 29, 72, 0.25);
    box-shadow:
        0 4px 12px rgba(0,0,0,0.05),
        0 20px 50px rgba(0,0,0,0.07),
        0 0 0 1px rgba(225,29,72,0.06) inset;
    background: #ffffff;
}
[data-theme="light"] .faq-card:has(.collapse.show) {
    border-color: rgba(225, 29, 72, 0.35);
    background: rgba(225, 29, 72, 0.015);
    box-shadow:
        0 0 0 1px rgba(225, 29, 72, 0.12),
        0 16px 40px rgba(225, 29, 72, 0.06);
}
[data-theme="light"] .faq-card:has(.collapse.show)::before {
    background: linear-gradient(90deg, transparent, rgba(225,29,72,0.25), transparent);
}

/* Number badge */
[data-theme="light"] .faq-num {
    background: rgba(225, 29, 72, 0.06);
    border-color: rgba(225, 29, 72, 0.15);
    color: var(--primary-glow);
}
[data-theme="light"] .faq-card:has(.collapse.show) .faq-num {
    background: linear-gradient(135deg, var(--primary-glow), #f97316);
    box-shadow: 0 6px 18px rgba(225, 29, 72, 0.3), 0 0 0 4px rgba(225,29,72,0.08);
}

/* Question text */
[data-theme="light"] .faq-q-text {
    color: #334155;
}
[data-theme="light"] .faq-card:hover .faq-q-text {
    color: #1e293b;
}
[data-theme="light"] .faq-card:has(.collapse.show) .faq-q-text {
    color: #0f172a;
}

/* Toggle icon */
[data-theme="light"] .faq-toggle-icon {
    background: rgba(15, 23, 42, 0.04);
    border-color: rgba(15, 23, 42, 0.1);
    color: rgba(15, 23, 42, 0.3);
}
[data-theme="light"] .faq-card:hover .faq-toggle-icon {
    background: rgba(15, 23, 42, 0.07);
    border-color: rgba(15, 23, 42, 0.16);
    color: rgba(15, 23, 42, 0.5);
}
[data-theme="light"] .faq-card:has(.collapse.show) .faq-toggle-icon {
    background: linear-gradient(135deg, var(--primary-glow), #f97316);
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.35);
}

/* Answer body */
[data-theme="light"] .faq-card-body {
    color: #64748b;
}
[data-theme="light"] .faq-card-body strong {
    color: #1e293b;
}

/* CTA strip */
[data-theme="light"] .faq-cta-strip {
    background: #ffffff;
    border-color: rgba(0,0,0,0.06);
    box-shadow: 0 8px 30px rgba(0,0,0,0.05), 0 2px 6px rgba(0,0,0,0.03);
}
[data-theme="light"] .faq-cta-strip::before {
    background:
        radial-gradient(600px circle at 0% 50%, rgba(225,29,72,0.04), transparent),
        radial-gradient(400px circle at 100% 50%, rgba(79,70,229,0.04), transparent);
}
[data-theme="light"] .faq-cta-strip::after {
    background: linear-gradient(90deg, transparent, rgba(225,29,72,0.3), rgba(79,70,229,0.3), transparent);
}
[data-theme="light"] .faq-cta-title {
    color: #0f172a;
}
[data-theme="light"] .faq-cta-label {
    color: var(--primary-glow);
}

/* ── Responsive tweaks ── */
@media (max-width: 992px) {
    .faq-next-section { padding: 80px 0 70px; }
    .faq-card-body { padding-left: 26px; }
}
@media (max-width: 576px) {
    .faq-card-btn { padding: 22px 20px; gap: 14px; }
    .faq-cta-strip { padding: 30px 24px; }
    .faq-q-text { font-size: 0.96rem; }
}

