/* ============================================================
   DATATOMICALLY — Main Design System
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:         #0B1E3D;
  --navy-mid:     #132952;
  --navy-light:   #1E3E74;
  --blue:         #1A5FD4;
  --blue-bright:  #2272FF;
  --blue-pale:    #EBF2FF;
  --yellow:       #F5C518;
  --yellow-bright:#FFD53D;
  --yellow-pale:  #FFFBEA;
  --yellow-deep:  #D4A000;
  --white:        #FFFFFF;
  --off-white:    #F7F9FC;
  --gray-100:     #EFF2F7;
  --gray-200:     #DDE3EE;
  --gray-400:     #8B97B4;
  --gray-600:     #4F5D7A;
  --gray-800:     #1E2942;
  --text:         #0B1E3D;
  --text-muted:   #5A6580;
  --green:        #1A7A42;
  --green-pale:   #E6F5EC;
  --red:          #C0392B;
  --red-pale:     #FFEAEA;
  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  28px;
  --shadow-card:   0 2px 12px rgba(11,30,61,0.08),0 0 0 1px rgba(11,30,61,0.05);
  --shadow-lifted: 0 8px 32px rgba(11,30,61,0.12),0 0 0 1px rgba(11,30,61,0.06);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Typography ── */
h1,h2,h3,h4,h5 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
h1 { font-size: clamp(2.4rem,5.5vw,4.2rem); font-weight: 800; color: var(--navy); }
h2 { font-size: clamp(1.8rem,3.5vw,2.8rem); font-weight: 800; color: var(--navy); }
h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); }
h4 { font-size: 0.95rem; font-weight: 700; color: var(--navy); }
p  { line-height: 1.7; }
a  { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
code, pre { font-family: 'DM Mono', monospace; }

/* ── Layout ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.container-sm { max-width: 760px; margin: 0 auto; padding: 0 2rem; }
.container-lg { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.text-center { text-align: center; }
section { padding: 100px 2rem; }

/* ── Nav ── */
#site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gray-200);
  height: 64px;
  display: flex; align-items: center;
  padding: 0 2rem;
}
.nav-inner {
  width: 100%; max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 1.15rem;
  color: var(--navy); text-decoration: none;
}
.nav-logo-mark {
  width: 32px; height: 32px;
  background: var(--navy); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.nav-logo-mark::after {
  content: ''; width: 12px; height: 12px;
  background: var(--yellow); border-radius: 3px;
}
.nav-links {
  display: flex; align-items: center; gap: 1.75rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem; font-weight: 500;
  color: var(--gray-600); text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-links a.active { font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: 0.75rem; }
.nav-toggle { display: none; cursor: pointer; background: none; border: none; padding: 4px; }
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--navy); margin: 5px 0;
  transition: all 0.3s;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'DM Sans', sans-serif; font-weight: 600;
  border-radius: var(--r-md); cursor: pointer;
  text-decoration: none; transition: all 0.2s;
  border: none; white-space: nowrap;
}
.btn-sm   { padding: 7px 16px; font-size: 0.83rem; }
.btn-md   { padding: 10px 22px; font-size: 0.9rem; }
.btn-lg   { padding: 14px 28px; font-size: 1rem; font-weight: 700; }
.btn-xl   { padding: 16px 34px; font-size: 1.05rem; font-weight: 700; }

.btn-primary   { background: var(--yellow); color: var(--navy); }
.btn-primary:hover { background: var(--yellow-bright); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(245,197,24,0.35); }
.btn-navy      { background: var(--navy); color: var(--white); }
.btn-navy:hover{ background: var(--navy-mid); transform: translateY(-1px); }
.btn-outline   { background: transparent; color: var(--navy); border: 1.5px solid var(--gray-200); }
.btn-outline:hover { border-color: var(--navy); background: var(--gray-100); }
.btn-outline-white { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.25); }
.btn-outline-white:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.07); }
.btn-ghost-nav { padding: 8px 18px; font-size: 0.875rem; font-weight: 500; background: transparent; color: var(--navy); border: 1.5px solid var(--gray-200); border-radius: var(--r-sm); cursor: pointer; text-decoration: none; transition: all 0.2s; }
.btn-ghost-nav:hover { border-color: var(--navy); background: var(--gray-100); }
.btn-nav-cta { padding: 9px 20px; font-size: 0.875rem; font-weight: 600; color: var(--navy); background: var(--yellow); border: none; border-radius: var(--r-sm); cursor: pointer; text-decoration: none; transition: all 0.2s; }
.btn-nav-cta:hover { background: var(--yellow-bright); transform: translateY(-1px); }

/* ── Section labels ── */
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--blue); margin-bottom: 1rem;
}
.section-label::before {
  content: ''; width: 18px; height: 2px;
  background: var(--yellow); border-radius: 1px;
}

/* ── Cards ── */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: all 0.25s;
}
.card:hover { box-shadow: var(--shadow-lifted); transform: translateY(-2px); }
.card-accent::after {
  content: ''; display: block;
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--yellow), var(--blue-bright));
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  opacity: 0; transition: opacity 0.25s;
}
.card-accent { position: relative; overflow: hidden; }
.card-accent:hover::after { opacity: 1; }

/* ── Tags / Badges ── */
.badge {
  display: inline-flex; align-items: center;
  padding: 3px 10px; border-radius: 100px;
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.badge-yellow { background: var(--yellow-pale); color: var(--yellow-deep); }
.badge-blue   { background: var(--blue-pale); color: var(--blue); }
.badge-green  { background: var(--green-pale); color: var(--green); }
.badge-navy   { background: var(--navy); color: var(--white); }
.badge-new    { background: var(--yellow); color: var(--navy); }

/* ── Check list ── */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.check-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.95rem; color: var(--text-muted);
}
.check-icon {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--yellow); flex-shrink: 0; margin-top: 2px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; color: var(--navy); font-weight: 800;
}

/* ── Forms ── */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--navy); margin-bottom: 0.4rem;
}
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 10px 14px;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
  color: var(--text); background: var(--white);
  border: 1.5px solid var(--gray-200); border-radius: var(--r-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,95,212,0.12);
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-hint { font-size: 0.78rem; color: var(--gray-400); margin-top: 0.3rem; }

/* ── Hero base ── */
.hero-dark {
  min-height: 100vh; padding: 120px 2rem 80px;
  background: var(--navy);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 100%);
}
.hero-glow {
  position: absolute;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(245,197,24,0.1) 0%, transparent 70%);
  top: -200px; left: 50%; transform: translateX(-50%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,197,24,0.12);
  border: 1px solid rgba(245,197,24,0.28);
  border-radius: 100px; padding: 6px 14px;
  font-size: 0.78rem; font-weight: 600;
  color: var(--yellow); letter-spacing: 0.05em;
  text-transform: uppercase; margin-bottom: 1.5rem;
}
.hero-badge-dot {
  width: 6px; height: 6px; background: var(--yellow);
  border-radius: 50%; animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 820px; }
.hero-content h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero-content h1 .accent { color: var(--yellow); }
.hero-sub {
  font-size: clamp(1rem,2vw,1.2rem);
  color: rgba(255,255,255,0.62); max-width: 580px;
  margin: 0 auto 2.5rem; line-height: 1.75;
}
.hero-actions {
  display: flex; align-items: center; gap: 1rem;
  justify-content: center; flex-wrap: wrap; margin-bottom: 1.25rem;
}
.hero-proof {
  font-size: 0.82rem; color: rgba(255,255,255,0.38);
  display: flex; align-items: center; gap: 1.25rem;
  justify-content: center; flex-wrap: wrap;
}
.hero-proof span { display: flex; align-items: center; gap: 5px; }

/* ── Page Hero (light, inner pages) ── */
.page-hero {
  padding: 100px 2rem 60px;
  background: var(--off-white);
  border-bottom: 1px solid var(--gray-200);
  text-align: center;
}
.page-hero .section-label { justify-content: center; }
.page-hero h1 { font-size: clamp(2rem,4vw,3.2rem); margin-bottom: 1rem; }
.page-hero .lead {
  font-size: 1.1rem; color: var(--text-muted);
  max-width: 560px; margin: 0 auto;
}

/* ── Feature split ── */
.feature-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
  max-width: 1100px; margin: 0 auto;
}
.feature-split.reverse { direction: rtl; }
.feature-split.reverse > * { direction: ltr; }
.feature-visual-box {
  background: var(--navy); border-radius: var(--r-xl);
  padding: 2.5rem; min-height: 380px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.feature-visual-box .feature-visual-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* ── Logos strip ── */
.logos-strip {
  background: var(--off-white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 1.5rem 2rem;
}
.logos-label {
  text-align: center;
  font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.1em; font-weight: 600;
  color: var(--gray-400); margin-bottom: 1.25rem;
}
.logos-track {
  display: flex; align-items: center;
  justify-content: center; gap: 3rem; flex-wrap: wrap;
}
.logo-item {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem; font-weight: 700;
  color: var(--gray-400); opacity: 0.7;
}

/* ── Pricing ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 1.5rem; max-width: 1000px; margin: 3.5rem auto 0;
  align-items: start;
}
.price-card {
  background: var(--white); border: 1.5px solid var(--gray-200);
  border-radius: var(--r-xl); padding: 2rem;
  position: relative; transition: all 0.25s;
}
.price-card:hover { box-shadow: var(--shadow-lifted); }
.price-card.featured { border-color: var(--navy); background: var(--navy); }
.featured-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--yellow); color: var(--navy);
  font-size: 0.7rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 4px 14px; border-radius: 100px; white-space: nowrap;
}
.plan-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--blue); margin-bottom: 0.5rem;
}
.price-card.featured .plan-name { color: var(--yellow); }
.price-amount {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.6rem; font-weight: 800;
  color: var(--navy); line-height: 1; margin-bottom: 0.2rem;
}
.price-card.featured .price-amount { color: var(--white); }
.price-period { font-size: 0.83rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.price-card.featured .price-period { color: rgba(255,255,255,0.45); }
.price-divider { height: 1px; background: var(--gray-200); margin-bottom: 1.5rem; }
.price-card.featured .price-divider { background: rgba(255,255,255,0.12); }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 2rem; }
.price-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.88rem; color: var(--text-muted); }
.price-card.featured .price-features li { color: rgba(255,255,255,0.68); }
.pf-check { color: var(--blue); font-size: 0.75rem; font-weight: 700; margin-top: 2px; flex-shrink: 0; }
.price-card.featured .pf-check { color: var(--yellow); }
.btn-plan {
  display: block; width: 100%; padding: 12px;
  border-radius: var(--r-md); font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem; font-weight: 700;
  text-align: center; text-decoration: none;
  cursor: pointer; transition: all 0.2s; border: none;
}
.btn-plan-outline { background: transparent; border: 1.5px solid var(--gray-200); color: var(--navy); }
.btn-plan-outline:hover { border-color: var(--navy); background: var(--gray-100); }
.btn-plan-yellow { background: var(--yellow); color: var(--navy); }
.btn-plan-yellow:hover { background: var(--yellow-bright); }

/* ── Testimonials ── */
.testimonial-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--r-lg); padding: 1.75rem;
}
.testimonial-stars { display: flex; gap: 3px; margin-bottom: 1rem; color: var(--yellow); font-size: 0.88rem; }
.testimonial-text { font-size: 0.94rem; color: var(--text); line-height: 1.7; margin-bottom: 1.25rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.author-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; flex-shrink: 0;
}
.av-b { background: #DBEAFE; color: #1E40AF; }
.av-g { background: #D1FAE5; color: #065F46; }
.av-p { background: #EDE9FE; color: #5B21B6; }
.av-o { background: #FEF3C7; color: #92400E; }
.av-r { background: #FFE4E6; color: #9F1239; }
.author-name { font-weight: 600; font-size: 0.88rem; color: var(--navy); }
.author-role { font-size: 0.78rem; color: var(--text-muted); }

/* ── CTA Section ── */
.cta-section {
  background: var(--navy); text-align: center;
  padding: 120px 2rem;
}
.cta-section h2 { color: var(--white); }
.cta-section .section-label { justify-content: center; }
.cta-sub {
  font-size: 1.1rem; color: rgba(255,255,255,0.55);
  max-width: 520px; margin: 1rem auto 2.5rem; line-height: 1.7;
}
.cta-note { margin-top: 1.25rem; font-size: 0.8rem; color: rgba(255,255,255,0.32); }

/* ── Footer ── */
#site-footer {
  background: var(--gray-800);
  color: rgba(255,255,255,0.45);
  padding: 3.5rem 2rem 2rem;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-logo { margin-bottom: 0.75rem; }
.footer-tagline { font-size: 0.84rem; line-height: 1.65; max-width: 230px; }
.footer-col-title {
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.65); margin-bottom: 1rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { font-size: 0.87rem; color: rgba(255,255,255,0.42); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.8); }
.footer-bottom {
  max-width: 1100px; margin: 2.5rem auto 0;
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.8rem; flex-wrap: wrap; gap: 0.5rem;
}
.footer-social { display: flex; gap: 1rem; }
.footer-social a { color: rgba(255,255,255,0.38); text-decoration: none; transition: color 0.2s; font-size: 0.82rem; }
.footer-social a:hover { color: rgba(255,255,255,0.75); }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.anim-fade-up { animation: fadeUp 0.6s ease both; }
.anim-delay-1 { animation-delay: 0.1s; }
.anim-delay-2 { animation-delay: 0.2s; }
.anim-delay-3 { animation-delay: 0.3s; }
.anim-delay-4 { animation-delay: 0.4s; }
.anim-delay-5 { animation-delay: 0.5s; }

/* ── Utility ── */
.mt-1  { margin-top: 0.5rem; }
.mt-2  { margin-top: 1rem; }
.mt-3  { margin-top: 1.5rem; }
.mt-4  { margin-top: 2rem; }
.mt-6  { margin-top: 3rem; }
.mb-2  { margin-bottom: 1rem; }
.mb-4  { margin-bottom: 2rem; }
.flex  { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 1.25rem; }
.divider { height: 1px; background: var(--gray-200); margin: 3rem 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .feature-split { grid-template-columns: 1fr; gap: 3rem; }
  .feature-split.reverse { direction: ltr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  section { padding: 70px 1.25rem; }
  .container, .container-sm { padding: 0 1.25rem; }
}
@media (max-width: 520px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .pricing-grid { grid-template-columns: 1fr; }
}
