/* =========================================================
   LogoMaker.trendmartplus.com
   Global Production CSS
   Theme: Black & White / Premium / Modern SaaS
========================================================= */

/* =========================
   CSS VARIABLES
========================= */
:root {
  --bg: #ffffff;
  --bg-soft: #f6f6f7;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #ffffff;
  --surface-muted: #f1f1f2;
  --text: #111111;
  --text-soft: #5f6368;
  --text-faint: #8d9299;
  --border: rgba(17, 17, 17, 0.08);
  --border-strong: rgba(17, 17, 17, 0.14);
  --primary: #111111;
  --primary-hover: #000000;
  --primary-contrast: #ffffff;
  --secondary: #ffffff;
  --secondary-hover: #f3f3f3;
  --danger: #bf1e2e;
  --danger-hover: #9d1624;
  --success: #0f8a5f;
  --shadow-sm: 0 8px 24px rgba(17, 17, 17, 0.06);
  --shadow-md: 0 18px 45px rgba(17, 17, 17, 0.08);
  --shadow-lg: 0 32px 80px rgba(17, 17, 17, 0.12);
  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --container: 1200px;
  --container-narrow: 880px;
  --header-height: 78px;
  --transition: 0.28s ease;
  --transition-slow: 0.45s ease;
  --grid-gap: 1.5rem;
  --backdrop-blur: blur(18px);
  --focus-ring: 0 0 0 4px rgba(17, 17, 17, 0.08);
}

html[data-theme="dark"] {
  --bg: #050505;
  --bg-soft: #0b0b0c;
  --surface: rgba(18, 18, 20, 0.82);
  --surface-solid: #111214;
  --surface-muted: #17181b;
  --text: #f5f6f7;
  --text-soft: #b5bbc3;
  --text-faint: #8e949d;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);
  --primary: #ffffff;
  --primary-hover: #e9e9ea;
  --primary-contrast: #101010;
  --secondary: #151618;
  --secondary-hover: #1a1c1f;
  --danger: #ff667a;
  --danger-hover: #ff4e65;
  --success: #38c28f;
  --shadow-sm: 0 10px 24px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 20px 50px rgba(0, 0, 0, 0.38);
  --shadow-lg: 0 38px 90px rgba(0, 0, 0, 0.5);
  --focus-ring: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

/* =========================
   RESET / BASE
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  transition: background var(--transition-slow), color var(--transition-slow);
}

body.menu-open {
  overflow: hidden;
}

img,
svg,
canvas,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--surface-solid);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  outline: none;
  transition:
    border-color var(--transition),
    background var(--transition),
    box-shadow var(--transition),
    color var(--transition),
    transform var(--transition);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--border-strong);
  box-shadow: var(--focus-ring);
}

input[type="color"] {
  padding: 0.35rem;
  min-height: 52px;
  border-radius: 12px;
  background: var(--surface-solid);
}

input[type="range"] {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  accent-color: var(--primary);
}

ul,
ol {
  padding-left: 1.2rem;
}

p {
  margin: 0 0 1rem;
  color: var(--text-soft);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.9rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 750;
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
}

small {
  color: var(--text-faint);
}

::selection {
  background: var(--text);
  color: var(--bg);
}

/* =========================
   UTILITIES
========================= */
.container {
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
}

.narrow {
  width: min(var(--container-narrow), calc(100% - 2rem));
  margin-inline: auto;
}

.section {
  padding: 88px 0;
}

.section-alt {
  background: linear-gradient(180deg, transparent 0%, var(--bg-soft) 100%);
}

.section-content {
  padding-top: 72px;
  padding-bottom: 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.glass-card {
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  box-shadow: var(--shadow-md);
}

.full-width,
.full {
  width: 100%;
}

.hidden {
  display: none !important;
}

/* =========================
   BUTTONS
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.9rem 1.25rem;
  border-radius: 14px;
  font-weight: 650;
  line-height: 1;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    opacity var(--transition);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible {
  box-shadow: var(--focus-ring);
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-contrast);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--secondary-hover);
  border-color: var(--border-strong);
}

.btn-danger {
  background: var(--danger);
  color: #fff;
}

.btn-danger:hover {
  background: var(--danger-hover);
}

.btn-chip {
  background: var(--surface-solid);
  color: var(--text);
  border: 1px solid var(--border);
  min-height: 46px;
  font-size: 0.94rem;
  padding: 0.8rem 0.95rem;
}

.btn-chip:hover {
  border-color: var(--border-strong);
  background: var(--surface-muted);
}

/* =========================
   HEADER / NAVBAR
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition-slow), border-color var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: var(--primary);
  color: var(--primary-contrast);
  letter-spacing: -0.04em;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.brand-text {
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a {
  padding: 0.82rem 1rem;
  border-radius: 12px;
  color: var(--text-soft);
  font-weight: 600;
  position: relative;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
  background: var(--surface);
}

.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 8px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  color: var(--text);
  margin-left: 0.25rem;
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: var(--surface-muted);
}

.theme-toggle-icon {
  font-size: 1.05rem;
  line-height: 1;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface-solid);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform var(--transition), opacity var(--transition);
}

/* =========================
   HERO SECTION
========================= */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 110px 0 88px;
  background:
    radial-gradient(circle at top left, rgba(120, 120, 120, 0.08), transparent 28%),
    radial-gradient(circle at bottom right, rgba(120, 120, 120, 0.08), transparent 30%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 640px;
}

.hero-content h1 {
  margin-bottom: 1rem;
  max-width: 12ch;
}

.hero-content p {
  font-size: 1.08rem;
  max-width: 58ch;
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-highlights span {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-preview {
  padding: 1.15rem;
  border-radius: var(--radius-lg);
}

.mock-window {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-solid);
  box-shadow: var(--shadow-lg);
}

.mock-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.mock-header span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text-faint);
  opacity: 0.45;
}

.mock-body {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 420px;
}

.mock-sidebar {
  padding: 1rem;
  border-right: 1px solid var(--border);
  background: var(--bg-soft);
}

.mock-sidebar-line {
  height: 14px;
  border-radius: 999px;
  background: var(--surface-muted);
  margin-bottom: 0.85rem;
}

.mock-sidebar-line.short {
  width: 70%;
}

.mock-canvas-area {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.4rem;
}

.mock-logo-composition {
  height: 100%;
  min-height: 260px;
  border: 1px dashed var(--border-strong);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  background:
    linear-gradient(180deg, rgba(127, 127, 127, 0.03), transparent),
    var(--surface-solid);
}

.mock-shape-circle {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--text);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.mock-shape-circle::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: var(--bg);
}

.mock-logo-text h3 {
  font-size: 2.15rem;
  margin-bottom: 0.35rem;
}

.mock-logo-text p {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.mock-toolbar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.mock-toolbar span {
  width: 90px;
  height: 38px;
  border-radius: 12px;
  background: var(--surface-muted);
  border: 1px solid var(--border);
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127, 127, 127, 0.28), transparent 70%);
  animation: floatParticle 9s ease-in-out infinite;
  opacity: 0.6;
}

.p1 { width: 160px; height: 160px; top: 8%; left: 6%; animation-delay: 0s; }
.p2 { width: 100px; height: 100px; top: 18%; right: 10%; animation-delay: 1s; }
.p3 { width: 120px; height: 120px; bottom: 16%; left: 12%; animation-delay: 1.8s; }
.p4 { width: 70px; height: 70px; bottom: 12%; right: 18%; animation-delay: 2.3s; }
.p5 { width: 130px; height: 130px; top: 40%; left: 50%; animation-delay: 3s; }
.p6 { width: 80px; height: 80px; top: 60%; right: 4%; animation-delay: 1.4s; }
.p7 { width: 90px; height: 90px; bottom: 5%; left: 38%; animation-delay: 2.7s; }
.p8 { width: 110px; height: 110px; top: 4%; left: 42%; animation-delay: 3.4s; }

@keyframes floatParticle {
  0%, 100% {
    transform: translateY(0px) translateX(0px) scale(1);
  }
  50% {
    transform: translateY(-16px) translateX(10px) scale(1.06);
  }
}

/* =========================
   SECTION HEADINGS
========================= */
.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.4rem;
}

.section-heading p {
  font-size: 1.02rem;
  margin-inline: auto;
}

/* =========================
   GRIDS / CARDS
========================= */
.card-grid {
  display: grid;
  gap: var(--grid-gap);
}

.three-cols,
.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.four-cols,
.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.benefit-card,
.step-card,
.link-card,
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition),
    background var(--transition);
}

.feature-card:hover,
.benefit-card:hover,
.step-card:hover,
.link-card:hover,
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: var(--primary);
  color: var(--primary-contrast);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--text);
  color: var(--bg);
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-panel,
.tool-cta-box {
  margin-top: 2rem;
  padding: 1.6rem;
  border-radius: 24px;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.link-card h3 {
  margin-bottom: 0.55rem;
}

/* =========================
   AD AREAS
========================= */
.ad-slot {
  margin: 0 auto;
  min-height: 112px;
  border: 1px dashed var(--border-strong);
  border-radius: 22px;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 14px,
      rgba(127, 127, 127, 0.02) 14px,
      rgba(127, 127, 127, 0.02) 28px
    ),
    var(--surface);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--text-faint);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}

.ad-top,
.ad-mid,
.ad-bottom {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

/* =========================
   PAGE HERO
========================= */
.page-hero {
  padding: 88px 0 36px;
  text-align: center;
  background:
    radial-gradient(circle at top center, rgba(130, 130, 130, 0.08), transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}

.page-hero.compact h1 {
  margin-bottom: 1rem;
}

.page-hero p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.06rem;
}

/* =========================
   ARTICLE CONTENT / SEO TEXT
========================= */
.article-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-sm);
}

.article-content h2 {
  margin-top: 2rem;
  margin-bottom: 0.85rem;
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content h3 {
  margin-top: 1.35rem;
  margin-bottom: 0.55rem;
}

.article-content p,
.article-content li {
  color: var(--text-soft);
  font-size: 1rem;
}

.article-content a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================
   TOOL PAGE LAYOUT
========================= */
.tool-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.tool-sidebar {
  border-radius: 28px;
  padding: 1rem;
  position: sticky;
  top: calc(var(--header-height) + 16px);
}

.panel-sticky {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.control-card {
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}

.control-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.95rem;
}

.control-card-header h2 {
  font-size: 1.05rem;
  margin: 0;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group label,
.sub-label {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.button-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.button-grid {
  display: grid;
  gap: 0.75rem;
}

.two-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.icon-library {
  margin-top: 0.5rem;
}

.tool-main {
  min-width: 0;
}

.editor-shell {
  border-radius: 30px;
  padding: 1rem;
}

.editor-topbar {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0.35rem 0.35rem 1rem;
}

.editor-topbar-left h2 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.editor-topbar-left p {
  max-width: 650px;
  margin-bottom: 0;
}

.editor-topbar-right {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.canvas-stage-wrap {
  border-radius: 26px;
  border: 1px solid var(--border);
  background:
    linear-gradient(45deg, rgba(127,127,127,0.04) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(127,127,127,0.04) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(127,127,127,0.04) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(127,127,127,0.04) 75%);
  background-size: 28px 28px;
  background-position: 0 0, 0 14px, 14px -14px, -14px 0px;
  padding: 1rem;
  overflow: auto;
}

.canvas-stage {
  min-height: 580px;
  display: grid;
  place-items: center;
  background: transparent;
}

#logoCanvas {
  width: min(100%, 900px);
  max-width: 100%;
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}

html[data-theme="dark"] #logoCanvas {
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.editor-footer-bar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-top: 1rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 0.95rem;
  border-radius: var(--radius-pill);
  background: var(--surface-solid);
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 600;
}

/* =========================
   CANVAS / FABRIC HELPERS
========================= */
.canvas-container {
  margin-inline: auto;
  max-width: 100%;
}

.canvas-container canvas {
  border-radius: 22px;
}

/* =========================
   FOOTER
========================= */
.site-footer {
  margin-top: 64px;
  padding: 68px 0 24px;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 1.5rem;
}

.footer-brand {
  margin-bottom: 1rem;
}

.footer-col p {
  max-width: 34ch;
}

.footer-col h3 {
  font-size: 1rem;
  margin-bottom: 0.85rem;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li + li {
  margin-top: 0.7rem;
}

.footer-col a {
  color: var(--text-soft);
}

.footer-col a:hover {
  color: var(--text);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.7rem 0.95rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-solid);
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 600;
}

.social-links a:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding-top: 1.4rem;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: var(--text-faint);
  font-size: 0.95rem;
}

/* =========================
   CONTACT / ABOUT / POLICY PAGES
========================= */
.page-shell {
  padding: 48px 0 80px;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.content-card,
.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.info-card {
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1.25rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.notice-box,
.callout-box {
  padding: 1rem 1.15rem;
  border-radius: 18px;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  color: var(--text-soft);
}

/* =========================
   FORM ENHANCEMENTS
========================= */
input::placeholder,
textarea::placeholder {
  color: var(--text-faint);
}

label .meta {
  color: var(--text-faint);
  font-weight: 500;
}

/* =========================
   TABLE STYLE
========================= */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface-solid);
}

th,
td {
  padding: 0.95rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  color: var(--text);
  font-weight: 700;
  background: var(--bg-soft);
}

td {
  color: var(--text-soft);
}

/* =========================
   LIST STYLING
========================= */
.article-content ul,
.article-content ol,
.content-card ul,
.content-card ol {
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

.article-content li + li,
.content-card li + li {
  margin-top: 0.45rem;
}

/* =========================
   HOVER MOTION REDUCTION
========================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .feature-card:hover,
  .benefit-card:hover,
  .step-card:hover,
  .link-card:hover,
  .card:hover,
  .btn:hover {
    transform: none !important;
  }
}

/* =========================
   LARGE DESKTOP REFINEMENTS
========================= */
@media (min-width: 1440px) {
  .hero-grid {
    gap: 3rem;
  }

  .tool-layout {
    grid-template-columns: 360px minmax(0, 1fr);
  }
}

/* =========================
   TABLET / SMALL DESKTOP
========================= */
@media (max-width: 1100px) {
  .hero-grid,
  .content-layout,
  .tool-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .tool-sidebar {
    position: static;
    top: auto;
  }

  .footer-grid {
    gap: 1.25rem;
  }

  .hero-content {
    max-width: 100%;
  }

  .editor-topbar {
    flex-direction: column;
  }

  .editor-topbar-right {
    width: 100%;
    justify-content: flex-start;
  }
}

/* =========================
   TABLET
========================= */
@media (max-width: 900px) {
  :root {
    --header-height: 72px;
  }

  .three-cols,
  .three,
  .four-cols,
  .four,
  .steps-grid,
  .benefits-grid,
  .info-grid,
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }

  .mock-body {
    grid-template-columns: 1fr;
  }

  .mock-sidebar {
    display: none;
  }

  .cta-panel,
  .tool-cta-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .canvas-stage {
    min-height: 460px;
  }

  #logoCanvas {
    width: 100% !important;
    height: auto !important;
  }
}

/* =========================
   MOBILE NAV
========================= */
@media (max-width: 820px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: calc(var(--header-height) + 10px);
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 0.8rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity var(--transition),
      transform var(--transition);
  }

  body.menu-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a,
  .theme-toggle {
    width: 100%;
    justify-content: center;
  }

  .theme-toggle {
    margin-left: 0;
    margin-top: 0.35rem;
  }

  .menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 640px) {
  .section {
    padding: 68px 0;
  }

  .section-content {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .hero-section {
    padding: 88px 0 64px;
  }

  .page-hero {
    padding: 68px 0 28px;
  }

  .brand-text {
    max-width: 180px;
  }

  .container,
  .narrow {
    width: min(100% - 1rem, var(--container));
  }

  .hero-actions,
  .editor-topbar-right {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-highlights {
    gap: 0.55rem;
  }

  .hero-highlights span {
    font-size: 0.84rem;
  }

  .mock-canvas-area {
    padding: 1.2rem;
  }

  .mock-logo-composition {
    flex-direction: column;
    text-align: center;
    min-height: 220px;
  }

  .article-content,
  .content-card,
  .sidebar-card,
  .feature-card,
  .benefit-card,
  .step-card,
  .link-card,
  .control-card,
  .editor-shell {
    border-radius: 20px;
  }

  .tool-sidebar {
    padding: 0.75rem;
    border-radius: 22px;
  }

  .two-grid,
  .three-grid {
    grid-template-columns: 1fr;
  }

  .editor-footer-bar {
    flex-direction: column;
  }

  .status-pill {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .footer-grid {
    gap: 1.6rem;
  }
}

/* =========================
   VERY SMALL DEVICES
========================= */
@media (max-width: 420px) {
  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .brand-text {
    font-size: 0.93rem;
    max-width: 150px;
  }

  .btn {
    min-height: 46px;
    padding: 0.85rem 1rem;
  }

  .hero-content p,
  .page-hero p,
  .section-heading p {
    font-size: 0.98rem;
  }

  .mock-toolbar span {
    width: 64px;
    height: 34px;
  }
}

/* =========================
   DARK MODE SPECIAL TOUCHES
========================= */
html[data-theme="dark"] .mock-shape-circle::after {
  background: var(--surface-solid);
}

html[data-theme="dark"] .ad-slot {
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 14px,
      rgba(255, 255, 255, 0.015) 14px,
      rgba(255, 255, 255, 0.015) 28px
    ),
    var(--surface);
}

html[data-theme="dark"] .site-nav a.active::after {
  background: #ffffff;
}

/* =========================
   PRINT FRIENDLY
========================= */
@media print {
  .site-header,
  .site-footer,
  .ad-slot,
  .menu-toggle,
  .theme-toggle,
  .editor-topbar-right,
  .tool-sidebar {
    display: none !important;
  }

  body {
    background: #ffffff;
    color: #000000;
  }

  .tool-layout,
  .hero-grid,
  .content-layout {
    display: block;
  }

  .editor-shell,
  .article-content,
  .content-card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}
