/* ==========================================
   MINILYTIC FEATURES PAGE - PREMIUM CSS
   ========================================== */

/* ---------- CSS Variables ---------- */
:root {
    --minilytic: #6d5cff;
    --minilytic-light: #8b7fff;
    --minilytic-dark: #4a3ad0;
    --minilytic-glow: rgba(109, 92, 255, 0.4);
    --surface: #111114;
    --surface-light: #1a1a1f;
    --surface-lighter: #222228;
    --text-primary: #f0f0f5;
    --text-secondary: #8888a0;
    --text-muted: #55556a;
    --green: #10b981;
    --whatsapp-green: #25d366;
    --border: rgba(255, 255, 255, 0.06);
    --border-light: rgba(255, 255, 255, 0.1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

/* ---------- Gradient Text ---------- */
.gradient-text {
    background: linear-gradient(135deg, var(--minilytic) 0%, var(--minilytic-light) 50%, #b8a9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- Glass Effects ---------- */
.glass {
    background: rgba(17, 17, 20, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.glass-light {
    background: rgba(26, 26, 31, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 12px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--minilytic), var(--minilytic-light));
    color: white;
    box-shadow: 0 0 20px rgba(109, 92, 255, 0.2), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(109, 92, 255, 0.35), 0 8px 20px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }

/* ---------- Glow Effects ---------- */
.glow-primary {
    box-shadow: 0 0 20px rgba(109, 92, 255, 0.15), 0 0 60px rgba(109, 92, 255, 0.05);
}

.glow-primary-strong {
    box-shadow: 0 0 30px rgba(109, 92, 255, 0.25), 0 0 80px rgba(109, 92, 255, 0.1);
}

/* ---------- Gradient Border ---------- */
.gradient-border {
    position: relative;
    overflow: hidden;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(109, 92, 255, 0.4), rgba(139, 127, 255, 0.05), rgba(109, 92, 255, 0.4));
    background-size: 200% 200%;
    animation: gradient-rotate 6s ease infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

@keyframes gradient-rotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ---------- Section Base ---------- */
.section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(109, 92, 255, 0.15);
    color: var(--minilytic-light);
    border: 1px solid rgba(109, 92, 255, 0.2);
    margin-bottom: 16px;
}

.section-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ---------- Background Blobs ---------- */
.section-bg-blobs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--minilytic);
    top: 10%;
    left: -10%;
    animation: float 8s ease-in-out infinite;
}

.blob-2 {
    width: 350px;
    height: 350px;
    background: var(--minilytic-light);
    bottom: 10%;
    right: -10%;
    animation: float 8s ease-in-out 3s infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-30px); }
}

/* ==========================================
   STICKY NAVIGATION
   ========================================== */
.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    border-radius: 0;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.1rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--minilytic), var(--minilytic-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 900;
    color: white;
}

.logo-text {
    color: var(--text-primary);
}

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

.nav-links a {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

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

@media (max-width: 900px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; }
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 0 80px;
}

.hero-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

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

.hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-content {
    margin-bottom: 64px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--minilytic-light);
    background: rgba(109, 92, 255, 0.1);
    border: 1px solid rgba(109, 92, 255, 0.2);
    margin-bottom: 28px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--minilytic);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; box-shadow: 0 0 4px var(--minilytic-glow); }
    50% { opacity: 1; box-shadow: 0 0 12px var(--minilytic-glow); }
}

.hero-title {
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 24px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

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

/* ---------- Hero Flow Pipeline ---------- */
.hero-flow {
    max-width: 900px;
    margin: 0 auto;
}

.flow-pipeline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.flow-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    border-radius: 14px;
    background: rgba(17, 17, 20, 0.8);
    border: 1px solid var(--border);
    min-width: 100px;
    position: relative;
    transition: all 0.3s ease;
}

.flow-node:hover {
    border-color: rgba(109, 92, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 0 20px rgba(109, 92, 255, 0.1);
}

.flow-node-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(109, 92, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--minilytic-light);
}

.flow-node-icon.whatsapp-icon {
    background: rgba(37, 211, 102, 0.12);
    color: var(--whatsapp-green);
}

.flow-node-icon.ai-icon {
    background: rgba(109, 92, 255, 0.2);
    color: var(--minilytic-light);
}

.flow-node-icon.success-icon {
    background: rgba(16, 185, 129, 0.12);
    color: var(--green);
}

.flow-node-icon.money-icon {
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
}

.flow-node-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.flow-node-count {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.flow-node-glow {
    position: absolute;
    inset: -1px;
    border-radius: 14px;
    background: radial-gradient(circle at center, rgba(109, 92, 255, 0.08), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.flow-node:hover .flow-node-glow {
    opacity: 1;
}

.flow-connector {
    width: 24px;
    height: 2px;
    background: var(--border);
    position: relative;
    flex-shrink: 0;
}

.flow-dot {
    position: absolute;
    top: -2px;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--minilytic);
    box-shadow: 0 0 8px var(--minilytic-glow);
    animation: flow-move 2s ease-in-out infinite;
}

@keyframes flow-move {
    0% { left: 0; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { left: calc(100% - 6px); opacity: 0; }
}

.flow-connector:nth-child(4) .flow-dot { animation-delay: 0.3s; }
.flow-connector:nth-child(6) .flow-dot { animation-delay: 0.6s; }
.flow-connector:nth-child(8) .flow-dot { animation-delay: 0.9s; }
.flow-connector:nth-child(10) .flow-dot { animation-delay: 1.2s; }

.hero-gradient-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, #09090b, transparent);
    pointer-events: none;
}

@media (max-width: 768px) {
    .flow-pipeline {
        flex-direction: column;
    }
    .flow-connector {
        width: 2px;
        height: 20px;
    }
    .flow-dot {
        top: 0;
        left: -2px !important;
        animation: flow-move-v 2s ease-in-out infinite;
    }
    @keyframes flow-move-v {
        0% { top: 0; opacity: 0; }
        20% { opacity: 1; }
        80% { opacity: 1; }
        100% { top: calc(100% - 6px); opacity: 0; }
    }
}

/* ==========================================
   BUSINESS OUTCOMES
   ========================================== */
.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.outcome-card {
    padding: 32px 28px;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.outcome-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 30px rgba(109, 92, 255, 0.1), 0 20px 40px rgba(0, 0, 0, 0.3);
}

.outcome-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(109, 92, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--minilytic-light);
    margin-bottom: 20px;
}

.outcome-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

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

@media (max-width: 900px) {
    .outcomes-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* ==========================================
   AI FEATURES
   ========================================== */
.ai-features {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(109, 92, 255, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(139, 127, 255, 0.04) 0%, transparent 50%);
}

.ai-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: start;
}

.ai-dashboard {
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.ai-dash-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    position: relative;
}

.ai-brain-glow {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(109, 92, 255, 0.2), transparent 70%);
    animation: pulse-glow 4s ease-in-out infinite;
    pointer-events: none;
}

.ai-dash-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.ai-live-badge {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--green);
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(16, 185, 129, 0.1);
}

.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Waveform */
.ai-waveform {
    margin-bottom: 16px;
}

.waveform-bars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 40px;
    margin-bottom: 8px;
}

.waveform-bars .bar {
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(to top, var(--minilytic), var(--minilytic-light));
    animation: waveform-pulse 1.2s ease-in-out infinite;
}

@keyframes waveform-pulse {
    0%, 100% { height: 8px; opacity: 0.5; }
    50% { height: 32px; opacity: 1; }
}

.waveform-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Transcript */
.ai-transcript {
    padding: 14px;
    border-radius: 10px;
    margin-bottom: 16px;
}

.transcript-header {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

.transcript-body {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.transcript-line {
    margin-bottom: 4px;
}

.typing-line {
    border-right: 2px solid var(--minilytic);
    animation: blink-cursor 0.8s step-end infinite;
    min-height: 1.4em;
}

@keyframes blink-cursor {
    50% { border-color: transparent; }
}

/* AI Summary Cards */
.ai-summary-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.ai-summary-card {
    padding: 10px 12px;
    border-radius: 8px;
    text-align: center;
}

.summary-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.summary-value {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
}

.summary-value.positive { color: var(--green); }
.summary-value.high { color: var(--minilytic-light); }
.summary-value.action { color: #f59e0b; }

/* AI Stats */
.ai-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.ai-stat {
    text-align: center;
    padding: 10px;
}

.ai-stat-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.ai-stat-label {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* AI Features List */
.ai-features-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ai-feature-item {
    display: flex;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 12px;
    background: rgba(17, 17, 20, 0.5);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    cursor: default;
}

.ai-feature-item:hover {
    border-color: rgba(109, 92, 255, 0.2);
    background: rgba(109, 92, 255, 0.05);
}

.ai-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(109, 92, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--minilytic-light);
    flex-shrink: 0;
}

.ai-feature-content h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.ai-feature-content p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .ai-layout {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   ENQUIRY & ADMISSION
   ========================================== */
.enquiry-layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 48px;
    align-items: start;
}

.pipeline-viz {
    padding: 24px;
}

.pipeline-header {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.pipeline-chart {
    height: 200px;
    margin-bottom: 16px;
}

.pipeline-stages {
    display: flex;
    justify-content: space-between;
}

.pipeline-stage {
    text-align: center;
}

.stage-name {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.stage-pct {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--minilytic-light);
}

.enquiry-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: flex;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 10px;
    background: rgba(17, 17, 20, 0.5);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: rgba(109, 92, 255, 0.2);
}

.feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(109, 92, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--minilytic-light);
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 2px;
}

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

@media (max-width: 900px) {
    .enquiry-layout { grid-template-columns: 1fr; }
}

/* ==========================================
   WEBSITE & MARKETING
   ========================================== */
.website-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.website-editor,
.website-preview {
    overflow: hidden;
}

.editor-toolbar,
.preview-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
}

.editor-dots {
    display: flex;
    gap: 6px;
}

.editor-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.editor-dots span:first-child { background: rgba(239, 68, 68, 0.5); }
.editor-dots span:nth-child(2) { background: rgba(245, 158, 11, 0.5); }
.editor-dots span:last-child { background: rgba(16, 185, 129, 0.5); }

.editor-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.editor-body {
    padding: 20px;
}

.editor-field {
    margin-bottom: 16px;
}

.editor-field label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.editor-input {
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-primary);
    font-family: inherit;
}

.color-picker {
    display: flex;
    gap: 8px;
}

.color-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.color-dot.active,
.color-dot:hover {
    border-color: white;
    transform: scale(1.15);
}

.color-dot[data-color="#6d5cff"] { background: #6d5cff; }
.color-dot[data-color="#10b981"] { background: #10b981; }
.color-dot[data-color="#f59e0b"] { background: #f59e0b; }
.color-dot[data-color="#ef4444"] { background: #ef4444; }

.preview-body {
    padding: 20px;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-hero-mini {
    text-align: center;
    padding: 24px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(109, 92, 255, 0.1), rgba(139, 127, 255, 0.05));
    border: 1px solid rgba(109, 92, 255, 0.15);
    width: 100%;
}

.preview-hero-mini h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.preview-cta-btn {
    padding: 8px 20px;
    border-radius: 8px;
    background: linear-gradient(135deg, #6d5cff, #8b7fff);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.website-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: 12px;
    margin-bottom: 32px;
    border: 1px solid rgba(109, 92, 255, 0.15);
    background: rgba(109, 92, 255, 0.05);
}

.website-banner span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.website-features-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.mini-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.mini-feature:hover {
    color: var(--text-primary);
    border-color: rgba(109, 92, 255, 0.2);
}

@media (max-width: 900px) {
    .website-layout { grid-template-columns: 1fr; }
    .website-features-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
    .website-features-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================
   AUTOMATION
   ========================================== */
.automation-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: start;
}

.workflow-viz {
    padding: 24px;
}

.workflow-header {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.workflow-diagram {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.wf-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 12px;
    border-radius: 10px;
    background: rgba(26, 26, 31, 0.6);
    border: 1px solid var(--border);
    min-width: 90px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.wf-node:hover {
    border-color: rgba(109, 92, 255, 0.3);
    transform: translateY(-3px);
}

.wf-node-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--minilytic-light);
    background: rgba(109, 92, 255, 0.1);
}

.wf-node-icon.trigger { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.wf-node-icon.whatsapp { background: rgba(37, 211, 102, 0.1); color: var(--whatsapp-green); }
.wf-node-icon.success { background: rgba(16, 185, 129, 0.1); color: var(--green); }

.wf-arrow {
    width: 20px;
    height: 2px;
    background: var(--border);
    position: relative;
}

.wf-arrow-dot {
    position: absolute;
    top: -2px;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--minilytic);
    box-shadow: 0 0 6px var(--minilytic-glow);
    animation: flow-move 1.8s ease-in-out infinite;
}

.wf-arrow:nth-child(4) .wf-arrow-dot { animation-delay: 0.3s; }
.wf-arrow:nth-child(6) .wf-arrow-dot { animation-delay: 0.6s; }
.wf-arrow:nth-child(8) .wf-arrow-dot { animation-delay: 0.9s; }

.automation-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auto-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    background: rgba(17, 17, 20, 0.5);
    border: 1px solid var(--border);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.auto-feature:hover {
    color: var(--text-primary);
    border-color: rgba(109, 92, 255, 0.2);
}

.auto-feature svg {
    color: var(--minilytic-light);
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .automation-layout { grid-template-columns: 1fr; }
    .workflow-diagram { flex-direction: column; }
    .wf-arrow { width: 2px; height: 16px; }
    .wf-arrow-dot { animation-name: flow-move-v; }
}

/* ==========================================
   WHATSAPP
   ========================================== */
.whatsapp-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.chat-ui {
    overflow: hidden;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
}

.chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.2);
    color: var(--whatsapp-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.chat-name {
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
}

.chat-status {
    font-size: 0.72rem;
    color: var(--green);
}

.chat-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 240px;
}

.chat-msg {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.85rem;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.chat-msg.visible {
    opacity: 1;
    transform: translateY(0);
}

.chat-msg.sent {
    background: rgba(37, 211, 102, 0.12);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-msg.received {
    background: rgba(255, 255, 255, 0.06);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.msg-time {
    display: block;
    font-size: 0.68rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.chat-input {
    padding: 12px 16px;
    border-top: 1px solid var(--border);
}

.typing-indicator {
    display: none;
    gap: 4px;
    align-items: center;
}

.typing-indicator.active {
    display: flex;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
    animation: typing-bounce 1.2s ease-in-out infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-bounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-6px); }
}

.whatsapp-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wa-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 16px;
}

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

.wa-stat-value {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.wa-stat-label {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.wa-features-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wa-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    background: rgba(17, 17, 20, 0.5);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.wa-feature:hover {
    color: var(--text-primary);
    border-color: rgba(109, 92, 255, 0.2);
}

.wa-feature svg { color: var(--minilytic-light); flex-shrink: 0; }

@media (max-width: 900px) {
    .whatsapp-layout { grid-template-columns: 1fr; }
}

/* ==========================================
   OPERATIONS
   ========================================== */
.ops-tabs {
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
}

.ops-tab-bar {
    display: flex;
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.ops-tab {
    flex: none;
    padding: 14px 24px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.ops-tab:hover {
    color: var(--text-primary);
}

.ops-tab.active {
    color: var(--minilytic-light);
    border-bottom-color: var(--minilytic);
}

.ops-tab-content {
    padding: 24px;
}

.ops-panel {
    display: none;
}

.ops-panel.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.ops-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.ops-card {
    padding: 16px;
    text-align: center;
}

.ops-card-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.ops-card-label {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.ops-features-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ops-features-mini span {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 500;
    background: rgba(109, 92, 255, 0.08);
    color: var(--minilytic-light);
    border: 1px solid rgba(109, 92, 255, 0.12);
}

@media (max-width: 600px) {
    .ops-dashboard-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================
   ANALYTICS
   ========================================== */
.analytics-dashboard {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.chart-card {
    padding: 20px;
    min-height: 280px;
}

.chart-title {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.chart-container {
    width: 100%;
    height: 220px;
}

.chart-container svg {
    width: 100%;
    height: 100%;
}

.analytics-features {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.analytics-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.analytics-feature:hover {
    color: var(--text-primary);
    border-color: rgba(109, 92, 255, 0.2);
}

.analytics-feature svg { color: var(--minilytic-light); flex-shrink: 0; }

@media (max-width: 900px) {
    .analytics-dashboard { grid-template-columns: 1fr; }
    .analytics-features { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
    .analytics-features { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================
   MULTI-BRANCH
   ========================================== */
.branch-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}

.branch-viz {
    padding: 24px;
}

.branch-network {
    width: 100%;
    height: auto;
}

.branch-hq {
    fill: rgba(109, 92, 255, 0.3);
    stroke: var(--minilytic);
    stroke-width: 2;
    filter: drop-shadow(0 0 8px rgba(109, 92, 255, 0.4));
}

.branch-node {
    fill: rgba(109, 92, 255, 0.15);
    stroke: rgba(109, 92, 255, 0.4);
    stroke-width: 1.5;
}

.branch-text {
    fill: var(--text-primary);
    font-size: 11px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
}

.branch-text-sm {
    fill: var(--text-secondary);
    font-size: 9px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.branch-line {
    stroke: rgba(109, 92, 255, 0.2);
    stroke-width: 1;
}

.branch-dot {
    fill: var(--minilytic);
    filter: drop-shadow(0 0 4px var(--minilytic-glow));
}

.branch-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.branch-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: rgba(17, 17, 20, 0.5);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.branch-feature:hover {
    color: var(--text-primary);
    border-color: rgba(109, 92, 255, 0.2);
}

.branch-feature svg { color: var(--minilytic-light); flex-shrink: 0; }

@media (max-width: 900px) {
    .branch-layout { grid-template-columns: 1fr; }
}

/* ==========================================
   PLACEMENT
   ========================================== */
.optional-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(109, 92, 255, 0.12);
    color: var(--minilytic-light);
    border: 1px solid rgba(109, 92, 255, 0.2);
}

.placement-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.placement-card {
    padding: 24px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.placement-card:hover {
    border-color: rgba(109, 92, 255, 0.2);
    transform: translateY(-4px);
}

.placement-card svg {
    color: var(--minilytic-light);
    margin-bottom: 12px;
}

.placement-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 6px;
}

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

@media (max-width: 900px) {
    .placement-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
    .placement-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================
   COMPARISON
   ========================================== */
.comparison-table {
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
}

.comparison-header {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    background: rgba(109, 92, 255, 0.06);
    border-bottom: 1px solid var(--border);
}

.comparison-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row:hover {
    background: rgba(109, 92, 255, 0.04);
}

.comp-col {
    padding: 14px 20px;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comp-feature-col {
    font-weight: 600;
    color: var(--text-primary);
}

.comp-erp-col {
    color: var(--text-muted);
}

.comp-mini-col {
    color: var(--minilytic-light);
    font-weight: 600;
}

.comp-x {
    color: rgba(239, 68, 68, 0.6);
    font-size: 1rem;
}

.comp-check {
    color: var(--green);
    font-size: 1rem;
    font-weight: 700;
}

.comparison-header .comp-col {
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
}

.comparison-header .comp-mini-col {
    color: var(--minilytic-light);
}

@media (max-width: 600px) {
    .comparison-table { overflow-x: auto; }
    .comparison-header, .comparison-row { min-width: 500px; }
}

/* ==========================================
   FAQ
   ========================================== */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(109, 92, 255, 0.15);
}

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

.faq-chevron {
    transition: transform 0.3s ease;
    color: var(--text-muted);
    flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
    padding: 0 20px 18px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
    position: relative;
    text-align: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
    text-shadow: 0 0 40px rgba(109, 92, 255, 0.2);
}

.cta-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================
   D3 CHART STYLES
   ========================================== */
.chart-container .domain,
.chart-container .tick line {
    stroke: rgba(255, 255, 255, 0.08);
}

.chart-container .tick text {
    fill: var(--text-muted);
    font-size: 10px;
    font-family: 'Inter', sans-serif;
}

.chart-container .grid line {
    stroke: rgba(255, 255, 255, 0.04);
}

/* ==========================================
   SCROLL ANIMATIONS
   ========================================== */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   CUSTOM SCROLLBAR
   ========================================== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(109, 92, 255, 0.3);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(109, 92, 255, 0.5);
}

/* ==========================================
   SELECTION
   ========================================== */
::selection {
    background: rgba(109, 92, 255, 0.3);
    color: white;
}

/* ==========================================
   REDUCED MOTION
   ========================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
