/* ============================================================
   HACKTURA CONNECT DESIGN SYSTEM (2026)
   Colors: Red #E3241B, Ink #0B0C0E, Paper #F2EEE9, Mute #8A8A8F, Line #26272B
   Fonts: Anton (Display), Archivo (Body), Permanent Marker (Accents)
   ============================================================ */

:root {
  --red: #E3241B;
  --red-hover: #b81c15;
  --red-glow: rgba(227, 36, 27, 0.25);
  --ink: #0B0C0E;
  --ink-light: #131418;
  --paper: #F2EEE9;
  --mute: #9e9ea4;
  --mute-dim: #707076;
  --line: #26272B;
  --line-light: rgba(255, 255, 255, 0.08);
  --success: #10b981;
  --warn: #f59e0b;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-full: 9999px;
  color-scheme: dark;
  box-sizing: border-box;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 75px;
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 400 16px/1.6 Archivo, system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -120px;
  left: 16px;
  background: var(--red);
  color: #fff;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 14px;
  z-index: 10000;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 14px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Display & Accent Typography */
.d {
  font-family: Anton, Impact, 'Arial Narrow', sans-serif;
  text-transform: uppercase;
  font-weight: 400;
  line-height: .92;
  letter-spacing: .005em;
  margin: 0;
}

.mk {
  font-family: 'Permanent Marker', cursive, sans-serif;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border: 2px solid var(--red);
  font-weight: 600;
  cursor: pointer;
  background: var(--red);
  color: #fff;
  font: 600 15px Archivo, sans-serif;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.btn.o {
  background: transparent;
  color: var(--paper);
  border-color: var(--paper);
}

.btn:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
  transform: translateY(-1px);
}

.btn.o:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.btn:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none !important;
}

/* Navigation */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 12, 14, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background .3s, box-shadow .3s, border-color .3s;
}

nav.scrolled {
  background: rgba(11, 12, 14, .98);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .7);
  border-bottom-color: rgba(227, 36, 27, .35);
}

nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Anton, sans-serif;
  letter-spacing: .04em;
  font-size: 19px;
  color: var(--paper);
}

.logo i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
  display: inline-block;
  flex-shrink: 0;
}

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

nav ul.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14.5px;
}

nav ul.nav-links a {
  position: relative;
  transition: color .2s;
  color: var(--paper);
}

nav ul.nav-links a:hover,
nav ul.nav-links a.active {
  color: var(--red);
}

nav ul.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-pill {
  font-size: 12px;
  font-weight: 600;
  color: var(--mute);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: all .2s;
}

.lang-pill:hover {
  color: var(--paper);
  border-color: var(--mute);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  z-index: 60;
  border-radius: var(--radius-sm);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--paper);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease, background-color .25s ease;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--red);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--red);
}

.nav-drawer {
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(11, 12, 14, .98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .85);
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: transform .25s cubic-bezier(.16, 1, .3, 1), opacity .25s ease, visibility .25s ease;
}

.nav-drawer.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.drawer-inner {
  padding: 22px 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.drawer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.drawer-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  font-family: Anton, Impact, sans-serif;
  font-size: 21px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--paper);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .02);
  border: 1px solid rgba(255, 255, 255, .04);
  transition: all .2s ease;
}

.drawer-item:hover,
.drawer-item:focus {
  background: rgba(227, 36, 27, .12);
  color: var(--red);
  border-color: rgba(227, 36, 27, .3);
}

.drawer-item i {
  font-style: normal;
  font-size: 16px;
  color: var(--mute);
  transition: transform .2s, color .2s;
}

.drawer-item:hover i {
  transform: translateX(4px);
  color: var(--red);
}

.badge-mini {
  font-family: Archivo, sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: var(--red);
  color: #fff;
  letter-spacing: 0;
  text-transform: none;
}

.drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.drawer-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--mute);
  padding: 8px 0;
  transition: color .2s;
}

.drawer-wa:hover {
  color: var(--paper);
}

/* Sections */
section {
  padding: 96px 0;
  border-top: 1px solid var(--line);
}

/* Hero */
.hero {
  border: 0;
  padding: 76px 0 84px;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: clamp(56px, 13vw, 185px);
  color: var(--red);
  margin: 0;
}

.hero h1 span {
  display: block;
}

.hero h1 .w {
  color: var(--paper);
}

.scrawl {
  position: absolute;
  right: 4%;
  top: 44%;
  transform: rotate(-6deg);
  font-size: clamp(22px, 4.2vw, 50px);
  color: var(--paper);
  text-shadow: 3px 3px 0 var(--ink);
  line-height: 1.05;
  pointer-events: none;
}

.hero-b {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  margin-top: 44px;
  align-items: end;
}

.hero-b p {
  margin: 0 0 24px;
  max-width: 56ch;
  font-size: 18px;
  color: var(--paper);
}

.hero-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.mission {
  border-left: 3px solid var(--red);
  padding-left: 18px;
  color: var(--mute);
  font-size: 15.5px;
}

.mission b {
  color: var(--paper);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

/* Headings */
h2.d {
  font-size: clamp(44px, 8vw, 104px);
  margin-bottom: 40px;
  color: var(--paper);
}

h2.d em {
  font-style: normal;
  color: var(--red);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 44px;
}

.section-tag {
  color: var(--red);
  font-size: 18px;
  display: block;
  margin-bottom: 8px;
}

.section-lead {
  margin: 0;
  max-width: 52ch;
  color: var(--mute);
  font-size: 16px;
}

/* About Grid */
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.two p {
  margin: 0 0 18px;
  max-width: 60ch;
  color: #d1cfcb;
  font-size: 16px;
}

.vm div {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

.vm h3,
.svc h3,
.pc h3 {
  font: 400 26px/1 Anton, sans-serif;
  text-transform: uppercase;
  margin: 0 0 8px;
  color: var(--paper);
}

.vm p {
  margin: 0;
  color: var(--mute);
  font-size: 15px;
}

.vals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.vals span {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 14px;
  color: var(--paper);
}

/* Services Grid & Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 22px;
}

.svc {
  background: linear-gradient(180deg, #141519 0%, #0e0f12 100%);
  border: 1px solid var(--line);
  padding: 28px 24px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  scroll-margin-top: 80px;
}

.svc::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.svc:hover {
  transform: translateY(-6px);
  border-color: rgba(227, 36, 27, .6);
  box-shadow: 0 18px 36px rgba(0, 0, 0, .6), 0 0 24px rgba(227, 36, 27, .12);
}

.svc:hover::before {
  transform: scaleX(1);
}

.svc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.svc-num {
  font: 400 20px Anton, sans-serif;
  color: var(--red);
  letter-spacing: .05em;
}

.svc-ico {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(227, 36, 27, .1);
  border: 1px solid rgba(227, 36, 27, .25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  transition: all .25s ease;
}

.svc:hover .svc-ico {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  transform: scale(1.05);
}

.svc-ico svg {
  width: 22px;
  height: 22px;
}

.svc h3 {
  font: 400 24px/1.15 Anton, sans-serif;
  letter-spacing: .02em;
  margin: 0 0 10px;
  color: var(--paper);
}

.svc-desc {
  color: var(--mute);
  font-size: 13.5px;
  line-height: 1.45;
  margin: 0 0 18px;
}

.svc ul {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  flex-grow: 1;
}

.svc li {
  color: #c4c4cc;
  padding: 6px 0;
  border-top: 1px solid rgba(255, 255, 255, .05);
  display: flex;
  align-items: center;
  gap: 8px;
}

.svc li::before {
  content: "›";
  color: var(--red);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
}

.svc-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px dashed var(--line);
  padding-top: 12px;
  margin-top: auto;
  gap: 8px;
}

.svc-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 600 13px Archivo, sans-serif;
  color: var(--red);
  background: transparent;
  border: 0;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: color .2s, gap .2s;
  padding: 0;
}

.svc-cta:hover {
  color: var(--paper);
  gap: 10px;
}

.svc-learn {
  font-size: 12px;
  color: var(--mute);
  transition: color .2s;
}

.svc-learn:hover {
  color: var(--paper);
  text-decoration: underline;
}

/* Community Spotlight */
.comm-banner {
  background: linear-gradient(180deg, #131418 0%, #0c0d10 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px 42px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6);
  width: 100%;
}

.comm-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
}

.comm-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  background: rgba(227, 36, 27, .12);
  border: 1px solid rgba(227, 36, 27, .35);
  color: #ff5252;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 24px;
}

.comm-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: beaconPulse 1.2s infinite;
}

.comm-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.comm-title {
  font-size: clamp(38px, 6.8vw, 86px);
  margin-bottom: 20px;
  line-height: .95;
}

.comm-lead {
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--mute);
  margin: 0 0 24px;
  max-width: 54ch;
}

.comm-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.comm-tags span {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  color: var(--paper);
}

.comm-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.comm-card {
  background: #090a0d;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  position: relative;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .6);
  width: 100%;
}

.comm-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  gap: 10px;
}

.comm-tag {
  font-size: 11px;
  color: var(--mute);
  letter-spacing: .08em;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.comm-live {
  font-size: 11px;
  font-weight: 700;
  color: #10b981;
  letter-spacing: .05em;
  white-space: nowrap;
}

.comm-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 22px;
  width: 100%;
}

.cs-item {
  padding: 14px;
  background: rgba(255, 255, 255, .02);
  border: 1px solid rgba(255, 255, 255, .05);
  border-radius: var(--radius-md);
  min-width: 0;
}

.cs-num {
  font: 400 26px/1 Anton, sans-serif;
  color: var(--red);
  margin-bottom: 6px;
  letter-spacing: .02em;
}

.cs-lbl {
  font-size: 12px;
  color: var(--mute);
  line-height: 1.35;
}

.comm-linkbox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #131418;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  gap: 12px;
  width: 100%;
}

.cl-info {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  color: var(--mute);
}

.cl-info b {
  color: var(--paper);
  font-size: 13px;
  margin-bottom: 2px;
}

.cl-info span {
  color: var(--red);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.comm-linkbox .btn {
  padding: 10px 18px;
  font-size: 13px;
  white-space: nowrap;
}

/* Our Work Section (Red Section) */
.work {
  background: var(--red);
  color: var(--ink);
  border-top-color: var(--red);
}

.work .d {
  color: var(--ink);
}

.work h2.d em {
  color: var(--paper);
}

.work .lead {
  font-size: 19px;
  max-width: 54ch;
  margin: 0 0 32px;
  color: #2b0402;
  font-weight: 500;
}

.cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.cats button {
  font: 600 14px Archivo, sans-serif;
  padding: 10px 18px;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  border-radius: var(--radius-full);
  transition: all .2s ease;
}

.cats button[aria-pressed="true"],
.cats button:hover {
  background: var(--ink);
  color: var(--paper);
}

.pgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 24px;
}

.pc {
  background: var(--ink);
  color: var(--paper);
  padding: 0 0 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.pc:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .5);
}

.pv {
  position: relative;
  display: block;
  overflow: hidden;
  background: #141519;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}

.pv-img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}

.pc:hover .pv-img {
  transform: scale(1.03);
}

.pv-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--red);
  color: #fff;
  font: 700 11px Archivo, sans-serif;
  padding: 4px 10px;
  letter-spacing: .06em;
  border-radius: var(--radius-sm);
  z-index: 2;
}

.pc h3,
.pc p,
.pc .t {
  margin-left: 22px;
  margin-right: 22px;
}

.pc h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.pc p {
  color: var(--mute);
  margin-top: 0;
  font-size: 14.5px;
  line-height: 1.5;
}

.pc .t {
  font-size: 13px;
  color: var(--paper);
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.02);
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.pc .t b {
  color: var(--red);
  font-weight: 600;
}

.pc .btn {
  margin: 0 22px;
}

.note {
  margin-top: 28px;
  font-size: 14.5px;
  color: #3b0604;
}

.p-empty {
  grid-column: 1 / -1;
  padding: 56px 24px;
  text-align: center;
  background: var(--ink);
  color: var(--mute);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.p-empty p {
  font-size: 16px;
  margin: 0 0 16px;
  color: var(--paper);
}

/* FAQs Section */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.faq-item {
  background: #111216;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  transition: border-color .2s;
}

.faq-item[open] {
  border-color: rgba(227, 36, 27, 0.4);
}

.faq-summary {
  font-family: Anton, sans-serif;
  font-size: 20px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--paper);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary::after {
  content: "+";
  color: var(--red);
  font-size: 24px;
  font-family: Archivo, sans-serif;
  font-weight: 700;
  transition: transform .2s ease;
}

.faq-item[open] .faq-summary::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-content {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--mute);
  font-size: 14.5px;
  line-height: 1.6;
}

.faq-content a {
  color: var(--paper);
  border-bottom: 1px solid var(--red);
}

/* Contact Section & Form */
.ci p {
  margin: 0 0 8px;
  color: var(--mute);
  font-size: 15.5px;
}

.ci a {
  color: var(--paper);
  border-bottom: 2px solid var(--red);
  transition: color .2s;
}

.ci a:hover {
  color: var(--red);
}

form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

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

label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--mute);
}

label b {
  color: var(--red);
}

input,
select,
textarea {
  width: 100%;
  background: transparent;
  color: var(--paper);
  border: 0;
  border-bottom: 2px solid var(--line);
  padding: 10px 4px;
  font: 400 16px Archivo, sans-serif;
  border-radius: 0;
  transition: border-color .2s;
}

select option {
  background: var(--ink);
  color: var(--paper);
}

input:focus,
select:focus,
textarea:focus {
  outline: 0;
  border-color: var(--red);
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #ef4444;
}

.field-error {
  color: #ef4444;
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

.field-error.show {
  display: block;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

#ok {
  display: none;
  margin-top: 16px;
  padding: 14px;
  border: 2px solid var(--red);
  background: rgba(227, 36, 27, 0.08);
  border-radius: var(--radius-sm);
  font-size: 14px;
}

/* Floating WhatsApp Button */
.wa-float {
  position: fixed;
  bottom: 84px;
  right: 26px;
  background: #25D366;
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 16px rgba(37, 211, 102, 0.4);
  z-index: 85;
  transition: transform .25s ease, box-shadow .25s ease;
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7), 0 0 24px rgba(37, 211, 102, 0.6);
  color: #fff;
}

.wa-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* Back to Top */
#btt {
  position: fixed;
  bottom: 24px;
  right: 26px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #141519;
  border: 1px solid var(--line);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 80;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity .3s ease, transform .3s cubic-bezier(.16, 1, .3, 1), background .2s, border-color .2s, box-shadow .2s;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .5);
}

#btt.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#btt:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(227, 36, 27, .4);
}

#btt svg {
  width: 20px;
  height: 20px;
}

/* Laptop Modal & Code Typing Terminal */
.tx-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}

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

.tx-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 10, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.tx-dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 720px;
  transform: perspective(1000px) translateY(24px) scale(.96);
  transition: transform .35s cubic-bezier(.16, 1, .3, 1);
}

.tx-modal.is-open .tx-dialog {
  transform: perspective(1000px) translateY(0) scale(1);
}

.tx-close {
  position: absolute;
  top: -46px;
  right: 0;
  background: #141519;
  border: 1px solid var(--line);
  color: var(--paper);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  transition: all .2s ease;
  z-index: 10;
}

.tx-close:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: rotate(90deg);
}

.laptop-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.laptop-lid {
  width: 100%;
  background: linear-gradient(180deg, #1f2127 0%, #121318 100%);
  border: 2px solid #2d3039;
  border-radius: 16px 16px 4px 4px;
  padding: 8px 10px 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .85), 0 0 40px rgba(227, 36, 27, .12);
  position: relative;
}

.laptop-cam {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #090a0f;
  border: 1px solid #1f2a3a;
  margin: 2px auto 8px;
  box-shadow: 0 0 2px rgba(0, 150, 255, .5);
}

.laptop-screen {
  background: #090a0f;
  border: 1px solid #1a1c24;
  border-radius: 8px;
  overflow: hidden;
  height: 360px;
  display: flex;
  flex-direction: column;
  position: relative;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', monospace;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, .9);
}

.screen-bar {
  background: #11131a;
  border-bottom: 1px solid #1e2029;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  flex-shrink: 0;
  user-select: none;
}

.screen-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.screen-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.s-red { background: #ef4444; }
.s-yel { background: #f59e0b; }
.s-grn { background: #10b981; }

.screen-title {
  color: #94a3b8;
  font-size: 12px;
  letter-spacing: .02em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.screen-title svg {
  width: 14px;
  height: 14px;
  color: var(--red);
}

.screen-status {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: all .3s ease;
}

.st-transmitting {
  background: rgba(227, 36, 27, .15);
  color: #ff5252;
  border: 1px solid rgba(227, 36, 27, .35);
}

.st-success {
  background: rgba(16, 185, 129, .15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, .35);
}

.st-error {
  background: rgba(239, 68, 68, .2);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, .4);
}

.status-beacon {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: beaconPulse 1.2s infinite;
}

@keyframes beaconPulse {
  0% { transform: scale(.9); opacity: .7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(.9); opacity: .7; }
}

.screen-editor {
  flex: 1;
  padding: 14px 16px;
  overflow-y: auto;
  color: #e2e8f0;
  font-size: 13px;
  line-height: 1.65;
  text-align: left;
  position: relative;
}

.code-line {
  white-space: pre-wrap;
  word-break: break-all;
  min-height: 21px;
}

.c-kw { color: #f43f5e; font-weight: 600; }
.c-str { color: #38bdf8; }
.c-key { color: #cbd5e1; }
.c-comment { color: #64748b; font-style: italic; }
.c-sys { color: #f59e0b; font-weight: 600; }
.c-ok { color: #10b981; font-weight: 600; }
.c-err { color: #ef4444; font-weight: 600; }

.c-cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  background: var(--red);
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: cursorBlink .7s infinite;
}

@keyframes cursorBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* Success & Error Overlays */
.screen-success-overlay,
.screen-error-overlay {
  position: absolute;
  inset: 36px 0 0 0;
  background: rgba(9, 10, 15, .97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all .4s cubic-bezier(.16, 1, .3, 1);
  z-index: 5;
}

.screen-success-overlay.show,
.screen-error-overlay.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.success-badge-ring {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(16, 185, 129, .12);
  border: 2px solid #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10b981;
  margin-bottom: 12px;
  box-shadow: 0 0 24px rgba(16, 185, 129, .35);
}

.error-badge-ring {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(239, 68, 68, .15);
  border: 2px solid #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ef4444;
  margin-bottom: 12px;
  box-shadow: 0 0 24px rgba(239, 68, 68, .35);
}

.success-heading,
.error-heading {
  font-family: Anton, Impact, sans-serif;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--paper);
  margin: 0 0 6px;
}

.success-desc,
.error-desc {
  font-family: Archivo, system-ui, sans-serif;
  font-size: 13.5px;
  color: #94a3b8;
  max-width: 48ch;
  margin: 0 0 16px;
  line-height: 1.5;
}

.success-desc b,
.error-desc b {
  color: var(--paper);
}

.success-btn-row,
.error-btn-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.laptop-base {
  width: 106%;
  height: 18px;
  background: linear-gradient(180deg, #2c2e36 0%, #15161a 100%);
  border-radius: 0 0 16px 16px;
  position: relative;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .15);
  margin: 0 -3%;
}

.laptop-notch {
  width: 70px;
  height: 5px;
  background: #0e0f13;
  border-radius: 0 0 5px 5px;
  margin: 0 auto;
}

.laptop-desk-glow {
  width: 85%;
  height: 28px;
  background: radial-gradient(ellipse at center, rgba(227, 36, 27, .45) 0%, rgba(227, 36, 27, 0) 70%);
  margin: -6px auto 0;
  filter: blur(8px);
  pointer-events: none;
}

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 36px;
}

.fg {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--mute);
  font-size: 14.5px;
}

footer li {
  padding: 3px 0;
}

footer h3,
footer h4 {
  font: 400 18px Anton, sans-serif;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: var(--paper);
}

footer li a:hover {
  color: var(--red);
}

.cp {
  margin-top: 40px;
  color: var(--mute);
  font-size: 13px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.soc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #141519;
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--paper);
  transition: all .2s ease;
  text-decoration: none;
}

.soc-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(227, 36, 27, .3);
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1);
  will-change: opacity, transform;
}

.reveal.reveal-left { transform: translateX(-36px); }
.reveal.reveal-right { transform: translateX(36px); }
.reveal.is-visible {
  opacity: 1;
  transform: translate(0);
}

.stagger-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s cubic-bezier(.16, 1, .3, 1), transform .6s cubic-bezier(.16, 1, .3, 1), border-color .25s ease, box-shadow .25s ease;
  transition-delay: calc(var(--delay, 0) * .08s);
  will-change: opacity, transform;
}

.stagger-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .hero h1 span {
    animation: in .7s cubic-bezier(.2, .7, .2, 1) both;
  }
  .hero h1 span:nth-child(2) { animation-delay: .12s; }
  .hero h1 span:nth-child(3) { animation-delay: .24s; }

  @keyframes in {
    from { opacity: 0; transform: translateY(40px); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .stagger-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============================================================
   RESPONSIVE MEDIA QUERIES
   ============================================================ */

/* Tablet (max-width: 820px) */
@media (max-width: 820px) {
  nav ul.nav-links {
    display: none;
  }
  .nav-cta {
    display: none !important;
  }
  .nav-toggle {
    display: flex;
  }
  section {
    padding: 68px 0;
  }
  .hero {
    padding: 50px 0 60px;
  }
  .hero-b,
  .two,
  .fg,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero h1 {
    font-size: clamp(48px, 12.5vw, 110px);
  }
  .scrawl {
    position: static;
    transform: rotate(-3deg);
    margin-top: 16px;
    display: inline-block;
    font-size: clamp(22px, 5.5vw, 36px);
  }
  .comm-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .comm-banner {
    padding: 36px 26px;
  }
  form {
    grid-template-columns: 1fr;
  }
}

/* Mobile (max-width: 640px) */
@media (max-width: 640px) {
  .wrap {
    padding: 0 16px;
  }
  section {
    padding: 52px 0;
  }
  .hero {
    padding: 36px 0 46px;
  }
  .hero h1 {
    font-size: clamp(38px, 11.5vw, 74px);
    line-height: .94;
  }
  .hero-b p {
    font-size: 15.5px;
    line-height: 1.55;
  }
  .hero-cta-row {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-cta-row .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 14px 20px;
  }
  h2.d {
    font-size: clamp(32px, 8.5vw, 52px);
    margin-bottom: 20px;
  }
  .grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .svc {
    padding: 22px 18px;
  }
  .comm-banner {
    padding: 24px 14px;
    border-radius: var(--radius-md);
  }
  .comm-badge {
    font-size: 11.5px;
    padding: 6px 12px;
    margin-bottom: 16px;
  }
  .comm-title {
    font-size: clamp(28px, 7.8vw, 44px);
    margin-bottom: 14px;
    line-height: .96;
  }
  .comm-lead {
    font-size: 14.5px;
    line-height: 1.55;
    margin-bottom: 18px;
  }
  .comm-tags {
    gap: 8px;
    margin-bottom: 20px;
  }
  .comm-tags span {
    font-size: 12px;
    padding: 5px 12px;
  }
  .comm-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .comm-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 13px 18px;
  }
  .comm-card {
    padding: 16px 12px;
    border-radius: var(--radius-md);
    width: 100%;
  }
  .comm-card-top {
    margin-bottom: 14px;
    padding-bottom: 10px;
  }
  .comm-tag,
  .comm-live {
    font-size: 10.5px;
  }
  /* Single Column on mobile to prevent stats clipping */
  .comm-stats {
    grid-template-columns: 1fr !important;
    gap: 9px;
    width: 100%;
    margin-bottom: 16px;
  }
  .cs-item {
    padding: 11px 13px;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    background: rgba(255, 255, 255, .025);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: var(--radius-md);
  }
  .cs-num {
    font: 400 clamp(20px, 5.2vw, 24px)/1 Anton, sans-serif !important;
    color: var(--red);
    margin-bottom: 0 !important;
    flex-shrink: 0;
    letter-spacing: .02em;
  }
  .cs-lbl {
    font-size: clamp(12px, 3.2vw, 13px);
    color: var(--paper);
    text-align: right;
    line-height: 1.35;
  }
  .comm-linkbox {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 12px;
    padding: 14px 12px;
    width: 100%;
  }
  .cl-info {
    align-items: center;
    text-align: center;
  }
  .comm-linkbox .btn {
    width: 100%;
    justify-content: center;
    padding: 11px 16px;
    font-size: 13.5px;
  }
  .cats {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    margin-bottom: 24px;
    scrollbar-width: none;
  }
  .cats::-webkit-scrollbar {
    display: none;
  }
  .cats button {
    flex-shrink: 0;
    padding: 8px 16px;
    font-size: 13px;
  }
  .pgrid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .pv-img {
    height: 170px;
  }
  .pc {
    padding-bottom: 18px;
  }
  .pc .btn {
    margin: 14px 16px 0;
    width: calc(100% - 32px);
    justify-content: center;
    text-align: center;
  }
  form {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  form .btn {
    width: 100%;
    padding: 15px;
    font-size: 15px;
  }
  footer {
    padding: 42px 0 28px;
  }
  .fg {
    gap: 26px;
  }
  .soc-btn {
    width: 100%;
    justify-content: center;
  }
  #btt {
    bottom: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
  }
  .wa-float {
    bottom: 70px;
    right: 18px;
    width: 44px;
    height: 44px;
  }
  .wa-float svg {
    width: 24px;
    height: 24px;
  }
  .tx-modal {
    padding: 12px 10px;
  }
  .tx-close {
    top: -38px;
    right: 2px;
    width: 34px;
    height: 34px;
    font-size: 18px;
  }
  .laptop-lid {
    padding: 6px 8px 10px;
    border-radius: 12px 12px 4px 4px;
  }
  .laptop-screen {
    height: auto;
    min-height: 280px;
    max-height: 60vh;
  }
  .screen-bar {
    height: 32px;
    padding: 0 8px;
  }
  .screen-title {
    font-size: 11px;
  }
  .screen-status {
    font-size: 10px;
    padding: 2px 7px;
  }
  .screen-editor {
    font-size: 11.5px;
    padding: 10px 12px;
    line-height: 1.5;
  }
  .screen-success-overlay,
  .screen-error-overlay {
    padding: 16px 12px;
    inset: 32px 0 0 0;
    overflow-y: auto;
  }
  .success-badge-ring,
  .error-badge-ring {
    width: 46px;
    height: 46px;
    margin-bottom: 8px;
  }
  .success-badge-ring svg,
  .error-badge-ring svg {
    width: 22px;
    height: 22px;
  }
  .success-heading,
  .error-heading {
    font-size: 20px;
    margin-bottom: 6px;
  }
  .success-desc,
  .error-desc {
    font-size: 12px;
    margin-bottom: 12px;
  }
  .success-btn-row,
  .error-btn-row {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }
  .success-btn-row .btn,
  .error-btn-row .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 10px 14px;
    font-size: 13px;
  }
  .laptop-base {
    height: 14px;
  }
  .laptop-notch {
    width: 50px;
    height: 4px;
  }
}
