/* Next Generation Tech — shared layout for the 4 reskinned product pages
   (landing.html, whatsapp-bot.html, phishing-guard.html, social-media-marketing.html) */

/* ---------- Hero ---------- */
.hero {
  padding: 150px 24px 64px;
  background: radial-gradient(55% 60% at 78% 10%, rgba(31,181,176,.14), transparent 60%), var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.7rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 20px; }
.hero h1 span { color: var(--primary-light); }
.hero-lead { font-size: 1.05rem; color: var(--muted); margin: 0 0 28px; max-width: 480px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-trust { font-size: .82rem; color: var(--muted-soft); display: flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 14px; height: 14px; color: var(--primary-light); flex-shrink: 0; }

.hero-visual.glass-card { padding: 20px; }
.hero-visual-header { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.hero-visual-header .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border); }
.hv-card { border: 1px solid var(--border-soft); border-radius: 10px; padding: 14px 16px; margin-bottom: 10px; background: var(--bg); }
.hv-card .lbl { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted-soft); margin-bottom: 4px; }
.hv-card .val { font-size: .92rem; font-weight: 600; color: var(--ink-soft); }
.hv-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { padding: 28px 24px; }
.step-num { width: 34px; height: 34px; border-radius: 10px; background: var(--primary-tint); color: var(--primary-light); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .95rem; margin-bottom: 16px; font-family: var(--font-display); }
.step h3 { font-size: 1.08rem; margin: 0 0 8px; }
.step p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card { padding: 22px 20px; }
.feature-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--primary-tint); color: var(--primary-light); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.feature-icon svg { width: 19px; height: 19px; }
.feature-card h3 { font-size: .98rem; margin: 0 0 6px; }
.feature-card p { font-size: .85rem; color: var(--muted); margin: 0; line-height: 1.5; }

/* ---------- Demo panel (tabbed) ---------- */
.demo-section { background: var(--bg-alt); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.demo-panel.glass-card { padding: 0; overflow: hidden; }
.demo-tabs { display: flex; gap: 8px; padding: 16px 20px; border-bottom: 1px solid var(--border-soft); flex-wrap: wrap; }
.demo-tab { font-family: var(--font); font-size: .85rem; font-weight: 600; color: var(--ink-soft); background: transparent; border: 1px solid var(--border); border-radius: 999px; padding: 7px 16px; cursor: pointer; }
.demo-tab.active { background: var(--primary-tint); border-color: var(--primary); color: var(--primary-light); }

/* ---------- Screenshot app-frame (real product screenshots, cropped to content) ---------- */
.app-frame-wrap { padding: 20px; }
.app-frame { border-radius: 12px; overflow: hidden; border: 1px solid var(--border-soft); background: var(--surface-solid); box-shadow: var(--shadow-lg); }
.app-frame-head { background: linear-gradient(135deg, var(--primary-darker), var(--primary)); color: #04211F; padding: 10px 14px; font-size: .78rem; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.app-frame-head .dots { display: flex; gap: 5px; margin-right: 4px; }
.app-frame-head .dot { width: 8px; height: 8px; border-radius: 50%; }
.app-frame-head .dot.r { background: #f87171; } .app-frame-head .dot.a { background: #fbbf24; } .app-frame-head .dot.g { background: #4ade80; }
.app-frame-body { aspect-ratio: 16 / 8.2; overflow: hidden; background: #fff; }
.app-frame-body img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; }
.demo-body { display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: 340px; }
.demo-left { padding: 22px 24px; border-right: 1px solid var(--border-soft); }
.demo-right { padding: 22px 24px; background: var(--bg); }
.demo-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted-soft); margin-bottom: 12px; }

/* Raw prescription text — styled as a physical paper slip (deliberately theme-independent,
   like an embedded photo of a document) rather than a flat UI panel. */
.demo-raw {
  font-family: 'SFMono-Regular', Consolas, monospace;
  font-size: .86rem;
  color: #362f24;
  background: #FBF5E7;
  border-radius: var(--radius-sm);
  padding: 16px 18px 16px 22px;
  white-space: pre-wrap;
  line-height: 1.7;
  border-left: 3px solid #C23B3B;
  box-shadow: var(--shadow-sm);
}

/* Structured output — a plain-language summary card, not raw JSON (normal users, not
   developers, are the audience for this demo). */
.extract-summary { display: flex; flex-direction: column; gap: 16px; }
.result-banner { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--radius-sm); font-size: .84rem; font-weight: 600; }
.result-banner svg { width: 16px; height: 16px; flex-shrink: 0; }
.result-block-head { display: flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted-soft); margin-bottom: 8px; }
.result-line { font-size: .96rem; color: var(--ink); }
.result-line span { color: var(--muted); font-weight: 400; }
.med-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border-soft); }
.med-row:last-child { border-bottom: none; }
.med-row.uncertain .med-name { color: var(--warn); }
.med-name { font-size: .92rem; font-weight: 600; }
.med-freq { font-size: .82rem; color: var(--muted); }
.med-row-main { display: flex; flex-direction: column; gap: 2px; }

.demo-note { margin-top: 14px; font-size: .78rem; color: var(--muted-soft); }
.demo-mock-wrap { padding: 24px; display: flex; justify-content: center; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card.glass-card { display: flex; flex-direction: column; }
.price-card.featured { border: 1px solid var(--primary); position: relative; }
.price-badge { position: absolute; top: -13px; left: 26px; background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #04211F; font-size: .7rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; letter-spacing: .02em; }
.price-card h3 { font-size: 1.1rem; margin: 0 0 6px; }
.price-card .price-sub { font-size: .84rem; color: var(--muted); margin: 0 0 18px; }
.price-amount { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 2px; font-family: var(--font-display); }
.price-amount span { font-size: .95rem; font-weight: 600; color: var(--muted); font-family: var(--font); }
.price-note { font-size: .76rem; color: var(--muted-soft); margin-bottom: 22px; }
.price-list { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.price-list li { display: flex; gap: 9px; align-items: flex-start; font-size: .87rem; color: var(--ink-soft); margin-bottom: 11px; }
.price-list svg { width: 15px; height: 15px; color: var(--primary-light); flex-shrink: 0; margin-top: 2px; }
.pricing-disclaimer { text-align: center; font-size: .82rem; color: var(--muted-soft); margin-top: 28px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--primary-darker), var(--primary-dark) 55%, var(--primary)); border-radius: var(--radius-lg); padding: 56px 48px; text-align: center; color: #04211F; }
.cta-band h2 { color: #04211F; margin-bottom: 10px; }
.cta-band p { color: rgba(4,33,31,.75); max-width: 480px; margin: 0 auto 28px; }
.cta-band .btn-outline { background: rgba(255,255,255,.9); border-color: transparent; color: #04211F; }

/* ---------- Proof band ---------- */
.proof-band { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); margin-top: 32px; }
.proof-band svg { width: 22px; height: 22px; color: var(--primary-light); flex-shrink: 0; }
.proof-band p { margin: 0; font-size: .88rem; color: var(--ink-soft); }

/* ---------- Terminal-window scan mockup (PhishingGuard hero + demo) ---------- */
.scan-card { width: 320px; margin: 0 auto; background: #04100f; border-radius: 18px; padding: 8px; box-shadow: var(--shadow-lg); }
.scan-inner { background: var(--surface-solid); border-radius: 12px; overflow: hidden; }
.scan-head { background: linear-gradient(135deg, var(--primary-darker), var(--primary)); color: #04211F; padding: 11px 14px; font-size: .78rem; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.scan-head .dots { display: flex; gap: 5px; margin-right: 4px; }
.scan-head .dot { width: 7px; height: 7px; border-radius: 50%; }
.scan-head .dot.r { background: #f87171; } .scan-head .dot.a { background: #fbbf24; } .scan-head .dot.g { background: #4ade80; }
.scan-body { padding: 16px; }
.mail-preview { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 12px; margin-bottom: 12px; background: var(--border-soft); }
.mail-from { font-size: .72rem; color: var(--muted); font-family: 'SFMono-Regular', Consolas, monospace; word-break: break-all; margin-bottom: 3px; }
.mail-subject { font-size: .85rem; font-weight: 700; color: var(--ink); }
.check-list { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.check { display: flex; gap: 7px; align-items: flex-start; font-size: .75rem; color: var(--ink-soft); line-height: 1.4; }
.check svg { width: 13px; height: 13px; color: var(--primary-light); flex-shrink: 0; margin-top: 2px; }
.verdict { text-align: center; font-weight: 800; font-size: .85rem; border-radius: var(--radius-sm); padding: 9px; letter-spacing: .01em; font-family: var(--font-display); }
.verdict.low { background: var(--good-bg); color: var(--good); border: 1px solid var(--good-border); }
.verdict.medium { background: var(--warn-bg); color: var(--warn); border: 1px solid var(--warn-border); }
.verdict.high { background: var(--bad-bg); color: var(--bad); border: 1px solid var(--bad-border); }

/* ---------- Instagram-style post mockup (social media page) ---------- */
.post-card { width: 300px; margin: 0 auto; background: #04100f; border-radius: 22px; padding: 8px; box-shadow: var(--shadow-lg); }
.post-inner { background: var(--surface-solid); border-radius: 16px; overflow: hidden; }
.post-head { display: flex; align-items: center; gap: 9px; padding: 12px 14px; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent2)); flex-shrink: 0; }
.post-brand { font-size: .82rem; font-weight: 700; }
.post-sub { font-size: .7rem; color: var(--muted-soft); }
.post-media { height: 170px; background: linear-gradient(135deg, var(--primary-tint), var(--accent2-bg)); display: flex; align-items: center; justify-content: center; }
.post-media svg { width: 40px; height: 40px; color: var(--primary-light); opacity: .6; }
.post-actions { display: flex; gap: 14px; padding: 12px 14px 4px; color: var(--ink-soft); }
.post-actions svg { width: 19px; height: 19px; }
.post-stats { padding: 2px 14px 4px; font-size: .78rem; font-weight: 700; }
.post-caption { padding: 2px 14px 14px; font-size: .78rem; color: var(--ink-soft); line-height: 1.4; }
.post-caption strong { color: var(--ink); }

@media (max-width: 900px) {
  .hero-grid, .steps, .feature-grid, .pricing-grid { grid-template-columns: 1fr; }
  .demo-body { grid-template-columns: 1fr; }
  .demo-left { border-right: none; border-bottom: 1px solid var(--border-soft); }
  .cta-band { padding: 40px 24px; }
  .hero { padding: 130px 20px 48px; }
}
