/* ==========================================================================
   M4U SYSTEMS - Design Engineering Core Stylesheet (v2.4)
   Standards: Dark Engineering (#09090b), British Editorial Typography,
   Strict 1px Borders, Zero AI Slop, High Performance, Mobile First
   ========================================================================== */

:root {
    /* Color Tokens (Dark Engineering Palette) */
    --bg-canvas: #09090b;
    --bg-surface: #121215;
    --bg-surface-elevated: #18181b;
    --bg-surface-active: #202024;
    
    --border-subtle: #1f1f23;
    --border-default: #27272a;
    --border-focus: #3f3f46;
    --border-accent: rgba(56, 189, 248, 0.4);

    --text-primary: #f4f4f5;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --text-faint: #52525b;

    /* Semantic Tech Accents */
    --accent-sky: #38bdf8;
    --accent-sky-dark: #0284c7;
    --accent-sky-bg: rgba(56, 189, 248, 0.08);

    --accent-emerald: #10b981;
    --accent-emerald-dark: #059669;
    --accent-emerald-bg: rgba(16, 185, 129, 0.1);

    --accent-amber: #f59e0b;
    --accent-amber-bg: rgba(245, 158, 11, 0.1);

    --wa-green: #00a884;
    --wa-green-dark: #008069;
    --wa-bg: #0b141a;
    --wa-bubble-in: #202c33;
    --wa-bubble-out: #005c4b;
    --wa-text-in: #e9edef;
    --wa-text-out: #e9edef;
    --wa-time: #8696a0;

    /* Typography */
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

    /* Radius & Spacing */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-pill: 9999px;

    /* Elevation */
    --shadow-micro: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.5);
    --shadow-popover: 0 12px 32px rgba(0, 0, 0, 0.7);
}

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

html {
    scroll-behavior: smooth;
    color-scheme: dark;
}

body {
    background-color: var(--bg-canvas);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* Container */
.site-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px 80px 24px;
}

/* ==========================================================================
   NAVIGATION TOPBAR (Command Style)
   ========================================================================== */
.top-nav-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(9, 9, 11, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-default);
}

.nav-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    user-select: none;
}

.brand-badge {
    background: var(--text-primary);
    color: var(--bg-canvas);
    font-weight: 800;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.5px;
    font-family: var(--font-mono);
}

.brand-name {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: var(--text-primary);
}

.brand-status-dot {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    border-left: 1px solid var(--border-default);
    padding-left: 10px;
    margin-left: 2px;
}

.brand-status-dot::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-emerald);
    box-shadow: 0 0 8px var(--accent-emerald);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.15s ease;
}

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

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

.nav-btn-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-default);
    color: var(--text-primary);
    font-size: 12.5px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    transition: all 0.15s ease;
}

.nav-btn-wa i {
    color: var(--accent-emerald);
    font-size: 14px;
}

.nav-btn-wa:hover {
    border-color: var(--accent-emerald);
    background: var(--bg-surface-active);
}

/* ==========================================================================
   HERO SECTION (Decide / Learn Archetype)
   ========================================================================== */
.hero-section {
    padding: 64px 0 48px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.hero-content {
    max-width: 860px;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-sky);
    margin-bottom: 20px;
}

.hero-pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-sky);
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1.2px;
    color: var(--text-primary);
    margin-bottom: 18px;
}

.text-accent {
    color: var(--accent-sky);
}

.hero-desc {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 740px;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
}

/* Universal Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.15s ease;
    border: 1px solid transparent;
    user-select: none;
}

.btn-lg {
    padding: 12px 22px;
    font-size: 14px;
}

.btn-sm {
    padding: 7px 14px;
    font-size: 12px;
    border-radius: var(--radius-sm);
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-canvas);
    border-color: var(--text-primary);
}

.btn-primary:hover {
    background: #e4e4e7;
    border-color: #e4e4e7;
    color: #000000;
}

.btn-secondary {
    background: var(--bg-surface);
    color: var(--text-primary);
    border-color: var(--border-default);
}

.btn-secondary:hover {
    background: var(--bg-surface-elevated);
    border-color: var(--border-focus);
}

.btn-wa {
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.3);
}

.btn-wa:hover {
    background: rgba(16, 185, 129, 0.2);
    border-color: #34d399;
    color: #ffffff;
}

.btn-sky {
    background: var(--accent-sky-bg);
    color: var(--accent-sky);
    border-color: var(--border-accent);
}

.btn-sky:hover {
    background: rgba(56, 189, 248, 0.18);
    color: #ffffff;
}

/* Hero Stats Row (Tabular Metrics) */
.hero-stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    padding: 18px 24px;
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hero-stat-val {
    font-family: var(--font-mono);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    font-variant-numeric: tabular-nums;
}

.hero-stat-label {
    font-size: 11.5px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   SECTIONS GENERAL ARCHITECTURE
   ========================================================================== */
.section-wrapper {
    padding-top: 64px;
}

.section-title-box {
    margin-bottom: 28px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--accent-sky);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-main-title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.6px;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.section-sub-title {
    font-size: 14.5px;
    color: var(--text-secondary);
    max-width: 680px;
}

/* ==========================================================================
   FILTER CONTROLS BAR (Segmented Filter Bar)
   ========================================================================== */
.filter-controls-box {
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.search-input-wrapper {
    position: relative;
    width: 100%;
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 14px;
}

.search-input {
    width: 100%;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    color: var(--text-primary);
    font-size: 13.5px;
    padding: 12px 38px 12px 40px;
    border-radius: var(--radius-md);
    outline: none;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.search-input:focus {
    border-color: var(--accent-sky);
    background: var(--bg-surface-elevated);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-clear-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.search-clear-btn:hover {
    color: var(--text-primary);
}

.category-pills-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    color: var(--text-secondary);
    font-size: 12.5px;
    font-weight: 500;
    padding: 6px 13px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
}

.cat-pill i {
    font-size: 12px;
}

.cat-pill:hover {
    background: var(--bg-surface-elevated);
    color: var(--text-primary);
    border-color: var(--border-focus);
}

.cat-pill.active {
    background: var(--text-primary);
    color: var(--bg-canvas);
    border-color: var(--text-primary);
    font-weight: 700;
}

.cat-pill.active .cat-count {
    background: var(--bg-canvas);
    color: var(--text-primary);
}

.cat-count {
    font-family: var(--font-mono);
    font-size: 10px;
    background: var(--bg-surface-elevated);
    color: var(--text-muted);
    padding: 1px 6px;
    border-radius: var(--radius-pill);
}

.filter-status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.filter-count-badge {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
}

/* ==========================================================================
   VITRIN CARDS GRID (Showcase Cards)
   ========================================================================== */
.vitrin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}

.vitrin-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.vitrin-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-focus);
    box-shadow: var(--shadow-card);
}

.card-featured {
    border-color: rgba(56, 189, 248, 0.4);
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.03) 0%, var(--bg-surface) 100%);
}

.card-visual {
    position: relative;
    width: 100%;
    height: 180px;
    background: #000000;
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.vitrin-card:hover .card-img {
    transform: scale(1.03);
    opacity: 0.95;
}

.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(9, 9, 11, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-default);
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.badge-featured {
    border-color: var(--accent-sky);
    color: var(--accent-sky);
}

.card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 14px;
}

.card-header-line {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.card-icon-box {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-default);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-sky);
    font-size: 15px;
    flex-shrink: 0;
}

.card-title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: var(--text-primary);
    line-height: 1.3;
}

.card-subtitle {
    font-size: 11.5px;
    color: var(--text-muted);
    font-weight: 500;
}

.card-meta-pill {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    font-size: 11.5px;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.card-meta-pill strong {
    color: var(--text-primary);
}

.card-desc {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-secondary);
}

.card-feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: auto;
    padding-top: 6px;
}

.card-feature-list li {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 7px;
}

.card-feature-list li i {
    color: var(--accent-emerald);
    font-size: 12px;
}

.card-footer {
    padding: 14px 20px;
    background: var(--bg-surface-elevated);
    border-top: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    gap: 8px;
}

.flex-1 {
    flex: 1;
}

/* Empty Search Result */
.no-results-box {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-surface);
    border: 1px dashed var(--border-default);
    border-radius: var(--radius-lg);
    margin-top: 20px;
}

.no-results-icon {
    font-size: 32px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.no-results-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.no-results-desc {
    font-size: 13.5px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

/* ==========================================================================
   MODERN DATA TABLE (Rehber & Karsilastirma)
   ========================================================================== */
.table-card-wrapper {
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    overflow-x: auto;
}

.modern-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 13px;
}

.modern-table th {
    background: var(--bg-surface-elevated);
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-default);
}

.modern-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    vertical-align: middle;
}

.modern-table tbody tr:last-child td {
    border-bottom: none;
}

.modern-table tbody tr:hover td {
    background: var(--bg-surface-elevated);
}

.modern-table td strong {
    color: var(--text-primary);
}

.th-accent {
    color: var(--accent-emerald) !important;
}

.tb-bad {
    color: #f87171 !important;
}

.tb-good {
    color: #34d399 !important;
    font-weight: 600;
}

/* ==========================================================================
   INTERACTIVE SIMULATOR (Live Smartphone Canvas)
   ========================================================================== */
.simulator-container {
    display: grid;
    grid-template-columns: 1fr 390px;
    gap: 32px;
    align-items: start;
    margin-top: 24px;
}

.sim-controls-panel {
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sim-panel-intro {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.sim-selector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}

.sim-nav-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 12.5px;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: left;
}

.sim-nav-btn i {
    font-size: 14px;
    color: var(--accent-sky);
}

.sim-nav-btn:hover {
    border-color: var(--border-focus);
    color: var(--text-primary);
}

.sim-nav-btn.active {
    background: rgba(56, 189, 248, 0.1);
    border-color: var(--accent-sky);
    color: var(--text-primary);
}

.sim-info-card {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 14px 16px;
}

.sim-info-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--accent-emerald);
    margin-bottom: 6px;
}

.sim-info-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.45;
}

/* SMARTPHONE CHASSIS */
.phone-wrapper {
    display: flex;
    justify-content: center;
}

.phone-chassis {
    width: 375px;
    height: 680px;
    background: #000000;
    border: 10px solid #1c1c1f;
    border-radius: 44px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 0 1px #2d2d30;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--wa-bg);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Phone Status Bar */
.phone-status-bar {
    height: 32px;
    padding: 0 18px;
    background: #0b141a;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 600;
    color: #ffffff;
    user-select: none;
    z-index: 10;
}

.phone-island {
    width: 80px;
    height: 18px;
    background: #000000;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-island-camera {
    width: 8px;
    height: 8px;
    background: #111111;
    border-radius: 50%;
}

.phone-status-icons {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
}

/* WhatsApp Header */
.wa-header {
    background: #202c33;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #111b21;
    user-select: none;
    z-index: 10;
}

.wa-back-btn {
    color: #aebac1;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 13px;
}

.wa-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.wa-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wa-chat-info {
    flex: 1;
    min-width: 0;
}

.wa-name {
    font-size: 13px;
    font-weight: 600;
    color: #e9edef;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wa-verified-badge {
    color: #00a884;
    font-size: 11px;
}

.wa-status {
    font-size: 10.5px;
    color: #8696a0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.wa-header-btn {
    background: transparent;
    border: none;
    color: #aebac1;
    cursor: pointer;
    font-size: 14px;
}

.wa-header-btn:hover {
    color: #ffffff;
}

/* WhatsApp Chat Canvas */
.wa-chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #0b141a;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 0);
    background-size: 16px 16px;
}

.wa-chat-body::-webkit-scrollbar {
    width: 4px;
}

.wa-chat-body::-webkit-scrollbar-thumb {
    background: #202c33;
    border-radius: 4px;
}

/* Bubbles */
.wa-bubble {
    max-width: 85%;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 12.5px;
    line-height: 1.45;
    position: relative;
    word-break: break-word;
    animation: fadeIn 0.15s ease-out;
}

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

.wa-bubble-incoming {
    background: var(--wa-bubble-in);
    color: var(--wa-text-in);
    align-self: flex-start;
    border-top-left-radius: 0;
}

.wa-bubble-outgoing {
    background: var(--wa-bubble-out);
    color: var(--wa-text-out);
    align-self: flex-end;
    border-top-right-radius: 0;
}

.wa-bubble-time {
    display: block;
    text-align: right;
    font-size: 9.5px;
    color: var(--wa-time);
    margin-top: 4px;
}

.wa-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 8px;
}

.wa-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #53bdeb;
    font-size: 11.5px;
    font-weight: 600;
    padding: 7px 10px;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    transition: background 0.15s ease;
}

.wa-btn:hover {
    background: rgba(255, 255, 255, 0.12);
}

.wa-typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--wa-bubble-in);
    padding: 8px 12px;
    border-radius: 8px;
    width: fit-content;
    color: var(--wa-time);
    font-size: 11px;
}

.wa-typing-dot {
    width: 5px;
    height: 5px;
    background: var(--wa-time);
    border-radius: 50%;
    animation: typingBounce 1.2s infinite;
}

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

@keyframes typingBounce {
    0%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-4px); }
}

/* WhatsApp Bottom Bar */
.wa-input-bar {
    background: #202c33;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wa-input-box {
    flex: 1;
    background: #2a3942;
    border-radius: 18px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 8px;
}

.wa-input-box input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #e9edef;
    font-size: 12.5px;
    padding: 7px 0;
}

.wa-input-box input::placeholder {
    color: #8696a0;
}

.wa-input-action-icon {
    color: #8696a0;
    font-size: 14px;
    cursor: pointer;
}

.wa-mic-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #00a884;
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.15s ease;
}

.wa-mic-btn:hover {
    background: #008069;
}

/* ==========================================================================
   INTERACTIVE ROI / REVENUE LEAK CALCULATOR
   ========================================================================== */
.roi-card-wrapper {
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
}

.roi-form-box {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.roi-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.roi-input-label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    justify-content: space-between;
}

.roi-input-val-badge {
    font-family: var(--font-mono);
    color: var(--accent-sky);
}

.roi-select, .roi-range {
    width: 100%;
}

.roi-select {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-default);
    color: var(--text-primary);
    padding: 10px 12px;
    border-radius: var(--radius-md);
    outline: none;
}

.roi-range {
    accent-color: var(--accent-sky);
    cursor: pointer;
}

.roi-result-display {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-focus);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.roi-stat-box {
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 12px;
}

.roi-stat-box:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.roi-stat-title {
    font-size: 11.5px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-family: var(--font-mono);
    margin-bottom: 4px;
}

.roi-stat-number {
    font-family: var(--font-mono);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.roi-number-loss {
    color: #f87171;
}

.roi-number-recover {
    color: var(--accent-emerald);
}

/* ==========================================================================
   QR GENERATOR SECTION (Tool on Page)
   ========================================================================== */
.qr-tool-wrapper {
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 28px;
    align-items: center;
}

.qr-preview-box {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.qr-img {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

/* ==========================================================================
   STEPS GRID (3-Adım Kurulum)
   ========================================================================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.step-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.step-badge {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-sky);
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    width: fit-content;
}

.step-heading {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.step-text {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ==========================================================================
   CTA BANNER & FOOTER
   ========================================================================== */
.cta-banner {
    margin-top: 64px;
    background: linear-gradient(180deg, var(--bg-surface-elevated) 0%, var(--bg-surface) 100%);
    border: 1px solid var(--border-focus);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.cta-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cta-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.cta-desc {
    font-size: 14px;
    color: var(--text-secondary);
    max-width: 580px;
}

.btn-wa-lg {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--wa-green);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    transition: background 0.15s ease, transform 0.15s ease;
}

.btn-wa-lg:hover {
    background: var(--wa-green-dark);
    transform: translateY(-2px);
}

.main-footer {
    margin-top: 64px;
    border-top: 1px solid var(--border-subtle);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-links a {
    color: var(--text-muted);
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
}

/* ==========================================================================
   MODAL / POPUP
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 520px;
    padding: 28px;
    box-shadow: var(--shadow-popover);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.modal-close-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
}

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

/* Responsive Breakpoints */
@media (max-width: 900px) {
    .simulator-container {
        grid-template-columns: 1fr;
    }
    .phone-wrapper {
        margin-top: 10px;
    }
    .roi-card-wrapper {
        grid-template-columns: 1fr;
    }
    .qr-tool-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero-title {
        font-size: 30px;
    }
    .hero-stats-row {
        grid-template-columns: 1fr 1fr;
    }
    .vitrin-grid {
        grid-template-columns: 1fr;
    }
    .phone-chassis {
        width: 100%;
        max-width: 360px;
        height: 600px;
    }
}


/* ==========================================================================
   WHATSAPP SIMULATOR SPECIFIC ENGINE CLASSES
   ========================================================================== */
.wa-msg-row {
    display: flex;
    width: 100%;
    animation: fadeIn 0.15s ease-out;
}

.wa-msg-in {
    justify-content: flex-start;
}

.wa-msg-out {
    justify-content: flex-end;
}

.wa-bubble-bot {
    background: #202c33;
    color: #e9edef;
    border-radius: 8px 8px 8px 2px;
    max-width: 88%;
    padding: 8px 10px;
    font-size: 12.5px;
    line-height: 1.45;
    position: relative;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.wa-bubble-user {
    background: #005c4b;
    color: #e9edef;
    border-radius: 8px 8px 2px 8px;
    max-width: 82%;
    padding: 8px 10px;
    font-size: 12.5px;
    line-height: 1.45;
    position: relative;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.wa-bubble-body {
    word-break: break-word;
    color: #e9edef;
}

.wa-bubble-body strong {
    font-weight: 700;
    color: #ffffff;
}

.wa-bubble-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    font-size: 9.5px;
    color: #8696a0;
    margin-top: 4px;
}

.wa-double-check {
    color: #53bdeb;
    font-size: 10.5px;
    letter-spacing: -1.5px;
    font-weight: bold;
}

.wa-interactive-buttons {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 8px;
}

.wa-action-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #53bdeb;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    transition: all 0.15s ease;
}

.wa-action-btn:hover {
    background: rgba(83, 189, 235, 0.15);
    border-color: rgba(83, 189, 235, 0.4);
}

.wa-action-btn-icon {
    font-size: 11px;
    opacity: 0.7;
}

.wa-btn-disabled {
    opacity: 0.6;
    pointer-events: none;
}

.wa-typing-bubble {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #202c33;
    padding: 8px 12px;
    border-radius: 8px;
    width: fit-content;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}
