/* ================================================
   DMCCA Guard — Site Stylesheet
   MINISAGE TECH LTD
   ================================================ */

/* -----------------------------------------------
   Design tokens
   ----------------------------------------------- */
:root {
  --green-950: #041a0f;
  --green-900: #062c1c;
  --green-800: #0a3d28;
  --green-700: #0f5132;
  --green-600: #166c42;
  --green-400: #4ade80;
  --green-200: #a7f3c0;
  --green-100: #d1fae5;
  --green-50:  #ecfdf5;

  --gray-950: #0a0c0b;
  --gray-900: #111827;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50:  #f9fafb;

  --white: #ffffff;

  --text:       var(--gray-900);
  --text-muted: var(--gray-500);
  --border:     var(--gray-200);
  --bg:         var(--white);
  --bg-alt:     var(--gray-50);
  --accent:     var(--green-700);
  --accent-dk:  var(--green-800);

  --r-sm:   4px;
  --r:      8px;
  --r-lg:  12px;
  --r-xl:  16px;

  --max-w:     1160px;
  --max-w-sm:   780px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--accent); }

/* -----------------------------------------------
   Nav
   ----------------------------------------------- */
.site-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--accent);
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.nav-brand-icon {
  width: 30px;
  height: 30px;
  background: var(--accent);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
  font-size: 17px;
}

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

.nav-links a {
  padding: 0.4375rem 0.75rem;
  font-size: 0.9rem;
  color: var(--gray-600);
  text-decoration: none;
  border-radius: var(--r-sm);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.nav-links a:hover {
  background: var(--gray-100);
  color: var(--text);
}

.nav-active-text {
  padding: 0.4375rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-500);
}

.nav-cta {
  background: var(--accent);
  color: white !important;
  font-weight: 600;
  padding: 0.4375rem 1rem !important;
}

.nav-cta:hover {
  background: var(--accent-dk) !important;
  color: white !important;
}

/* -----------------------------------------------
   Hero
   ----------------------------------------------- */
.hero {
  background: linear-gradient(150deg, var(--green-900) 0%, var(--green-800) 100%);
  color: white;
  padding: 5rem 2rem;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.88);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  padding: 0.3125rem 0.875rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(1.875rem, 3.5vw, 2.625rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 0 1.125rem;
  color: white;
  max-width: 16ch;
}

.hero-desc {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
  margin: 0 0 2rem;
  max-width: 42ch;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex-wrap: wrap;
}

/* -----------------------------------------------
   Compliance preview card
   ----------------------------------------------- */
.compliance-preview {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cp-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--r-xl);
  padding: 1.75rem;
  width: 100%;
  max-width: 360px;
}

.cp-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 1.125rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.cp-score-num {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--green-400);
  line-height: 1;
}

.cp-score-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.cp-shop {
  text-align: right;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}

.cp-shop strong {
  display: block;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

.cp-checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.cp-checks li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.78);
}

.cp-pass { color: var(--green-400); font-size: 1.05rem; flex-shrink: 0; }
.cp-warn { color: #fbbf24; font-size: 1.05rem; flex-shrink: 0; }

.cp-foot {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.09);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cp-foot-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3125rem;
  background: rgba(74,222,128,0.15);
  border: 1px solid rgba(74,222,128,0.25);
  color: var(--green-400);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.1875rem 0.625rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* -----------------------------------------------
   Buttons
   ----------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  padding: 0.6875rem 1.375rem;
  border-radius: var(--r);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, border-color 0.15s;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  line-height: 1;
}

.btn:active { transform: translateY(1px); }

.btn-white {
  background: white;
  color: var(--green-800);
  border-color: white;
}
.btn-white:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  color: var(--green-900);
}

.btn-outline-white {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.28);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.08);
  color: white;
}

.btn-green {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.btn-green:hover {
  background: var(--accent-dk);
  border-color: var(--accent-dk);
  box-shadow: 0 4px 14px rgba(15,81,50,0.28);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--green-50);
}

/* -----------------------------------------------
   Layout utils
   ----------------------------------------------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.container-sm {
  max-width: var(--max-w-sm);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 2rem;
}

.section-alt { background: var(--bg-alt); }

.section-header {
  margin-bottom: 3rem;
}

.section-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 0.625rem;
  line-height: 1.2;
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin: 0;
  max-width: 52ch;
  line-height: 1.7;
}

/* -----------------------------------------------
   Problem / Why section
   ----------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

.why-aside h2 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 1rem;
  line-height: 1.2;
}

.why-aside p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.why-facts {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.why-fact {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.why-fact:first-child { border-top: 1px solid var(--border); }

.why-fact-icon {
  width: 44px;
  height: 44px;
  background: var(--green-50);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 1.25rem;
}

.why-fact-title {
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0 0 0.3125rem;
}

.why-fact-body {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.65;
}

/* -----------------------------------------------
   How it works — steps
   ----------------------------------------------- */
.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.step {
  position: relative;
}

.step-num {
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 0.875rem;
  flex-shrink: 0;
}

.step-title {
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0 0 0.375rem;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.65;
}

/* -----------------------------------------------
   Features grid
   ----------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.feat {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--white);
}

.feat-icon {
  width: 44px;
  height: 44px;
  background: var(--green-50);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 1.25rem;
}

.feat-title {
  font-size: 0.9875rem;
  font-weight: 600;
  margin: 0 0 0.4375rem;
}

.feat-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.7;
}

/* -----------------------------------------------
   Trust / Company section
   ----------------------------------------------- */
.trust-section {
  background: var(--green-900);
  color: white;
  padding: 5rem 2rem;
}

.trust-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.trust-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: white;
  margin: 0 0 0.875rem;
  line-height: 1.2;
}

.trust-body {
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  margin: 0 0 2rem;
}

.trust-points {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.trust-point {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.8);
}

.trust-point i { color: var(--green-400); font-size: 1.125rem; flex-shrink: 0; }

.trust-statement {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
}

.trust-quote {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  border-left: 3px solid var(--green-400);
  padding-left: 1.25rem;
  margin: 0;
  font-style: normal;
}

.trust-company {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-lg);
  padding: 1.5rem;
}

.trust-company-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-400);
  font-weight: 600;
  margin: 0 0 0.375rem;
}

.trust-company-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: white;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}

.trust-company-body {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
  margin: 0;
}

.trust-cta {
  color: var(--green-200);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
}

.trust-cta:hover { color: white; }

.trust-badges {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.tbadge {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: 1rem 1.25rem;
}

.tbadge-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green-400);
  font-size: 1.25rem;
}

.tbadge-info { min-width: 0; }

.tbadge-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.055em;
  margin-bottom: 0.1875rem;
}

.tbadge-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
}

/* -----------------------------------------------
   CTA band
   ----------------------------------------------- */
.cta-band {
  background: var(--green-50);
  border-top: 1px solid var(--green-100);
  padding: 4.5rem 2rem;
  text-align: center;
}

.cta-title {
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 0.625rem;
}

.cta-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0 auto 2rem;
  max-width: 40ch;
  line-height: 1.7;
}

/* -----------------------------------------------
   Footer — compact single bar
   ----------------------------------------------- */
.site-footer {
  background: var(--gray-900);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.375rem 2rem;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.4375rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
}

.footer-brand i { color: var(--green-400); font-size: 1rem; }
.footer-brand:hover { color: white; }

.footer-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: rgba(255,255,255,0.48);
  text-decoration: none;
  font-size: 0.8125rem;
  transition: color 0.15s;
  white-space: nowrap;
}

.footer-nav a:hover { color: rgba(255,255,255,0.85); }

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.28);
  margin: 0;
  white-space: nowrap;
}

/* kept for legal pages that still use old class names */
.footer-col-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.065em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.875rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.15s;
}

.footer-links a:hover { color: white; }

/* -----------------------------------------------
   Legal document pages
   ----------------------------------------------- */
.legal-doc {
  padding: 3rem 2rem 4rem;
  max-width: var(--max-w-sm);
  margin: 0 auto;
}

.legal-doc-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.legal-doc h1 {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.doc-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.doc-meta strong { color: var(--gray-700); }

.legal-doc h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.legal-doc h3 {
  font-size: 0.9875rem;
  font-weight: 600;
  margin-top: 1.5rem;
}

.legal-doc p, .legal-doc li {
  font-size: 0.9375rem;
  color: var(--gray-700);
  line-height: 1.75;
}

.legal-doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin: 1.25rem 0;
}

.legal-doc th, .legal-doc td {
  border: 1px solid var(--border);
  padding: 0.5625rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.legal-doc th {
  background: var(--bg-alt);
  font-weight: 600;
  font-size: 0.8125rem;
}

.legal-doc a { color: var(--accent); }

.legal-doc code {
  background: var(--gray-100);
  padding: 0.125rem 0.375rem;
  border-radius: var(--r-sm);
  font-size: 0.875em;
  font-family: "JetBrains Mono", "Fira Code", "Cascadia Code", monospace;
}

.legal-doc em { color: var(--text-muted); }

.legal-notice {
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1rem 1.25rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 2.5rem;
}

hr { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }

/* -----------------------------------------------
   Legacy home (index.html before redesign)
   ----------------------------------------------- */
.home { padding: 2.5rem 1.25rem 3rem; }
.lead { font-size: 1.1rem; }
.home-links { padding-left: 1.25rem; }
.muted { color: var(--text-muted); font-size: 0.95rem; }

/* -----------------------------------------------
   Responsive
   ----------------------------------------------- */
@media (max-width: 960px) {
  .hero-inner  { grid-template-columns: 1fr; }
  .compliance-preview { display: none; }
  .why-grid    { grid-template-columns: 1fr; gap: 2.5rem; }
  .steps-row   { grid-template-columns: 1fr 1fr; }
  .trust-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-top  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 3.5rem 1.25rem; }

  .hero {
    padding: 3.5rem 1.25rem;
  }

  .hero-title { font-size: 1.75rem; }

  .nav-inner { padding: 0 1.25rem; }

  .features-grid { grid-template-columns: 1fr; }
  .steps-row     { grid-template-columns: 1fr; }
  .footer-top    { grid-template-columns: 1fr; gap: 2rem; }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .trust-section { padding: 3.5rem 1.25rem; }
  .cta-band      { padding: 3.5rem 1.25rem; }

  .legal-doc { padding: 2rem 1.25rem 3rem; }

  .legal-doc table {
    display: block;
    overflow-x: auto;
  }
}
