/* ============================================
   MetadataONE — Shared Styles
   Used across all pages. Page-specific styles stay inline.
   ============================================ */

/* RESET & VARIABLES */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white: #ffffff;
  --bg: #fafbfc;
  --bg-warm: #f8f7f5;
  --bg-card: #ffffff;
  --bg-muted: #f3f4f6;
  --bg-dark: #141414;
  --bg-dark-card: #1e1e1e;
  --border: #e5e7eb;
  --border-strong: #d1d5db;
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #9ca3af;
  --text-inverse: #f9fafb;
  --accent: #2AA791;
  --accent-light: #D8FCF5;
  --accent-medium: #2AA791;
  --accent-dark: #1a7a69;
  --orange: #ea580c;
  --orange-light: #fff7ed;
  --blue: #2563eb;
  --blue-light: #eff6ff;
  --red-soft: #fef2f2;
  --red: #dc2626;
  --purple: #7c3aed;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 10px 10px -5px rgba(0,0,0,0.02);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --font: 'Rubik', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}

nav.scrolled { box-shadow: var(--shadow-sm); }

.nav-left { display: flex; align-items: center; gap: 40px; }

.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text-primary);
}

.logo-mark {
  width: 28px; height: 28px;
  border-radius: 6px;
  overflow: hidden;
}

.logo-mark img {
  width: 100%; height: 100%; object-fit: contain;
}

.logo-text { font-weight: 700; font-size: 17px; letter-spacing: -0.4px; }
.logo-text em { font-style: normal; color: var(--text-primary); font-weight: 800; }

.nav-menu { display: flex; gap: 28px; list-style: none; }
.nav-menu a {
  color: var(--text-secondary); text-decoration: none;
  font-size: 14px; font-weight: 500;
  transition: color 0.15s;
}
.nav-menu a:hover { color: var(--text-primary); }

.nav-dropdown { position: relative; }
.nav-dropdown > a { cursor: pointer; }
.nav-dropdown-menu {
  display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 200px; padding: 8px 0; margin-top: 12px;
  background: white; border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block; padding: 10px 20px; font-size: 14px; font-weight: 500;
  color: var(--text-secondary) !important; text-decoration: none; transition: background 0.15s;
}
.nav-dropdown-menu a:hover { background: var(--bg-muted); color: var(--text-primary) !important; }
.nav-dropdown-menu a small {
  display: block; font-size: 12px; color: var(--text-muted); font-weight: 400; margin-top: 2px;
}

.nav-right { display: flex; align-items: center; gap: 12px; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; font-family: var(--font);
  cursor: pointer; text-decoration: none; transition: all 0.15s;
  border: none;
}

.btn-ghost { background: none; color: var(--text-secondary); }
.btn-ghost:hover { color: var(--text-primary); background: var(--bg-muted); }

.btn-solid {
  background: var(--text-primary); color: white;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.btn-solid:hover { background: #1f2937; transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-accent {
  background: var(--orange); color: white;
  box-shadow: 0 1px 2px rgba(255,122,0,0.2);
  transition: all 0.2s ease;
}
.btn-accent:hover {
  background: #e06d00; transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(255,122,0,0.35), 0 4px 12px rgba(255,122,0,0.2);
}

.btn-outline {
  background: white; color: var(--text-primary);
  border: 1.5px solid var(--border-strong);
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}
.btn-outline:hover { border-color: var(--text-primary); background: var(--bg-muted); }

.btn-outline-light {
  background: transparent; color: white;
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-outline-light:hover { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.08); }

.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: var(--radius-md); }

/* LAYOUT */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

section { padding: 100px 0; }

.section-eyebrow {
  font-size: 13px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--accent);
  margin-bottom: 14px;
}

.section-heading {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800; letter-spacing: -1.2px;
  line-height: 1.15; margin-bottom: 16px;
  color: var(--text-primary);
}

.section-desc {
  font-size: 17px; color: var(--text-secondary);
  line-height: 1.7; max-width: 580px;
}

.text-center { text-align: center; }
.text-center .section-desc { margin: 0 auto; }
.text-accent { color: var(--orange); }

/* ANIMATIONS */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-32px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(32px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.92); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }
.reveal-stagger > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.32s; }

/* CARD HOVERS */
.card-hover { transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s ease; }
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 24px rgba(255,122,0,0.12), 0 8px 32px rgba(0,0,0,0.08);
}

/* HAMBURGER & MOBILE MENU */
.hamburger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none; cursor: pointer; padding: 6px;
  z-index: 110;
}
.hamburger span {
  display: block; width: 100%; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
  background: var(--white);
  display: flex;
  flex-direction: column;
  padding: 24px;
  gap: 0;
  z-index: 99;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  visibility: hidden;
}
.mobile-menu.open { transform: translateX(0); visibility: visible; }
.mobile-menu a {
  display: block; padding: 16px 0;
  font-size: 17px; font-weight: 500; color: var(--text-primary);
  text-decoration: none; border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu-cta {
  margin-top: 16px;
  background: var(--orange) !important;
  color: white !important;
  text-align: center;
  border-radius: var(--radius-md);
  padding: 16px !important;
  border-bottom: none !important;
  font-weight: 700 !important;
}

/* PAGE HERO (for inner pages) */
.page-hero {
  padding: 140px 0 60px;
  background: linear-gradient(180deg, var(--white) 0%, var(--bg) 100%);
}
.page-hero h1 {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800; letter-spacing: -1.5px;
  line-height: 1.1; margin-bottom: 16px;
}
.page-hero p {
  font-size: 18px; color: var(--text-secondary);
  line-height: 1.7; max-width: 600px;
}
.page-hero.text-center p { margin: 0 auto; }

/* FEATURE GRID (for inner pages) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: white;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.feature-card h3 {
  font-size: 18px; font-weight: 700; margin-bottom: 8px;
}
.feature-card p {
  font-size: 15px; color: var(--text-secondary); line-height: 1.7;
}
.feature-card .icon {
  font-size: 28px; margin-bottom: 16px; display: block;
}

/* TESTIMONIAL CARD (reusable) */
.testimonial-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: white;
  border: 1px solid var(--border);
}
.testimonial-card blockquote {
  font-size: 16px; line-height: 1.7; color: var(--text-secondary);
  font-style: italic; margin-bottom: 20px;
}
.testimonial-card .author {
  display: flex; align-items: center; gap: 12px;
}
.testimonial-card .author img {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
}
.testimonial-card .author-name { font-weight: 700; font-size: 14px; }
.testimonial-card .author-title { font-size: 13px; color: var(--text-muted); }

/* CTA SECTION (reusable) */
.cta-section {
  padding: 80px 0;
  background: var(--bg-dark);
}
.cta-box {
  text-align: center;
  padding: 64px 40px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  border: 1px solid #333;
}
.cta-box h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800; color: white;
  letter-spacing: -1px; margin-bottom: 16px;
}
.cta-box p {
  font-size: 17px; color: #9ca3af;
  line-height: 1.7; max-width: 500px;
  margin: 0 auto 32px;
}
.cta-actions {
  display: flex; gap: 12px;
  justify-content: center;
}

/* FOOTER */
.site-footer {
  padding: 64px 0 32px;
  background: #0a0a0a;
  border-top: 1px solid #222;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand-desc {
  color: #9ca3af; font-size: 14px; line-height: 1.6; max-width: 280px;
}
.footer-col h5 {
  color: white; font-weight: 700; font-size: 14px; margin-bottom: 16px;
}
.footer-col a {
  display: block; color: #9ca3af; text-decoration: none;
  font-size: 13px; margin-bottom: 10px; transition: color 0.15s;
}
.footer-col a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid #222;
  padding-top: 24px;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-bottom .copyright { color: #6b7280; font-size: 12px; }
.footer-bottom a {
  color: #6b7280; text-decoration: none; font-size: 12px;
  transition: color 0.15s;
}
.footer-bottom a:hover { color: #9ca3af; }

/* STAT CARD (for social proof) */
.stat-card {
  text-align: center; padding: 24px;
}
.stat-card .stat-value {
  font-size: 36px; font-weight: 800; letter-spacing: -1px;
  color: var(--orange);
}
.stat-card .stat-label {
  font-size: 14px; color: var(--text-secondary); margin-top: 4px;
}
.stat-card .stat-source {
  font-size: 12px; color: var(--text-muted); margin-top: 2px;
}

/* LOGO GRID (for trust sections) */
.trust-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px; align-items: center;
  padding: 32px 0;
}
.trust-logos img {
  max-height: 32px; width: auto; opacity: 0.6;
  filter: grayscale(1); transition: opacity 0.2s, filter 0.2s;
}
.trust-logos img:hover { opacity: 1; filter: none; }

/* LEGAL PAGE (for privacy, terms, etc.) */
.legal-content {
  max-width: 800px; margin: 0 auto; padding: 0 24px;
}
.legal-content h2 {
  font-size: 24px; font-weight: 700; margin: 40px 0 16px;
  letter-spacing: -0.5px;
}
.legal-content h3 {
  font-size: 18px; font-weight: 600; margin: 28px 0 12px;
}
.legal-content p, .legal-content li {
  font-size: 15px; color: var(--text-secondary);
  line-height: 1.8; margin-bottom: 16px;
}
.legal-content ul, .legal-content ol {
  padding-left: 24px; margin-bottom: 16px;
}
.legal-content a { color: var(--orange); }

/* RESPONSIVE — SHARED */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  nav { padding: 0 16px; }
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 48px 24px; }
  .cta-actions { flex-direction: column; gap: 10px; }
  .cta-actions .btn { width: 100%; justify-content: center; }
  .nav-desktop-only { display: none; }
}

@media (max-width: 480px) {
  nav { padding: 0 16px; height: 56px; }
  .logo-mark { width: 24px; height: 24px; }
  .logo-text { font-size: 15px; }
  .nav-left { gap: 0; }
  .nav-menu { display: none; }
  .mobile-menu { top: 56px; }
  .hamburger { display: flex; }
  .nav-cta-mobile { padding: 7px 14px; font-size: 12px; }
  section { padding: 48px 0; }
  .container { padding: 0 16px; }
  .container-wide { padding: 0 16px; }
  .section-heading { margin-bottom: 12px; }
  .section-desc { font-size: 14px; margin-bottom: 32px; }
  .page-hero { padding: 80px 0 40px; }
  .page-hero h1 { font-size: 28px; letter-spacing: -0.8px; }
  .btn-lg { padding: 14px 20px; font-size: 14px; }
  .footer-grid { grid-template-columns: 1fr; }
}
