/*
Theme Name: ScaleHouse
Theme URI: https://scalehouse.demo.sbarron.com
Author: Shane Barron
Description: Modern agency website for ScaleHouse — TikTok Shop growth agency. Dark navy + electric purple aesthetic with trust-building social proof and conversion-focused design.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: scalehouse
*/

/* ===== Base Reset & Typography ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --navy: #0a0e27;
    --navy-light: #111640;
    --navy-mid: #1a1f4e;
    --purple: #7c3aed;
    --purple-light: #a78bfa;
    --purple-dark: #5b21b6;
    --magenta: #ec4899;
    --cyan: #06b6d4;
    --white: #ffffff;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --gradient-purple: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
    --gradient-hero: linear-gradient(180deg, #0a0e27 0%, #1a1045 50%, #0a0e27 100%);
    --gradient-card: linear-gradient(145deg, rgba(124, 58, 237, 0.08) 0%, rgba(236, 72, 153, 0.04) 100%);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--navy);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6 { line-height: 1.15; font-weight: 700; }

/* ===== Utility Classes ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

.section { padding: 100px 0; position: relative; }
.section-sm { padding: 60px 0; }

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

.text-center { text-align: center; }
.text-muted { color: var(--text-secondary); }

/* ===== Scroll Progress Bar ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-purple);
    z-index: 9999;
    transition: width 0.1s linear;
}

/* ===== Navigation ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled {
    background: rgba(10, 14, 39, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(124, 58, 237, 0.15);
    padding: 10px 0;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.nav-logo svg {
    width: 32px;
    height: 32px;
}

.nav-logo .logo-scale { color: var(--white); }
.nav-logo .logo-house { color: var(--purple-light); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 0.925rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-purple);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--gradient-purple);
    color: var(--white) !important;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
}

.nav-cta::after { display: none !important; }

/* Mobile nav */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--navy-light);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 24px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid rgba(124, 58, 237, 0.2);
    }
    .nav-links.open { right: 0; }
    .nav-cta { width: 100%; justify-content: center; }
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb-1 {
    width: 300px;
    height: 300px;
    background: rgba(124, 58, 237, 0.3);
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 200px;
    height: 200px;
    background: rgba(236, 72, 153, 0.25);
    top: 60%;
    right: 15%;
    animation-delay: -3s;
}

.hero-orb-3 {
    width: 150px;
    height: 150px;
    background: rgba(6, 182, 212, 0.2);
    bottom: 20%;
    left: 30%;
    animation-delay: -5s;
}

@keyframes orbFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(124, 58, 237, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 58, 237, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--purple-light);
    margin-bottom: 28px;
}

.hero-badge svg { width: 16px; height: 16px; }

.hero h1 {
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--gradient-purple);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(124, 58, 237, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    border-color: var(--purple-light);
    background: rgba(124, 58, 237, 0.1);
}

/* Hero stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

@media (max-width: 640px) {
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

/* ===== Trusted By / Logo Bar ===== */
.logo-bar {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(10, 14, 39, 0.6);
}

.logo-bar-label {
    text-align: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-weight: 600;
}

.logo-bar-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    opacity: 0.5;
}

.logo-bar-logos span {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--gray-400);
}

/* ===== Services Section ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.service-card {
    position: relative;
    padding: 36px 28px;
    background: var(--gradient-card);
    border: 1px solid rgba(124, 58, 237, 0.1);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-purple);
    opacity: 0;
    transition: opacity 0.4s;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(124, 58, 237, 0.25);
    box-shadow: 0 16px 48px rgba(124, 58, 237, 0.1);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 58, 237, 0.12);
    border-radius: 12px;
    margin-bottom: 20px;
    color: var(--purple-light);
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.service-card p {
    font-size: 0.925rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

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

/* ===== Results / Stats Section ===== */
.results-section {
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 50%, var(--navy) 100%);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.result-card {
    text-align: center;
    padding: 32px 20px;
    background: rgba(124, 58, 237, 0.06);
    border: 1px solid rgba(124, 58, 237, 0.1);
    border-radius: 16px;
}

.result-value {
    font-size: 2.75rem;
    font-weight: 800;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.result-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 8px;
}

@media (max-width: 768px) {
    .results-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* ===== Process Section ===== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
    counter-reset: step;
}

.process-step {
    position: relative;
    padding: 32px 24px;
    counter-increment: step;
}

.process-step::before {
    content: counter(step, decimal-leading-zero);
    display: block;
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    margin-bottom: 16px;
    line-height: 1;
}

.process-step h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .process-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .process-steps { grid-template-columns: 1fr; }
}

/* ===== Testimonials ===== */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.testimonial-card {
    padding: 32px;
    background: var(--gradient-card);
    border: 1px solid rgba(124, 58, 237, 0.1);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    color: #fbbf24;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    flex: 1;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--white);
    flex-shrink: 0;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.925rem;
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

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

/* ===== Case Studies ===== */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.case-card {
    background: var(--gradient-card);
    border: 1px solid rgba(124, 58, 237, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s;
}

.case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(124, 58, 237, 0.1);
}

.case-card-img {
    height: 220px;
    background: linear-gradient(135deg, var(--navy-mid), var(--purple-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.case-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-card-body {
    padding: 28px;
}

.case-card-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(124, 58, 237, 0.15);
    color: var(--purple-light);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.case-card-body h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.case-card-body p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.case-metrics {
    display: flex;
    gap: 24px;
}

.case-metric {
    text-align: left;
}

.case-metric-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--purple-light);
}

.case-metric-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .case-studies-grid { grid-template-columns: 1fr; }
}

/* ===== About Page ===== */
.about-hero {
    padding: 160px 0 80px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-grid img {
    border-radius: 16px;
    border: 1px solid rgba(124, 58, 237, 0.15);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.team-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--gradient-card);
    border: 1px solid rgba(124, 58, 237, 0.1);
    border-radius: 16px;
}

.team-card img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    border: 3px solid rgba(124, 58, 237, 0.3);
}

.team-card h3 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.team-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .team-grid { grid-template-columns: 1fr; }
}

/* ===== Contact Section ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 48px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--white);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-group select option { background: var(--navy-light); color: var(--white); }

.contact-info { display: flex; flex-direction: column; gap: 28px; }

.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 58, 237, 0.12);
    border-radius: 10px;
    color: var(--purple-light);
    flex-shrink: 0;
}

.contact-info-text h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-info-text p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

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

/* ===== CTA Band ===== */
.cta-band {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--purple-dark) 0%, var(--navy-mid) 100%);
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-band-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-band h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    margin-bottom: 16px;
}

.cta-band p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 32px;
}

/* ===== Footer ===== */
.site-footer {
    padding: 64px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: var(--navy);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 12px;
    line-height: 1.6;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.footer-social a:hover {
    background: rgba(124, 58, 237, 0.2);
    color: var(--purple-light);
}

.footer-col h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--white);
    margin-bottom: 16px;
    font-weight: 700;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }

.footer-col a {
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.footer-col a:hover { color: var(--purple-light); }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ===== Page Header (for inner pages) ===== */
.page-header {
    padding: 160px 0 60px;
    background: var(--gradient-hero);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.page-header h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    position: relative;
    z-index: 2;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-top: 12px;
    position: relative;
    z-index: 2;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Reveal Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Section Headers ===== */
.section-header {
    max-width: 600px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-header .section-label {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--purple-light);
    font-weight: 700;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ===== Values / Features Grid ===== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.value-item {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--gradient-card);
    border: 1px solid rgba(124, 58, 237, 0.08);
    border-radius: 12px;
}

.value-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 58, 237, 0.12);
    border-radius: 10px;
    color: var(--purple-light);
}

.value-item h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.value-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

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

/* ===== FAQ Accordion ===== */
.faq-list {
    max-width: 720px;
    margin: 48px auto 0;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

.faq-question svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--purple-light);
    transition: transform 0.3s;
}

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

.faq-answer-inner {
    padding: 0 0 20px;
    font-size: 0.925rem;
    color: var(--text-secondary);
    line-height: 1.65;
}
