@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&family=Outfit:wght@300;400;500;600;700&family=Syne:wght@700;800&display=swap');

:root {
  --bg-base: #04060a;
  --bg-deep: #070a12;
  --bg-card: rgba(11, 16, 28, 0.72);
  --bg-card-hover: rgba(16, 24, 42, 0.88);
  --bg-card-solid: #0d1322;
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-glow: rgba(0, 255, 136, 0.35);
  --border-cyan: rgba(0, 240, 255, 0.3);
  --accent-green: #00ff88;
  --accent-cyan: #00f0ff;
  --accent-glow: 0 0 25px rgba(0, 255, 136, 0.45);
  --cyan-glow: 0 0 25px rgba(0, 240, 255, 0.4);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --font-display: 'Syne', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --container-max: 1240px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-base);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-base);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(0, 255, 136, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 100% 40%, rgba(0, 240, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 0% 75%, rgba(0, 255, 136, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Cyber scanlines overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), 
              linear-gradient(90deg, rgba(255, 0, 0, 0.015), rgba(0, 255, 0, 0.01), rgba(0, 255, 0, 0.015));
  background-size: 100% 4px, 6px 100%;
  pointer-events: none;
  z-index: 99;
  opacity: 0.55;
}

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

::selection {
  background: var(--accent-green);
  color: #000;
}

/* ========================================================
   HEADER & NAVIGATION
======================================================== */
.shodan-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(4, 6, 10, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.shodan-header.scrolled {
  background: rgba(4, 6, 10, 0.94);
  border-bottom: 1px solid rgba(0, 255, 136, 0.22);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0.95rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.logo-badge {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 240, 255, 0.1));
  border: 1px solid var(--accent-green);
  box-shadow: 0 0 12px rgba(0, 255, 136, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent-green);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.2;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent-cyan);
  letter-spacing: 0.08em;
}

/* Desktop Nav Links */
.nav-desktop {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.nav-item a {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  position: relative;
  padding: 0.4rem 0;
}

.nav-item a:hover {
  color: var(--accent-green);
}

.nav-item a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-green);
  transition: width 0.25s ease;
}

.nav-item a:hover::after {
  width: 100%;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-shrink: 0;
}

.sys-beacon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: rgba(0, 255, 136, 0.06);
  border: 1px solid rgba(0, 255, 136, 0.2);
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  color: var(--accent-green);
}

.sys-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.btn-header-cta {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  background: transparent;
  color: var(--accent-green);
  border: 1px solid var(--accent-green);
  box-shadow: 0 0 12px rgba(0, 255, 136, 0.2);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-header-cta:hover {
  background: var(--accent-green);
  color: #04060a;
  box-shadow: 0 0 25px rgba(0, 255, 136, 0.6);
  transform: translateY(-2px);
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  background: rgba(0, 255, 136, 0.06);
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  transition: all 0.25s ease;
  z-index: 1000;
}

.mobile-toggle .bar {
  width: 22px;
  height: 2px;
  background-color: var(--text-main);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-toggle:hover,
.mobile-toggle:active {
  background: rgba(0, 255, 136, 0.15);
  border-color: var(--accent-green);
}

.mobile-toggle.active {
  border-color: var(--accent-green);
  background: rgba(0, 255, 136, 0.15);
}

.mobile-toggle.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background-color: var(--accent-green);
}

.mobile-toggle.active .bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background-color: var(--accent-green);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  height: calc(100dvh - 60px);
  background: rgba(4, 6, 11, 0.97);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-bottom: 1px solid rgba(0, 255, 136, 0.25);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.9);
  padding: 2rem 1.5rem 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s ease;
  overflow-y: auto;
  z-index: 999;
}

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

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  display: block;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-link:hover {
  color: var(--accent-green);
  padding-left: 0.5rem;
}

.mobile-drawer-footer {
  margin-top: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-firm-info {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.mobile-cta {
  width: 100%;
  justify-content: center;
  text-align: center;
}

/* ========================================================
   HERO SECTION
======================================================== */
.hero-section {
  position: relative;
  min-height: 88vh;
  padding-top: 5rem;
  padding-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.shodan-canvas-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

#shodan-canvas {
  width: 100%;
  height: 100%;
  display: block;
  touch-action: pan-y;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center 45%, transparent 35%, var(--bg-base) 85%);
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1050px;
  margin: 0 auto;
  padding: 1.75rem 1.75rem 1rem 1.75rem;
  text-align: center;
  pointer-events: none;
}

.hero-content * {
  pointer-events: auto;
}

.hero-protocol-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--accent-green);
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.35);
  padding: 0.45rem 1.2rem;
  border-radius: 4px;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.15);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.9);
}

.title-gradient {
  background: linear-gradient(135deg, #ffffff 20%, var(--accent-green) 65%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-glitch-line {
  font-family: var(--font-mono);
  font-size: clamp(0.9rem, 1.8vw, 1.2rem);
  color: var(--accent-cyan);
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
  min-height: 1.8em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.hero-desc {
  max-width: 760px;
  margin: 0 auto 1.75rem auto;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.7;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.hero-desc strong {
  color: #fff;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.btn-primary {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 1.85rem;
  border-radius: 6px;
  background: var(--accent-green);
  color: #04060a;
  border: 1px solid var(--accent-green);
  box-shadow: 0 0 25px rgba(0, 255, 136, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary:hover {
  background: #26ff9a;
  box-shadow: 0 0 40px rgba(0, 255, 136, 0.75);
  transform: translateY(-2px);
}

.btn-secondary {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 1.85rem;
  border-radius: 6px;
  background: rgba(14, 20, 33, 0.75);
  color: #fff;
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.3);
  transform: translateY(-2px);
}

.shodan-ctrl-hud {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  flex-wrap: wrap;
}

.hud-pill {
  background: rgba(4, 6, 10, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hud-pill span.val {
  color: var(--accent-green);
  font-weight: 700;
}

/* ========================================================
   METRICS BANNER
======================================================== */
.metrics-strip {
  width: 100%;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(12px);
  position: relative;
  z-index: 10;
}

.metrics-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1.5rem 1.75rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border-left: 2px solid rgba(0, 255, 136, 0.35);
  padding-left: 1.25rem;
}

.metric-num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
}

.metric-num .highlight {
  color: var(--accent-green);
}

.metric-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ========================================================
   SECTION HEADINGS & COMMONS
======================================================== */
.section-wrap {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 2.75rem 1.75rem;
  position: relative;
  z-index: 10;
  scroll-margin-top: 4.5rem;
}

.section-head {
  margin-bottom: 2rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-green);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1rem;
  overflow-wrap: break-word;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.65;
}

/* ========================================================
   BENTO GRID SERVICES (SYNBRAND STYLE)
======================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.bento-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.85rem;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-green), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.bento-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 255, 136, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 255, 136, 0.1);
}

.bento-card:hover::before {
  opacity: 1;
}

.card-span-7 {
  grid-column: span 7;
}

.card-span-5 {
  grid-column: span 5;
}

.card-span-6 {
  grid-column: span 6;
}

.card-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent-green);
  margin-bottom: 1.5rem;
}

.card-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--accent-cyan);
  margin-bottom: 0.85rem;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.9rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.card-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.card-features li {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.card-features li::before {
  content: "▹";
  color: var(--accent-green);
  font-weight: 700;
}

/* ========================================================
   TECH STACK SECTION
======================================================== */
.stack-section {
  background: rgba(5, 8, 14, 0.92);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1.25rem;
}

.stack-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 1.6rem 1.25rem;
  text-align: center;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.stack-item:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.06);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
  transform: translateY(-3px);
}

.stack-icon {
  font-size: 2rem;
}

.stack-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
}

.stack-role {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* ========================================================
   ABOUT SECTION & COMPANY CARD
======================================================== */
.about-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2.25rem;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.25rem;
  align-items: center;
}

.about-text h3 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.about-text p {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.firm-data-card {
  background: rgba(4, 6, 10, 0.88);
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: 12px;
  padding: 2.25rem;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.55);
}

.firm-data-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-green);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.firm-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.95rem;
  font-size: 0.9rem;
  gap: 1rem;
}

.firm-row span.label {
  color: var(--text-dim);
  font-family: var(--font-mono);
  white-space: nowrap;
}

.firm-row span.val {
  color: #fff;
  font-weight: 600;
  font-family: var(--font-mono);
  text-align: right;
  word-break: break-word;
}

#o-firmie.section-wrap {
  padding-bottom: 1.5rem;
}

/* ========================================================
   CONTACT SECTION
======================================================== */
#kontakt.section-wrap {
  padding-top: 2.25rem;
  padding-bottom: 3.5rem;
  scroll-margin-top: 4.5rem;
}

#kontakt .section-head {
  margin-top: 0;
  margin-bottom: 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 2rem;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.contact-method-item {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: 1.1rem 1.35rem;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  transition: all 0.25s ease;
}

.contact-method-item:hover {
  border-color: var(--accent-green);
  transform: translateX(4px);
  background: rgba(0, 255, 136, 0.05);
}

.contact-icon {
  font-size: 1.4rem;
  color: var(--accent-green);
  flex-shrink: 0;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
}

.contact-val {
  font-family: var(--font-mono);
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #cbd5e1;
  margin-bottom: 0.45rem;
  letter-spacing: 0.04em;
}

.form-control {
  width: 100%;
  background: rgba(4, 6, 10, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 0.85rem 1.1rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem; /* 16px min prevents iOS Safari auto-zoom */
  outline: none;
  transition: all 0.25s ease;
}

.form-control:focus {
  border-color: var(--accent-green);
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.25);
  background: rgba(4, 6, 10, 0.95);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* ========================================================
   FOOTER
======================================================== */
.shodan-footer {
  border-top: 1px solid var(--border-subtle);
  background: #020407;
  padding: 1.75rem 1.75rem;
  position: relative;
  z-index: 10;
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.footer-status {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-green);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ========================================================
   RESPONSIVE BREAKPOINTS (MOBILE & TABLET EXCELLENCE)
======================================================== */

@media (max-width: 1100px) {
  .nav-links {
    gap: 1.4rem;
  }
  .card-span-7, .card-span-5 {
    grid-column: span 12;
  }
  .about-box {
    grid-template-columns: 1fr;
    padding: 2.25rem;
    gap: 2rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .metrics-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 880px) {
  .nav-desktop {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .sys-beacon {
    display: none;
  }
  .btn-header-cta {
    display: none;
  }
  .card-span-6 {
    grid-column: span 12;
  }
  .header-inner {
    padding: 0.75rem 1.25rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding-top: 5.5rem;
    padding-bottom: 3rem;
  }
  .hero-content {
    padding: 1rem 1rem 0.5rem 1rem;
  }
  .hero-protocol-tag {
    font-size: 0.68rem;
    padding: 0.35rem 0.75rem;
    letter-spacing: 0.05em;
    max-width: 100%;
    white-space: normal;
    line-height: 1.4;
    word-break: break-word;
    margin-bottom: 1rem;
  }
  .hero-title {
    font-size: clamp(1.85rem, 7vw, 2.75rem);
    line-height: 1.15;
    margin-bottom: 0.85rem;
  }
  .hero-glitch-line {
    font-size: 0.85rem;
    min-height: 2.2em;
    text-align: center;
    justify-content: center;
    margin-bottom: 1rem;
  }
  .hero-desc {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
    padding: 0 0.25rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
  }
  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.25rem;
    font-size: 0.88rem;
  }
  .shodan-ctrl-hud {
    gap: 0.5rem;
    justify-content: center;
  }
  .hud-pill {
    font-size: 0.65rem;
    padding: 0.25rem 0.6rem;
  }

  /* Metrics */
  .metrics-strip {
    padding: 0;
  }
  .metrics-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 0.85rem;
    padding: 1.25rem 1rem;
  }
  .metric-item {
    padding-left: 0.85rem;
  }
  .metric-num {
    font-size: 1.55rem;
  }
  .metric-label {
    font-size: 0.7rem;
    line-height: 1.35;
  }

  /* Sections */
  .section-wrap {
    padding: 3.25rem 1.15rem;
  }
  .section-head {
    margin-bottom: 1.5rem;
  }
  .section-tag {
    font-size: 0.72rem;
    margin-bottom: 0.5rem;
  }
  .section-title {
    font-size: clamp(1.65rem, 6vw, 2.2rem);
    line-height: 1.2;
    margin-bottom: 0.75rem;
  }
  .section-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  /* Bento Grid */
  .bento-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }
  .bento-card {
    padding: 1.4rem 1.15rem;
    border-radius: 12px;
  }
  .card-icon-wrap {
    width: 46px;
    height: 46px;
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
  .card-title {
    font-size: 1.35rem;
    line-height: 1.25;
    margin-bottom: 0.75rem;
  }
  .card-desc {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
  }
  .card-features {
    padding-top: 1rem;
    gap: 0.5rem;
  }
  .card-features li {
    font-size: 0.78rem;
  }

  /* Tech Stack Grid */
  .stack-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .stack-item {
    padding: 1.1rem 0.75rem;
    border-radius: 8px;
    gap: 0.5rem;
  }
  .stack-icon {
    font-size: 1.6rem;
  }
  .stack-name {
    font-size: 0.88rem;
  }
  .stack-role {
    font-size: 0.65rem;
  }

  /* About Box & Firm Data */
  .about-box {
    padding: 1.4rem 1.15rem;
    gap: 1.5rem;
    border-radius: 12px;
  }
  .about-text h3 {
    font-size: 1.35rem;
    margin-bottom: 0.85rem;
  }
  .about-text p {
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 0.85rem;
  }
  .firm-data-card {
    padding: 1.25rem 1rem;
    border-radius: 10px;
  }
  .firm-data-title {
    font-size: 0.72rem;
    margin-bottom: 1rem;
  }
  .firm-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    margin-bottom: 0.8rem;
  }
  .firm-row span.label {
    font-size: 0.72rem;
  }
  .firm-row span.val {
    font-size: 0.86rem;
    text-align: left;
  }

  /* Contact & Form */
  .contact-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }
  .contact-info-card, .contact-form-card {
    padding: 1.35rem 1.15rem;
    border-radius: 12px;
  }
  .turnstile-box {
    max-width: 100%;
    overflow-x: auto;
  }
  .form-control {
    font-size: 16px; /* Prevents auto-zoom on iOS */
    padding: 0.75rem 0.9rem;
  }

  /* Footer */
  .shodan-footer {
    padding: 1.75rem 1.15rem;
  }
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.85rem;
  }
  .footer-copy {
    font-size: 0.74rem;
    text-align: center;
    line-height: 1.55;
  }
  .footer-status {
    font-size: 0.7rem;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .header-inner {
    padding: 0.65rem 1rem;
  }
  .brand-title {
    font-size: 0.98rem;
  }
  .brand-sub {
    font-size: 0.62rem;
  }
  .logo-badge {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
  }
  .hero-title {
    font-size: 1.75rem;
  }
  .metrics-inner {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .stack-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  .stack-item {
    padding: 0.85rem 0.5rem;
  }
  .stack-name {
    font-size: 0.8rem;
  }
  .bento-card, .contact-info-card, .contact-form-card, .about-box {
    padding: 1.15rem 0.95rem;
  }
}
