/* ============================================
   FacilityAI - Shared Styles
   ============================================ */

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

:root {
    /* Primary Brand Colors */
    --primary: #92278F;
    --primary-dark: #732B5C;
    --primary-light: #A13B8F;
    --primary-lighter: #F3E5F3;
    /* Visual Tags Accent */
    --accent: #F59E0B;
    --accent-light: #FCD34D;
    --accent-lighter: #FEF3C7;
    /* Logo Colors */
    --burgundy: #AC2C2B;
    --rose: #C84249;
    --coral: #CF7180;
    --magenta: #954580;
    /* Neutrals */
    --dark: #1E293B;
    --dark-lighter: #334155;
    --gray: #64748B;
    --gray-light: #94A3B8;
    --border: #E2E8F0;
    --light: #F8FAFC;
    --lighter: #f1f1f1;
    --white: #FFFFFF;
    --text: #0F172A;
    --text-secondary: #475569;
    /* Status Colors */
    --success: #10B981;
    --success-light: #D1FAE5;
    --danger: #EF4444;
    --danger-light: #FEE2E2;
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #92278F 0%, #732B5C 100%);
    --gradient-light: linear-gradient(180deg, #FFFFFF 0%, #f1f1f1 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(146, 39, 143, 0.08) 0%, transparent 70%);
    /* Code Colors */
    --code-bg: #1a1a2e;
    --code-text: #e4e4e7;
    --code-comment: #6b7280;
    --code-string: #86efac;
    --code-keyword: #c4b5fd;
    --code-number: #fbbf24;
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.08);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.1);
    --shadow-primary: 0 4px 20px rgba(146, 39, 143, 0.25);
    --shadow-primary-lg: 0 6px 30px rgba(146, 39, 143, 0.35);
    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-full: 50px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
    overflow: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ============================================
   Navigation
   ============================================ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

nav.nav-scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 44px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--gray);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--primary); }

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #FFFFFF !important;
    box-shadow: var(--shadow-primary);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary-lg);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
}
.btn-outline:hover {
    border-color: var(--primary);
    background: var(--primary-lighter);
    color: var(--primary);
}

.btn-accent {
    background: var(--accent);
    color: var(--white);
}
.btn-accent:hover {
    background: #E08E0B;
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}
.btn-white:hover {
    background: var(--lighter);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}
.btn-outline-white:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* ============================================
   Sections & Layout
   ============================================ */
.section {
    padding: 6rem 2rem;
    position: relative;
}

.section-alt {
    background: var(--lighter);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

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

.highlight-accent {
    color: var(--accent);
}

/* ============================================
   Page Header (sub-pages)
   ============================================ */
.page-header {
    padding: 10rem 2rem 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--gradient-light);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 100%;
    background: var(--gradient-glow);
    pointer-events: none;
}

.page-header-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text);
}

.page-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   Hero Section (Home)
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
    background: var(--gradient-light);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 100%;
    background: var(--gradient-glow);
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(146, 39, 143, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(146, 39, 143, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary-lighter);
    border: 1px solid rgba(146, 39, 143, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 2rem;
    font-weight: 500;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    color: var(--text);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 4rem;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
}

.stat { text-align: center; }

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
}

.stat-value span { color: var(--primary); }

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 0.5rem;
}

/* ============================================
   Social Proof Bar
   ============================================ */
.social-proof {
    padding: 3rem 2rem;
    border-bottom: 1px solid var(--border);
    background: var(--white);
}

.social-proof-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.social-proof-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}

.social-proof-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    opacity: 0.5;
}

.social-proof-logos img {
    height: 28px;
    width: auto;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.social-proof-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.social-proof-logos .logo-placeholder {
    height: 28px;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    color: var(--gray-light);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

/* ============================================
   Feature Cards
   ============================================ */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-light);
    box-shadow: 0 20px 60px rgba(146, 39, 143, 0.1);
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-lighter);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: gap 0.3s ease;
}

.feature-link:hover { gap: 0.75rem; }

/* ============================================
   Visual Tag Section (Home)
   ============================================ */
.visual-tag-section {
    padding: 8rem 2rem;
    background: var(--lighter);
    position: relative;
    overflow: hidden;
}

.visual-tag-section::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
    transform: translateY(-50%);
    pointer-events: none;
}

.visual-tag-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.visual-tag-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text);
    letter-spacing: -0.02em;
}

.visual-tag-text h2 .highlight-accent { color: var(--accent); }

.visual-tag-text > p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.alpha-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--accent-lighter);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: #B45309;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.benefit-list li svg {
    width: 22px;
    height: 22px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Phone Mockup */
.visual-tag-mockup {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: var(--shadow-xl);
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: var(--dark);
    border-radius: 40px;
    padding: 12px;
    margin: 0 auto;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--lighter) 0%, var(--white) 100%);
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.phone-camera {
    width: 100%;
    height: 60%;
    background: linear-gradient(135deg, #1E293B 0%, #334155 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.scan-overlay {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    border: 3px solid var(--accent);
    border-radius: var(--radius-lg);
    animation: scan-pulse 2s infinite;
}

@keyframes scan-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 20px rgba(245, 158, 11, 0.3); }
    50% { opacity: 0.7; box-shadow: 0 0 40px rgba(245, 158, 11, 0.5); }
}

.phone-result {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: var(--white);
}

.result-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.85rem;
}

.result-item {
    background: var(--lighter);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    color: var(--text);
}

.result-item span { color: var(--gray); }

/* ============================================
   How It Works
   ============================================ */
.steps {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 4rem;
}

.step {
    text-align: center;
    padding: 1.5rem;
    position: relative;
    flex: 1 1 0;
    min-width: 0;
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white);
    margin: 0 auto 1.25rem;
}

.step h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text);
}

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

/* ============================================
   Testimonials
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all 0.3s ease;
}

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

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 1rem;
}

.testimonial-stars svg {
    width: 18px;
    height: 18px;
    fill: var(--accent);
    color: var(--accent);
}

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

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-lighter);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
}

.testimonial-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
}

.testimonial-info p {
    font-size: 0.8rem;
    color: var(--gray);
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    padding: 8rem 2rem;
    background: var(--gradient-primary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Demo Form
   ============================================ */
.demo-form-section {
    padding: 8rem 2rem;
    background: var(--gradient-primary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.demo-form-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.demo-form-container {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.demo-form-container h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

.demo-form-container > p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.demo-form {
    max-width: 500px;
    margin: 0 auto;
}

.demo-form .form-fields {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.demo-form input,
.demo-form select {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    font-size: 1rem;
    font-family: inherit;
    background: var(--white);
    transition: border-color 0.3s ease;
    width: 100%;
}

.demo-form input:focus,
.demo-form select:focus {
    outline: none;
    border-color: var(--accent);
}

.demo-form input.input-error,
.demo-form select.input-error {
    border-color: var(--danger);
}

.demo-form .form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-light);
}

.faq-question {
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--text);
    gap: 1rem;
}

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

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
    color: var(--primary);
}

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

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   Feature Section (Features page)
   ============================================ */
.feature-section {
    padding: 6rem 2rem;
    position: relative;
}

.feature-section:nth-child(even) {
    background: var(--lighter);
}

.feature-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.feature-container.reverse {
    direction: rtl;
}

.feature-container.reverse > * {
    direction: ltr;
}

.feature-content {
    max-width: 540px;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary-lighter);
    border: 1px solid rgba(146, 39, 143, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.feature-badge.alpha {
    background: var(--accent-lighter);
    border-color: rgba(245, 158, 11, 0.3);
    color: #B45309;
}

.feature-content h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--text);
    letter-spacing: -0.02em;
}

.feature-content > p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.feature-section:nth-child(even) .feature-list li {
    background: var(--white);
}

.feature-list li:hover {
    border-color: var(--primary-light);
    box-shadow: 0 4px 20px rgba(146, 39, 143, 0.08);
}

.feature-list-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-lighter);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-list-icon svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.feature-list-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text);
}

.feature-list-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Feature Visual Cards */
.feature-visual-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

/* Screenshot Placeholder */
.screenshot-placeholder {
    width: 100%;
    min-height: 300px;
    background: linear-gradient(135deg, var(--lighter) 0%, var(--border) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.75rem;
    border: 2px dashed var(--border);
}

.screenshot-placeholder svg {
    width: 40px;
    height: 40px;
    color: var(--gray-light);
}

.screenshot-placeholder span {
    font-size: 0.85rem;
    color: var(--gray-light);
    font-weight: 500;
}

.screenshot-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

/* ============================================
   Pricing
   ============================================ */
.pricing-section {
    padding: 4rem 2rem 6rem;
}

.pricing-container {
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-primary);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.4rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.pricing-header {
    margin-bottom: 1.5rem;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.plan-name span { color: var(--primary); }
.pricing-card.featured .plan-name span { color: var(--accent); }

.plan-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.price-container {
    margin-bottom: 2rem;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

.price-amount {
    font-size: 4rem;
    font-weight: 900;
    color: var(--text);
    line-height: 1;
    letter-spacing: -0.03em;
}

.pricing-card.featured .price-amount {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    font-size: 1rem;
    color: var(--gray);
    margin-left: 4px;
}

.price-detail {
    color: var(--gray);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.pricing-limits {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.limit-item { text-align: center; flex: 1; }

.limit-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
}

.limit-label {
    font-size: 0.8rem;
    color: var(--gray);
}

.pricing-features h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1rem;
}

.pricing-features .feature-list {
    margin-bottom: 2rem;
}

.pricing-features .feature-list li {
    padding: 0.5rem 0;
    margin-bottom: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.pricing-features .feature-list li:hover {
    box-shadow: none;
    border-color: transparent;
}

.pricing-features .feature-list li svg {
    width: 20px;
    height: 20px;
    color: var(--success);
    flex-shrink: 0;
}

/* Pricing Calculator */
.pricing-calculator {
    max-width: 600px;
    margin: 0 auto 4rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
}

.pricing-calculator h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.calculator-slider {
    width: 100%;
    margin: 1rem 0;
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    border-radius: 4px;
    background: var(--border);
    outline: none;
}

.calculator-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gradient-primary);
    cursor: pointer;
    box-shadow: var(--shadow-primary);
}

.calculator-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: none;
}

.calculator-results {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.calculator-result {
    text-align: center;
}

.calculator-result .label {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 0.25rem;
}

.calculator-result .amount {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text);
}

/* Feature Comparison Table */
.comparison-table {
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.comparison-table th {
    background: var(--lighter);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
}

.comparison-table td {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.comparison-table td:not(:first-child) {
    text-align: center;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.check-icon { color: var(--success); }
.dash-icon { color: var(--gray-light); }

/* ============================================
   Integrations Page
   ============================================ */
.integration-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.integration-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.integration-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.integration-card-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-lighter);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.integration-card-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.integration-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text);
}

.integration-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.integration-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    margin-top: 0.5rem;
}

.integration-status.available {
    background: var(--success-light);
    color: #047857;
}

.integration-status.coming-soon {
    background: var(--accent-lighter);
    color: #B45309;
}

.integration-status.beta {
    background: var(--primary-lighter);
    color: var(--primary);
}

/* Integration Flow Diagram */
.integration-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
}

.integration-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.integration-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-lighter);
    border: 1px solid rgba(146, 39, 143, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.integration-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.integration-icon.center {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border: none;
}

.integration-icon.center svg { color: white; }

.integration-label {
    font-size: 0.75rem;
    color: var(--gray);
    text-align: center;
}

.integration-arrow { color: var(--primary-light); }

.integration-platforms {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.platform-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--lighter);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.platform-badge span {
    font-size: 0.75rem;
    color: var(--gray);
}

/* ============================================
   API Page
   ============================================ */
.code-block {
    background: var(--code-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.code-header span {
    font-size: 0.8rem;
    color: var(--gray-light);
    font-family: 'JetBrains Mono', monospace;
}

.code-content {
    padding: 1.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.code-content pre {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--code-text);
    white-space: pre;
    margin: 0;
}

.code-content .comment { color: var(--code-comment); }
.code-content .string { color: var(--code-string); }
.code-content .keyword { color: var(--code-keyword); }
.code-content .number { color: var(--code-number); }

/* Endpoint Cards */
.endpoint-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.endpoint-method {
    display: inline-flex;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    margin-right: 0.75rem;
}

.endpoint-method.get { background: #DBEAFE; color: #1D4ED8; }
.endpoint-method.post { background: var(--success-light); color: #047857; }
.endpoint-method.put { background: var(--accent-lighter); color: #B45309; }
.endpoint-method.delete { background: var(--danger-light); color: #B91C1C; }

.endpoint-path {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: var(--text);
}

.endpoint-desc {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ============================================
   Legal Pages
   ============================================ */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    color: var(--text);
}

.legal-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 2rem 0 0.75rem;
    color: var(--text);
}

.legal-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content a {
    color: var(--primary);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--primary-dark);
}

.legal-content ul,
.legal-content ol {
    margin: 1rem 0 1rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.legal-content li {
    list-style: disc;
    margin-bottom: 0.5rem;
}

.legal-toc {
    background: var(--lighter);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
}

.legal-toc h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
}

.legal-toc ol {
    margin: 0 0 0 1.25rem;
}

.legal-toc li {
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
}

.legal-toc a {
    color: var(--primary);
    text-decoration: none;
}

.legal-toc a:hover { text-decoration: underline; }

/* ============================================
   Footer
   ============================================ */
footer {
    background: var(--dark);
    padding: 4rem 2rem 2rem;
    color: var(--white);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo { color: var(--white); }

.footer-brand .logo img {
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: var(--gray-light);
    margin-top: 1rem;
    font-size: 0.95rem;
    max-width: 300px;
    line-height: 1.6;
}

.footer-column h4 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1.25rem;
    color: var(--white);
}

.footer-column a {
    display: block;
    color: var(--gray-light);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-column a:hover { color: var(--white); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: var(--gray-light);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--gray-light);
    transition: color 0.3s ease;
}

.footer-links a:hover { color: var(--white); }

/* ============================================
   Mobile Menu
   ============================================ */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s ease;
    display: block;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--white);
    z-index: 999;
    padding: 6rem 2rem 2rem;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-menu.active { display: flex; }

.mobile-menu a {
    display: block;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    transition: color 0.3s ease;
}

.mobile-menu a:hover { color: var(--primary); }

.mobile-menu .btn {
    text-align: center;
    justify-content: center;
    margin-top: 0.5rem;
}

/* ============================================
   Back to Top
   ============================================ */
#backToTop {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 900;
    box-shadow: var(--shadow-primary);
}

#backToTop.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#backToTop:hover {
    transform: translateY(-2px);
}

#backToTop svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   Scroll Animations
   ============================================ */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.animated,
.fade-in.animated {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left.animated,
.slide-in-right.animated {
    opacity: 1;
    transform: translateX(0);
}

.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children > *.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Comparison Cards (Features page)
   ============================================ */
.comparison-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.comparison-card {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
}

.comparison-card.old {
    background: var(--danger-light);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.comparison-card.new {
    background: var(--success-light);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.comparison-card h4 {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 0.75rem;
}

.comparison-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.comparison-card.old .comparison-icon {
    background: rgba(239, 68, 68, 0.15);
}
.comparison-card.old .comparison-icon svg { color: var(--danger); }

.comparison-card.new .comparison-icon {
    background: rgba(16, 185, 129, 0.15);
}
.comparison-card.new .comparison-icon svg { color: var(--success); }

.comparison-icon svg {
    width: 32px;
    height: 32px;
}

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

.comparison-card strong { color: var(--text); }

/* ============================================
   Spend Visual (Features page)
   ============================================ */
.spend-visual {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.chart-container {
    height: 200px;
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    padding: 1rem;
}

.chart-bar-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.chart-bars {
    display: flex;
    gap: 4px;
    align-items: flex-end;
    height: 150px;
}

.chart-bar {
    width: 24px;
    border-radius: 4px 4px 0 0;
    transition: all 0.3s ease;
}

.chart-bar.reactive {
    background: linear-gradient(180deg, #EF4444 0%, #DC2626 100%);
}

.chart-bar.predictive {
    background: linear-gradient(180deg, #10B981 0%, #059669 100%);
}

.chart-label {
    font-size: 0.75rem;
    color: var(--gray);
}

.savings-callout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--success-light);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-md);
}

.savings-icon {
    width: 48px;
    height: 48px;
    background: rgba(16, 185, 129, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.savings-icon svg {
    width: 24px;
    height: 24px;
    color: var(--success);
}

.savings-text h4 {
    color: #047857;
    font-size: 1.25rem;
    font-weight: 700;
}

.savings-text p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* ============================================
   Inventory Visual (Features page)
   ============================================ */
.inventory-visual {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.photo-upload-demo {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.photo-preview {
    width: 120px;
    height: 120px;
    background: var(--lighter);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--border);
    flex-shrink: 0;
}

.photo-preview svg {
    width: 40px;
    height: 40px;
    color: var(--gray-light);
}

.ai-extraction { flex: 1; }

.extraction-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.extraction-fields {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.extraction-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--lighter);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
}

.extraction-field span:first-child { color: var(--gray); }
.extraction-field span:last-child { color: var(--text); font-weight: 500; }

.ai-confidence {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--success);
    font-size: 0.85rem;
    font-weight: 500;
}

/* ============================================
   All Plans Section (Pricing)
   ============================================ */
.all-plans-section {
    padding: 4rem 0;
}

.all-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.all-plan-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
}

.all-plan-icon {
    width: 44px;
    height: 44px;
    background: var(--primary-lighter);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.all-plan-icon svg {
    width: 22px;
    height: 22px;
    color: var(--primary);
}

.all-plan-text h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.all-plan-text p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ============================================
   Pricing Page Specifics
   ============================================ */
.pricing-page-header {
    padding: 10rem 2rem 4rem;
}

.slider-container {
    margin-bottom: 2rem;
}

.slider-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--gray);
}

.pricing-totals {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.pricing-total-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.pricing-total-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(146, 39, 143, 0.1);
}

.pricing-total-label {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.pricing-total-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.pricing-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.pricing-card .btn {
    width: 100%;
    margin-top: auto;
}

.pricing-card {
    display: flex;
    flex-direction: column;
}

.comparison-check {
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comparison-check svg {
    width: 20px;
    height: 20px;
}

.comparison-dash {
    color: var(--gray-light);
}

.all-plans-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.all-plans-item svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.all-plans-item h4 {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.all-plans-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* FAQ open variant (pricing page) */
.faq-item.open .faq-question svg {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.25rem;
}

/* ============================================
   Responsive: Tablet
   ============================================ */
@media (max-width: 1024px) {
    .visual-tag-content,
    .feature-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .feature-container.reverse { direction: ltr; }

    .visual-tag-text,
    .feature-content {
        text-align: center;
        max-width: 100%;
    }

    .feature-list li { text-align: left; }

    .visual-tag-text { order: 1; }
    .visual-tag-visual { order: 2; }

    .benefit-list li { justify-content: center; }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================
   Responsive: Mobile
   ============================================ */
@media (max-width: 768px) {
    nav { padding: 0.75rem 1rem; }
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; }

    /* Hero */
    .hero {
        padding: 6rem 1rem 3rem;
        min-height: auto;
    }
    .hero h1 { font-size: 2rem; line-height: 1.15; }
    .hero-subtitle { font-size: 1rem; margin-bottom: 2rem; }
    .hero-badge { font-size: 0.75rem; padding: 0.4rem 0.75rem; }
    .hero-cta { flex-direction: column; align-items: center; }
    .hero-cta .btn { width: 100%; max-width: 300px; }
    .hero-stats { gap: 1.5rem; }
    .hero-stats .stat { flex: 0 0 calc(50% - 0.75rem); }

    /* Page header */
    .page-header { padding: 6rem 1rem 3rem; }
    .page-header h1 { font-size: 2rem; }
    .page-header p { font-size: 1rem; }

    /* Sections */
    .section { padding: 4rem 1rem; }
    .section-header { margin-bottom: 2.5rem; }
    .section-title { font-size: 1.75rem; }
    .section-subtitle { font-size: 0.95rem; }

    /* Feature cards */
    .feature-cards { grid-template-columns: 1fr; gap: 1.5rem; }
    .feature-card { padding: 1.75rem; }

    /* Steps */
    .steps { flex-wrap: wrap; }
    .step { flex: 0 0 100%; padding: 1rem; }
    .step-number { width: 44px; height: 44px; font-size: 1rem; }

    /* Visual tags */
    .visual-tag-section { padding: 4rem 1rem; }

    /* Pricing */
    .pricing-cards { grid-template-columns: 1fr; }
    .price-amount { font-size: 3rem; }

    /* Comparison */
    .comparison-cards { grid-template-columns: 1fr; }

    /* Integration platforms */
    .integration-platforms { grid-template-columns: repeat(2, 1fr); }

    /* CTA */
    .cta-section { padding: 4rem 1rem; }
    .cta-content h2 { font-size: 1.75rem; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-buttons .btn { width: 100%; max-width: 300px; }

    /* Demo form */
    .demo-form-section { padding: 4rem 1rem; }
    .demo-form-container h2 { font-size: 1.75rem; }

    /* Footer */
    .footer-top { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .footer-brand p { margin: 1rem auto 0; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; gap: 1rem; }

    /* Testimonials */
    .testimonials-grid { grid-template-columns: 1fr; }

    /* Tables */
    .comparison-table { overflow-x: auto; }

    /* Code blocks */
    .code-content { padding: 1rem; }
    .code-content pre { font-size: 0.75rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.75rem; }
    .hero-stats .stat { flex: 0 0 100%; }
    .page-header h1 { font-size: 1.75rem; }
    .section-title { font-size: 1.5rem; }
    .integration-platforms { grid-template-columns: 1fr; }
    .pricing-limits { flex-direction: column; gap: 1rem; }
    .calculator-results { flex-direction: column; gap: 1rem; }
    .pricing-totals { grid-template-columns: 1fr; }
    .pricing-cards-container { grid-template-columns: 1fr; }
}
