/* OmniReach Tech — corporate site styles */

:root {
  --bg-deep: #060b14;
  --bg-card: rgba(15, 23, 42, 0.72);
  --bg-elevated: #0f172a;
  --border: rgba(148, 163, 184, 0.14);
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --accent: #3b82f6;
  --accent-light: #60a5fa;
  --cyan: #22d3ee;
  --green: #34d399;
  --gradient: linear-gradient(135deg, #3b82f6 0%, #22d3ee 100%);
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  --radius: 14px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --max: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Background grid */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(59, 130, 246, 0.18), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(34, 211, 238, 0.08), transparent),
    linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: auto, auto, 64px 64px, 64px 64px;
  pointer-events: none;
  z-index: -1;
}

a { color: var(--accent-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--cyan); }

img { max-width: 100%; display: block; }

.container {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(6, 11, 20, 0.82);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  padding: 0.55rem 1.25rem;
  background: var(--gradient);
  color: #fff !important;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
}

.nav-cta:hover { opacity: 0.92; color: #fff !important; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 0.5rem;
}

/* ── Hero ── */
.hero {
  padding: 9rem 0 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(59, 130, 246, 0.08);
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.35rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover { border-color: var(--accent); }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.hero-trust-item {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hero-trust-item strong {
  display: block;
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Hero visual */
.hero-visual {
  position: relative;
}

.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.status-live {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--green);
  font-weight: 600;
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.metric-box {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  padding: 1rem;
  border: 1px solid var(--border);
}

.metric-box .label { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.metric-box .value { font-size: 1.5rem; font-weight: 700; margin-top: 0.25rem; }
.metric-box .change { font-size: 0.75rem; color: var(--green); margin-top: 0.15rem; }

.ai-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.15);
  overflow: hidden;
  margin-top: 1rem;
}

.ai-bar-fill {
  height: 100%;
  width: 78%;
  background: var(--gradient);
  border-radius: 999px;
  animation: grow 2s ease-out;
}

@keyframes grow { from { width: 0; } to { width: 78%; } }

.platform-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.platform-tags span {
  font-size: 0.72rem;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  background: rgba(59, 130, 246, 0.12);
  color: var(--accent-light);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

/* ── Sections ── */
section { padding: 5rem 0; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.section-header p { color: var(--text-muted); font-size: 1.05rem; }

/* Logo strip */
.logo-strip {
  padding: 2.5rem 0;
  border-block: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.4);
}

.logo-strip-label {
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.5rem 3.5rem;
}

.logo-row span {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(148, 163, 184, 0.55);
  letter-spacing: 0.02em;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}

.service-card:hover {
  border-color: rgba(59, 130, 246, 0.35);
  transform: translateY(-3px);
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.12);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.service-card p { font-size: 0.9rem; color: var(--text-muted); }

/* AI section */
.ai-section {
  background: rgba(15, 23, 42, 0.5);
  border-block: 1px solid var(--border);
}

.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.ai-list { list-style: none; }

.ai-list li {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.ai-list li:last-child { border-bottom: none; }

.ai-list-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(34, 211, 238, 0.12);
  color: var(--cyan);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.ai-list h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.25rem; }
.ai-list p { font-size: 0.85rem; color: var(--text-muted); }

/* Case studies */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.case-tag {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}

.case-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0;
  margin-bottom: 0.5rem;
}

.case-card p { font-size: 0.88rem; color: var(--text-muted); flex: 1; }

.case-result {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 1.5rem;
}

.case-result div strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green);
}

.case-result div span { font-size: 0.72rem; color: var(--text-muted); }

/* Process */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 0.75rem;
}

.process-step h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.4rem; }
.process-step p { font-size: 0.82rem; color: var(--text-muted); }

/* Trust / compliance */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.trust-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-card ul { list-style: none; }

.trust-card li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.45rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.trust-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.company-block {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.company-block strong { color: var(--text); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.contact-info > p { color: var(--text-muted); margin-bottom: 2rem; }

.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.12);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.form-row { margin-bottom: 1.15rem; }

.form-row label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color 0.2s;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-row textarea { min-height: 120px; resize: vertical; }

.form-msg {
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-size: 0.88rem;
  margin-bottom: 1rem;
  display: none;
}

.form-msg.success {
  display: block;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: var(--green);
}

.form-msg.error {
  display: block;
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.3);
  color: #f87171;
}

/* Footer */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .ai-grid,
  .contact-grid { grid-template-columns: 1fr; }

  .services-grid,
  .cases-grid { grid-template-columns: 1fr 1fr; }

  .process-steps { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(6, 11, 20, 0.97);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: 1rem;
  }

  .menu-toggle { display: block; }

  .services-grid,
  .cases-grid,
  .process-steps { grid-template-columns: 1fr; }

  .hero { padding-top: 7rem; }
}
