/* ==========================================================================
   Wara Labs — Design System & Stylesheet
   Theme: Obsidian Dark / Cyber Glassmorphism / Elite High-Ticket Tech
   ========================================================================== */

:root {
    /* Color Palette */
    --bg-base: #06070a;
    --bg-surface: #0c0e15;
    --bg-surface-elevated: #121622;
    --bg-glass: rgba(16, 20, 32, 0.65);
    --bg-glass-hover: rgba(24, 30, 48, 0.8);
    
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-glass: rgba(255, 255, 255, 0.12);
    --border-accent: rgba(139, 92, 246, 0.4);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --accent-violet: #8b5cf6;
    --accent-indigo: #6366f1;
    --accent-cyan: #06b6d4;
    --accent-emerald: #10b981;
    --accent-rose: #f43f5e;

    --brand-ember-deep: #4a2f10;
    --brand-ember-gold: #f2c675;
    --brand-ember-spark: #ff5b3d;
    
    --gradient-primary: linear-gradient(135deg, #a855f7 0%, #6366f1 50%, #06b6d4 100%);
    --gradient-glow: linear-gradient(135deg, rgba(168, 85, 247, 0.25) 0%, rgba(6, 182, 212, 0.25) 100%);
    --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    
    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Shadows & Glows */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.8);
    --shadow-glow-violet: 0 0 40px rgba(139, 92, 246, 0.25);
    --shadow-glow-cyan: 0 0 40px rgba(6, 182, 212, 0.25);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-base);
    color: var(--text-primary);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

::selection {
    background: var(--accent-violet);
    color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-surface-elevated);
    border-radius: 4px;
    border: 1px solid var(--border-subtle);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-violet);
}

/* ==========================================================================
   Background Aesthetics (Glow Orbs & Tech Grid)
   ========================================================================== */
.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
}

.glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-violet) 0%, rgba(99, 102, 241, 0) 70%);
    top: -150px;
    left: -100px;
}

.glow-2 {
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, var(--accent-cyan) 0%, rgba(6, 182, 212, 0) 70%);
    top: 40%;
    right: -150px;
}

.glow-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

/* ==========================================================================
   Layout & Container
   ========================================================================== */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

main {
    position: relative;
    z-index: 1;
}

section {
    padding: 6rem 0;
}

/* ==========================================================================
   Typography & Reusables
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

.text-accent {
    color: var(--accent-cyan) !important;
}

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

.section-header {
    margin-bottom: 3.5rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--accent-violet);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1rem;
}

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

/* Glass Card */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.glass-card:hover {
    border-color: var(--border-accent);
    box-shadow: var(--shadow-glow-violet);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.85rem 1.6rem;
    border-radius: 12px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(139, 92, 246, 0.55);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
}

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

.btn-lg {
    padding: 1.05rem 2rem;
    font-size: 1.05rem;
    border-radius: 14px;
}

.btn-sm {
    padding: 0.55rem 1.1rem;
    font-size: 0.85rem;
    border-radius: 10px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-emerald);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px var(--accent-emerald);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px var(--accent-emerald); }
    100% { transform: scale(0.95); opacity: 0.8; }
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(6, 7, 10, 0.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.9rem 0;
    transition: var(--transition-fast);
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: radial-gradient(circle at 50% 30%, rgba(242, 198, 117, 0.16), rgba(6, 7, 10, 0.9) 75%);
    border: 1px solid rgba(242, 198, 117, 0.25);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1;
}

.logo-subtitle {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}

.logo-subtitle-tr {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--text-muted);
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-link:hover {
    color: #fff;
}

.highlight-link {
    color: #fff;
    font-weight: 600;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.system-status-badge {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-emerald);
}

.status-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-emerald);
    box-shadow: 0 0 8px var(--accent-emerald);
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.35rem;
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    padding: 7rem 0 5rem;
    text-align: center;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1.1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.badge-icon {
    color: var(--accent-violet);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    max-width: 960px;
    margin-bottom: 1.75rem;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 780px;
    margin-bottom: 2.75rem;
    line-height: 1.7;
}

.hero-description strong {
    color: #fff;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 5rem;
}

/* Metrics Bar */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    width: 100%;
}

.metric-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: left;
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}

.metric-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-3px);
}

.metric-icon {
    font-size: 1.25rem;
    color: var(--accent-violet);
    margin-bottom: 0.75rem;
}

.metric-value {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.25rem;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Simulator Workspace (Interactive Demo)
   ========================================================================== */
.simulator-section {
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
}

.simulator-workspace {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    align-items: start;
}

/* Chat Screen */
.chat-container {
    display: flex;
    flex-direction: column;
    height: 600px;
}

.chat-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.02);
}

.chat-agent-info {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.avatar-wrapper {
    position: relative;
}

.agent-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-violet), var(--accent-cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
}

.online-indicator {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--accent-emerald);
    border: 2px solid var(--bg-surface);
}

.agent-name {
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
}

.agent-status {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.btn-icon {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.btn-icon:hover {
    color: #fff;
    border-color: var(--border-glass);
    background: rgba(255, 255, 255, 0.1);
}

.chat-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.message {
    display: flex;
    flex-direction: column;
    max-width: 82%;
    animation: fadeIn 0.3s ease;
}

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

.message-content {
    padding: 1rem 1.25rem;
    border-radius: 16px;
    font-size: 0.92rem;
    line-height: 1.55;
}

.ai-message {
    align-self: flex-start;
}

.ai-message .message-content {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
}

.user-message {
    align-self: flex-end;
}

.user-message .message-content {
    background: var(--gradient-primary);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.message-time {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
    padding: 0 0.5rem;
}

.user-message .message-time {
    align-self: flex-end;
}

/* Quick Prompts */
.quick-prompts {
    padding: 0.75rem 1.25rem;
    background: rgba(0, 0, 0, 0.25);
    border-top: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    overflow-x: auto;
    white-space: nowrap;
}

.quick-prompt-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.prompt-chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.prompt-chip:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: var(--accent-violet);
    color: #fff;
}

/* Chat Input Bar */
.chat-input-bar {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    gap: 0.75rem;
    background: rgba(12, 14, 21, 0.8);
}

.chat-input-bar input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 0.85rem 1.2rem;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-fast);
}

.chat-input-bar input:focus {
    border-color: var(--accent-violet);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
}

.btn-send {
    background: var(--gradient-primary);
    border: none;
    color: #fff;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.btn-send:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

/* Qualification Container */
.qualification-container {
    padding: 1.5rem;
    height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
}

.card-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}

.card-title i {
    color: var(--accent-cyan);
}

.badge-live {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    letter-spacing: 0.05em;
}

.lead-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 1.25rem;
    margin: 1rem 0;
}

.lead-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.lead-avatar {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    font-size: 1.1rem;
}

.lead-meta {
    flex: 1;
    margin-left: 0.85rem;
}

.lead-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
}

.lead-phone {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.lead-score-badge {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--accent-emerald);
    padding: 0.35rem 0.75rem;
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.lead-score-badge span {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1;
}

.lead-score-badge small {
    font-size: 0.6rem;
    font-weight: 700;
}

.lead-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.lead-detail-item {
    background: rgba(0, 0, 0, 0.25);
    padding: 0.75rem;
    border-radius: 10px;
    border: 1px solid var(--border-subtle);
}

.detail-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.detail-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
}

.action-alert {
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.25);
    border-radius: 10px;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #4ade80;
    font-size: 0.8rem;
}

.alert-icon {
    font-size: 1.3rem;
}

/* Telemetry Box */
.telemetry-box {
    background: #040507;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 0.85rem 1rem;
}

.telemetry-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.telemetry-code {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-cyan);
    line-height: 1.4;
    overflow-x: auto;
}

/* ==========================================================================
   Solutions (Pillars)
   ========================================================================== */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pillar-card {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
}

.active-pillar {
    border-color: var(--border-accent);
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.08) 0%, rgba(16, 20, 32, 0.7) 100%);
}

.popular-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
}

.pillar-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(6, 182, 212, 0.15));
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--accent-violet);
    margin-bottom: 1.75rem;
}

.pillar-title {
    font-size: 1.35rem;
    color: #fff;
    margin-bottom: 1rem;
}

.pillar-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    flex: 1;
}

.pillar-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.pillar-features li {
    font-size: 0.85rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.pillar-features i {
    color: var(--accent-emerald);
}

/* ==========================================================================
   Architecture Workflow Flow
   ========================================================================== */
.flow-steps-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.flow-step {
    flex: 1;
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
}

.step-num {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
}

.step-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    font-size: 1.35rem;
    margin: 0 auto 1.25rem;
}

.flow-step h4 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

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

.flow-connector {
    color: var(--text-muted);
    font-size: 1.25rem;
}

/* ==========================================================================
   ROI Calculator
   ========================================================================== */
.calculator-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 3.5rem;
    background: linear-gradient(180deg, rgba(20, 25, 40, 0.7) 0%, rgba(10, 12, 18, 0.9) 100%);
}

.calculator-controls {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    justify-content: center;
}

.control-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.85rem;
}

.control-header label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.control-val {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent-violet);
}

input[type="range"] {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--gradient-primary);
    cursor: pointer;
    box-shadow: 0 0 15px var(--accent-violet);
    border: 2px solid #fff;
}

.range-bounds {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.4rem;
}

.calculator-results {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    justify-content: center;
}

.result-card {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 1.5rem;
}

.highlight-card {
    border-color: var(--border-accent);
    background: rgba(139, 92, 246, 0.08);
}

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

.result-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.result-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   Founder Section
   ========================================================================== */
.founder-card {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 3rem;
    padding: 3.5rem;
    align-items: center;
}

.founder-avatar-frame {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(6, 182, 212, 0.15));
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: var(--shadow-glow-violet);
}

.founder-avatar-icon {
    font-size: 5rem;
    color: var(--accent-violet);
}

.founder-badge {
    position: absolute;
    bottom: 1.5rem;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--border-glass);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-cyan);
    letter-spacing: 0.05em;
}

.founder-name {
    font-size: 2.25rem;
    color: #fff;
    margin-bottom: 0.4rem;
}

.founder-title {
    font-size: 0.95rem;
    color: var(--accent-violet);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.founder-bio {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.founder-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 2rem;
}

.stack-badge {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.stack-badge i {
    color: var(--accent-cyan);
}

/* ==========================================================================
   Apply / Pilot Program Form
   ========================================================================== */
.apply-box {
    padding: 4rem;
    max-width: 860px;
    margin: 0 auto;
}

.apply-form {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 0.95rem 1.25rem;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-violet);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.25);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    border-top: 1px solid var(--border-subtle);
    background: #040507;
    padding: 5rem 0 2rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.footer-brand {
    max-width: 380px;
}

.footer-brand-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

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

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links h5 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 2rem;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-emerald);
}

/* Toast */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--accent-emerald);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 9999;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-icon {
    color: var(--accent-emerald);
    font-size: 1.25rem;
}

/* ==========================================================================
   Responsive Media Queries (Mobile First UX & Touch Optimizations)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .simulator-workspace {
        grid-template-columns: 1fr;
    }
    .chat-container, .qualification-container {
        height: auto;
        min-height: 520px;
    }
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    .flow-steps-grid {
        flex-direction: column;
    }
    .flow-connector {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }
    .calculator-box {
        grid-template-columns: 1fr;
        padding: 2.5rem 2rem;
    }
    .founder-card {
        grid-template-columns: 1fr;
        padding: 2.5rem 2rem;
        text-align: center;
    }
    .founder-avatar-frame {
        height: 240px;
    }
    .founder-stack {
        justify-content: center;
    }
    .apply-box {
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 768px) {
    /* Mobile Header & Navigation Drawer */
    .navbar {
        padding: 0.75rem 0;
    }

    .logo-title {
        font-size: 1rem;
    }

    .logo-subtitle-tr {
        display: none;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(6, 7, 10, 0.96);
        backdrop-filter: blur(28px);
        -webkit-backdrop-filter: blur(28px);
        border-bottom: 1px solid var(--border-glass);
        padding: 2rem 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        box-shadow: var(--shadow-lg);
        z-index: 999;
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .nav-links.mobile-open {
        display: flex !important;
    }

    .nav-link {
        font-size: 1.15rem;
        font-weight: 600;
        width: 100%;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }

    .system-status-badge {
        display: none;
    }

    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid var(--border-subtle);
    }

    /* Hero Section */
    .hero-section {
        padding: 4.5rem 0 3rem;
    }

    .hero-title {
        font-size: 2.35rem;
        line-height: 1.25;
    }

    .hero-description {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        gap: 0.9rem;
        margin-bottom: 3.5rem;
    }

    .hero-cta-group .btn {
        width: 100%;
        padding: 1rem;
    }

    /* Metrics Grid */
    .metrics-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.85rem;
    }

    .metric-card {
        padding: 1.15rem;
    }

    .metric-value {
        font-size: 1.5rem;
    }

    .metric-label {
        font-size: 0.75rem;
    }

    /* Simulator Chat & Prompts */
    .chat-container {
        height: 540px;
    }

    .chat-messages {
        padding: 1rem;
    }

    .message {
        max-width: 90%;
    }

    .message-content {
        font-size: 0.88rem;
        padding: 0.85rem 1rem;
    }

    .quick-prompts {
        padding: 0.6rem 0.85rem;
    }

    .prompt-chip {
        font-size: 0.75rem;
        padding: 0.35rem 0.75rem;
    }

    /* Lead Card & Telemetry */
    .lead-details-grid {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .telemetry-box {
        padding: 0.75rem;
    }

    .telemetry-code {
        font-size: 0.7rem;
    }

    /* Section Headers */
    .section-title {
        font-size: 1.95rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    /* Pillars */
    .pillar-card {
        padding: 2rem 1.5rem;
    }

    .pillar-title {
        font-size: 1.25rem;
    }

    /* ROI Calculator */
    .calculator-box {
        padding: 1.75rem 1.25rem;
    }

    .result-number {
        font-size: 1.85rem;
    }

    /* Form */
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .apply-box {
        padding: 2rem 1.25rem;
    }

    /* Footer */
    .footer {
        padding: 3.5rem 0 1.5rem;
    }

    .footer-container {
        flex-direction: column;
        gap: 2.5rem;
    }

    .footer-links-group {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-bottom-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
