/* ==============================================================
   AgentFlow AI (agent.reachvocals.com) - Stylesheet
   Brand Colors: Navy (#060e1e / #0b1b3a), Orange (#f7931e), White
   Typography: Cairo (Arabic/UI), Montserrat (Display)
   ============================================================== */

:root {
    --navy-deep: #060e1e;
    --navy-primary: #0b1b3a;
    --navy-card: #0f244c;
    --navy-card-hover: #143063;
    --navy-glass: rgba(11, 27, 58, 0.82);
    --orange-primary: #f7931e;
    --orange-light: #ffaa47;
    --orange-glow: rgba(247, 147, 30, 0.4);
    --orange-gradient: linear-gradient(135deg, #f7931e 0%, #ffaa47 100%);
    --green-ok: #25d366;
    --cyan-accent: #38bdf8;
    --text-white: #ffffff;
    --text-light: #f2f4f7;
    --text-muted: #94a3b8;
    --border-subtle: rgba(247, 147, 30, 0.2);
    --border-soft: rgba(255, 255, 255, 0.09);
    --border-hover: rgba(247, 147, 30, 0.55);
    --shadow-card: 0 14px 36px rgba(0, 0, 0, 0.45);
    --shadow-glow: 0 0 28px rgba(247, 147, 30, 0.25);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --radius-full: 9999px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

body {
    background-color: var(--navy-deep);
    color: var(--text-light);
    direction: rtl;
    line-height: 1.75;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 12% 12%, rgba(247, 147, 30, 0.1) 0%, transparent 42%),
        radial-gradient(circle at 88% 28%, rgba(56, 189, 248, 0.07) 0%, transparent 40%),
        radial-gradient(circle at 50% 88%, rgba(11, 27, 58, 0.75) 0%, transparent 55%);
    background-attachment: fixed;
}

[dir="ltr"] body { direction: ltr; }
[dir="ltr"] .lang-dropdown { right: 0; left: auto; }
[dir="ltr"] .pricing-card ul, [dir="ltr"] .auth-form { text-align: left; }

::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--navy-deep); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--navy-card), var(--orange-primary));
    border-radius: 10px;
    border: 2px solid var(--navy-deep);
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 2px solid var(--orange-primary);
    outline-offset: 3px;
}

/* ==============================================================
   Preloader
   ============================================================== */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--navy-deep);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.loader-content img {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 0 28px rgba(247, 147, 30, 0.6));
}
.equalizer-loader { display: flex; gap: 5px; height: 24px; align-items: center; }
.equalizer-loader span {
    width: 4px; height: 10px; border-radius: 4px; background: var(--orange-primary);
    animation: eqPulse 0.9s infinite ease-in-out alternate;
}
.equalizer-loader span:nth-child(2) { animation-delay: 0.15s; }
.equalizer-loader span:nth-child(3) { animation-delay: 0.3s; }
.equalizer-loader span:nth-child(4) { animation-delay: 0.45s; }
.equalizer-loader span:nth-child(5) { animation-delay: 0.6s; }
@keyframes eqPulse { 0% { height: 7px; opacity: 0.5; } 100% { height: 24px; opacity: 1; } }

/* ==============================================================
   Floating Capsule Navbar
   ============================================================== */
.floating-capsule-nav {
    position: fixed;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1240px, calc(100% - 28px));
    background: rgba(8, 18, 40, 0.86);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(247, 147, 30, 0.25);
    border-radius: var(--radius-full);
    padding: 8px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    z-index: 9990;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.55);
}

.nav-brand .logo img { height: 38px; width: auto; display: block; }
.agent-brand-pill {
    background: rgba(247, 147, 30, 0.14);
    border: 1px solid rgba(247, 147, 30, 0.45);
    color: var(--orange-light);
    font-family: 'Montserrat', 'Cairo', sans-serif;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.8px;
    padding: 3px 9px;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.nav-links-capsule {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 4px 6px;
    border-radius: var(--radius-full);
}
.capsule-link {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 6px 13px;
    border-radius: var(--radius-full);
    transition: all 0.22s ease;
    white-space: nowrap;
}
.capsule-link:hover, .capsule-link.active {
    color: #060e1e;
    background: var(--orange-gradient);
    box-shadow: 0 4px 14px rgba(247, 147, 30, 0.35);
}

.nav-actions-group { display: flex; align-items: center; gap: 8px; }
.nav-circle-btn {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer; transition: 0.22s;
}
.nav-circle-btn:hover { border-color: var(--orange-primary); background: rgba(247, 147, 30, 0.14); }
.nav-lang-flag { width: 20px; height: 15px; border-radius: 3px; object-fit: cover; }

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 140px;
    background: var(--navy-primary);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.65);
    z-index: 9995;
}
.lang-dropdown.active { display: block; }
.lang-dropdown a {
    display: flex; align-items: center; gap: 8px;
    color: #fff; text-decoration: none; font-size: 0.86rem; font-weight: 700;
    padding: 8px 10px; border-radius: 8px;
}
.lang-dropdown a:hover { background: rgba(247, 147, 30, 0.16); color: var(--orange-light); }

.nav-capsule-auth-btn {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 7px 14px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff; text-decoration: none; font-size: 0.84rem; font-weight: 700;
    transition: 0.25s; white-space: nowrap;
}
.nav-capsule-auth-btn:hover { border-color: var(--orange-primary); background: rgba(247, 147, 30, 0.16); }
.nav-capsule-auth-btn.logged-in { background: rgba(247, 147, 30, 0.16); border-color: rgba(247, 147, 30, 0.48); color: var(--orange-light); }

.btn-capsule-cta {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 17px;
    border-radius: var(--radius-full);
    background: var(--orange-gradient);
    color: #060e1e !important;
    text-decoration: none; font-size: 0.86rem; font-weight: 900;
    box-shadow: 0 5px 18px rgba(247, 147, 30, 0.4);
    transition: transform 0.22s, box-shadow 0.22s;
    white-space: nowrap;
}
.btn-capsule-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(247, 147, 30, 0.55); }

.mobile-only { display: none; }
.mobile-nav-actions { align-items: center; gap: 8px; }
.hamburger {
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(247, 147, 30, 0.12);
    border: 1px solid rgba(247, 147, 30, 0.35);
    display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.mobile-dropdown {
    display: none;
    position: fixed;
    top: 76px; left: 14px; right: 14px;
    background: rgba(11, 27, 58, 0.97);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(247, 147, 30, 0.35);
    border-radius: 18px;
    padding: 12px;
    z-index: 9985;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}
.mobile-dropdown.active { display: flex; flex-direction: column; gap: 4px; }
.mobile-dropdown a {
    padding: 11px 14px;
    border-radius: 10px;
    color: #e2e8f0; text-decoration: none; font-weight: 700; font-size: 0.94rem;
}
.mobile-dropdown a:hover, .mobile-dropdown a.active-nav { background: rgba(247, 147, 30, 0.14); color: var(--orange-primary); }

@media (max-width: 1040px) {
    .desktop-only { display: none !important; }
    .mobile-only { display: flex !important; }
    .floating-capsule-nav { padding: 8px 14px; }
    .nav-brand .logo img { height: 32px; }
    .agent-brand-pill { font-size: 0.62rem; padding: 2px 7px; }
}

/* ==============================================================
   Buttons & Shared Section Utilities
   ============================================================== */
.container {
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto;
}

.section-pad { padding: 84px 0; position: relative; }
.section-pad-sm { padding: 56px 0; position: relative; }

.section-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 48px;
}
.section-tag {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(247, 147, 30, 0.12);
    border: 1px solid rgba(247, 147, 30, 0.36);
    color: var(--orange-light);
    padding: 5px 15px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    margin-bottom: 14px;
}
.section-title {
    font-size: clamp(1.75rem, 3.3vw, 2.55rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 12px;
}
.section-title span {
    background: var(--orange-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-subtitle {
    color: var(--text-muted);
    font-size: 1.03rem;
    line-height: 1.8;
}

.btn-primary {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--orange-gradient);
    color: #060e1e !important;
    font-weight: 900;
    padding: 13px 26px;
    border-radius: 12px;
    border: none;
    text-decoration: none;
    cursor: pointer;
    font-size: 0.98rem;
    box-shadow: 0 6px 24px rgba(247, 147, 30, 0.38);
    transition: transform 0.22s, box-shadow 0.22s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(247, 147, 30, 0.55); }

.btn-secondary {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(247, 147, 30, 0.42);
    color: #fff !important;
    font-weight: 800;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    font-size: 0.96rem;
    transition: all 0.22s;
}
.btn-secondary:hover { background: rgba(247, 147, 30, 0.14); border-color: var(--orange-primary); color: var(--orange-light) !important; }

.btn-wa {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: linear-gradient(135deg, #25d366, #1fb958);
    color: #05160b !important;
    font-weight: 900;
    padding: 13px 26px;
    border-radius: 12px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.35);
    transition: transform 0.22s, box-shadow 0.22s;
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5); }

/* ==============================================================
   Hero Split Section + Live Engine Mockup
   ============================================================== */
.agent-hero {
    padding: 132px 0 70px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 80% 20%, rgba(247, 147, 30, 0.12), transparent 46%),
                radial-gradient(circle at 20% 80%, rgba(56, 189, 248, 0.08), transparent 45%);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 42px;
    align-items: center;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: rgba(15, 36, 76, 0.85);
    border: 1px solid rgba(247, 147, 30, 0.38);
    color: var(--orange-light);
    font-size: 0.82rem; font-weight: 800;
    margin-bottom: 18px;
}
.pulse-dot {
    width: 9px; height: 9px; border-radius: 50%;
    background: var(--green-ok);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    animation: pingDot 1.8s infinite;
}
@keyframes pingDot {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.75); }
    70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.hero-title {
    font-size: clamp(2rem, 4.1vw, 3.25rem);
    font-weight: 900;
    line-height: 1.24;
    color: #fff;
    margin-bottom: 18px;
}
.hero-title span {
    background: var(--orange-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-desc {
    color: #cbd5e1;
    font-size: 1.07rem;
    line-height: 1.85;
    margin-bottom: 26px;
    max-width: 620px;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 26px;
}
.hero-platform-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.plat-pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 13px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    font-size: 0.82rem; font-weight: 700;
}

/* Live Engine Visual Card in Hero */
.hero-engine-card {
    background: linear-gradient(160deg, rgba(15, 36, 76, 0.92), rgba(7, 15, 34, 0.96));
    border: 1px solid rgba(247, 147, 30, 0.35);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65), 0 0 40px rgba(247, 147, 30, 0.12);
    backdrop-filter: blur(18px);
}
.engine-card-top {
    display: flex; justify-content: space-between; align-items: center;
    padding-bottom: 14px; margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.engine-status-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(37, 211, 102, 0.13);
    border: 1px solid rgba(37, 211, 102, 0.4);
    color: #4ade80;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.76rem; font-weight: 800;
}
.engine-flow-step {
    background: rgba(6, 14, 30, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 13px 15px;
    margin-bottom: 11px;
    transition: border-color 0.25s;
}
.engine-flow-step:hover { border-color: rgba(247, 147, 30, 0.45); }
.engine-flow-step.highlight {
    border-color: rgba(247, 147, 30, 0.48);
    background: linear-gradient(135deg, rgba(247, 147, 30, 0.11), rgba(6, 14, 30, 0.85));
}
.flow-step-head {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.78rem; color: var(--text-muted); margin-bottom: 5px; font-weight: 700;
}
.flow-step-body { font-size: 0.91rem; color: #f8fafc; font-weight: 600; }
.engine-metrics-row {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px;
}
.engine-metric-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 10px 8px;
    text-align: center;
}
.engine-metric-box strong { display: block; color: var(--orange-light); font-size: 1.05rem; font-weight: 900; }
.engine-metric-box span { font-size: 0.72rem; color: var(--text-muted); }

@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; gap: 28px; }
    .agent-hero { padding: 110px 0 46px; }
}

/* ==============================================================
   Stats / Trust Strip
   ============================================================== */
.trust-strip {
    background: rgba(11, 27, 58, 0.65);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    padding: 26px 0;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    text-align: center;
}
.trust-item strong { display: block; font-size: 1.65rem; font-weight: 900; color: var(--orange-primary); }
.trust-item span { font-size: 0.86rem; color: #cbd5e1; font-weight: 600; }
@media (max-width: 768px) {
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==============================================================
   Interactive Simulator (#simulator)
   ============================================================== */
.simulator-shell {
    background: linear-gradient(155deg, rgba(15, 36, 76, 0.85), rgba(6, 14, 30, 0.96));
    border: 1px solid rgba(247, 147, 30, 0.35);
    border-radius: 24px;
    padding: 28px;
    box-shadow: var(--shadow-card);
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 26px;
}
.sim-panel {
    background: rgba(6, 14, 30, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 20px;
}
.sim-tabs {
    display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px;
}
.sim-tab-btn {
    padding: 7px 14px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1; font-weight: 800; font-size: 0.84rem;
    cursor: pointer; transition: 0.2s;
}
.sim-tab-btn.active {
    background: var(--orange-gradient);
    color: #060e1e; border-color: transparent;
}
.sim-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0 16px; }
.sim-chip {
    background: rgba(247, 147, 30, 0.1);
    border: 1px solid rgba(247, 147, 30, 0.32);
    color: #ffcf8b;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem; font-weight: 700;
    cursor: pointer; transition: 0.2s;
}
.sim-chip:hover { background: rgba(247, 147, 30, 0.25); color: #fff; }

.sim-input-row { display: flex; gap: 8px; }
.sim-input-row input {
    flex: 1; padding: 12px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px; color: #fff; font-size: 0.94rem;
}
.sim-output-card {
    background: rgba(11, 27, 58, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 12px;
}
.sim-dm-card {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.12), rgba(11, 27, 58, 0.88));
    border: 1px solid rgba(37, 211, 102, 0.42);
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 12px;
}
.sim-log-console {
    background: #030711;
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 12px;
    padding: 12px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.77rem;
    color: #93c5fd;
    direction: ltr;
    text-align: left;
    max-height: 150px;
    overflow-y: auto;
    line-height: 1.55;
}
@media (max-width: 960px) {
    .simulator-shell { grid-template-columns: 1fr; padding: 18px; }
    .sim-input-row { flex-direction: column; }
}

/* ==============================================================
   Features Grid & Cards
   ============================================================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.bento-card {
    background: rgba(15, 36, 76, 0.68);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
    backdrop-filter: blur(12px);
}
.bento-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}
.bento-icon {
    width: 50px; height: 50px;
    border-radius: 14px;
    background: rgba(247, 147, 30, 0.14);
    border: 1px solid rgba(247, 147, 30, 0.35);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.45rem;
    margin-bottom: 16px;
}
.bento-card h3 { font-size: 1.15rem; font-weight: 800; color: #fff; margin-bottom: 10px; }
.bento-card p { font-size: 0.92rem; color: #cbd5e1; line-height: 1.75; margin-bottom: 12px; }
.bento-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.bento-list li { font-size: 0.86rem; color: #94a3b8; display: flex; align-items: flex-start; gap: 7px; }
.bento-list li::before { content: '✦'; color: var(--orange-primary); font-weight: 900; }

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

/* ==============================================================
   4-Step Workflow Timeline
   ============================================================== */
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.workflow-card {
    background: rgba(11, 27, 58, 0.8);
    border: 1px solid rgba(247, 147, 30, 0.22);
    border-radius: 18px;
    padding: 22px 18px;
    position: relative;
}
.wf-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--orange-gradient); color: #060e1e;
    font-weight: 900; font-size: 0.96rem; margin-bottom: 12px;
}
.workflow-card h4 { font-size: 1.05rem; font-weight: 800; color: #fff; margin-bottom: 8px; }
.workflow-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.75; }
@media (max-width: 960px) { .workflow-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .workflow-grid { grid-template-columns: 1fr; } }

/* ==============================================================
   Pricing Packages Grid (#pricing)
   ============================================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: stretch;
}
.pricing-card {
    background: rgba(15, 36, 76, 0.78);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.25s, border-color 0.25s;
}
.pricing-card:hover { transform: translateY(-5px); border-color: var(--border-hover); }
.pricing-card.featured {
    background: linear-gradient(165deg, rgba(20, 48, 99, 0.95), rgba(11, 27, 58, 0.98));
    border: 2px solid var(--orange-primary);
    box-shadow: 0 22px 55px rgba(247, 147, 30, 0.22);
}
.pricing-badge {
    display: inline-block; align-self: flex-start;
    padding: 4px 12px; border-radius: var(--radius-full);
    background: rgba(247, 147, 30, 0.16);
    border: 1px solid rgba(247, 147, 30, 0.42);
    color: var(--orange-light);
    font-size: 0.78rem; font-weight: 800; margin-bottom: 12px;
}
.pricing-card.featured .pricing-badge { background: var(--orange-gradient); color: #060e1e; border-color: transparent; }
.pricing-card h3 { font-size: 1.28rem; font-weight: 900; color: #fff; margin-bottom: 6px; }
.pricing-summary { font-size: 0.89rem; color: var(--text-muted); margin-bottom: 18px; min-height: 48px; }
.price-block {
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 18px;
}
.price-main { font-size: 2rem; font-weight: 900; color: var(--orange-primary); line-height: 1.2; }
.price-cycle { font-size: 0.88rem; color: #cbd5e1; font-weight: 700; }
.price-sub { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }
.pricing-card ul { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 24px; flex: 1; }
.pricing-card ul li { font-size: 0.89rem; color: #e2e8f0; display: flex; align-items: flex-start; gap: 8px; }
.pricing-card ul li span.chk { color: var(--green-ok); font-weight: 900; }

.demo-banner-card {
    margin-top: 24px;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.1), rgba(15, 36, 76, 0.88));
    border: 1px solid rgba(37, 211, 102, 0.4);
    border-radius: 20px;
    padding: 24px 28px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
@media (max-width: 960px) { .pricing-grid { grid-template-columns: 1fr; } }

/* ==============================================================
   Comparison Table & ROI Calculator
   ============================================================== */
.glass-box {
    background: rgba(15, 36, 76, 0.72);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 28px;
    backdrop-filter: blur(14px);
}
.compare-table-wrap { overflow-x: auto; }
table.compare-table { width: 100%; border-collapse: collapse; min-width: 600px; }
table.compare-table th, table.compare-table td {
    padding: 13px 16px;
    text-align: right;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.92rem;
}
table.compare-table th { color: var(--orange-light); font-weight: 900; background: rgba(6, 14, 30, 0.6); }
[dir="ltr"] table.compare-table th, [dir="ltr"] table.compare-table td { text-align: left; }

.roi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.roi-range { width: 100%; accent-color: var(--orange-primary); margin: 8px 0 18px; cursor: pointer; }
.roi-result-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.roi-stat {
    background: rgba(6, 14, 30, 0.75);
    border: 1px solid rgba(247, 147, 30, 0.25);
    border-radius: 14px; padding: 16px; text-align: center;
}
.roi-stat strong { display: block; font-size: 1.5rem; color: var(--orange-primary); font-weight: 900; }
.roi-stat span { font-size: 0.82rem; color: var(--text-muted); }
@media (max-width: 820px) { .roi-grid { grid-template-columns: 1fr; } }

/* ==============================================================
   FAQ Accordion & Founder Strip
   ============================================================== */
.faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: rgba(15, 36, 76, 0.7);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    overflow: hidden;
}
.faq-btn {
    width: 100%; background: none; border: none; color: #fff;
    padding: 17px 20px; font-size: 1rem; font-weight: 800;
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    cursor: pointer; text-align: inherit;
}
.faq-btn span.arrow { color: var(--orange-primary); transition: transform 0.25s; }
.faq-item.open .faq-btn span.arrow { transform: rotate(180deg); }
.faq-ans { display: none; padding: 0 20px 18px; color: #cbd5e1; font-size: 0.93rem; line-height: 1.8; }
.faq-item.open .faq-ans { display: block; }

.founder-card {
    display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center;
    background: linear-gradient(145deg, rgba(15, 36, 76, 0.85), rgba(6, 14, 30, 0.92));
    border: 1px solid rgba(247, 147, 30, 0.35);
    border-radius: 22px;
    padding: 28px;
}
.founder-avatar {
    width: 128px; height: 128px; border-radius: 50%;
    object-fit: cover; border: 3px solid var(--orange-primary);
    box-shadow: 0 0 28px rgba(247, 147, 30, 0.35);
}
@media (max-width: 680px) {
    .founder-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

/* ==============================================================
   Auth Pages (Login, Register, Forgot, Reset)
   ============================================================== */
.auth-page {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding: 105px 16px 50px;
}
.auth-box {
    width: 100%; max-width: 455px;
    background: rgba(11, 27, 58, 0.9);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(247, 147, 30, 0.36);
    border-radius: 22px;
    padding: 34px 28px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
    text-align: center;
}
.auth-logo { height: 56px; margin-bottom: 14px; }
.auth-box h2 { font-size: 1.55rem; font-weight: 900; color: #fff; margin-bottom: 6px; }
.auth-box > p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 20px; }

.btn-google {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; padding: 12px 16px;
    background: #fff; color: #0f172a !important;
    border-radius: 11px; text-decoration: none; font-weight: 800; font-size: 0.95rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s;
}
.btn-google:hover { transform: translateY(-2px); }
.google-icon { width: 20px; height: 20px; }

.auth-divider {
    display: flex; align-items: center; gap: 10px;
    margin: 18px 0; color: var(--text-muted); font-size: 0.84rem;
}
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: rgba(255, 255, 255, 0.12); }

.auth-form { display: flex; flex-direction: column; gap: 11px; text-align: right; }
.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="tel"],
.auth-form input[type="url"],
.auth-form select,
.auth-form textarea {
    width: 100%; padding: 12px 14px;
    background: rgba(6, 14, 30, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    color: #fff; font-size: 0.94rem;
}
.auth-form input:focus, .auth-form select:focus, .auth-form textarea:focus {
    border-color: var(--orange-primary);
    outline: none;
}
.password-wrapper { position: relative; }
.toggle-password {
    position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
    cursor: pointer; user-select: none; font-size: 1rem;
}
[dir="ltr"] .toggle-password { left: auto; right: 12px; }
.toggle-auth { margin-top: 18px; font-size: 0.9rem; color: var(--text-muted); }
.toggle-auth a { color: var(--orange-primary); font-weight: 800; text-decoration: none; }
.auth-minimal-footer { text-align: center; padding: 14px; color: var(--text-muted); font-size: 0.82rem; }

/* ==============================================================
   Inner Page Hero, Profile Dashboard & Admin Styles
   ============================================================== */
.inner-hero {
    padding: 126px 0 46px;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(247, 147, 30, 0.14), transparent 60%);
}
.inner-breadcrumb {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.85rem; color: var(--text-muted); margin-bottom: 12px;
}
.inner-breadcrumb a { color: var(--orange-light); text-decoration: none; font-weight: 700; }

.dashboard-shell { padding: 112px 0 70px; }
.dash-header-card {
    background: linear-gradient(145deg, rgba(15, 36, 76, 0.9), rgba(6, 14, 30, 0.95));
    border: 1px solid rgba(247, 147, 30, 0.35);
    border-radius: 20px;
    padding: 24px;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
    margin-bottom: 22px;
}
.dash-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.dash-tab {
    padding: 9px 18px; border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1; text-decoration: none; font-weight: 800; font-size: 0.88rem;
    transition: 0.2s;
}
.dash-tab.active, .dash-tab:hover {
    background: var(--orange-gradient); color: #060e1e; border-color: transparent;
}
.status-pill {
    display: inline-block; padding: 3px 11px; border-radius: var(--radius-full);
    font-size: 0.78rem; font-weight: 800;
}
.status-pending { background: rgba(251, 191, 36, 0.16); color: #fbbf24; border: 1px solid rgba(251, 191, 36, 0.4); }
.status-active, .status-completed { background: rgba(37, 211, 102, 0.16); color: #4ade80; border: 1px solid rgba(37, 211, 102, 0.4); }
.status-cancelled { background: rgba(248, 113, 113, 0.16); color: #f87171; border: 1px solid rgba(248, 113, 113, 0.4); }

/* ==============================================================
   Footer, Bottom Mobile Nav & Floating WhatsApp
   ============================================================== */
.site-footer {
    background: #040915;
    border-top: 1px solid rgba(247, 147, 30, 0.24);
    padding: 58px 0 28px;
    position: relative;
}
.footer-inner { width: min(1220px, calc(100% - 32px)); margin: 0 auto; }
.footer-content {
    display: grid;
    grid-template-columns: 1.35fr 0.9fr 1.1fr;
    gap: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-logo { height: 48px; }
.footer-brand-desc { color: var(--text-muted); font-size: 0.9rem; margin: 14px 0; line-height: 1.8; }
.footer-slogan-pill {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(247, 147, 30, 0.1);
    border: 1px solid rgba(247, 147, 30, 0.3);
    color: var(--orange-light);
    padding: 6px 14px; border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 700;
}
.footer-col h4 { color: #fff; font-size: 1.05rem; font-weight: 900; margin-bottom: 14px; }
.footer-nav-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-nav-list a { color: #cbd5e1; text-decoration: none; font-size: 0.9rem; font-weight: 600; transition: 0.2s; }
.footer-nav-list a:hover { color: var(--orange-primary); }
.footer-contact-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.footer-contact-row {
    display: flex; align-items: center; gap: 10px;
    color: #e2e8f0; text-decoration: none;
    background: rgba(255, 255, 255, 0.03);
    padding: 9px 12px; border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.contact-icon-bubble { font-size: 1.15rem; }
.contact-meta-label { display: block; font-size: 0.74rem; color: var(--text-muted); }
.contact-meta-val { font-size: 0.87rem; font-weight: 700; }

.social-icons-modern { display: flex; gap: 8px; flex-wrap: wrap; }
.social-pill-btn {
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-flex; align-items: center; justify-content: center;
    transition: 0.22s;
}
.social-pill-btn img { width: 17px; height: 17px; filter: brightness(0) invert(1); }
.social-pill-btn:hover { background: var(--orange-primary); border-color: var(--orange-primary); transform: translateY(-2px); }

.footer-bottom-bar {
    padding-top: 22px;
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px;
    font-size: 0.84rem; color: var(--text-muted);
}
.footer-bottom-meta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.footer-legal-links { display: flex; gap: 8px; align-items: center; }
.footer-legal-links a { color: #cbd5e1; text-decoration: none; }
.footer-legal-links a:hover { color: var(--orange-primary); }
.footer-bottom-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.footer-sec-badge {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4px 10px; border-radius: var(--radius-full); font-size: 0.78rem;
}
.footer-top-btn {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--orange-light); text-decoration: none; font-weight: 800;
}

.floating-whatsapp {
    position: fixed;
    left: 20px; bottom: 22px;
    width: 54px; height: 54px; border-radius: 50%;
    background: #25d366;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.48);
    z-index: 9970;
    transition: transform 0.22s;
}
.floating-whatsapp img { width: 27px; height: 27px; filter: brightness(0) invert(1); }
.floating-whatsapp:hover { transform: scale(1.08); }
[dir="ltr"] .floating-whatsapp { left: auto; right: 20px; }

.bottom-nav { display: none; }

@media (max-width: 900px) {
    .footer-content { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    body { padding-bottom: 70px; }
    .floating-whatsapp { bottom: 78px; width: 48px; height: 48px; }
    .bottom-nav {
        display: grid; grid-template-columns: repeat(5, 1fr);
        position: fixed; bottom: 0; left: 0; right: 0;
        background: rgba(6, 14, 30, 0.96);
        backdrop-filter: blur(16px);
        border-top: 1px solid rgba(247, 147, 30, 0.28);
        padding: 7px 4px;
        z-index: 9980;
    }
    .bottom-nav .nav-item {
        display: flex; flex-direction: column; align-items: center; gap: 3px;
        color: #cbd5e1; text-decoration: none; font-size: 0.68rem; font-weight: 700;
    }
    .bottom-nav .nav-item svg { width: 20px; height: 20px; stroke: var(--orange-primary); }
}
