:root {
  color-scheme: light;
  --ink: #122021;
  --muted: #5f6f70;
  --line: #dce5e2;
  --paper: #fffdf8;
  --soft: #f4f0e6;
  --teal: #0c5f61;
  --teal-dark: #0c3b3e;
  --mint: #cfeadf;
  --gold: #e6ad30;
  --coral: #d9654f;
  --green: #367b4a;
  --shadow: 0 24px 70px rgba(14, 31, 32, 0.16);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC",
    "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(220, 229, 226, 0.84);
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-width: max-content;
}

.brand-logo {
  width: 40px;
  height: 40px;
  display: block;
  flex: 0 0 auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(12, 59, 62, 0.14);
}

.brand strong {
  display: block;
  font-size: 19px;
  letter-spacing: 0;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: #314646;
  font-size: 14px;
}

.nav a {
  padding: 8px 0;
}

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

.language-switch {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.language-switch button {
  min-width: 48px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #3b5151;
  font-weight: 700;
  padding: 8px 10px;
}

.language-switch button.active {
  background: var(--teal-dark);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 690px;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  padding: 120px clamp(18px, 5vw, 70px) 44px;
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 31, 32, 0.91) 0%, rgba(9, 48, 48, 0.78) 35%, rgba(9, 48, 48, 0.18) 72%),
    linear-gradient(180deg, rgba(4, 18, 20, 0.14), rgba(4, 18, 20, 0.5));
}

.hero-media {
  z-index: -2;
}

.hero-content {
  max-width: 780px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f8cc72;
}

.hero h1 {
  margin: 0;
  max-width: 700px;
  font-size: clamp(46px, 8vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-subtitle {
  margin: 18px 0 0;
  color: #d8fff2;
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 800;
}

.hero-copy {
  max-width: 610px;
  margin: 16px 0 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.7;
}

.search-bar {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) minmax(140px, 0.55fr) minmax(135px, 0.5fr) auto;
  gap: 10px;
  align-items: end;
  max-width: 1000px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.search-bar input,
.search-bar select,
.search-bar button {
  font-size: 14px;
}

label {
  display: grid;
  gap: 7px;
}

label span,
legend {
  color: #486060;
  font-size: 12px;
  font-weight: 800;
}

.search-bar label span {
  color: rgba(255, 255, 255, 0.72);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}

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

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(12, 95, 97, 0.12);
}

.search-bar button,
.registration-form button,
.ai-tool button[type="submit"] {
  border: 0;
  border-radius: var(--radius);
  background: var(--gold);
  color: #241800;
  font-weight: 850;
  padding: 13px 18px;
  min-height: 48px;
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.quick-actions a {
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  color: #fff;
  padding: 11px 16px;
  font-weight: 800;
}

.quick-actions a:first-child {
  background: #fff;
  color: var(--teal-dark);
}

.section {
  padding: 86px clamp(18px, 5vw, 70px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.intro-grid,
.business-grid,
.platform-preview-grid,
.product-grid,
.portal-grid,
.admin-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.intro-section .section-heading {
  max-width: 1180px;
}

.intro-section .section-heading h2 {
  max-width: 1120px;
  font-size: clamp(34px, 4vw, 62px);
  line-height: 1.12;
}

.intro-grid article,
.platform-preview-grid article,
.business-card,
.product-card,
.portal-panel,
.admin-metrics article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 36px rgba(18, 32, 33, 0.06);
}

.intro-grid article {
  padding: 26px;
}

.platform-preview-section {
  background: #f7f4ec;
}

.platform-showcase {
  margin-bottom: 18px;
}

.platform-copy {
  display: grid;
  align-content: center;
  min-height: 280px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(248, 204, 114, 0.16), transparent 42%),
    #102324;
  color: #fff;
  padding: clamp(28px, 4vw, 46px);
  box-shadow: var(--shadow);
}

.platform-copy .eyebrow {
  color: #f8cc72;
}

.platform-copy h2 {
  margin: 0;
  max-width: 980px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: 0;
}

.platform-copy > p:not(.eyebrow) {
  max-width: 860px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
  line-height: 1.75;
}

.platform-stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
  max-width: 840px;
}

.platform-stat-row span {
  display: grid;
  gap: 6px;
  min-height: 92px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  padding: 14px;
}

.platform-stat-row strong {
  color: #f8cc72;
  font-size: 22px;
}

.platform-stat-row small {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.platform-preview-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.platform-preview-grid article {
  display: grid;
  align-content: start;
  min-height: 220px;
  padding: 22px;
}

.intro-grid span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: var(--teal-dark);
  font-weight: 900;
}

.intro-grid h3,
.platform-preview-grid h3,
.business-card h3,
.product-card h3,
.portal-panel h3 {
  margin: 18px 0 8px;
  font-size: 21px;
}

.intro-grid p,
.platform-preview-grid p,
.business-card p,
.product-card p,
.portal-panel p {
  color: var(--muted);
  line-height: 1.65;
}

.categories-section,
.member-section,
.admin-section {
  background: #f7f4ec;
}

.categories-section {
  padding-top: 54px;
}

.categories-section .section-heading {
  max-width: 1160px;
  margin-bottom: 22px;
}

.categories-section .section-heading h2 {
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.08;
}

.categories-section .section-heading p:not(.eyebrow) {
  max-width: 980px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.category-card {
  display: block;
  min-height: 116px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 18px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.category-card:hover {
  transform: translateY(-2px);
  border-color: rgba(12, 95, 97, 0.42);
  box-shadow: 0 14px 34px rgba(18, 32, 33, 0.08);
}

.category-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}

.category-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.business-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 20px;
}

.featured-ad-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ad-card {
  min-height: 210px;
}

.ad-card .company-logo,
.ad-slot-number {
  width: 54px;
  height: 54px;
}

.ad-slot-number {
  display: grid;
  place-items: center;
  border: 1px dashed rgba(12, 95, 97, 0.32);
  border-radius: var(--radius);
  background: #f4faf7;
  color: var(--teal);
  font-weight: 950;
}

.ad-card.is-open {
  border-style: dashed;
  background: linear-gradient(180deg, #fff, #f9f7f0);
}

.company-logo,
.preview-logo {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--teal);
  color: #fff;
  font-weight: 900;
}

.company-logo.green {
  background: var(--green);
}

.company-logo.red {
  background: var(--coral);
}

.tag {
  color: var(--coral) !important;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.business-actions,
.profile-buttons,
.preview-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.business-actions a,
.profile-buttons a,
.preview-links a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--teal-dark);
  font-weight: 800;
}

.business-actions a:last-child,
.profile-buttons a:first-child,
.preview-links a:first-child {
  border-color: transparent;
  background: var(--teal);
  color: #fff;
}

.homepage-banner-section {
  padding: 0 clamp(18px, 5vw, 70px);
  background: linear-gradient(180deg, var(--paper) 0, var(--paper) 50%, #f7f4ec 50%, #f7f4ec 100%);
}

.homepage-banner-section[hidden] {
  display: none;
}

.homepage-banner-stack {
  display: grid;
  gap: 18px;
  max-width: 1280px;
  margin: 0 auto;
}

.homepage-banner {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  aspect-ratio: 1920 / 520;
}

.homepage-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card {
  overflow: hidden;
}

.member-page-card {
  display: grid;
  align-content: start;
  min-height: 230px;
  padding: 24px;
}

.feature-number {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: var(--teal-dark);
  font-weight: 900;
}

.product-card h3,
.product-card p {
  padding-inline: 18px;
}

.member-page-card h3,
.member-page-card p {
  padding-inline: 0;
}

.product-card p:last-child {
  padding-bottom: 20px;
}

.member-page-card p:last-child {
  padding-bottom: 0;
}

.product-image {
  height: 170px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent),
    var(--gold);
}

.product-image.teal {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.26), transparent),
    var(--teal);
}

.product-image.coral {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), transparent),
    var(--coral);
}

.portal-grid {
  grid-template-columns: 1.25fr 0.75fr;
}

.portal-panel {
  padding: 24px;
}

.panel-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(54, 123, 74, 0.13);
}

.status-dot.red {
  background: var(--coral);
  box-shadow: 0 0 0 6px rgba(217, 101, 79, 0.13);
}

.progress {
  height: 10px;
  border-radius: 999px;
  background: #e7ece8;
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
}

.portal-panel ul {
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.9;
}

.portal-panel.accent {
  background: var(--teal-dark);
  color: #fff;
}

.portal-panel.accent p {
  color: rgba(255, 255, 255, 0.75);
}

.countdown {
  margin: 30px 0 12px;
  color: #fff;
  font-size: 70px;
  font-weight: 900;
  line-height: 1;
}

.countdown span {
  font-size: 22px;
}

.builder-layout,
.ai-tool,
.admin-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1.18fr);
  gap: 20px;
  align-items: start;
}

.builder-controls,
.registration-form,
.ai-tool form {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 22px;
  box-shadow: 0 14px 36px rgba(18, 32, 33, 0.06);
}

fieldset {
  min-width: 0;
  border: 0;
  padding: 0;
  margin: 0;
}

legend {
  margin-bottom: 9px;
}

.slug-field {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.slug-field span {
  display: grid;
  min-height: 45px;
  align-items: center;
  padding: 0 0 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.slug-field input {
  border: 0;
  box-shadow: none;
}

.swatches,
.layout-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.swatches button {
  width: 34px;
  height: 34px;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line);
}

.swatches button.active {
  box-shadow: 0 0 0 3px rgba(12, 95, 97, 0.22);
}

.swatches [data-theme="teal"] {
  background: var(--teal);
}

.swatches [data-theme="red"] {
  background: var(--coral);
}

.swatches [data-theme="gold"] {
  background: var(--gold);
}

.swatches [data-theme="green"] {
  background: var(--green);
}

.layout-options button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  padding: 9px 12px;
  font-weight: 800;
}

.layout-options button.active {
  border-color: var(--teal);
  background: var(--mint);
}

.mini-site-preview {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.preview-browser {
  display: flex;
  gap: 8px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: #f5f7f4;
  padding: 12px;
}

.preview-browser span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #d9aaa0;
}

.preview-browser span:nth-child(2) {
  background: #e3c069;
}

.preview-browser span:nth-child(3) {
  background: #82bd90;
}

.preview-browser small {
  margin-left: 8px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.preview-hero {
  min-height: 480px;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: clamp(28px, 5vw, 58px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(12, 59, 62, 0.92), rgba(12, 95, 97, 0.74)),
    url("assets/hero-business-malaysia.png") center/cover;
}

.preview-hero h3 {
  margin: 0;
  max-width: 560px;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

.preview-hero p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

.preview-logo {
  background: #fff !important;
  color: var(--teal-dark) !important;
}

.theme-red .preview-hero {
  background:
    linear-gradient(135deg, rgba(112, 37, 30, 0.93), rgba(217, 101, 79, 0.72)),
    url("assets/hero-business-malaysia.png") center/cover;
}

.theme-gold .preview-hero {
  background:
    linear-gradient(135deg, rgba(90, 65, 15, 0.94), rgba(230, 173, 48, 0.68)),
    url("assets/hero-business-malaysia.png") center/cover;
}

.theme-green .preview-hero {
  background:
    linear-gradient(135deg, rgba(25, 72, 42, 0.94), rgba(54, 123, 74, 0.72)),
    url("assets/hero-business-malaysia.png") center/cover;
}

.layout-product .preview-hero {
  align-content: end;
}

.layout-contact .preview-hero {
  text-align: center;
  justify-items: center;
}

.layout-contact .preview-links {
  justify-content: center;
}

.ai-section {
  background: var(--teal-dark);
  color: #fff;
}

.ai-section .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.75);
}

.ai-tool form label span {
  color: #d5e9e5;
}

.ai-output {
  min-height: 100%;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(230, 173, 48, 0.24), rgba(207, 234, 223, 0.08)),
    rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: clamp(24px, 4vw, 42px);
}

.ai-output h3 {
  margin: 12px 0;
  font-size: 28px;
}

.ai-output p:last-child {
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.75;
}

.admin-layout {
  grid-template-columns: 0.8fr 1.2fr;
}

.admin-metrics {
  grid-template-columns: 1fr;
}

.admin-metrics article {
  padding: 22px;
}

.admin-metrics span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.admin-metrics strong {
  display: block;
  margin-top: 8px;
  color: var(--teal);
  font-size: 38px;
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 36px rgba(18, 32, 33, 0.06);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

th,
td {
  padding: 17px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  background: #f8faf8;
  color: #385151;
  font-size: 12px;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

.pill {
  display: inline-flex;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 850;
}

.pill.warning {
  background: #fff0cf;
  color: #7c4b00;
}

.pill.danger {
  background: #ffe1dc;
  color: #892c1c;
}

.pill.ok {
  background: #dff2e6;
  color: #1d5f32;
}

.registration-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.registration-form .wide,
.registration-form button {
  grid-column: 1 / -1;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 30px clamp(18px, 5vw, 70px);
  border-top: 1px solid var(--line);
  background: #102324;
  color: #fff;
}

.site-footer p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 16px;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.footer-meta button {
  border: 0;
  background: transparent;
  color: #f8cc72;
  padding: 0;
  font-weight: 750;
}

.policy-modal {
  width: min(820px, calc(100vw - 32px));
  max-height: min(760px, calc(100vh - 36px));
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  overflow: auto;
}

.policy-modal::backdrop {
  background: rgba(12, 32, 33, 0.58);
}

.policy-modal h2 {
  margin: 0 36px 14px 0;
}

.policy-modal p {
  white-space: pre-line;
  color: var(--muted);
  line-height: 1.75;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  font-size: 22px;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto auto auto;
  }

  .menu-toggle {
    display: inline-grid;
    justify-self: end;
  }

  .nav {
    position: absolute;
    top: 100%;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    padding: 12px 16px;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .language-switch {
    justify-self: end;
  }

  .search-bar,
  .builder-layout,
  .ai-tool,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .platform-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-ad-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    gap: 12px;
    padding-inline: 14px;
  }

  .brand small {
    display: none;
  }

  .language-switch button {
    min-width: 38px;
    padding-inline: 8px;
  }

  .hero {
    min-height: 720px;
    padding-top: 94px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 31, 32, 0.91) 0%, rgba(9, 48, 48, 0.78) 100%),
      linear-gradient(180deg, rgba(4, 18, 20, 0.14), rgba(4, 18, 20, 0.5));
  }

  .intro-grid,
  .business-grid,
  .featured-ad-grid,
  .platform-preview-grid,
  .product-grid,
  .portal-grid,
  .registration-form {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-copy {
    min-height: auto;
  }

  .platform-stat-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding-block: 62px;
  }

  .intro-section .section-heading h2 {
    font-size: clamp(32px, 9vw, 44px);
    line-height: 1.16;
  }

  .homepage-banner-section {
    padding-block: 0;
  }

  .countdown {
    font-size: 56px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-meta {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .language-switch {
    grid-column: 1 / -1;
    justify-self: stretch;
    justify-content: center;
  }

  .menu-toggle {
    grid-column: 2;
    grid-row: 1;
  }

  .hero h1 {
    font-size: 42px;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .business-card {
    grid-template-columns: 1fr;
  }
}
