/* Ghotz Panel — modern auth dashboard theme */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --ghotz-bg: #0f0406;
  --ghotz-bg-elevated: #18080c;
  --ghotz-surface: #161014;
  --ghotz-surface-2: #22181c;
  --ghotz-border: rgba(255, 255, 255, 0.08);
  --ghotz-border-strong: rgba(255, 80, 80, 0.18);
  --ghotz-text: #f8f4f4;
  --ghotz-muted: #9a8a8e;
  --ghotz-accent: #ef4444;
  --ghotz-accent-bright: #ff5c5c;
  --ghotz-accent-dark: #b91c1c;
  --ghotz-cyan: var(--ghotz-accent);
  --ghotz-violet: #f87171;
  --ghotz-magenta: #fb7185;
  --ghotz-gradient: linear-gradient(135deg, #ff6b6b 0%, #ef4444 35%, #dc2626 65%, #991b1b 100%);
  --ghotz-gradient-soft: linear-gradient(135deg, rgba(239, 68, 68, 0.25) 0%, rgba(185, 28, 28, 0.08) 100%);
  --ghotz-glow: 0 0 50px rgba(239, 68, 68, 0.35), 0 0 90px rgba(220, 38, 38, 0.15);
  --ghotz-glow-sm: 0 0 24px rgba(239, 68, 68, 0.25);
  --ghotz-radius: 14px;
  --ghotz-radius-lg: 20px;
  --ghotz-font: 'Outfit', system-ui, sans-serif;
  --ghotz-sidebar-w: 16rem;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.ghotz-body,
body.ghotz-auth,
html.ghotz-html {
  font-family: var(--ghotz-font) !important;
  background-color: var(--ghotz-bg) !important;
  color: var(--ghotz-text) !important;
}

/* Ambient background */
.ghotz-bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 15% -10%, rgba(239, 68, 68, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 45% at 95% 5%, rgba(220, 38, 38, 0.16), transparent 50%),
    radial-gradient(ellipse 55% 35% at 50% 100%, rgba(127, 29, 29, 0.2), transparent 55%),
    var(--ghotz-bg);
  animation: ghotz-mesh-pulse 8s ease-in-out infinite alternate;
}

@keyframes ghotz-mesh-pulse {
  0% { opacity: 1; filter: brightness(1); }
  100% { opacity: 0.92; filter: brightness(1.08); }
}

.ghotz-bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

/* Brand */
.ghotz-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--ghotz-text);
}

.ghotz-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.ghotz-logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--ghotz-gradient);
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 800;
  color: #06060b;
  box-shadow: var(--ghotz-glow);
}

.ghotz-logo-text span {
  background: var(--ghotz-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ghotz-gradient-text {
  background: var(--ghotz-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Nav */
.ghotz-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(6, 6, 11, 0.75);
  border-bottom: 1px solid var(--ghotz-border);
}

.ghotz-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ghotz-nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 1024px) {
  .ghotz-nav-links { display: flex; }
}

.ghotz-nav-links a {
  color: var(--ghotz-muted);
  text-decoration: none;
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}

.ghotz-nav-links a:hover {
  color: var(--ghotz-text);
  background: rgba(255, 255, 255, 0.05);
}

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

/* Buttons */
.ghotz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.15rem;
  border-radius: 11px;
  font-family: var(--ghotz-font);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, opacity 0.2s;
}

.ghotz-btn:active { transform: scale(0.98); }

.ghotz-btn-primary {
  background: var(--ghotz-gradient);
  color: #fff !important;
  box-shadow: var(--ghotz-glow-sm);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.ghotz-btn-primary:hover {
  box-shadow: var(--ghotz-glow);
  filter: brightness(1.08);
  opacity: 1;
}

.ghotz-btn-ghost {
  background: transparent;
  color: var(--ghotz-text) !important;
  border: 1px solid var(--ghotz-border-strong);
}

.ghotz-btn-ghost:hover {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.35);
  color: var(--ghotz-accent-bright) !important;
}

.ghotz-btn-discord {
  background: #5865f2;
  color: #fff !important;
  width: 100%;
}

.ghotz-btn-discord:hover { opacity: 0.9; }

/* Cards */
.ghotz-card {
  background: rgba(22, 16, 20, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid var(--ghotz-border);
  border-radius: var(--ghotz-radius-lg);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(239, 68, 68, 0.06);
}

.ghotz-card-padded {
  padding: 2rem;
}

/* Auth layout */
.ghotz-auth-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .ghotz-auth-wrap {
    grid-template-columns: 1fr 1fr;
  }
}

.ghotz-auth-hero {
  display: flex;
  padding: 2rem 1.25rem 0;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

@media (min-width: 1024px) {
  .ghotz-auth-hero {
    padding: 4rem 3rem 4rem 5rem;
  }
}

.ghotz-auth-hero h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.ghotz-auth-hero p {
  color: var(--ghotz-muted);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 28rem;
}

.ghotz-auth-form-col {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem 4rem;
}

.ghotz-auth-form-col .ghotz-card {
  width: 100%;
  max-width: 420px;
}

.ghotz-stat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2rem;
}

.ghotz-pill {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--ghotz-border);
  color: var(--ghotz-muted);
}

.ghotz-pill strong {
  color: var(--ghotz-cyan);
  font-weight: 600;
}

/* Form inputs — enhance existing peer inputs */
.ghotz-auth-form-col input[type="text"],
.ghotz-auth-form-col input[type="password"],
.ghotz-auth-form-col input[type="email"] {
  border-color: var(--ghotz-border-strong) !important;
  border-radius: 12px !important;
  background: rgba(6, 6, 11, 0.6) !important;
}

.ghotz-auth-form-col input:focus {
  border-color: var(--ghotz-accent) !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.22), 0 0 20px rgba(239, 68, 68, 0.12) !important;
}

.ghotz-auth-form-col label {
  background: var(--ghotz-surface) !important;
}

.ghotz-auth-form-col button[name="login"],
.ghotz-auth-form-col button[type="submit"],
.ghotz-auth-form-col button[name="register"] {
  background: var(--ghotz-gradient) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  box-shadow: var(--ghotz-glow-sm) !important;
}

.ghotz-auth-form-col button[name="login"]:hover {
  opacity: 0.92 !important;
  color: #06060b !important;
}

.ghotz-auth-form-col a.text-blue-500,
.ghotz-auth-form-col .text-blue-500 {
  color: var(--ghotz-cyan) !important;
}

/* Landing */
.ghotz-hero {
  padding: 5rem 1.25rem 4rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.ghotz-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 1.25rem;
}

.ghotz-hero .lead {
  font-size: 1.15rem;
  color: var(--ghotz-muted);
  max-width: 36rem;
  margin: 0 auto 2rem;
  line-height: 1.65;
}

.ghotz-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.ghotz-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
}

.ghotz-section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.ghotz-section-sub {
  text-align: center;
  color: var(--ghotz-muted);
  margin-bottom: 2.5rem;
}

.ghotz-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.ghotz-feature-card {
  padding: 1.5rem;
  border-radius: var(--ghotz-radius);
  background: var(--ghotz-surface);
  border: 1px solid var(--ghotz-border);
  transition: border-color 0.2s, transform 0.2s;
}

.ghotz-feature-card:hover {
  border-color: rgba(239, 68, 68, 0.45);
  transform: translateY(-3px);
  box-shadow: var(--ghotz-glow-sm);
}

.ghotz-feature-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.15);
  color: var(--ghotz-accent-bright);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.ghotz-feature-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.ghotz-feature-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ghotz-muted);
  line-height: 1.55;
}

.ghotz-footer {
  border-top: 1px solid var(--ghotz-border);
  padding: 2.5rem 1.25rem;
  margin-top: 3rem;
}

.ghotz-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}

.ghotz-footer p {
  margin: 0;
  color: var(--ghotz-muted);
  font-size: 0.875rem;
}

/* ─── Dashboard overrides ─── */
body.ghotz-dashboard {
  background: var(--ghotz-bg) !important;
}

body.ghotz-dashboard #sidebar,
body.ghotz-dashboard #sidebar > div {
  background: var(--ghotz-surface) !important;
  border-color: var(--ghotz-border) !important;
}

body.ghotz-dashboard nav.fixed {
  background: rgba(12, 12, 20, 0.9) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ghotz-border) !important;
}

body.ghotz-dashboard #main-content,
body.ghotz-dashboard .flex.overflow-hidden {
  background:
    radial-gradient(ellipse 90% 60% at 80% 0%, rgba(239, 68, 68, 0.14), transparent 50%),
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(127, 29, 29, 0.2), transparent 55%),
    var(--ghotz-bg) !important;
}

/* Credential code panels (was purple #7928bf) */
body.ghotz-dashboard .ghotz-creds-panel,
.ghotz-creds-panel {
  background: linear-gradient(145deg, #4a1518 0%, #2a0a0e 45%, #140406 100%) !important;
  border: 1px solid rgba(239, 68, 68, 0.4) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 120, 120, 0.08) !important;
}

body.ghotz-dashboard .ghotz-creds-panel pre,
body.ghotz-dashboard .ghotz-creds-pre,
.ghotz-creds-panel pre {
  background: transparent !important;
  color: #fecaca !important;
}

body.ghotz-dashboard .ghotz-creds-btn,
.ghotz-creds-btn {
  background: linear-gradient(135deg, #ef4444, #991b1b) !important;
  border: 1px solid rgba(255, 150, 150, 0.25) !important;
  color: #fff !important;
}

.ghotz-hwid-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.ghotz-hwid-badge--on {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.45);
}

.ghotz-hwid-badge--warn {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.4);
}

.ghotz-hwid-badge--off {
  background: rgba(107, 114, 128, 0.2);
  color: #9ca3af;
  border: 1px solid rgba(107, 114, 128, 0.35);
}

body.ghotz-dashboard .ghotz-creds-btn:hover {
  filter: brightness(1.1);
  opacity: 1 !important;
}

body.ghotz-dashboard #sidebar a:hover,
body.ghotz-dashboard #sidebar button:hover {
  background: rgba(239, 68, 68, 0.14) !important;
  color: var(--ghotz-accent-bright) !important;
}

body.ghotz-dashboard #sidebar a.flex.items-center {
  border-radius: 10px;
  transition: all 0.2s;
}

body.ghotz-dashboard #sidebar .border-b {
  border-color: var(--ghotz-border) !important;
}

body.ghotz-dashboard #sidebar button[aria-selected="true"],
body.ghotz-dashboard #sidebar button.active {
  color: var(--ghotz-accent-bright) !important;
}

body.ghotz-dashboard .bg-\[\#0f0f17\],
body.ghotz-dashboard .bg-\[\#09090d\] {
  background-color: var(--ghotz-surface) !important;
}

body.ghotz-dashboard .fill-purple-600,
body.ghotz-dashboard .fill-red-600 {
  fill: var(--ghotz-accent) !important;
}

body.ghotz-dashboard .text-purple-500,
body.ghotz-dashboard a.text-purple-500,
body.ghotz-dashboard .text-red-500,
body.ghotz-dashboard a.text-red-500 {
  color: var(--ghotz-accent-bright) !important;
}

body.ghotz-dashboard .hover\:bg-purple-700:hover,
body.ghotz-dashboard .hover\:bg-purple-700 {
  background: rgba(239, 68, 68, 0.18) !important;
}

body.ghotz-dashboard .border-\[\#0f0f17\],
body.ghotz-dashboard .border-\[\#09090d\] {
  border-color: var(--ghotz-border) !important;
}

/* Cards / modals in app pages */
body.ghotz-dashboard .rounded-lg.bg-\[\#0f0f17\],
body.ghotz-dashboard [class*="bg-[#0f0f17]"] {
  background: var(--ghotz-surface) !important;
  border: 1px solid var(--ghotz-border);
}

body.ghotz-dashboard #loader {
  background: var(--ghotz-bg) !important;
}

body.ghotz-dashboard .ghotz-topbar-brand img {
  display: none;
}

body.ghotz-dashboard .ghotz-topbar-brand .ghotz-logo {
  font-size: 1.15rem;
}

body.ghotz-dashboard .ghotz-topbar-links a {
  color: var(--ghotz-muted) !important;
  font-size: 0.8rem;
  padding: 0.4rem 0.65rem !important;
  margin-left: 0 !important;
}

body.ghotz-dashboard .ghotz-topbar-links a:hover {
  color: var(--ghotz-accent-bright) !important;
}

/* Installer */
body.ghotz-install h1 {
  background: var(--ghotz-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.ghotz-install .box {
  background: var(--ghotz-surface) !important;
  border-color: var(--ghotz-border) !important;
}

body.ghotz-install button {
  background: var(--ghotz-gradient) !important;
  color: #fff !important;
  box-shadow: var(--ghotz-glow-sm);
}

/* Mobile nav toggle */
.ghotz-mobile-toggle {
  display: flex;
  background: transparent;
  border: 1px solid var(--ghotz-border);
  color: var(--ghotz-text);
  padding: 0.4rem;
  border-radius: 8px;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .ghotz-mobile-toggle { display: none; }
}

.ghotz-mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1rem;
  border-top: 1px solid var(--ghotz-border);
  gap: 0.25rem;
}

.ghotz-mobile-menu.open { display: flex; }

.ghotz-mobile-menu a {
  color: var(--ghotz-muted);
  text-decoration: none;
  padding: 0.65rem;
  border-radius: 8px;
}

.ghotz-mobile-menu a:hover {
  background: rgba(239, 68, 68, 0.1);
  color: var(--ghotz-accent-bright);
}

/* ─── Red accent — site-wide Tailwind / legacy overrides ─── */
html.ghotz-html a.text-blue-500,
html.ghotz-html .text-blue-500,
.ghotz-auth-form-col .peer-focus\:text-blue-600,
body.ghotz-auth .peer-focus\:text-blue-600 {
  color: var(--ghotz-accent-bright) !important;
}

body.ghotz-dashboard .text-cyan-300,
body.ghotz-dashboard .text-cyan-400,
body.ghotz-dashboard a.text-cyan-400,
body.ghotz-dashboard .hover\:text-cyan-400:hover {
  color: var(--ghotz-accent-bright) !important;
}

body.ghotz-dashboard .bg-\[\#7928bf\],
body.ghotz-dashboard [class*="bg-[#7928bf]"],
body.ghotz-dashboard .ghotz-creds-panel {
  background: linear-gradient(145deg, #4a1518 0%, #2a0a0e 45%, #140406 100%) !important;
  border: 1px solid rgba(239, 68, 68, 0.4) !important;
}

body.ghotz-dashboard .border-purple-700,
body.ghotz-dashboard [class*="border-purple"] {
  border-color: rgba(239, 68, 68, 0.2) !important;
}

.ghotz-nav {
  box-shadow: 0 1px 0 rgba(239, 68, 68, 0.08), 0 8px 32px rgba(0, 0, 0, 0.25);
}

.ghotz-hero::after {
  content: '';
  display: block;
  width: 120px;
  height: 4px;
  margin: 2rem auto 0;
  border-radius: 4px;
  background: var(--ghotz-gradient);
  box-shadow: var(--ghotz-glow-sm);
}

code {
  color: var(--ghotz-accent-bright) !important;
}

/* ─── Pro landing hero ─── */
.ghotz-hero-pro {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 4rem;
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .ghotz-hero-pro {
    grid-template-columns: 1fr 1.05fr;
    padding: 4.5rem 1.25rem 5rem;
  }
}

.ghotz-hero-pro-copy h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 0 1.25rem;
}

.ghotz-hero-pro-copy .lead {
  color: var(--ghotz-muted);
  font-size: 1.125rem;
  line-height: 1.65;
  max-width: 34rem;
  margin: 0 0 1.75rem;
}

.ghotz-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ghotz-accent-bright);
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  margin-bottom: 1.25rem;
}

.ghotz-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ghotz-accent);
  box-shadow: 0 0 12px var(--ghotz-accent);
  animation: ghotz-pulse 1.8s ease-in-out infinite;
}

@keyframes ghotz-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.ghotz-btn-lg {
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
  border-radius: 12px;
}

.ghotz-btn-sm {
  padding: 0.4rem 0.75rem;
  font-size: 0.78rem;
}

.ghotz-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.ghotz-stat {
  padding: 0.85rem 1.1rem;
  border-radius: var(--ghotz-radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--ghotz-border);
  min-width: 7rem;
}

.ghotz-stat strong {
  display: block;
  font-size: 1.1rem;
  color: var(--ghotz-accent-bright);
  margin-bottom: 0.15rem;
}

.ghotz-stat span {
  font-size: 0.8rem;
  color: var(--ghotz-muted);
}

.ghotz-hero-mockup {
  position: relative;
  perspective: 1200px;
}

.ghotz-mockup-glow {
  position: absolute;
  inset: 10% 5% 0;
  background: radial-gradient(ellipse at center, rgba(239, 68, 68, 0.35), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.ghotz-mockup-window {
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(239, 68, 68, 0.25);
  background: linear-gradient(165deg, #1a1012 0%, #0c0809 100%);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55), var(--ghotz-glow-sm);
  transform: rotateY(-8deg) rotateX(4deg);
  overflow: hidden;
}

.ghotz-mockup-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--ghotz-border);
  background: rgba(0, 0, 0, 0.35);
}

.ghotz-mockup-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.5);
}

.ghotz-mockup-bar span:nth-child(2) { background: rgba(251, 113, 133, 0.45); }
.ghotz-mockup-bar span:nth-child(3) { background: rgba(255, 255, 255, 0.15); }

.ghotz-mockup-bar em {
  margin-left: auto;
  font-size: 0.7rem;
  font-style: normal;
  color: var(--ghotz-muted);
}

.ghotz-mockup-body {
  display: grid;
  grid-template-columns: 72px 1fr;
  min-height: 220px;
}

.ghotz-mockup-sidebar {
  background: rgba(239, 68, 68, 0.06);
  border-right: 1px solid var(--ghotz-border);
}

.ghotz-mockup-main {
  padding: 1.25rem;
}

.ghotz-mockup-line {
  height: 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 0.75rem;
}

.ghotz-mockup-line.w90 { width: 90%; }
.ghotz-mockup-line.w70 { width: 70%; }

.ghotz-mockup-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-top: 1rem;
}

.ghotz-mockup-cards div {
  height: 56px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(127, 29, 29, 0.15));
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.ghotz-feature-pro {
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.ghotz-feature-pro:hover {
  transform: translateY(-4px);
  border-color: rgba(239, 68, 68, 0.35);
  box-shadow: var(--ghotz-glow-sm);
}

.ghotz-feature-pro .icon {
  color: var(--ghotz-accent-bright);
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.ghotz-cta-band {
  padding-top: 0;
}

.ghotz-cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  border-color: rgba(239, 68, 68, 0.2);
}

.ghotz-cta-inner h2 {
  font-size: 1.85rem;
  font-weight: 800;
  margin: 0 0 0.75rem;
}

.ghotz-cta-inner p {
  color: var(--ghotz-muted);
  margin: 0 0 1.5rem;
}

.ghotz-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ghotz-alert-banner {
  max-width: 1200px;
  margin: 0 auto 0;
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  background: rgba(127, 29, 29, 0.45);
  border: 1px solid rgba(239, 68, 68, 0.45);
  border-radius: var(--ghotz-radius);
  margin-top: 0.75rem;
  margin-left: 1.25rem;
  margin-right: 1.25rem;
}

.ghotz-alert-banner strong {
  color: #fecaca;
  font-size: 0.9rem;
}

.ghotz-alert-banner p {
  flex: 1;
  margin: 0;
  font-size: 0.85rem;
  color: #fca5a5;
  min-width: 200px;
}

.ghotz-nav {
  background: rgba(8, 6, 8, 0.88) !important;
}

/* Desktop-only nav CTAs (shown in mobile menu instead) */
@media (max-width: 1023px) {
  .ghotz-nav-desktop-only {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .ghotz-mobile-toggle {
    display: none !important;
  }
}

@media (max-width: 639px) {
  .ghotz-logo-text {
    display: none;
  }

  .ghotz-nav-inner {
    padding: 0.65rem 0.85rem;
    gap: 0.35rem;
  }

  .ghotz-logo-img {
    width: 36px;
    height: 36px;
  }

  .ghotz-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ghotz-hero-actions .ghotz-btn {
    width: 100%;
    justify-content: center;
  }

  .ghotz-stat-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .ghotz-stat {
    min-width: 0;
    width: 100%;
  }
}

/* Full-width content pages (contact, terms, privacy) */
.ghotz-page-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
  width: 100%;
}

.ghotz-page-card {
  width: 100%;
}

.ghotz-page-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  margin: 0 0 0.5rem;
}

.ghotz-page-lead {
  color: var(--ghotz-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 0 1.5rem;
}

.ghotz-page-links {
  margin-top: 1.25rem;
  font-size: 0.9rem;
}

.ghotz-page-links a {
  color: var(--ghotz-accent-bright);
  text-decoration: none;
}

.ghotz-page-links a:hover {
  text-decoration: underline;
}

.ghotz-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ghotz-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.ghotz-field > span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ghotz-muted);
}

.ghotz-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 11px;
  border: 1px solid var(--ghotz-border-strong);
  background: rgba(0, 0, 0, 0.35);
  color: var(--ghotz-text);
  font-family: var(--ghotz-font);
  font-size: 1rem;
  line-height: 1.4;
}

.ghotz-input:focus {
  outline: none;
  border-color: rgba(239, 68, 68, 0.55);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

textarea.ghotz-input {
  resize: vertical;
  min-height: 140px;
}

.ghotz-alert-success {
  color: #4ade80;
  margin: 1rem 0 0;
}

.ghotz-alert-error {
  color: #f87171;
  margin: 0 0 0.5rem;
}

body:not(.ghotz-dashboard) {
  min-height: 100vh;
  margin: 0;
  max-width: none !important;
}

/* Part 8 AI prompt — override KeyAuth dashboard textarea (white bg / invisible text) */
.ghotz-ai-prompt-box,
.ghotz-owner-wrap .ghotz-ai-prompt-box,
#main-content .ghotz-ai-prompt-box,
textarea.ghotz-ai-prompt-box {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  max-height: 70vh;
  overflow: auto;
  overflow-wrap: anywhere;
  margin: 0;
  padding: 1rem 1.25rem;
  box-sizing: border-box;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: #f3e8e8 !important;
  -webkit-text-fill-color: #f3e8e8 !important;
  background: #0a0a12 !important;
  background-color: #0a0a12 !important;
  border: 1px solid rgba(239, 68, 68, 0.35) !important;
  border-radius: 0.75rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  direction: ltr;
  text-align: left;
  unicode-bidi: isolate;
  white-space: pre-wrap;
  word-break: break-word;
  caret-color: #f87171;
}

textarea.ghotz-ai-prompt-box {
  min-height: 28rem;
  resize: vertical;
}

pre.ghotz-ai-prompt-box {
  min-height: 20rem;
  cursor: text;
  user-select: text;
  overflow-x: auto;
}

.ghotz-owner-wrap {
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

body.ghotz-dashboard #main-content main {
  min-width: 0;
}

.ghotz-ai-prompt-box:focus {
  outline: 2px solid rgba(239, 68, 68, 0.45) !important;
  outline-offset: 2px;
}
