/* =========================================================
   Linkstonic — Sub-page stylesheet
   Imports custom.css which has all the shared styles
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('custom.css');

/* Sub-page body defaults */
body {
  background: #fafbff;
  color: #0f172a;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

h1, h2, h3, h4, h5, h6 { letter-spacing: -0.03em; line-height: 1.15; font-weight: 600; color: #000000; }
h1 { font-size: 3.8rem; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
p { color: #475569; font-size: 1.0625rem; line-height: 1.7; }

.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

.section-header-center { text-align: center; }
.section-header-center .section-label { justify-content: center; }
.section-header-center .section-desc { margin: 0 auto; }

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.bento-grid { display: grid; gap: 20px; }
.bento-span-2 { grid-column: span 2; }

/* Feature row */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; padding: 56px 0; }
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-list { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.feature-list-item { display: flex; align-items: flex-start; gap: 14px; padding: 18px; background: #fff; border: 1px solid rgba(15,23,42,0.08); border-radius: 20px; transition: all 0.3s; }
.feature-list-item:hover { background: #e8f5e8; border-color: rgba(22,163,74,0.2); transform: translateX(4px); }
.feature-list-icon { width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0; background: #16A34A; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.feature-list-text h4 { font-size: 0.95rem; margin-bottom: 4px; font-weight: 600; color: #000000; }
.feature-list-text p { font-size: 0.875rem; color: #475569; }

.feature-panel-title { font-size: 0.85rem; font-weight: 600; color: #475569; }
.feature-icon { width: 52px; height: 52px; border-radius: 12px; background: rgba(22,163,74,0.08); border: 1px solid rgba(22,163,74,0.12); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 1.5rem; }
.feature-title { font-size: 1.15rem; font-weight: 600; color: #000000; margin-bottom: 10px; }
.feature-desc { font-size: 0.93rem; color: #475569; line-height: 1.65; }
.feature-tag { font-size: 0.78rem; color: #16A34A; font-weight: 600; margin-top: 16px; display: inline-block; }

/* Misc utilities */
.text-green { color: #16A34A; }
.text-muted { color: #94a3b8; }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; } .mt-64 { margin-top: 64px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; } .mb-48 { margin-bottom: 48px; } .mb-64 { margin-bottom: 64px; }
.flex { display: flex; } .flex-col { flex-direction: column; }
.items-center { align-items: center; } .justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.w-full { width: 100%; } .relative { position: relative; }
.overflow-hidden { overflow: hidden; } .hidden { display: none; }

.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: nowrap;
  min-width: 0;
  overflow-x: visible;
}

/* Hamburger: only on small screens (was always visible → broke row layout) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 8px;
  flex-shrink: 0;
  margin-left: 4px;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #64748b;
  border-radius: 1px;
}

.pricing-name { font-size: 1rem; font-weight: 600; color: #000000; margin-bottom: 8px; }
.pricing-desc { font-size: 0.875rem; color: #64748b; margin-bottom: 28px; }
.pricing-price sup { font-size: 1.4rem; vertical-align: top; }
.pricing-price sub { font-size: 0.9rem; font-weight: 500; color: #94a3b8; }

.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 42px; height: 42px; border-radius: 50%; background: #16A34A; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 600; color: #fff; }
.testimonial-name { font-size: 0.9rem; font-weight: 600; color: #000000; margin-bottom: 2px; }
.testimonial-role { font-size: 0.78rem; color: #64748b; }

.card-glow::before { content: ''; position: absolute; top: 0; left: 24px; right: 24px; height: 2px; background: #16A34A; opacity: 0; transition: opacity 0.4s; border-radius: 2px; }
.card-glow:hover::before { opacity: 1; }

/* Responsive */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
/* Match homepage: hide link row + CTAs below lg (1024px); hamburger + mobile menu only */
@media (max-width: 1023px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}

@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .bento-span-2 { grid-column: span 1; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
}

/* Legal / policy pages */
.legal-doc { max-width: 42rem; margin: 0 auto; }
.legal-doc .legal-meta { font-size: 0.875rem; color: #64748b; margin-bottom: 2rem; }
.legal-doc h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #0f172a;
  margin: 2rem 0 0.65rem;
  letter-spacing: -0.02em;
}
.legal-doc h2:first-of-type { margin-top: 0; }
.legal-doc h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  margin: 1.35rem 0 0.45rem;
}
.legal-doc p,
.legal-doc li {
  font-size: 0.9375rem;
  color: #475569;
  line-height: 1.75;
  margin: 0 0 0.85rem;
}
.legal-doc ul,
.legal-doc ol {
  list-style: revert;
  padding-left: 1.35rem;
  margin: 0 0 1rem;
}
.legal-doc a { color: #16a34a; text-decoration: underline; text-underline-offset: 2px; }
.legal-doc a:hover { color: #15803d; }
.legal-doc .legal-note {
  font-size: 0.875rem;
  color: #64748b;
  padding: 1rem 1.15rem;
  background: rgba(22, 163, 74, 0.06);
  border: 1px solid rgba(22, 163, 74, 0.15);
  border-radius: 12px;
  margin-bottom: 1.5rem;
}
