/* ============================================================
   Oriax Technologies — shared stylesheet
   Used by every page on oriax.online.

   THEMING: each product gets its own accent color while sharing
   the same layout system. Set a theme class on <body>:
     (none)        -> Oriax brand teal   (company site, legal pages)
     theme-green   -> EveryRupee (WhatsApp green)
     theme-blue    -> Delivery Exception Predictor (logistics blue)
   ============================================================ */

:root {
  --accent-primary: #2dd4bf;
  --accent-dark: #0f766e;
  --accent-deep: #114240;
  --accent-light: #e3f8f5;
  --accent-pale: #eefbfa;

  --text-dark: #1a2b28;
  --text-mid: #3d5a55;
  --text-soft: #6b8c86;
  --border: #cdeae6;
  --white: #ffffff;
}

body.theme-green {
  --accent-primary: #25D366;
  --accent-dark: #128C7E;
  --accent-deep: #075E54;
  --accent-light: #e8f5e9;
  --accent-pale: #f0faf2;
  --border: #c8e6d0;
  --text-dark: #1a2b22;
  --text-mid: #3d5a4a;
  --text-soft: #6b8c7a;
}

body.theme-blue {
  --accent-primary: #3b82f6;
  --accent-dark: #1d4ed8;
  --accent-deep: #1e3a5f;
  --accent-light: #e7eefd;
  --accent-pale: #eff5ff;
  --border: #cddcf6;
  --text-dark: #171f2b;
  --text-mid: #3a4a63;
  --text-soft: #6b7c99;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--accent-pale);
  color: var(--text-dark);
  line-height: 1.75;
}

/* ── HEADER / HERO ── */
header {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent-deep) 100%);
  color: white;
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
}

header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 80% at 85% 40%, rgba(0,0,0,0) 0%, transparent 65%),
    radial-gradient(ellipse 40% 60% at 5% 90%, rgba(0,0,0,0) 0%, transparent 55%);
}

header.with-glow::before {
  background:
    radial-gradient(ellipse 55% 80% at 85% 40%, color-mix(in srgb, var(--accent-primary) 22%, transparent) 0%, transparent 65%),
    radial-gradient(ellipse 40% 60% at 5% 90%, color-mix(in srgb, var(--accent-primary) 14%, transparent) 0%, transparent 55%);
}

header::after {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  right: -80px;
  top: -80px;
  pointer-events: none;
}

.header-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 36px 24px 56px;
  position: relative;
  z-index: 1;
}

.header-inner.compact {
  padding: 30px 24px 34px;
}

.brand-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 56px;
  flex-wrap: wrap;
  gap: 16px;
}

.header-inner.compact .brand-bar { margin-bottom: 0; }

.brand-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  color: rgba(255,255,255,0.9);
  letter-spacing: -0.01em;
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.brand-name span { color: var(--accent-primary); }

.product-tag {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.5);
  border-left: 1px solid rgba(255,255,255,0.25);
  padding-left: 10px;
  margin-left: 4px;
}

.nav-links {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-links a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-links a:hover, .nav-links a.active {
  background: rgba(255,255,255,0.12);
  color: white;
  border-color: rgba(255,255,255,0.3);
}

.hero-content { max-width: 680px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: color-mix(in srgb, var(--accent-primary) 20%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent-primary) 35%, transparent);
  color: color-mix(in srgb, var(--accent-primary) 75%, white);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 22px;
}

.hero-eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--accent-primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-eyebrow.static::before { animation: none; }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  font-weight: 400;
}

.hero-title em { font-style: italic; color: var(--accent-primary); }

.hero-subtitle {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.65);
  font-weight: 300;
  max-width: 540px;
  margin-bottom: 34px;
  line-height: 1.7;
}

.hero-cta-group { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--accent-primary);
  color: white;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.97rem;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 20px color-mix(in srgb, var(--accent-primary) 35%, transparent);
  border: none;
  cursor: pointer;
}

.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
  padding: 14px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.93rem;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.2s;
}

.btn-ghost:hover { background: rgba(255,255,255,0.18); color: white; }

/* ── STATS BAR ── */
.stats-bar { background: rgba(255,255,255,0.07); border-top: 1px solid rgba(255,255,255,0.1); margin-top: 52px; }

.stats-inner { max-width: 1000px; margin: 0 auto; padding: 0 24px; display: flex; flex-wrap: wrap; gap: 0; }

.stat-item { padding: 20px 28px 20px 0; margin-right: 28px; border-right: 1px solid rgba(255,255,255,0.12); }
.stat-item:last-child { border-right: none; }

.stat-value { font-family: 'DM Serif Display', serif; font-size: 1.6rem; color: white; line-height: 1; }
.stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.5); font-weight: 400; margin-top: 3px; }

/* ── MAIN ── */
main { max-width: 1000px; margin: 0 auto; padding: 52px 24px 80px; }
main.narrow { max-width: 780px; }

/* ── SECTION HEADING ── */
.section-heading { text-align: center; margin-bottom: 36px; }

.section-heading .eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-dark); margin-bottom: 10px;
}

.section-heading h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 400; color: var(--text-dark); letter-spacing: -0.02em;
}

.section-heading h2 em { font-style: italic; color: var(--accent-dark); }

.section-heading p { color: var(--text-soft); font-size: 1rem; margin-top: 10px; font-weight: 300; }

/* ── BANNER ── */
.legal-banner {
  background: white; border: 1px solid var(--border); border-left: 4px solid var(--accent-primary);
  border-radius: 12px; padding: 20px 28px; margin-bottom: 48px; display: flex; align-items: center;
  gap: 16px; box-shadow: 0 2px 12px rgba(15,20,18,0.06); flex-wrap: wrap;
}

.legal-banner .badge {
  background: var(--accent-light); color: var(--accent-deep); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 12px; border-radius: 50px; flex-shrink: 0;
}

.legal-banner .text { font-size: 0.95rem; color: var(--text-mid); font-weight: 300; }
.legal-banner .text strong { color: var(--text-dark); font-weight: 600; }

/* ── STATUS BADGES (used on product cards) ── */
.status-badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 12px; border-radius: 50px;
}
.status-live { background: #e6f9ee; color: #0f7a3d; }
.status-live::before { content:''; width:6px; height:6px; border-radius:50%; background:#22c55e; }
.status-progress { background: #fff4e2; color: #a45c07; }
.status-progress::before { content:''; width:6px; height:6px; border-radius:50%; background:#f59e0b; }

/* ── PRODUCT / FEATURE CARDS ── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-bottom: 56px; }

.feature-card {
  background: white; border-radius: 16px; padding: 30px 28px; box-shadow: 0 2px 20px rgba(15,20,18,0.06);
  border: 1px solid var(--border); transition: box-shadow 0.25s, transform 0.2s; position: relative; overflow: hidden;
}

.feature-card::before {
  content: ''; position: absolute; top:0; left:0; right:0; height:3px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-dark)); opacity: 0; transition: opacity 0.25s;
}

.feature-card:hover { box-shadow: 0 8px 32px rgba(15,20,18,0.13); transform: translateY(-3px); }
.feature-card:hover::before { opacity: 1; }

.feature-icon { font-size: 2rem; margin-bottom: 14px; display: block; }

.feature-card h3 {
  font-family: 'DM Serif Display', serif; font-size: 1.2rem; font-weight: 400; color: var(--text-dark);
  margin-bottom: 10px; letter-spacing: -0.01em;
}

.feature-card p { color: var(--text-soft); font-size: 0.93rem; font-weight: 300; line-height: 1.65; }

.feature-card a { color: var(--accent-dark); font-weight: 500; }

/* ── PRODUCT CARD (homepage) ── */
.product-card {
  background: white; border-radius: 20px; padding: 36px; box-shadow: 0 2px 20px rgba(15,20,18,0.07);
  border: 1px solid var(--border); display: flex; flex-direction: column; gap: 16px; position: relative; overflow: hidden;
}

.product-card .top-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.product-card h3 {
  font-family: 'DM Serif Display', serif; font-size: 1.5rem; font-weight: 400; color: var(--text-dark); letter-spacing: -0.01em;
}

.product-card .desc { color: var(--text-soft); font-size: 0.96rem; font-weight: 300; }

.product-card .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 2px; }

.product-card .tag {
  font-size: 0.72rem; font-weight: 600; color: var(--text-mid); background: var(--accent-pale);
  border: 1px solid var(--border); padding: 4px 10px; border-radius: 50px;
}

.product-card .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }

.btn-solid-sm {
  display: inline-flex; align-items: center; gap: 7px; background: var(--accent-primary); color: white;
  padding: 10px 20px; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 0.88rem;
}

.btn-outline-sm {
  display: inline-flex; align-items: center; gap: 7px; background: transparent; color: var(--accent-dark);
  padding: 10px 20px; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 0.88rem;
  border: 1px solid var(--border);
}

/* ── HOW IT WORKS / STEPS ── */
.how-section {
  background: white; border-radius: 20px; padding: 44px 40px; margin-bottom: 56px;
  box-shadow: 0 2px 20px rgba(15,20,18,0.07); border: 1px solid var(--border);
}

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; margin-top: 36px; position: relative; }

.step { text-align: center; position: relative; }

.step-num {
  width: 48px; height: 48px; background: linear-gradient(135deg, var(--accent-primary), var(--accent-dark));
  color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: 'DM Serif Display', serif; font-size: 1.25rem; margin: 0 auto 16px;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--accent-primary) 30%, transparent);
}

.step h4 { font-size: 1rem; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--text-soft); font-weight: 300; }

/* ── CTA SECTION ── */
.cta-section {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent-deep)); border-radius: 20px;
  padding: 52px 44px; text-align: center; color: white; position: relative; overflow: hidden; margin-bottom: 0;
}

.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 90% 50%, color-mix(in srgb, var(--accent-primary) 18%, transparent), transparent),
    radial-gradient(ellipse 40% 60% at 10% 80%, color-mix(in srgb, var(--accent-primary) 12%, transparent), transparent);
}

.cta-section h2 {
  font-family: 'DM Serif Display', serif; font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 400;
  letter-spacing: -0.02em; margin-bottom: 14px; position: relative;
}

.cta-section h2 em { font-style: italic; color: var(--accent-primary); }

.cta-section p { color: rgba(255,255,255,0.65); font-size: 1rem; font-weight: 300; margin-bottom: 30px; position: relative; }

.cta-section .btn-primary { font-size: 1.05rem; padding: 16px 36px; position: relative; }

/* ── WAITLIST FORM (Delivery Exception Predictor) ── */
.waitlist-form {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; position: relative; margin-bottom: 12px;
}

.waitlist-form input[type="email"] {
  flex: 1 1 260px; padding: 14px 20px; border-radius: 50px; border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.1); color: white; font-size: 0.95rem; font-family: 'DM Sans', sans-serif;
}

.waitlist-form input[type="email"]::placeholder { color: rgba(255,255,255,0.5); }
.waitlist-form input[type="email"]:focus { outline: none; border-color: var(--accent-primary); background: rgba(255,255,255,0.16); }

.form-note { font-size: 0.8rem; color: rgba(255,255,255,0.45); position: relative; }

/* ── LEGAL / PROSE CONTENT ── */
.legal-content { background: white; border-radius: 20px; padding: 44px 48px; box-shadow: 0 2px 20px rgba(15,20,18,0.07); border: 1px solid var(--border); }
.legal-content h2 { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: 1.35rem; color: var(--text-dark); margin: 32px 0 12px; letter-spacing: -0.01em; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--text-mid); font-size: 0.96rem; font-weight: 300; margin-bottom: 14px; }
.legal-content ul { margin: 0 0 14px 22px; color: var(--text-mid); font-size: 0.96rem; font-weight: 300; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--accent-dark); font-weight: 500; }
.legal-content .updated { font-size: 0.82rem; color: var(--text-soft); margin-bottom: 30px; }
.legal-content strong { color: var(--text-dark); font-weight: 600; }

/* ── FOOTER ── */
footer { background: var(--text-dark); color: rgba(255,255,255,0.55); padding: 36px 24px; text-align: center; font-size: 0.88rem; font-weight: 300; }
footer strong { color: white; font-weight: 500; }
.footer-links { display: flex; justify-content: center; gap: 20px; margin: 14px 0; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent-primary); }

/* ── ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(16px); animation: fadeUp 0.55s ease forwards; }
.fade-up:nth-child(1) { animation-delay: 0.05s; }
.fade-up:nth-child(2) { animation-delay: 0.12s; }
.fade-up:nth-child(3) { animation-delay: 0.19s; }
.fade-up:nth-child(4) { animation-delay: 0.26s; }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

.hero-content { opacity: 0; animation: fadeUp 0.7s ease 0.1s forwards; }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .header-inner { padding: 24px 20px 40px; }
  .stats-inner { gap: 0; flex-wrap: wrap; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 14px 0; margin-right: 0; width: 50%; }
  .how-section { padding: 28px 20px; }
  .cta-section { padding: 36px 20px; }
  .legal-content { padding: 30px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .brand-bar { margin-bottom: 36px; }
}
