/* ==========================================================================
   AGENTIX AI — STYLESHEET
   Aesthetic inspired by OpenTechCheck.com
   Ultra-lightweight, high-performance, retro-modern editorial minimalism.
   ========================================================================== */

/* ── Typography & Variables ── */
:root {
    --paper: #faf9f5;
    --card: #ffffff;
    --ink: #141310;
    --dim: #5c5950;
    --line: #e4e1d6;
    --blue: #2427f0;
    --blue-soft: #eceafd;
    --green: #dcefdd;
    --green-ink: #1d6b2a;
    --amber: #faecc8;
    --amber-ink: #8a6410;
    --gray-chip: #eeece4;
    --red: #d92d20;
    --red-soft: #fee4e2;

    --display: "Bricolage Grotesque", "Archivo", -apple-system, BlinkMacSystemFont, sans-serif;
    --text: "Archivo", -apple-system, BlinkMacSystemFont, sans-serif;
    --mono: "Spline Sans Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--paper);
    color: var(--ink);
    font-family: var(--text);
    font-size: 16px;
    line-height: 1.5;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

img, svg {
    display: block;
    max-width: 100%;
}

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

/* ── Layout Wrap ── */
.wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Typography Utilities ── */
.mono {
    font-family: var(--mono);
}

.kicker {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--blue);
    font-weight: 600;
    text-transform: uppercase;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 13.5px;
    color: var(--blue);
    margin-bottom: 12px;
}

h1, h2, h3, h4 {
    font-family: var(--display);
    color: var(--ink);
    font-weight: 800;
}

h1 em, h2 em {
    font-style: normal;
    color: var(--blue);
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--text);
    font-weight: 600;
    font-size: 15px;
    padding: 13px 22px;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid var(--ink);
    transition: transform 0.1s ease, filter 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn:active {
    transform: translateY(1px);
}

.btn.primary {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
    box-shadow: 0 2px 0 rgba(0,0,0,0.15);
}

.btn.primary:hover {
    filter: brightness(1.12);
}

.btn.secondary {
    background: var(--card);
    color: var(--ink);
    border: 1px solid var(--ink);
}

.btn.secondary:hover {
    background: var(--gray-chip);
}

.btn.sm {
    padding: 8px 14px;
    font-size: 13.5px;
    border-radius: 6px;
}

/* ── Chips & Badges ── */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.chip.a, .chip.green {
    background: var(--green);
    color: var(--green-ink);
}

.chip.b, .chip.amber {
    background: var(--amber);
    color: var(--amber-ink);
}

.chip.blue {
    background: var(--blue-soft);
    color: var(--blue);
}

.chip.gray {
    background: var(--gray-chip);
    color: var(--dim);
}

/* ── Top Navigation Bar ── */
nav.site-nav {
    border-bottom: 1.5px solid var(--ink);
    background: var(--paper);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    padding-bottom: 10px;
}

.nav-home {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: var(--blue);
    color: #fff;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-brand {
    font-family: var(--display);
    font-weight: 800;
    font-size: 17px;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.nav-brand span.dot {
    color: var(--blue);
}

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

.nav-links a {
    font-weight: 600;
    font-size: 14px;
    color: var(--ink);
}

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

.nav-cta {
    background: var(--blue);
    color: #fff !important;
    padding: 7px 15px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13.5px;
    transition: filter 0.15s ease;
}

.nav-cta:hover {
    filter: brightness(1.12);
}

/* ── Mobile Navigation Controls ── */
.nav-mobile-actions {
    display: none;
    align-items: center;
    gap: 8px;
}

.mobile-toggle {
    background: transparent;
    border: 1.5px solid var(--ink);
    border-radius: 6px;
    width: 36px;
    height: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    padding: 0;
    transition: background 0.15s ease;
}

.mobile-toggle:hover {
    background: var(--gray-chip);
}

.bar-line {
    width: 18px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-toggle.open .bar-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-toggle.open .bar-line:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.open .bar-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.mobile-drawer {
    display: none;
    background: var(--card);
    border-top: 1.5px solid var(--ink);
    border-bottom: 1.5px solid var(--ink);
    padding: 16px 24px 20px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.06);
    animation: drawerSlide 0.22s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.mobile-drawer.open {
    display: block;
}

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

.mobile-drawer-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
}

.mobile-drawer-link {
    font-family: var(--display);
    font-weight: 700;
    font-size: 16px;
    color: var(--ink);
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    display: block;
}

.mobile-drawer-link:hover {
    color: var(--blue);
}

.mobile-drawer-bottom {
    margin-top: 6px;
}

.mobile-swipe-hint {
    display: none;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--dim);
    margin-bottom: 8px;
    text-align: right;
}

/* ── Hero Section (Optimized for full presentation above the fold) ── */
section.hero {
    border-bottom: 1.5px solid var(--ink);
    overflow: hidden;
    background: var(--paper);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: clamp(24px, 3.5vw, 44px);
    padding-top: clamp(20px, 3vh, 32px);
    padding-bottom: clamp(22px, 3.5vh, 36px);
    align-items: center;
}

.hero-left {
    max-width: 580px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 12.5px;
    color: var(--blue);
    margin-bottom: 6px;
}

h1.hero-title {
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(28px, 2.7vw, 40px);
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin: 4px 0 0;
}

p.hero-sub {
    margin-top: 12px;
    font-size: clamp(14px, 1.05vw, 15.5px);
    color: var(--dim);
    max-width: 46ch;
    line-height: 1.5;
}

.hero-ctas {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    flex-wrap: wrap;
    align-items: center;
}

.hero-ctas .btn {
    padding: 11px 18px;
    font-size: 14px;
    border-radius: 7px;
}

.hero-trust-row {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--dim);
}

.hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    color: var(--ink);
}

.hero-trust-item svg {
    width: 14px;
    height: 14px;
    color: #15803d;
}

/* ── Interactive Simulator Mockup (OpenTechCheck Browser Frame) ── */
.browser-frame {
    background: var(--card);
    border: 1.5px solid var(--ink);
    border-radius: 10px;
    box-shadow: 6px 6px 0 var(--line);
    overflow: hidden;
    max-width: 440px;
    width: 100%;
    margin: 0 auto;
}

.bw-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 12px;
    border-bottom: 1.5px solid var(--ink);
    background: var(--paper);
}

.bw-dots {
    display: flex;
    gap: 5px;
    flex: none;
}

.bw-dots i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid var(--ink);
    background: var(--card);
    display: block;
}

.bw-address {
    flex: 1;
    min-width: 0;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--dim);
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 3px 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bw-status {
    font-family: var(--mono);
    font-size: 10.5px;
    font-weight: 600;
    color: var(--green-ink);
    background: var(--green);
    padding: 2px 7px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.pulse-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.25);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

.bw-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1.5px solid var(--ink);
    background: var(--gray-chip);
    overflow: hidden;
}

.bw-tab {
    padding: 8px 2px;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--dim);
    background: transparent;
    border: none;
    border-right: 1px solid var(--line);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bw-tab:last-child {
    border-right: none;
}

.bw-tab:hover {
    background: var(--card);
    color: var(--ink);
}

.bw-tab.active {
    background: var(--card);
    color: var(--blue);
    font-weight: 700;
    border-bottom: 2px solid var(--blue);
    margin-bottom: -1px;
}

.bw-chat-window {
    padding: 12px 14px;
    height: 270px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fafaf9;
    overflow: hidden;
    position: relative;
}

.chat-bubble-stream {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: flex-end;
    min-height: 226px;
}

.chat-bubble {
    max-width: 86%;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12.5px;
    line-height: 1.38;
    position: relative;
    animation: fadeInMsg 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}

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

.chat-bubble.customer {
    align-self: flex-start;
    background: var(--card);
    border: 1px solid var(--line);
    color: var(--ink);
    border-bottom-left-radius: 2px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.chat-bubble.ai {
    align-self: flex-end;
    background: var(--blue);
    color: #fff;
    border-bottom-right-radius: 2px;
    box-shadow: 0 1px 2px rgba(36,39,240,0.18);
}

.chat-bubble.ai-system {
    align-self: center;
    background: var(--blue-soft);
    border: 1px dashed var(--blue);
    color: var(--blue);
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 6px;
    text-align: center;
    max-width: 95%;
    line-height: 1.35;
}

.chat-meta {
    font-family: var(--mono);
    font-size: 9.5px;
    margin-top: 3px;
    opacity: 0.75;
}

/* Typing Indicator Animation */
.typing-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    width: fit-content;
}

.typing-dot {
    width: 5px;
    height: 5px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    animation: typingBounce 1.2s infinite ease-in-out;
}

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

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40% { transform: scale(1.15); opacity: 1; }
}

.chat-footer-stats {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--dim);
}

/* ── Section Bands ── */
section.band {
    border-bottom: 1.5px solid var(--ink);
    padding: 72px 0;
}

h2.band-title {
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(28px, 3.8vw, 42px);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 0;
}

.band-lead {
    margin-top: 14px;
    font-size: 17.5px;
    color: var(--dim);
    max-width: 58ch;
    line-height: 1.55;
}

/* ── 3-Step Numbers (OpenTechCheck Style) ── */
.steps-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    margin-top: 36px;
}

.step-card {
    background: var(--card);
    border: 1.5px solid var(--ink);
    border-radius: 10px;
    padding: 24px;
    box-shadow: 4px 4px 0 var(--line);
    position: relative;
}

.sno {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    font-family: var(--mono);
}

.step-title {
    font-family: var(--display);
    font-weight: 800;
    font-size: 20px;
    margin-bottom: 8px;
}

.step-desc {
    color: var(--dim);
    font-size: 15px;
    line-height: 1.5;
}

/* ── Two-Column Splits & Evidence Cards ── */
.twocol {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.evcard {
    background: var(--card);
    border: 1.5px solid var(--ink);
    border-radius: 10px;
    padding: 18px 20px;
    box-shadow: 6px 6px 0 var(--line);
}

.evhead {
    display: flex;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--blue);
    margin-bottom: 12px;
    gap: 12px;
}

.evline {
    font-family: var(--mono);
    font-size: 13px;
    border-left: 3px solid var(--blue);
    background: var(--blue-soft);
    padding: 7px 12px;
    border-radius: 0 4px 4px 0;
    margin-top: 8px;
    overflow-wrap: anywhere;
}

.evline b {
    font-weight: 600;
    color: var(--ink);
    margin-right: 6px;
}

/* ── Feature Grid Cards ── */
.agents-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 36px;
}

.agent-box {
    background: var(--card);
    border: 1.5px solid var(--ink);
    border-radius: 12px;
    padding: 28px;
    box-shadow: 6px 6px 0 var(--line);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.agent-box:hover {
    transform: translateY(-2px);
    box-shadow: 8px 8px 0 var(--ink);
}

.agent-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--blue-soft);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border: 1px solid var(--blue);
}

.agent-title {
    font-family: var(--display);
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
}

.agent-tagline {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 12px;
}

.agent-body {
    font-size: 15.5px;
    color: var(--dim);
    line-height: 1.55;
    margin-bottom: 18px;
}

.agent-features {
    list-style: none;
    display: grid;
    gap: 8px;
    margin-bottom: 22px;
    border-top: 1px solid var(--line);
    padding-top: 16px;
}

.agent-features li {
    font-size: 14.5px;
    color: #2c2a24;
    display: flex;
    align-items: center;
    gap: 8px;
}

.agent-features li svg {
    flex-shrink: 0;
    color: #16a34a;
}

/* ── Interactive ROI Calculator ── */
.calc-card {
    background: var(--card);
    border: 1.5px solid var(--ink);
    border-radius: 12px;
    box-shadow: 8px 8px 0 var(--line);
    padding: 32px;
}

.calc-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 36px;
    align-items: center;
}

.calc-controls {
    display: grid;
    gap: 24px;
}

.slider-group label {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 8px;
}

.slider-group label span.val {
    font-family: var(--mono);
    color: var(--blue);
    font-weight: 700;
    font-size: 16px;
}

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

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--blue);
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    cursor: pointer;
}

.calc-result-box {
    background: var(--paper);
    border: 1.5px solid var(--ink);
    border-radius: 10px;
    padding: 24px;
    text-align: center;
}

.calc-result-eyebrow {
    font-family: var(--mono);
    font-size: 11.5px;
    font-weight: 600;
    color: var(--dim);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.calc-big-revenue {
    font-family: var(--display);
    font-size: clamp(36px, 4.5vw, 48px);
    font-weight: 800;
    color: #15803d;
    margin: 8px 0;
    letter-spacing: -0.03em;
}

.calc-metrics-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 16px 0 20px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    text-align: left;
}

.calc-metric-val {
    font-family: var(--mono);
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
}

.calc-metric-lbl {
    font-size: 12px;
    color: var(--dim);
}

/* ── Hormozi $100M Grand Slam Guarantee Box ── */
.guarantee-box {
    background: #fcfbf7;
    border: 2px solid var(--ink);
    border-radius: 12px;
    padding: 36px;
    box-shadow: 8px 8px 0 var(--blue);
    position: relative;
    overflow: hidden;
}

.guarantee-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green);
    color: var(--green-ink);
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    margin-bottom: 16px;
    border: 1px solid #86efac;
}

.guarantee-title {
    font-family: var(--display);
    font-size: clamp(24px, 3.2vw, 32px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.guarantee-desc {
    font-size: 16.5px;
    color: #2b2820;
    line-height: 1.6;
    max-width: 72ch;
}

/* ── Pricing Tiers ── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 36px;
    align-items: stretch;
}

.price-card {
    background: var(--card);
    border: 1.5px solid var(--ink);
    border-radius: 12px;
    padding: 32px 24px;
    box-shadow: 4px 4px 0 var(--line);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.price-card.featured {
    border: 2px solid var(--blue);
    box-shadow: 8px 8px 0 var(--blue);
    background: #ffffff;
}

.popular-tag {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--blue);
    color: #fff;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.price-header {
    border-bottom: 1px solid var(--line);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.plan-name {
    font-family: var(--display);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 6px;
}

.plan-sub {
    font-size: 14px;
    color: var(--dim);
    min-height: 42px;
}

.price-number {
    margin: 16px 0 6px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price-val {
    font-family: var(--display);
    font-size: 38px;
    font-weight: 800;
    color: var(--ink);
}

.price-period {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--dim);
}

.setup-note {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--dim);
}

.plan-features {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-bottom: 28px;
}

.plan-features li {
    font-size: 14.5px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}

.plan-features li svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #16a34a;
}

/* ── Comparison Table ── */
.comp-table-wrap {
    background: var(--card);
    border: 1.5px solid var(--ink);
    border-radius: 12px;
    overflow-x: auto;
    box-shadow: 6px 6px 0 var(--line);
    margin-top: 36px;
}

.comp-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.comp-table th, .comp-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
}

.comp-table th {
    background: var(--paper);
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1.5px solid var(--ink);
}

.comp-table th.highlight, .comp-table td.highlight {
    background: var(--blue-soft);
    color: var(--blue);
    font-weight: 700;
}

/* ── FAQ Accordion ── */
.faq-list {
    margin-top: 32px;
    display: grid;
    gap: 12px;
}

.faq-item {
    background: var(--card);
    border: 1.5px solid var(--ink);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.15s ease;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 18px 20px;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    font-family: var(--display);
    font-weight: 700;
    font-size: 18px;
    color: var(--ink);
}

.faq-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px 20px;
    font-size: 15.5px;
    color: var(--dim);
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ── Direct Booking Section & Form ── */
.booking-section {
    padding: 80px 0;
}

.booking-card {
    background: var(--card);
    border: 1.5px solid var(--ink);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 8px 8px 0 var(--line);
    max-width: 840px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 24px;
}

.form-full {
    grid-column: 1 / -1;
}

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

.form-label {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--dim);
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--ink);
    border-radius: 8px;
    font-size: 15px;
    background: #fff;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px var(--blue-soft);
}

.channels-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.channel-check-btn {
    cursor: pointer;
    user-select: none;
}

.channel-check-btn input[type="checkbox"] {
    display: none;
}

.channel-check-btn span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-size: 13.5px;
    font-weight: 600;
    background: var(--paper);
    transition: all 0.15s ease;
}

.channel-check-btn input[type="checkbox"]:checked + span {
    border-color: var(--blue);
    background: var(--blue-soft);
    color: var(--blue);
    font-weight: 700;
}

/* ── Floating "Book a Demo" Widget ── */
.floating-demo-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--card);
    border: 1.5px solid var(--ink);
    border-radius: 40px;
    padding: 10px 18px;
    box-shadow: 4px 4px 0 var(--ink);
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s, visibility 0.25s;
    user-select: none;
    transform: translateY(0);
}

.floating-demo-widget:hover {
    transform: translateY(-2px);
    box-shadow: 6px 6px 0 var(--blue);
}

.widget-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.25);
    animation: pulse 1.8s infinite;
}

.widget-text {
    font-family: var(--text);
    font-weight: 700;
    font-size: 14px;
    color: var(--ink);
    white-space: nowrap;
}

.widget-badge {
    background: var(--blue);
    color: #fff;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
}

/* Behavior classes for desktop vs mobile */
.widget-hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    pointer-events: none;
}

.widget-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* ── Modal Booking Overlay ── */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(20, 19, 16, 0.65);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--card);
    border: 1.5px solid var(--ink);
    border-radius: 12px;
    width: 100%;
    max-width: 580px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
    box-shadow: 8px 8px 0 var(--line);
    position: relative;
    transform: scale(0.96);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-container {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 6px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--dim);
    transition: all 0.15s;
}

.modal-close-btn:hover {
    background: var(--gray-chip);
    color: var(--ink);
}

/* ── Success Confirmation Screen ── */
.form-success-box {
    display: none;
    text-align: center;
    padding: 32px 16px;
}

.success-check-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--green);
    color: #166534;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border: 1.5px solid #86efac;
}

.success-title {
    font-family: var(--display);
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 8px;
}

.success-desc {
    font-size: 15.5px;
    color: var(--dim);
    max-width: 44ch;
    margin: 0 auto 20px;
    line-height: 1.55;
}

/* ── Footer (OpenTechCheck Style) ── */
footer.site-footer {
    border-top: 1.5px solid var(--ink);
    background: var(--paper);
    padding: 32px 0 40px;
}

.foot-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.foot-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.foot-tagline {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--dim);
}

.foot-right {
    display: flex;
    gap: 20px;
    font-family: var(--mono);
    font-size: 13px;
    color: var(--dim);
}

.foot-right a:hover {
    color: var(--blue);
}

/* ── Prevent iOS Safari Auto-Zoom on Form Inputs ── */
@media screen and (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* ── Tablet & Small Laptop Breakpoint (<= 860px) ── */
@media (max-width: 860px) {
    .nav-links {
        display: none;
    }
    .nav-mobile-actions {
        display: flex;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-top: 22px;
        padding-bottom: 34px;
    }
    .browser-frame {
        max-width: 100%;
    }
    .twocol {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .calc-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .agents-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ── Mobile Phone Breakpoint (<= 680px) ── */
@media (max-width: 680px) {
    .wrap {
        padding: 0 16px;
    }
    section.band {
        padding: 44px 0;
    }
    h1.hero-title {
        font-size: clamp(26px, 6.2vw, 34px);
        line-height: 1.15;
    }
    p.hero-sub {
        font-size: 14.5px;
        line-height: 1.5;
        margin-top: 10px;
    }
    .hero-ctas {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    .hero-ctas .btn {
        width: 100%;
        justify-content: center;
        padding: 12px 18px;
    }
    .hero-trust-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-top: 14px;
        font-size: 12px;
    }
    .browser-frame {
        max-width: 100%;
        box-shadow: 4px 4px 0 var(--line);
    }
    .bw-tabs {
        grid-template-columns: repeat(4, 1fr);
    }
    .bw-tab {
        font-size: 10.5px;
        padding: 7px 1px;
    }
    .bw-chat-window {
        height: 250px;
        padding: 10px 12px;
    }
    .chat-bubble {
        font-size: 12px;
        padding: 7px 10px;
        max-width: 90%;
    }
    .chat-bubble.ai-system {
        font-size: 10.5px;
        padding: 5px 8px;
    }
    .chat-footer-stats {
        font-size: 10.5px;
        flex-wrap: wrap;
        gap: 4px;
    }
    h2.band-title {
        font-size: clamp(22px, 5.2vw, 28px);
    }
    .band-lead {
        font-size: 14.5px;
        line-height: 1.5;
        margin-top: 10px;
    }
    .step-card {
        padding: 18px 16px;
    }
    .step-title {
        font-size: 18px;
    }
    .agent-box {
        padding: 20px 16px;
    }
    .agent-title {
        font-size: 20px;
    }
    .agent-features li {
        font-size: 13.5px;
    }
    .calc-card {
        padding: 18px 14px;
    }
    .calc-result-box {
        padding: 18px 14px;
    }
    .calc-big-revenue {
        font-size: clamp(28px, 7.5vw, 38px);
    }
    .calc-metrics-row {
        gap: 8px;
    }
    .calc-metric-val {
        font-size: 15px;
    }
    .guarantee-box {
        padding: 22px 16px;
        box-shadow: 4px 4px 0 var(--blue);
    }
    .guarantee-title {
        font-size: clamp(19px, 4.6vw, 24px);
    }
    .guarantee-desc {
        font-size: 14px;
        line-height: 1.55;
    }
    .price-card {
        padding: 22px 16px;
    }
    .price-val {
        font-size: 32px;
    }
    .mobile-swipe-hint {
        display: block;
    }
    .comp-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 8px;
    }
    .comp-table th, .comp-table td {
        padding: 10px 12px;
        font-size: 13px;
        white-space: nowrap;
    }
    .faq-question {
        font-size: 15.5px;
        padding: 14px 16px;
    }
    .faq-answer {
        padding: 0 16px 16px;
        font-size: 14px;
    }
    .form-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .booking-card {
        padding: 20px 14px;
    }
    .channels-picker {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }
    .channel-check-btn span {
        padding: 9px 6px;
        font-size: 12.5px;
        text-align: center;
        justify-content: center;
        width: 100%;
    }
    .floating-demo-widget {
        bottom: calc(14px + env(safe-area-inset-bottom, 0px));
        right: 12px;
        padding: 7px 13px;
        font-size: 12.5px;
    }
    .modal-container {
        padding: 22px 16px;
        width: calc(100% - 20px);
        max-height: 92vh;
    }
    .foot-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .foot-right {
        flex-wrap: wrap;
        gap: 14px;
        font-size: 12px;
    }
}

/* ── Small Smartphone Breakpoint (<= 380px) ── */
@media (max-width: 380px) {
    .bw-tab {
        font-size: 9.5px;
        padding: 6px 0;
    }
    .channels-picker {
        grid-template-columns: 1fr;
    }
    .calc-metrics-row {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 10px;
    }
    .hero-ctas .btn {
        font-size: 13px;
        padding: 10px 14px;
    }
}
