/* ==========================================================================
   WhatsApp Local Audit Toolkit - Stylesheet
   Theme: Executive Cyber Slate (#0a0d14), Electric Cyan (#00f2fe), Indigo (#7f00ff)
   ========================================================================== */

:root {
    --bg-dark: #07090e;
    --bg-surface: #0e1524;
    --bg-card: rgba(18, 26, 44, 0.7);
    --border-color: rgba(0, 242, 254, 0.2);
    --border-highlight: #00f2fe;
    
    --primary-cyan: #00f2fe;
    --primary-blue: #00d2ff;
    --accent-purple: #a855f7;
    --accent-green: #10b981;
    --accent-red: #ef4444;
    --accent-yellow: #f59e0b;
    
    --text-white: #ffffff;
    --text-muted: #94a3b8;
    --text-dark: #64748b;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Ambient Background Lights */
.bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.15;
}

.bg-glow-1 {
    top: -150px;
    left: -100px;
    background: radial-gradient(circle, var(--primary-cyan) 0%, transparent 70%);
}

.bg-glow-2 {
    top: 40%;
    right: -150px;
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Navigation Header */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(16px);
    background: rgba(7, 9, 14, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--text-white);
}

.brand-subtitle {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--primary-cyan);
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

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

/* Glass Panels */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: var(--transition);
}

.glass-panel:hover {
    border-color: rgba(0, 242, 254, 0.4);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #00f2fe 0%, #0099ff 100%);
    color: #07090e;
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 242, 254, 0.55);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-cyan);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1.05rem;
}

.full-width {
    width: 100%;
}

.icon-arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.btn:hover .icon-arrow {
    transform: translateX(4px);
}

/* Badges & Tags */
.badge-hud {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid var(--border-highlight);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--primary-cyan);
    margin-bottom: 24px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-cyan);
    box-shadow: 0 0 10px var(--primary-cyan);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--primary-cyan);
    margin-bottom: 12px;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 30%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Section */
.hero-section {
    padding: 80px 0 60px;
    text-align: center;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 840px;
    margin: 0 auto 36px;
    line-height: 1.6;
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 20px;
}

.metric-card {
    padding: 28px;
    text-align: left;
}

.metric-icon {
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.metric-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.metric-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Section Shared */
.section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 40px;
}

.section-header.center {
    text-align: center;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto;
}

/* Diagram Section */
.diagram-container {
    padding: 24px;
    overflow: hidden;
}

.pipeline-svg {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Platform Tabs */
.platform-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.08);
}

.tab-btn.active {
    color: #07090e;
    background: var(--primary-cyan);
    border-color: var(--primary-cyan);
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.35);
}

.tab-content {
    display: none;
    padding: 36px;
}

.tab-content.active {
    display: block;
}

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

.pill {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.pill-cyan { background: rgba(0, 242, 254, 0.15); color: var(--primary-cyan); border: 1px solid var(--primary-cyan); }
.pill-blue { background: rgba(56, 189, 248, 0.15); color: #38bdf8; border: 1px solid #38bdf8; }
.pill-purple { background: rgba(168, 85, 247, 0.15); color: #c084fc; border: 1px solid #c084fc; }

.tab-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.tab-info p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.feature-checklist {
    list-style: none;
}

.feature-checklist li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-white);
}

.feature-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-cyan);
    font-weight: 900;
}

.tab-code {
    background: #060910;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.code-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    font-size: 0.8rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tab-code pre {
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 0.88rem;
    color: #e2e8f0;
    line-height: 1.6;
    overflow-x: auto;
}

/* Terminal Preview */
.preview-terminal {
    background: #080c14;
    border-radius: 12px;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.terminal-bar {
    background: #0f172a;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-left: 12px;
}

.terminal-content {
    padding: 28px;
    font-family: var(--font-body);
}

.md-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.md-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.md-hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.md-h2 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 12px;
    color: var(--primary-cyan);
}

.md-list {
    list-style: none;
    margin-bottom: 16px;
}

.md-list li {
    padding: 8px 0;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.badge-danger {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.75rem;
    margin-right: 6px;
}

.badge-warning {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.75rem;
    margin-right: 6px;
}

.chk {
    color: var(--primary-cyan);
    font-weight: 900;
    margin-right: 8px;
}

/* Pricing Card */
.cta-box {
    padding: 60px;
    max-width: 760px;
    margin: 0 auto;
}

.pricing-card {
    background: #090e1a;
    border: 1px solid var(--border-highlight);
    border-radius: 14px;
    padding: 36px;
    margin-top: 36px;
    text-align: left;
}

.pricing-header h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
}

.price {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-cyan);
    margin: 10px 0 20px;
}

.price .currency {
    font-size: 1.75rem;
    vertical-align: super;
}

.price .period {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 10px 0;
    color: #cbd5e1;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* FAQ Grid */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.faq-card {
    padding: 28px;
}

.faq-card h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-white);
}

.faq-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Footer */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px 0;
    margin-top: 60px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--text-dark);
}

/* Modal */
.modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 7, 12, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-backdrop.open {
    display: flex;
}

.modal-card {
    background: #0d1424;
    width: 100%;
    max-width: 480px;
    padding: 36px;
    position: relative;
    border: 1px solid var(--border-highlight);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 28px;
    cursor: pointer;
}

.modal-close:hover {
    color: var(--text-white);
}

.modal-header {
    margin-bottom: 24px;
}

.modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.modal-header p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

.form-group {
    margin-bottom: 18px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #cbd5e1;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-cyan);
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.3);
}

.form-group select option {
    background: #0d1424;
    color: #ffffff;
}

.form-status {
    margin-top: 14px;
    font-size: 0.9rem;
    text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-title { font-size: 2.5rem; }
    .metrics-grid { grid-template-columns: 1fr; }
    .tab-grid { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .footer-container { flex-direction: column; gap: 16px; text-align: center; }
}
