/* ==========================================================================
   Lidot Marketing — main.css
   All theme styles. Loaded via functions.php enqueue.
   ========================================================================== */

/* ── Base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: #2B2D2F; color: #EFEFEF; font-family: 'Inter', sans-serif; -webkit-font-smoothing: antialiased; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #1A1B1D; }
::-webkit-scrollbar-thumb { background: #00FFFF; border-radius: 3px; }

/* ── Keyframes ───────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes marquee-fwd { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
@keyframes marquee-rev { 0%{transform:translateX(-50%)} 100%{transform:translateX(0)} }
@keyframes pulse-dot {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.4; transform:scale(0.7); }
}

.fade-up-1 { animation: fadeUp 0.75s ease both; animation-delay: 0.05s; }
.fade-up-2 { animation: fadeUp 0.75s ease both; animation-delay: 0.2s; }
.fade-up-3 { animation: fadeUp 0.75s ease both; animation-delay: 0.38s; }

/* ── Nav ─────────────────────────────────────────────────────────────── */
#main-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 60px;
  background: rgba(26,27,29,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(239,239,239,0.07);
  transition: background 0.3s;
}
#main-nav.scrolled { background: rgba(26,27,29,0.98); }
.nav-inner {
  max-width: 1440px; margin: 0 auto; padding: 0 48px;
  height: 60px; display: flex; align-items: center; justify-content: space-between;
}
.nav-link {
  font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 500;
  color: rgba(239,239,239,0.55); text-decoration: none;
  letter-spacing: 0.8px; text-transform: uppercase; transition: color 0.2s;
}
.nav-link:hover { color: #EFEFEF; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-cta {
  background: #00FFFF; color: #1A1B1D; font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 600; padding: 8px 20px;
  border-radius: 6px; text-decoration: none; white-space: nowrap; transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.9; color: #1A1B1D; }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.lidot-hero {
  position: relative;
  min-height: 100vh;
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0F1011 !important;
  padding: 80px 24px 60px !important;
}

/* Grid line decoration via CSS */
.lidot-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(239,239,239,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239,239,239,0.055) 1px, transparent 1px);
  background-size: 180px 150px;
  pointer-events: none; z-index: 0;
}
/* Radial cyan glow */
.lidot-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 65% 55% at 50% 42%, rgba(0,255,255,0.055) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}

.lidot-hero-inner {
  position: relative; z-index: 1;
  text-align: center; max-width: 1020px; width: 100%;
}

/* Hero eyebrow */
.lidot-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,255,255,0.07); border: 1px solid rgba(0,255,255,0.22);
  border-radius: 100px; padding: 6px 18px; margin-bottom: 36px;
  font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 500;
  color: #00FFFF; letter-spacing: 1.2px; text-transform: uppercase;
}
.lidot-pulse-dot {
  display: inline-block; width: 6px; height: 6px;
  border-radius: 50%; background: #00FFFF;
  animation: pulse-dot 2s ease-in-out infinite;
}

/* Hero heading */
.lidot-hero .wp-block-heading,
.lidot-hero h1 {
  font-family: 'Poppins', sans-serif !important;
  font-size: clamp(44px, 6.5vw, 84px) !important;
  font-weight: 700 !important; line-height: 1.08 !important;
  color: #EFEFEF !important; letter-spacing: -2px !important;
  text-align: center; margin: 0 auto 28px; max-width: 900px;
}

/* Hero paragraph */
.lidot-hero p,
.lidot-hero .wp-block-paragraph {
  font-family: 'Inter', sans-serif !important;
  font-size: clamp(16px, 1.5vw, 20px) !important;
  line-height: 1.75 !important; color: rgba(239,239,239,0.55) !important;
  max-width: 640px; margin: 0 auto 44px !important; font-weight: 300 !important;
  text-align: center;
}

/* Hero buttons */
.lidot-hero .wp-block-buttons { justify-content: center; flex-wrap: wrap; gap: 14px; }
.lidot-hero .wp-block-button__link {
  font-family: 'Inter', sans-serif !important; font-size: 15px !important;
  font-weight: 600 !important; padding: 15px 30px !important;
  border-radius: 8px !important; text-decoration: none !important;
}
.lidot-btn-primary .wp-block-button__link {
  background: #00FFFF !important; color: #1A1B1D !important;
  border: none !important;
}
.lidot-btn-primary .wp-block-button__link:hover { opacity: 0.9; }
.lidot-btn-ghost .wp-block-button__link {
  background: transparent !important; color: #EFEFEF !important;
  border: 1px solid rgba(239,239,239,0.18) !important;
}

/* Scroll hint */
.lidot-scroll-hint {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0.32; pointer-events: none; z-index: 1;
}
.lidot-scroll-hint span {
  font-size: 10px; font-family: 'Inter', sans-serif;
  letter-spacing: 2.5px; text-transform: uppercase; color: #EFEFEF;
}

/* ── Problem Section ─────────────────────────────────────────────────── */
.lidot-problem {
  background: #0A0B0C !important;
  padding: 140px 48px !important;
  position: relative; overflow: hidden;
}
.lidot-problem .lidot-section-label {
  text-align: center; margin-bottom: 20px;
  font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 500;
  color: rgba(239,239,239,0.28); letter-spacing: 3.5px; text-transform: uppercase;
}
.lidot-problem .wp-block-heading,
.lidot-problem h2 {
  font-family: 'Poppins', sans-serif !important;
  font-size: clamp(34px, 4.5vw, 62px) !important;
  font-weight: 700 !important; line-height: 1.12 !important;
  color: #EFEFEF !important; letter-spacing: -1.2px !important;
  text-align: center; max-width: 860px; margin: 0 auto 100px !important;
}
.lidot-problem .problem-faded { color: rgba(239,239,239,0.2) !important; }

/* Stats grid */
.lidot-stats-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3,1fr);
  border: 1px solid rgba(239,239,239,0.12);
}
.lidot-stats-grid .stat-cell {
  padding: 48px 40px;
  border-right: 1px solid rgba(239,239,239,0.12);
}
.lidot-stats-grid .stat-cell:last-child { border-right: none; }
.lidot-stats-grid .stat-num {
  font-family: 'Poppins', sans-serif; font-size: 52px; font-weight: 700;
  color: #FF5E00; line-height: 1; margin-bottom: 14px;
}
.lidot-stats-grid p {
  font-family: 'Inter', sans-serif; font-size: 14px;
  color: rgba(239,239,239,0.45); line-height: 1.7;
}

/* ── Proof card ──────────────────────────────────────────────────────── */
.lidot-proof { background: #0A0B0C !important; padding: 0 !important; }
.lidot-proof-grid {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 520px;
}
.lidot-proof-visual {
  position: relative; overflow: hidden; background: #131416;
  display: flex; align-items: center; justify-content: center; min-height: 400px;
}
.lidot-proof-visual img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.lidot-proof-visual-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.lidot-proof-card {
  background: #003030; padding: 80px 72px;
  display: flex; flex-direction: column; justify-content: center;
}
.lidot-proof-card .proof-eyebrow {
  font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 600;
  color: rgba(0,255,255,0.55); letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 32px;
}
.lidot-proof-card h2, .lidot-proof-card .wp-block-heading {
  font-family: 'Poppins', sans-serif !important;
  font-size: clamp(28px, 3.2vw, 46px) !important;
  font-weight: 700 !important; color: #EFEFEF !important;
  line-height: 1.2 !important; letter-spacing: -0.5px !important;
  margin-bottom: 24px !important;
}
.lidot-proof-card p {
  font-family: 'Inter', sans-serif; font-size: 16px;
  color: rgba(239,239,239,0.5); line-height: 1.75;
}

/* ── Light sections shared ───────────────────────────────────────────── */
.lidot-section-light {
  background: #EBEBEB !important;
  padding: 120px 48px !important;
}
.lidot-section-light .lidot-sec-label {
  display: flex; align-items: center; gap: 8px; margin-bottom: 18px;
}
.lidot-sec-label-arrow { font-size: 14px; color: #2B2D2F; }
.lidot-sec-label-text {
  font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 600;
  color: #2B2D2F; letter-spacing: 2.5px; text-transform: uppercase;
}
.lidot-section-light h2, .lidot-section-light .wp-block-heading[data-type="core/heading"] {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important; color: #1A1B1D !important;
}
.lidot-inner { max-width: 1344px; margin: 0 auto; width: 100%; }

/* Services heading */
.lidot-services-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 24px; margin-bottom: 56px;
}
.lidot-services-header h2, .lidot-services-h2 {
  font-family: 'Poppins', sans-serif !important;
  font-size: clamp(32px, 4vw, 56px) !important;
  font-weight: 700 !important; color: #1A1B1D !important;
  letter-spacing: -1.2px !important; line-height: 1.08 !important;
}
.lidot-accent { color: #FF5E00; }
.lidot-get-started {
  display: inline-flex; align-items: center; gap: 8px;
  background: #2B2D2F; color: #EFEFEF; font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 500; padding: 12px 24px;
  border-radius: 7px; text-decoration: none; white-space: nowrap;
}

/* Service cards */
.scard {
  background: #fff !important; border: 1px solid rgba(0,0,0,0.09) !important;
  border-radius: 14px !important; padding: 40px 32px !important;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.scard:hover {
  border-color: rgba(0,255,255,0.4) !important;
  box-shadow: 0 0 0 1px rgba(0,255,255,0.15) !important;
}
.scard .card-icon {
  width: 48px; height: 48px; background: #F0F0F0; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 24px;
}
.scard h3, .scard .wp-block-heading {
  font-family: 'Poppins', sans-serif !important; font-size: 20px !important;
  font-weight: 600 !important; color: #1A1B1D !important;
  margin-bottom: 12px !important; letter-spacing: -0.3px !important;
}
.scard p, .scard .wp-block-paragraph {
  font-family: 'Inter', sans-serif !important; font-size: 14px !important;
  color: rgba(26,27,29,0.58) !important; line-height: 1.75 !important;
}

/* Wide service card */
.scard.service-wide { grid-column: span 2; }
.service-wide-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start;
}
.tag-pill {
  display: inline-block; background: #F0F0F0; border-radius: 5px;
  padding: 7px 14px; font-size: 12px; font-family: 'Inter', sans-serif;
  color: rgba(26,27,29,0.6); font-weight: 500; margin: 4px 4px 4px 0;
}

/* Services grid */
.lidot-services-grid {
  display: grid !important; grid-template-columns: repeat(3,1fr) !important; gap: 14px !important;
}
.lidot-services-grid.wp-block-columns { flex-wrap: nowrap !important; gap: 14px !important; }

/* Why Lidot / general 3-col */
.wcard {
  background: #fff !important; border: 1px solid rgba(0,0,0,0.09) !important;
  border-radius: 14px !important; padding: 40px 32px !important;
}
.wcard .card-icon {
  width: 48px; height: 48px; background: #EBEBEB; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 24px;
}
.wcard h3, .wcard .wp-block-heading {
  font-family: 'Poppins', sans-serif !important; font-size: 18px !important;
  font-weight: 600 !important; color: #1A1B1D !important; margin-bottom: 12px !important;
}
.wcard p, .wcard .wp-block-paragraph {
  font-family: 'Inter', sans-serif !important; font-size: 14px !important;
  color: rgba(26,27,29,0.52) !important; line-height: 1.75 !important;
}

/* How It Works cards */
.hcard {
  background: #2B2D2F !important; border: 1px solid rgba(239,239,239,0.08) !important;
  border-radius: 14px !important; padding: 48px 40px !important;
  position: relative; overflow: hidden;
}
.hcard-num {
  position: absolute; top: 28px; right: 32px;
  font-family: 'Poppins', sans-serif; font-size: 88px; font-weight: 800;
  color: rgba(239,239,239,0.035); line-height: 1; pointer-events: none; user-select: none;
}
.hcard .step-label {
  font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 600;
  color: #00FFFF; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 20px;
}
.hcard h3, .hcard .wp-block-heading {
  font-family: 'Poppins', sans-serif !important; font-size: 22px !important;
  font-weight: 600 !important; color: #EFEFEF !important;
  margin-bottom: 16px !important; letter-spacing: -0.3px !important; line-height: 1.3 !important;
}
.hcard p, .hcard .wp-block-paragraph {
  font-family: 'Inter', sans-serif !important; font-size: 14px !important;
  color: rgba(239,239,239,0.45) !important; line-height: 1.75 !important;
}

/* Industry cards */
.icard {
  background: #fff !important; border: 1px solid rgba(0,0,0,0.09) !important;
  border-radius: 12px !important; padding: 28px 24px !important;
}
.icard .icard-emoji { font-size: 22px; margin-bottom: 12px; }
.icard h3, .icard .wp-block-heading {
  font-family: 'Poppins', sans-serif !important; font-size: 15px !important;
  font-weight: 600 !important; color: #1A1B1D !important; margin-bottom: 8px !important;
}
.icard p, .icard .wp-block-paragraph {
  font-family: 'Inter', sans-serif !important; font-size: 13px !important;
  color: rgba(26,27,29,0.5) !important; line-height: 1.65 !important;
}

/* Section headings (light bg) */
.lidot-section-h2 {
  font-family: 'Poppins', sans-serif !important;
  font-size: clamp(26px, 2.8vw, 42px) !important;
  font-weight: 700 !important; color: #1A1B1D !important;
  letter-spacing: -0.8px !important; margin-bottom: 48px !important;
  line-height: 1.2 !important;
}
.lidot-hiw-h2 {
  font-family: 'Poppins', sans-serif !important;
  font-size: clamp(30px, 4vw, 56px) !important;
  font-weight: 700 !important; color: #1A1B1D !important;
  letter-spacing: -1.2px !important; line-height: 1.1 !important;
  text-align: center !important; margin-bottom: 72px !important;
}
.lidot-hiw-h2-faded { color: rgba(26,27,29,0.25) !important; }

/* Marquee */
.marquee-outer { overflow: hidden; }
.marquee-track-fwd { display: flex; animation: marquee-fwd 32s linear infinite; }
.marquee-track-rev { display: flex; animation: marquee-rev 26s linear infinite; }
.logo-pill {
  background: #fff; border: 1px solid rgba(0,0,0,0.1); border-radius: 8px;
  padding: 14px 30px; font-family: 'Inter', sans-serif; font-size: 14px;
  font-weight: 600; color: #1A1B1D; white-space: nowrap; margin-right: 12px;
}

/* CTA section */
.lidot-cta {
  background: #2A1400 !important;
  padding: 140px 48px !important;
  position: relative; overflow: hidden;
}
.lidot-cta-inner { position: relative; z-index: 10; max-width: 560px; }
.lidot-cta h2, .lidot-cta .wp-block-heading {
  font-family: 'Poppins', sans-serif !important;
  font-size: clamp(32px, 4vw, 54px) !important;
  font-weight: 700 !important; color: #EFEFEF !important;
  letter-spacing: -1.2px !important; line-height: 1.12 !important;
  margin-bottom: 20px !important;
}
.lidot-cta p, .lidot-cta .wp-block-paragraph {
  font-family: 'Inter', sans-serif !important; font-size: 18px !important;
  color: rgba(239,239,239,0.55) !important; line-height: 1.75 !important;
  margin-bottom: 44px !important;
}
.lidot-cta .wp-block-button__link {
  background: #FF5E00 !important; color: #EFEFEF !important;
  font-family: 'Inter', sans-serif !important; font-size: 15px !important;
  font-weight: 600 !important; padding: 16px 32px !important;
  border-radius: 8px !important; text-decoration: none !important;
}
.lidot-cta-art {
  position: absolute; right: 0; top: 0; bottom: 0; width: 55%;
  display: flex; align-items: center; justify-content: flex-end;
  padding-right: 80px; opacity: 0.12; pointer-events: none;
}

/* Columns gap overrides (Gutenberg resets) */
.lidot-cols-3.wp-block-columns  { gap: 14px !important; flex-wrap: nowrap !important; }
.lidot-cols-4.wp-block-columns  { gap: 12px !important; flex-wrap: wrap !important; }
.lidot-cols-3 .wp-block-column  { flex-basis: 0 !important; flex-grow: 1 !important; min-width: 0; }
.lidot-cols-4 .wp-block-column  { flex-basis: calc(25% - 9px) !important; min-width: 200px; }

/* Section padding resets for wp:group */
.lidot-section-light > .wp-block-group__inner-container,
.lidot-problem > .wp-block-group__inner-container,
.lidot-cta > .wp-block-group__inner-container {
  max-width: 1344px; margin: 0 auto; width: 100%;
}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-inner { padding: 0 24px; }
  .lidot-cols-3.wp-block-columns { flex-wrap: wrap !important; }
  .lidot-cols-3 .wp-block-column { flex-basis: 100% !important; }
  .lidot-cols-4.wp-block-columns { flex-wrap: wrap !important; }
  .lidot-cols-4 .wp-block-column { flex-basis: calc(50% - 6px) !important; }
  .lidot-proof-grid { grid-template-columns: 1fr !important; }
  .scard.service-wide { grid-column: span 1 !important; }
  .service-wide-inner { grid-template-columns: 1fr !important; }
  .lidot-stats-grid { grid-template-columns: 1fr !important; }
  .lidot-stats-grid .stat-cell { border-right: none !important; border-bottom: 1px solid rgba(239,239,239,0.12); }
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 40px !important; }
  .footer-giant { font-size: clamp(36px, 10vw, 80px) !important; }
}
@media (max-width: 600px) {
  .lidot-cols-4 .wp-block-column { flex-basis: 100% !important; }
  .lidot-section-light { padding: 80px 24px !important; }
  .lidot-problem { padding: 80px 24px !important; }
  .lidot-cta { padding: 80px 24px !important; }
}
