:root {
    --bg-dark: #0f172a;       /* Darkest Background (Alternating A) */
    --bg-charcoal: #1e293b;   /* Less Dark Background (Alternating B) */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;

    /* Accents */
    --accent-green: #22c55e;
    --accent-orange: #f59e0b;
    --accent-blue: #3b82f6;
    --accent-purple: #8b7cf6;
    --accent-pink: #ec4899;
    --accent-cyan: #06b6d4;
    --accent-red: #f43f5e;

    /* Glass settings */
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
}

/* Base Reset & Utilities */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; background-color: var(--bg-dark); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.text-white { color: #ffffff !important; }

/* Typography */
h1 { font-size: 3.5rem; line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 20px; text-shadow: 0 4px 20px rgba(0,0,0,0.5); }
h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 15px; }
h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 10px; }
p { font-size: 1.1rem; color: var(--text-muted); }

.eyebrow { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; display: inline-block; margin-bottom: 10px; padding: 5px 12px; border-radius: 999px; }
.eyebrow.accent-blue { color: var(--accent-blue); border: 1px solid rgba(59, 130, 246, 0.3); background: rgba(59, 130, 246, 0.1); }
.eyebrow.accent-green { color: var(--accent-green); border: 1px solid rgba(34, 197, 94, 0.3); background: rgba(34, 197, 94, 0.1); }
.eyebrow.accent-orange { color: var(--accent-orange); border: 1px solid rgba(245, 158, 11, 0.3); background: rgba(245, 158, 11, 0.1); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; font-size: 1rem; font-weight: 600; border-radius: 8px; text-decoration: none; transition: all 0.3s ease; cursor: pointer; line-height: 1.5; }
.btn-primary { background: var(--accent-green); color: #fff; box-shadow: 0 4px 14px rgba(34, 197, 94, 0.4); border: none;}
.btn-primary:hover { background: #16a34a; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(34, 197, 94, 0.5);}
.btn-secondary { background: var(--glass-bg); color: var(--text-main); border: 1px solid var(--glass-border); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); }
.btn-outline { border: 1px solid var(--accent-blue); color: var(--accent-blue); background: transparent; }
.btn-outline:hover { background: rgba(59, 130, 246, 0.1); }
.btn-outline-yellow { color: #FFD700; border: 2px solid #FFD700; background-color: transparent; }
.btn-outline-yellow:hover { background-color: #FFD700; color: #000000; }
.btn-large { padding: 16px 32px; font-size: 1.1rem; }
.btn-block { width: 100%; text-align: center; }

/* Layout Elements */
.section { padding: 100px 0; }
.section-header { margin: 0 auto 50px; text-align: center; max-width: 800px; }
.header-narrow { max-width: 900px; }
.dark-section { background-color: var(--bg-charcoal); }
.light-section { background-color: var(--bg-dark); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

/* Theme Mapping for Cards */
.theme-blue { --card-color: var(--accent-blue); --card-bg: rgba(59,130,246,0.15); }
.theme-purple { --card-color: var(--accent-purple); --card-bg: rgba(139,124,246,0.15); }
.theme-green { --card-color: var(--accent-green); --card-bg: rgba(34,197,94,0.15); }
.theme-pink { --card-color: var(--accent-pink); --card-bg: rgba(236,72,153,0.15); }
.theme-orange { --card-color: var(--accent-orange); --card-bg: rgba(245,158,11,0.15); }
.theme-cyan { --card-color: var(--accent-cyan); --card-bg: rgba(6,182,212,0.15); }
.theme-red { --card-color: var(--accent-red); --card-bg: rgba(244,63,94,0.15); }

/* Navigation */
.navbar { position: fixed; top: 0; width: 100%; background: rgba(15, 23, 42, 0.9); backdrop-filter: blur(10px); z-index: 1000; border-bottom: 1px solid var(--glass-border); padding: 15px 0; }
.nav-container { display: flex; justify-content: space-between; align-items: center; flex-wrap: nowrap; gap: 20px;}
.logo { font-size: 1.5rem; font-weight: 800; color: #fff; white-space: nowrap; flex-shrink: 0;}
.logo a { text-decoration: none; color: inherit; }
.logo span { color: var(--accent-blue); }
.nav-links { display: flex; gap: 25px; align-items: center; white-space: nowrap; }
.nav-links a { color: var(--text-main); text-decoration: none; font-size: 1rem; font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: var(--accent-blue); }
.nav-actions { display: flex; gap: 15px; white-space: nowrap; flex-shrink: 0;}

/* Textured Hero Section */
.hero { padding: 180px 0 100px; text-align: center; background-color: var(--bg-dark); position: relative; background-image: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.15) 0%, transparent 60%), linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px); background-size: 100% 100%, 40px 40px, 40px 40px; background-position: center 0, center center, center center; }
.hero-content { max-width: 1100px; position: relative; z-index: 2; margin: 0 auto; }
.subtitle { font-size: 1.25rem; max-width: 700px; margin: 0 auto 40px; text-shadow: 0 2px 10px rgba(0,0,0,0.5);}
.hero-buttons { display: flex; justify-content: center; gap: 20px; margin-bottom: 20px; }
.hero-assurance { font-size: 0.95rem; color: var(--text-muted); font-style: italic; }

.hero-features { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; margin-top: 60px; }
.hero-feature-card { background: rgba(30, 41, 59, 0.6); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; padding: 24px 10px; text-align: center; transition: all 0.3s ease; position: relative; overflow: hidden; border-bottom: 3px solid var(--card-color); box-shadow: 0 10px 25px rgba(0,0,0,0.2); }
.hero-feature-card:hover { transform: translateY(-4px); box-shadow: 0 15px 35px rgba(0,0,0,0.3); border-color: rgba(255, 255, 255, 0.2); background: rgba(30, 41, 59, 0.8); }
.hf-icon-wrap { width: 54px; height: 54px; margin: 0 auto 15px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--card-bg); color: var(--card-color); }
.hf-icon-wrap svg { width: 24px; height: 24px; stroke-width: 2.5; }
.hf-text { font-size: 0.85rem; font-weight: 700; color: #fff; line-height: 1.4; letter-spacing: 0.04em; text-transform: uppercase; }

/* Global Dark Glass Cards */
.glass-card { background: linear-gradient(180deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.8)); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px; padding: 30px 20px; text-align: center; backdrop-filter: blur(12px); transition: all 0.3s ease; position: relative; overflow: hidden; }
.glass-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--card-color); opacity: 0.8; transition: opacity 0.3s ease; }
.glass-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.2); box-shadow: 0 15px 35px rgba(0,0,0,0.4), 0 0 25px var(--card-bg); }
.glass-card .hf-icon-wrap { border: 1px solid rgba(255,255,255,0.05); box-shadow: inset 0 2px 10px rgba(255,255,255,0.05); }

/* Special Text Formatting */
.lead-text { font-size: 1.25rem; font-weight: 500; color: #f8fafc; margin-bottom: 1rem; }
.pricing-lead { font-size: 1.125rem; color: #9fabbc; line-height: 1.6; }

/* Problem & Use Case Cards */
.problem-card h3, .use-case-card h3 { font-size: 1.25rem; margin-bottom: 15px; color: #fff; }
.problem-card p { font-size: 1rem; color: var(--text-muted); }
.use-case-card { text-align: left; padding: 30px; }
.use-case-card h3 { border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px; }
.uc-desc { font-size: 0.95rem; margin-bottom: 20px; line-height: 1.5; color: #cbd5e1; }
.uc-list { list-style: none; padding: 0; margin: 0; }
.uc-list li { font-size: 0.9rem; color: #94a3b8; margin-bottom: 8px; font-weight: 500; }

/* Capabilities Grid */
.capabilities-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; max-width: 1000px; margin: 0 auto; }
.cap-card { background: rgba(30, 41, 59, 0.6); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; padding: 40px; text-align: left; box-shadow: 0 10px 25px rgba(0,0,0,0.2); transition: transform 0.3s ease, border-color 0.3s ease; }
.cap-card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.2); background: rgba(30, 41, 59, 0.8); }
.cap-card h3 { color: #fff; font-size: 1.5rem; margin: 10px 0 15px; }
.cap-card p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.6; margin:0;}

/* Interactive Demo Lead-In */
.demo-section { background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="%233b82f6" opacity="0.1"/></svg>') repeat; position: relative; }
.demo-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; background: rgba(30, 41, 59, 0.95); border: 1px solid var(--accent-blue); border-radius: 20px; padding: 50px; position: relative; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.15); }
.demo-showcase::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 60%); pointer-events: none; }
.demo-text { position: relative; z-index: 2; }
.check-list { list-style: none; margin: 20px 0 30px; }
.check-list li { margin-bottom: 12px; font-weight: 500; font-size: 1.1rem; color: #fff; }
.btn-pulse { animation: pulse 2s infinite; }

/* Demo Visual Area (Mobile Fixed) */
.demo-visual-wrapper { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 100%; padding-bottom: 5rem; }
.mock-cards-container { display: flex; flex-direction: column; gap: 1rem; position: relative; z-index: 2; }
.mock-card { background: rgba(15, 23, 42, 0.9); padding: 15px 20px; border-radius: 8px; font-size: 0.95rem; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,0.3); border-left: 4px solid; animation: float 6s ease-in-out infinite; line-height: 1.4; }
.card-green { border-left-color: var(--accent-green); color: var(--accent-green); animation-delay: 0s; }
.card-orange { border-left-color: var(--accent-orange); color: var(--accent-orange); animation-delay: 2s; }
.card-pink { border-left-color: var(--accent-pink); color: var(--accent-pink); animation-delay: 4s; }

.visualizer { position: absolute; bottom: 1.5rem; right: 1.5rem; display: flex; gap: 5px; height: 50px; align-items: flex-end; }
.visualizer .bar { width: 6px; background: var(--accent-blue); border-radius: 3px; animation: eq 1s infinite alternate ease-in-out; }
.visualizer .bar:nth-child(1) { height: 20px; animation-delay: 0.1s; }
.visualizer .bar:nth-child(2) { height: 40px; animation-delay: 0.3s; }
.visualizer .bar:nth-child(3) { height: 30px; animation-delay: 0.2s; }
.visualizer .bar:nth-child(4) { height: 50px; animation-delay: 0.5s; }
.visualizer .bar:nth-child(5) { height: 25px; animation-delay: 0.1s; }
.visualizer .bar:nth-child(6) { height: 35px; animation-delay: 0.4s; }

@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-5px) rotate(1deg); } }
@keyframes eq { 0% { height: 10px; } 100% { height: 50px; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }

/* Process Steps */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: left; }
.step { background: var(--bg-dark); padding: 30px 20px; border-radius: 12px; border-top: 4px solid var(--accent-blue); position: relative; box-shadow: 0 10px 25px rgba(0,0,0,0.15);}
.step-number { position: absolute; top: -20px; left: 20px; width: 40px; height: 40px; background: var(--accent-blue); color: #fff; font-weight: 800; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; border-radius: 50%; box-shadow: 0 4px 10px rgba(0,0,0,0.3); }

/* Pricing Architecture */
.pricing-header { margin-bottom: 2rem; }
.pricing-incentives { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; margin-bottom: 3.5rem; }
.incentive-item { display: flex; align-items: center; gap: 0.75rem; background: rgba(59, 130, 246, 0.08); padding: 0.75rem 1.5rem; border-radius: 50px; border: 1px solid rgba(59, 130, 246, 0.2); font-size: 1.05rem; box-shadow: 0 2px 4px rgba(0,0,0,0.02); }
.incentive-item svg { width: 22px; height: 22px; color: var(--accent-blue); flex-shrink: 0; }
.incentive-green { background: rgba(16, 185, 129, 0.1); border-color: rgba(16, 185, 129, 0.2); }
.incentive-green svg { color: #10b981; }
.incentive-red { background: rgba(244, 63, 94, 0.1); border-color: rgba(244, 63, 94, 0.2); }
.incentive-red svg { color: #f43f5e; }

.pricing-stack { display: flex; flex-direction: column; gap: 1.5rem; max-width: 1000px; margin: 0 auto; }
.horizontal-card { border-radius: 12px; padding: 2.5rem; background: #ffffff; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); border: 1px solid rgba(0,0,0,0.06); display: flex; flex-direction: column; gap: 2rem; transition: transform 0.2s ease, box-shadow 0.2s ease; overflow: hidden; }
.horizontal-card:hover { transform: translateY(-3px); box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.08); }

.mesh-core { background: #ffffff radial-gradient(circle at 100% 0%, rgba(15, 23, 42, 0.04) 0%, transparent 60%); }
.mesh-unlimited { background: #ffffff radial-gradient(circle at 100% 0%, rgba(59, 130, 246, 0.08) 0%, transparent 70%); }
.mesh-advanced { background: #ffffff radial-gradient(circle at 100% 0%, rgba(139, 92, 246, 0.06) 0%, transparent 60%); }
.mesh-enterprise { background: #1e293b radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.06) 0%, transparent 60%); border-color: #334155; }
.dark-card .card-tier-info { border-right-color: rgba(255,255,255,0.1) !important; }

/* Pricing Tier Components */
.tier-name { margin: 0 0 0.5rem 0; font-size: 1.35rem; }
.tier-text-core { color: #0f172a; }
.tier-text-adv { color: var(--accent-blue); }
.tier-text-int { color: #8b5cf6; }
.tier-text-ent { color: #94a3b8; }
.tier-desc { margin: 0.5rem 0 0 0; font-size: 0.95rem; color: #64748b; line-height: 1.5; }

.price { font-size: 3rem; font-weight: 800; color: #0f172a; display: flex; align-items: flex-start; line-height: 1; }
.price .currency { font-size: 1.5rem; margin-top: 0.35rem; margin-right: 3px; }
.price .period { font-size: 1rem; font-weight: 500; color: #64748b; align-self: flex-end; margin-bottom: 0.4rem; margin-left: 4px; }

.btn-tier-core { width: 100%; margin-top: 1.5rem; background-color: #0f172a; color: #ffffff; border: none; }
.btn-tier-adv { width: 100%; margin-top: 1.5rem; background-color: var(--accent-blue); color: #ffffff; border: none; box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.39); }
.btn-tier-int { width: 100%; margin-top: 1.5rem; background-color: #8b5cf6; color: #ffffff; border: none; }
.btn-tier-ent { width: 100%; margin-top: 1.5rem; background-color: #ffffff; color: #0f172a; border: none; font-weight: 600; }

.grid-list { display: grid; grid-template-columns: 1fr; gap: 0.75rem 1.5rem; list-style: none; padding: 0; margin: 0; }
.grid-list li { display: flex; align-items: flex-start; font-size: 0.95rem; color: #334155; line-height: 1.4; }
.grid-list .check { color: var(--accent-green); margin-right: 10px; font-weight: bold; flex-shrink: 0; }
.dark-list li { color: #cbd5e1; }

/* Contact Form */
.contact-card { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 20px; padding: 50px; max-width: 800px; margin: 0 auto; box-shadow: 0 20px 50px rgba(0,0,0,0.4); backdrop-filter: blur(12px); }
.form-row { display: flex; gap: 20px; margin-bottom: 24px; }
.form-group { flex: 1; display: flex; flex-direction: column; text-align: left; margin-bottom: 24px; }
.form-row .form-group { margin-bottom: 0; }
.form-group label { font-size: 0.85rem; font-weight: 700; color: var(--text-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; }
.form-control { background: rgba(15, 23, 42, 0.6); border: 1px solid rgba(255, 255, 255, 0.15); color: #fff; padding: 16px 18px; border-radius: 10px; font-size: 1rem; font-family: 'Inter', sans-serif; transition: all 0.3s ease; }
.form-control::placeholder { color: rgba(255, 255, 255, 0.3); }
.form-control:focus { outline: none; border-color: var(--accent-blue); background: rgba(15, 23, 42, 0.9); box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15); }
.select-wrapper { position: relative; width: 100%; }
.select-wrapper::after { content: "▼"; font-size: 0.8rem; color: var(--text-muted); position: absolute; right: 18px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.form-select { appearance: none; -webkit-appearance: none; width: 100%; cursor: pointer; }
.form-select option { background: var(--bg-charcoal); color: #fff; }
.fancy-textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.submit-btn { margin-top: 10px; font-size: 1.1rem; padding: 18px; }

/* Footer */
.footer { background: #080b12; padding: 60px 0 20px; border-top: 1px solid var(--glass-border); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; margin-bottom: 40px; }
.footer-brand p { margin-top: 15px; font-size: 0.95rem; max-width: 300px; }
.footer-links h4, .footer-contact h4 { color: #fff; margin-bottom: 20px; font-size: 1.1rem; }
.footer-links a { display: block; color: var(--text-muted); text-decoration: none; margin-bottom: 10px; transition: color 0.3s; }
.footer-links a:hover { color: var(--accent-blue); }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.05); color: var(--text-muted); font-size: 0.9rem; }

/* Desktop Formatting for Pricing Stack */
@media (min-width: 768px) {
    .horizontal-card { flex-direction: row; align-items: center; }
    .card-tier-info { flex: 0 0 300px; border-right: 1px solid rgba(0,0,0,0.08); padding-right: 2.5rem; }
    .card-features-wrap { flex: 1; padding-left: 1rem; }
}

@media (min-width: 1024px) {
    .grid-list { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile Responsive */
@media (max-width: 1050px) {
    .nav-links { display: none; }
}

@media (max-width: 992px) {
    .grid-3, .process-steps, .capabilities-grid { grid-template-columns: 1fr; }
    .hero-features { grid-template-columns: repeat(3, 1fr); }
    .demo-showcase { grid-template-columns: 1fr; text-align: center; padding: 30px; }
    .check-list li { text-align: left; }
    h1 { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; }
    .contact-card { padding: 30px 20px; }
    .form-row { flex-direction: column; gap: 24px; }
    .footer-top { grid-template-columns: 1fr; text-align: center; }
    .footer-brand p { margin: 15px auto; }
}

@media (max-width: 768px) {
    .pricing-incentives { flex-direction: column; align-items: center; gap: 1rem; }
    .incentive-item { width: 100%; max-width: 320px; justify-content: center; }
    .demo-visual-wrapper { padding-bottom: 4rem; }
    .visualizer { position: relative; bottom: auto; right: auto; justify-content: center; margin-top: 1rem; }
}

@media (max-width: 600px) {
    .hero-features { grid-template-columns: repeat(2, 1fr); }
    .nav-actions { display: none; }
    .mock-card { font-size: 0.85rem; padding: 12px; }
}