/* ===================================
   Halal Sniper Pro — Landing Page
   Design System 2.0
   =================================== */

:root {
    /* Brand Colors */
    --primary: #10B981;          /* Emerald 500 */
    --primary-hover: #059669;    /* Emerald 600 */
    --primary-glow: rgba(16, 185, 129, 0.5);
    
    --accent: #F59E0B;           /* Amber 500 */
    --accent-glow: rgba(245, 158, 11, 0.4);
    
    /* Backgrounds */
    --bg-main: #020408;          /* Almost Black */
    --bg-secondary: #0B101B;     /* Deep Navy/Grey */
    --bg-card: rgba(20, 25, 38, 0.6);
    --bg-glass: rgba(11, 16, 27, 0.7);
    
    /* Text */
    --text-main: #FFFFFF;
    --text-muted: #94A3B8;       /* Slate 400 */
    --text-dim: #64748B;         /* Slate 500 */
    
    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-highlight: rgba(255, 255, 255, 0.12);
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 8rem;
    
    /* Typography */
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-serif: 'Amiri', serif;
    
    /* Effects */
    --shadow-card: 0 0 0 1px var(--border-subtle), 0 4px 20px rgba(0,0,0,0.4);
    --shadow-glow: 0 0 40px var(--primary-glow);
    --backdrop: blur(16px);
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Background Gradients */
.bg-pattern {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: 
        radial-gradient(circle at 15% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(245, 158, 11, 0.05) 0%, transparent 25%);
    pointer-events: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

/* ===================================
   Navigation
   =================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.25rem 0;
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(2, 4, 8, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.logo-icon {
    color: var(--primary);
    filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.4));
}

.logo-highlight {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    background: var(--bg-card);
    padding: 0.5rem 1.5rem;
    border-radius: 99px;
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(8px);
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-cta {
    background: var(--primary);
    color: #020408;
    padding: 0.6rem 1.25rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
}

.nav-cta:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: #000;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.25);
}

.btn-primary:hover {
    background: #34D399; /* lighter emerald */
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.35);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-highlight);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    padding-top: 10rem;
    padding-bottom: 6rem;
    overflow: hidden;
}

.hero-container {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 0.375rem 1rem;
    border-radius: 99px;
    font-size: 0.875rem;
    color: var(--primary);
    margin-bottom: 2rem;
    font-weight: 500;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, #FFF 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.hero-subtitle em {
    color: var(--text-main);
    font-style: normal;
    text-decoration: underline;
    text-decoration-color: var(--primary);
    text-underline-offset: 4px;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 5rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    align-items: center;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-subtle);
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-value {
    display: block;
    color: var(--text-main);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Hero Dashboard Visualization (Modernized) */
.hero-image {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    perspective: 1000px;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
    z-index: -1;
    filter: blur(60px);
}

.browser-frame {
    background: #0F131C;
    border: 1px solid var(--border-highlight);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transform: rotateX(2deg);
    transform-origin: center bottom;
    transition: transform 0.5s ease;
}

.hero-image:hover .browser-frame {
    transform: rotateX(0deg);
}

.browser-header {
    background: #1A1F2E;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--border-subtle);
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

.browser-url {
    background: rgba(0,0,0,0.3);
    color: var(--text-dim);
    font-size: 0.75rem;
    padding: 0.25rem 1rem;
    border-radius: 4px;
    flex: 1;
    text-align: center;
    font-family: monospace;
}

.browser-content {
    background: #0B101B;
    padding: 2rem;
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Modern Dashboard UI */
.modern-dashboard {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.dash-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 1rem;
}

.stock-identity {
    display: flex;
    align-items: baseline;
    gap: 1rem;
}

.stock-symbol {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
}

.stock-price-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price {
    font-size: 1.25rem;
    color: var(--text-main);
    font-family: monospace;
}

.change.positive {
    color: var(--primary);
    font-weight: 600;
}

.halal-badge {
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.dash-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.dash-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 1.5rem;
}

.card-label {
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.signal-gauge {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.signal-text {
    font-size: 2rem;
    font-weight: 800;
}

.signal-text.buy {
    color: var(--primary);
}

.confidence-meter {
    margin-top: 0.5rem;
}

.meter-bar {
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.meter-bar .fill {
    height: 100%;
    background: var(--primary);
}

.confidence-val {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.metrics-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.metric-label {
    color: var(--text-muted);
}

.metric-val {
    color: var(--text-main);
    font-weight: 600;
    font-family: monospace;
}

.metric-val.positive { color: var(--primary); }
.metric-val.medium { color: var(--accent); }

.dash-analysis-text {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 12px;
    padding: 1.5rem;
}

.analysis-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.dash-analysis-text p {
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}


/* ===================================
   Trust Bar
   =================================== */
.trust-bar {
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(0,0,0,0.2);
}

.trust-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    opacity: 0.7;
}

.trust-label {
    font-size: 0.85rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.trust-logos {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.trust-item {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.trust-divider {
    color: var(--text-dim);
    opacity: 0.3;
}

/* ===================================
   Origin Story Section (Redesigned)
   =================================== */
.origin-story {
    padding: var(--space-xl) 0;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-main) 100%);
    border-top: 1px solid var(--border-subtle);
}

.story-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.story-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 1.5rem;
}

.avatar-icon {
    width: 48px;
    height: 48px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-meta h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.story-meta span {
    color: var(--text-dim);
    font-size: 0.875rem;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.story-column p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.story-column strong {
    color: var(--text-main);
    display: block;
    margin-bottom: 0.5rem;
}

/* ===================================
   Problem Section
   =================================== */
.problem {
    padding: var(--space-2xl) 0;
    background: var(--bg-main);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 800;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.problem-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    padding: 2.5rem;
    border-radius: 16px;
    transition: transform 0.3s;
}

.problem-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-highlight);
}

.problem-icon-box {
    width: 64px;
    height: 64px;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.problem-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.problem-card p {
    color: var(--text-muted);
}

/* ===================================
   Features
   =================================== */
.features {
    padding: var(--space-2xl) 0;
    background: var(--bg-secondary);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    padding: 2rem;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.feature-card.featured {
    grid-column: span 2;
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-color: rgba(16, 185, 129, 0.2);
}

.feature-icon {
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.feature-list {
    margin-top: 1.5rem;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.feature-list li {
    font-size: 0.85rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-list li::before {
    content: "•";
    color: var(--primary);
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .feature-card.featured {
        grid-column: span 1;
    }
}

/* ===================================
   How It Works
   =================================== */
.how-it-works {
    padding: var(--space-2xl) 0;
    background: var(--bg-main);
}

.steps {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.step {
    display: flex;
    gap: 2rem;
    padding-bottom: 3rem;
    position: relative;
}

.step:last-child {
    padding-bottom: 0;
}

.step::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 50px;
    bottom: -10px;
    width: 2px;
    background: var(--border-subtle);
}

.step:last-child::before {
    display: none;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-highlight);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
    z-index: 2;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-muted);
}

.step-content code {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9em;
}

/* ===================================
   Pricing
   =================================== */
.pricing {
    padding: var(--space-2xl) 0;
}

.pricing-single {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.pricing-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    padding: 2.5rem;
    border-radius: 16px;
    position: relative;
    max-width: 450px;
    width: 100%;
}

.pricing-card.featured {
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.05) 0%, var(--bg-secondary) 100%);
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.1);
}

.pricing-header h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1;
}

.price-period {
    font-size: 1rem;
    color: var(--text-dim);
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.95rem;
    color: var(--text-muted);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li.optional {
    color: var(--primary);
    font-weight: 500;
}

.api-keys-note {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.api-keys-note h4 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: var(--text-main);
}

.keys-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.key-item {
    text-align: center;
}

.key-item strong {
    display: block;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.key-item span {
    display: block;
    color: var(--text-dim);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.key-item a {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
}

.key-item a:hover {
    text-decoration: underline;
}

/* ===================================
   AI Analysis Section
   =================================== */
.ai-section {
    background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-secondary) 100%);
    border-bottom: 1px solid var(--border-subtle);
}

.ai-features-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

.ai-feature-main {
    background: rgba(16, 185, 129, 0.03);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 20px;
    padding: 2.5rem;
}

.ai-feature-main h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-main);
}

.ai-report-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ai-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.ai-item-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.ai-item strong {
    display: block;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.ai-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.ai-models {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 2rem;
}

.ai-models h4 {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    text-align: center;
}

.model-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.model-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.model-icon {
    color: var(--text-dim);
}

.model-card strong {
    display: block;
    color: var(--text-main);
}

.model-note {
    display: block;
    font-size: 0.8rem;
    color: var(--text-dim);
}

.byok-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--primary);
    padding: 1rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 8px;
    margin: 0;
}

@media (max-width: 900px) {
    .ai-features-grid {
        grid-template-columns: 1fr;
    }
    .story-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ===================================
   FAQ Section
   =================================== */
.faq {
    padding: var(--space-2xl) 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.faq-item {
    background: transparent;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 2rem;
}

.faq-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.faq-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===================================
   Quote Section
   =================================== */
.quote-section {
    padding: var(--space-2xl) 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, var(--bg-main) 100%);
    text-align: center;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.main-quote {
    max-width: 700px;
    margin: 0 auto;
}

.arabic-text {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--accent);
    margin-bottom: 1.5rem;
    direction: rtl;
    line-height: 1.6;
}

.quote-translation {
    font-size: 1.25rem;
    color: var(--text-main);
    font-style: italic;
    margin-bottom: 1rem;
}

.main-quote cite {
    color: var(--text-dim);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ===================================
   Final CTA
   =================================== */
.final-cta {
    padding: 8rem 0;
    text-align: center;
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
}

.final-cta h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    font-weight: 800;
}

.final-cta p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* ===================================
   Footer
   =================================== */
.footer {
    border-top: 1px solid var(--border-subtle);
    padding: 4rem 0 2rem;
    background: var(--bg-secondary);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-dim);
    margin-top: 1rem;
    font-size: 0.9rem;
}

.footer-tagline {
    color: var(--primary);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-column h4 {
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-column a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* ===================================
   Where It Works Section
   =================================== */
.where-works {
    padding: var(--space-2xl) 0;
    background: var(--bg-main);
}

.sites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.site-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.site-card.active {
    border-color: rgba(16, 185, 129, 0.3);
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.05) 0%, var(--bg-secondary) 100%);
}

.site-card.coming {
    opacity: 0.6;
}

.site-icon {
    margin-bottom: 1rem;
    color: var(--text-dim);
    display: flex;
    justify-content: center;
}

.site-card.active .site-icon {
    color: var(--primary);
}

.site-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.site-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===================================
   Section Subtitle
   =================================== */
.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   Responsive Styles
   =================================== */

/* Large Tablets and Small Desktops */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .nav-container {
        padding: 0 1.25rem;
    }
    
    .hero {
        padding-top: 8rem;
    }
}

/* Tablets */
@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card.featured {
        grid-column: span 1;
    }
    
    .ai-features-grid {
        grid-template-columns: 1fr;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .keys-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    /* Navigation */
    .nav-links { 
        display: none; 
    }
    
    .nav-cta {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    /* Hero Section */
    .hero {
        padding-top: 7rem;
        padding-bottom: 4rem;
    }
    
    .hero-title { 
        font-size: 2.25rem;
        line-height: 1.15;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 3rem;
        padding: 0 1rem;
    }
    
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats { 
        flex-direction: column; 
        gap: 1.5rem; 
        border-top: none;
        padding-top: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .stat-divider { 
        display: none; 
    }
    
    /* Hero Dashboard Preview */
    .hero-image {
        margin: 0 1rem;
    }
    
    .browser-content {
        padding: 1rem;
        min-height: 300px;
    }
    
    .modern-dashboard {
        gap: 1rem;
    }
    
    .dash-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .stock-symbol {
        font-size: 1.5rem;
    }
    
    .halal-badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.75rem;
    }
    
    .dash-grid { 
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .dash-card {
        padding: 1rem;
    }
    
    .signal-text {
        font-size: 1.5rem;
    }
    
    .dash-analysis-text {
        padding: 1rem;
    }
    
    .dash-analysis-text p {
        font-size: 0.85rem;
    }
    
    /* Trust Bar */
    .trust-bar {
        padding: 1.5rem 0;
    }
    
    .trust-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .trust-logos {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }
    
    .trust-divider {
        display: none;
    }
    
    /* Origin Story */
    .story-card {
        padding: 1.5rem;
    }
    
    .story-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    /* Problem Section */
    .problem {
        padding: var(--space-xl) 0;
    }
    
    .problem-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2.5rem;
    }
    
    .problem-card {
        padding: 1.5rem;
    }
    
    /* Features */
    .features {
        padding: var(--space-xl) 0;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-list {
        grid-template-columns: 1fr;
    }
    
    /* AI Section */
    .ai-feature-main {
        padding: 1.5rem;
    }
    
    .ai-feature-main h3 {
        font-size: 1.25rem;
    }
    
    .ai-models {
        padding: 1.5rem;
    }
    
    /* Where It Works */
    .sites-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .site-card {
        padding: 1.5rem;
    }
    
    /* How It Works */
    .how-it-works {
        padding: var(--space-xl) 0;
    }
    
    .step {
        gap: 1.25rem;
        padding-bottom: 2rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .step::before {
        left: 19px;
        top: 45px;
    }
    
    .step-content h3 {
        font-size: 1.1rem;
    }
    
    .step-content p {
        font-size: 0.9rem;
    }
    
    /* Pricing */
    .pricing {
        padding: var(--space-xl) 0;
    }
    
    .pricing-card {
        padding: 1.5rem;
    }
    
    .price {
        font-size: 2.5rem;
    }
    
    .api-keys-note {
        padding: 1.5rem;
    }
    
    .keys-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Quote Section */
    .quote-section {
        padding: var(--space-xl) 0;
    }
    
    .arabic-text {
        font-size: 1.75rem;
    }
    
    .quote-translation {
        font-size: 1rem;
    }
    
    /* FAQ */
    .faq {
        padding: var(--space-xl) 0;
    }
    
    .faq-grid {
        margin-top: 2.5rem;
        gap: 1.5rem;
    }
    
    .faq-item h3 {
        font-size: 1rem;
    }
    
    /* Final CTA */
    .final-cta {
        padding: 5rem 0;
    }
    
    .final-cta h2 {
        font-size: 1.75rem;
    }
    
    .final-cta p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        padding: 0 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Footer */
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-content { 
        flex-direction: column;
        gap: 2.5rem;
        margin-bottom: 2.5rem;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-brand .logo {
        justify-content: center;
    }
    
    .footer-links { 
        flex-direction: column; 
        gap: 2rem;
        text-align: center;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.25rem 0.75rem;
    }
    
    .hero-badge span {
        display: inline;
    }
    
    .browser-frame {
        border-radius: 8px;
    }
    
    .browser-header {
        padding: 0.5rem 0.75rem;
    }
    
    .browser-url {
        font-size: 0.65rem;
    }
    
    .stock-symbol {
        font-size: 1.25rem;
    }
    
    .price {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .problem-icon-box {
        width: 50px;
        height: 50px;
    }
    
    .problem-icon-box svg {
        width: 24px;
        height: 24px;
    }
    
    .final-cta h2 {
        font-size: 1.5rem;
    }
}
