/* === OBIE SOLUTIONS — MAIN STYLESHEET === */

/* ── Google Fonts are enqueued via functions.php ── */

/* ─── CSS VARIABLES ─── */
:root {
  --bg-deep:    #050d1a;
  --bg-mid:     #081525;
  --bg-card:    #0c1e35;
  --accent:     #0099ff;
  --accent-2:   #00ccff;
  --accent-dim: #005a99;
  --text-head:  #ffffff;
  --text-body:  #a8c0d6;
  --text-muted: #5a7a96;
  --border:     rgba(0, 153, 255, 0.15);
  --glow:       rgba(0, 153, 255, 0.25);
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-deep);
  color: var(--text-body);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
ul { list-style: none; }

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', sans-serif;
  color: var(--text-head);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p  { font-size: 1.05rem; font-weight: 400; }

/* ─── SCROLL PROGRESS BAR ─── */
#obie-progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ─── SCROLL REVEAL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.from-left  { transform: translateX(-50px); }
.reveal.from-right { transform: translateX(50px); }
.reveal.scale-in   { transform: scale(0.92); }
.reveal.visible    { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }
.reveal-delay-3 { transition-delay: 0.30s; }
.reveal-delay-4 { transition-delay: 0.40s; }
.reveal-delay-5 { transition-delay: 0.50s; }

/* ─── FLOATING PARTICLES ─── */
.obie-particle {
  position: fixed;
  border-radius: 50%;
  background: var(--accent);
  pointer-events: none;
  opacity: 0;
  animation: particleRise linear infinite;
  z-index: 0;
}
@keyframes particleRise {
  0%   { transform: translateY(100vh); opacity: 0; }
  10%  { opacity: 0.5; }
  90%  { opacity: 0.15; }
  100% { transform: translateY(-5vh); opacity: 0; }
}

/* ─── HEADER / NAV ─── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  background: rgba(5, 13, 26, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: height 0.3s ease, background 0.3s ease;
}
#site-header.scrolled {
  height: 60px;
  background: rgba(5, 13, 26, 0.97);
}

/* Logo */
.site-branding {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}
.site-branding img.nav-logo-img {
  /* The actual logo PNG — sized to fit the bar with no excess whitespace */
  height: 52px;
  width: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: height 0.3s ease;
}
#site-header.scrolled .site-branding img.nav-logo-img {
  height: 42px;
}

/* Navigation menu */
#primary-navigation {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
#primary-navigation a {
  color: var(--text-body);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
#primary-navigation a:hover { color: var(--accent); }
#primary-navigation .nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1.3rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: background 0.2s, box-shadow 0.2s;
}
#primary-navigation .nav-cta:hover {
  background: var(--accent-2);
  box-shadow: 0 0 22px var(--glow);
  color: #fff;
}

/* Mobile toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text-head);
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

/* ─── LAYOUT HELPERS ─── */
.container { max-width: 1100px; margin: 0 auto; }
section { padding: 6rem 2rem; position: relative; }

.section-eyebrow {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.section-title { margin-bottom: 1rem; }
.section-sub {
  color: var(--text-body);
  max-width: 600px;
  font-size: 1.05rem;
  margin-bottom: 3.5rem;
}
.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px;
  margin: 0.8rem 0 1.5rem;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 0.9rem 2.1rem;
  border-radius: var(--radius-sm);
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.3s, transform 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--accent-2);
  box-shadow: 0 0 30px var(--glow);
  transform: translateY(-2px);
  color: #fff;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-head);
  padding: 0.9rem 2.1rem;
  border-radius: var(--radius-sm);
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
  cursor: pointer;
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 2rem 6rem;
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,153,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,153,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent);
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-orb-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(0,153,255,0.18) 0%, transparent 70%);
  top: 0%; left: 50%;
  animation: orb1Float 9s ease-in-out infinite;
}
.hero-orb-2 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(0,204,255,0.12) 0%, transparent 70%);
  bottom: 8%; right: 3%;
  animation: orb2Float 11s ease-in-out infinite;
}
@keyframes orb1Float {
  0%,100% { transform: translateY(0) translateX(-50%); }
  50%      { transform: translateY(-35px) translateX(-50%); }
}
@keyframes orb2Float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-20px); }
}
.hero-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(0,153,255,0.1);
  border: 1px solid rgba(0,153,255,0.3);
  border-radius: 100px;
  padding: 6px 18px;
  margin-bottom: 2rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent-2);
  letter-spacing: 0.06em;
}
.hero-badge .pulse-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: dotPulse 2.2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.3; }
}
.hero-title {
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
}
.hero-title .gradient-word {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  position: relative; z-index: 1;
  max-width: 660px;
  font-size: 1.15rem;
  color: var(--text-body);
  margin-bottom: 2.5rem;
  font-weight: 400;
}
.hero-btns {
  position: relative; z-index: 1;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 4rem;
}
.hero-stats {
  position: relative; z-index: 1;
  display: flex;
  gap: 3.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stat-num {
  font-family: 'Sora', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* ─── CLIENTS MARQUEE ─── */
#clients {
  padding: 3rem 0;
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.marquee-label {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.6rem;
}
.marquee-track { overflow: hidden; }
.marquee-inner {
  display: flex;
  gap: 4rem;
  width: max-content;
  animation: marqueeScroll 24s linear infinite;
}
.marquee-inner:hover { animation-play-state: paused; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-item {
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  letter-spacing: 0.04em;
  transition: color 0.3s;
  cursor: default;
}
.marquee-item:hover { color: var(--accent); }

/* ─── SERVICES ─── */
#services { background: var(--bg-deep); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.35s, box-shadow 0.35s;
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.service-card:hover {
  border-color: rgba(0,153,255,0.4);
  transform: translateY(-7px);
  box-shadow: 0 24px 64px rgba(0,153,255,0.14);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 54px; height: 54px;
  background: rgba(0,153,255,0.12);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.3rem;
  font-size: 1.5rem;
  transition: background 0.3s;
}
.service-card:hover .service-icon { background: rgba(0,153,255,0.22); }
.service-card h3 { font-size: 1.15rem; margin-bottom: 0.65rem; font-weight: 600; }
.service-card p  { font-size: 0.93rem; color: var(--text-body); line-height: 1.65; }
.service-tag {
  display: inline-block;
  margin-top: 1.1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--accent);
  background: rgba(0,153,255,0.08);
  padding: 3px 11px;
  border-radius: 100px;
  border: 1px solid rgba(0,153,255,0.2);
}

/* ─── PROCESS ─── */
#process { background: var(--bg-mid); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
}
.step { display: flex; flex-direction: column; gap: 0.8rem; }
.step-num {
  font-family: 'Sora', sans-serif;
  font-size: 3.8rem;
  font-weight: 800;
  color: rgba(0,153,255,0.1);
  line-height: 1;
}
.step h3 { font-size: 1.1rem; font-weight: 600; }
.step p   { font-size: 0.93rem; color: var(--text-body); }

/* ─── WHY US ─── */
#why { background: var(--bg-deep); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}
.why-list { display: flex; flex-direction: column; gap: 1.8rem; }
.why-item { display: flex; gap: 1rem; align-items: flex-start; }
.why-check {
  width: 30px; height: 30px;
  background: rgba(0,153,255,0.14);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
}
.why-item-text h4 {
  font-family: 'Sora', sans-serif;
  color: var(--text-head);
  font-size: 1rem;
  margin-bottom: 5px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.why-item-text p { font-size: 0.93rem; color: var(--text-body); }
.why-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.why-visual::after {
  content: '';
  position: absolute;
  bottom: -50px; right: -50px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(0,153,255,0.14) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.why-visual .mono-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: block;
}
.metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
}
.metric-row:last-of-type { border-bottom: none; }
.metric-label { font-size: 0.9rem; color: var(--text-body); }
.metric-value {
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
}
.metric-bar-wrap {
  height: 4px;
  background: rgba(0,153,255,0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 4px;
  margin-bottom: 0.2rem;
}
.metric-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 4px;
  width: 0%;
  transition: width 1.1s ease;
}

/* ─── REVIEWS ─── */
#reviews { background: var(--bg-mid); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,153,255,0.1);
}
.stars { color: var(--accent); font-size: 1rem; letter-spacing: 3px; margin-bottom: 1rem; }
.review-text {
  font-size: 0.97rem;
  font-style: italic;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.reviewer { display: flex; align-items: center; gap: 13px; }
.reviewer-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-dim), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}
.reviewer-name {
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-head);
}
.reviewer-title { font-size: 0.8rem; color: var(--text-muted); }

/* ─── CTA SECTION ─── */
#cta { background: var(--bg-deep); text-align: center; }
.cta-box {
  background: linear-gradient(135deg, rgba(0,153,255,0.1) 0%, rgba(0,204,255,0.04) 100%);
  border: 1px solid rgba(0,153,255,0.25);
  border-radius: var(--radius-lg);
  padding: 5rem 3rem;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -110px; left: 50%; transform: translateX(-50%);
  width: 520px; height: 320px;
  background: radial-gradient(ellipse, rgba(0,153,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-box h2 { margin-bottom: 1rem; position: relative; z-index: 1; }
.cta-box > p { max-width: 520px; margin: 0 auto 2.5rem; position: relative; z-index: 1; }
.cta-box .btn-primary { position: relative; z-index: 1; }
.contact-info {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 2.2rem;
  position: relative; z-index: 1;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text-body);
  font-size: 0.92rem;
}
.contact-item .icon { color: var(--accent); font-size: 1.1rem; }

/* ─── FOOTER ─── */
#colophon {
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 2.5rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.footer-logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
}
.footer-logo-text {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  letter-spacing: 0.05em;
}
.footer-nav {
  display: flex;
  gap: 2.2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--accent); }
.footer-copy { font-size: 0.82rem; color: var(--text-muted); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 768px) {
  #site-header { padding: 0 1.3rem; }
  #primary-navigation {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: rgba(5,13,26,0.98);
    padding: 1.5rem 1.5rem 2rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--border);
  }
  #primary-navigation.open { display: flex; }
  .menu-toggle { display: block; }
  section { padding: 4rem 1.3rem; }
  .hero-stats { gap: 1.8rem; }
  .services-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 3rem 1.5rem; }
  .contact-info { gap: 1.2rem; flex-direction: column; align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.from-left, .reveal.from-right, .reveal.scale-in {
    transition: none;
    opacity: 1;
    transform: none;
  }
  .obie-particle, .hero-orb-1, .hero-orb-2 { animation: none; display: none; }
  .marquee-inner { animation: none; }
}
