/* ── Shared styles for umiyaind.com multi-page site ── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg:          #ffffff;
  --surface:     #f4f6ff;
  --surface-2:   #e9ecf8;
  --border:      #e2e8f0;
  --text:        #0f172a;
  --muted:       #334155;
  --accent:      #4f46e5;
  --accent-2:    #f97316;
  --accent-dim:  rgba(79,70,229,0.10);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
svg { display: block; }

/* ── Container ── */
.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

/* ── Nav ── */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 62px;
}
.nav .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
  text-transform: uppercase;
  flex-shrink: 0;
}
.nav-brand b { color: var(--accent); font-weight: 800; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--muted);
  transition: color 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active { font-weight: 600; color: var(--accent); }
.nav-links .btn-nav {
  background: var(--accent);
  color: #fff !important;
  padding: 0.45rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.15s, transform 0.1s;
}
.nav-links .btn-nav:hover { background: #3730a3; transform: translateY(-1px); }

/* ── Page header (inner pages) ── */
.page-hero {
  padding: 110px clamp(1.25rem, 5vw, 3rem) 64px;
  border-bottom: 1px solid var(--border);
}
.page-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 1.2rem;
  background: rgba(249,115,22,0.08);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
}
.page-hero .eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  flex-shrink: 0;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  text-wrap: balance;
  margin-bottom: 1.2rem;
}
.page-hero h1 i {
  font-style: normal;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero p {
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 2rem;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  box-shadow: 0 4px 14px rgba(79,70,229,0.35);
}
.btn-primary:hover { background: #3730a3; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(79,70,229,0.45); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.15s;
}
.btn-ghost:hover { color: var(--text); }
.btn-ghost svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
.btn-white {
  display: inline-block;
  background: #fff;
  color: #4f46e5;
  padding: 0.8rem 2.4rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: background 0.15s, transform 0.1s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.btn-white:hover { background: #f0f4ff; transform: translateY(-1px); }

/* ── Section base ── */
.section {
  padding: 88px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}
.section.alt {
  background: linear-gradient(160deg, #f5f3ff 0%, #eef2ff 45%, #fdf4ff 100%);
}
.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: var(--text);
  text-wrap: balance;
}
.section-intro {
  margin-top: 0.9rem;
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.72;
}
.section-head { margin-bottom: 3.5rem; }

/* ── Module cards ── */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.mod-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 2rem 1.9rem 2.1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.22s, transform 0.22s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.mod-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,0.10); }
.mod-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 14px 14px 0 0;
  background: var(--mod-accent, var(--accent));
  opacity: 0;
  transition: opacity 0.22s;
}
.mod-card:hover::before { opacity: 1; }
.mod-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mod-icon-bg, var(--accent-dim));
  flex-shrink: 0;
}
.mod-icon svg {
  width: 26px; height: 26px;
  fill: none;
  stroke: var(--mod-accent, var(--accent));
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mod-card h3 { font-size: 1.45rem; font-weight: 700; color: #0d0d0d; letter-spacing: -0.01em; }
.mod-card p { font-size: 1.1rem; font-weight: 500; color: #2d3748; line-height: 1.72; flex: 1; }
.mod-tag { display: inline-flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.15rem; }
.tag {
  font-size: 0.77rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.28rem 0.7rem;
  background: var(--mod-tag-bg, rgba(200,61,12,0.08));
  border-radius: 20px;
  color: var(--mod-accent, var(--accent));
}
.mod-card-link {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--mod-accent, var(--accent));
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.25rem;
  transition: gap 0.15s;
}
.mod-card-link:hover { gap: 0.55rem; }

/* ── Why / Stats ── */
.why-section {
  background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 50%, #fff9f5 100%);
  padding: 80px 0;
}
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 2rem; }
.why-item { border-top: 2px solid var(--border); padding: 1.75rem 0 0; }
.why-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.8rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}
.why-item h3 { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 0.5rem; }
.why-item p { font-size: 1rem; font-weight: 500; color: var(--muted); line-height: 1.68; }

/* ── Features grid ── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.25rem 2.5rem; }
.feature { display: flex; flex-direction: column; gap: 0.7rem; }
.feat-icon {
  width: 38px; height: 38px;
  background: var(--accent-dim);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.feat-icon svg { width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 1.05rem; font-weight: 700; color: var(--text); }
.feature p { font-size: 1rem; font-weight: 500; color: var(--muted); line-height: 1.67; }

/* ── CTA section ── */
.cta-section {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #2563eb 100%);
  padding: 90px 0;
  text-align: center;
}
.cta-section h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); font-weight: 800; letter-spacing: -0.03em; color: #fff; text-wrap: balance; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.75); font-size: 1rem; max-width: 440px; margin: 0 auto 2.5rem; line-height: 1.7; }

/* ── App / Store buttons ── */
.store-btns { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 0.65rem;
  background: #0f172a; color: #fff;
  border-radius: 12px; padding: 0.75rem 1.5rem;
  font-family: inherit;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  min-width: 160px;
  box-shadow: 0 4px 16px rgba(15,23,42,0.18);
}
.store-btn:hover { background: #1e293b; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(15,23,42,0.26); }
.store-btn svg { flex-shrink: 0; }
.store-btn-label { display: block; font-size: 0.62rem; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(255,255,255,0.55); line-height: 1; margin-bottom: 0.22rem; }
.store-btn-name { display: block; font-size: 1.05rem; font-weight: 700; line-height: 1; color: #fff; }

/* ── Footer ── */
footer {
  background: var(--text);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 56px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 2.5rem 3rem;
  margin-bottom: 3rem;
}
.footer-brand-name { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.01em; color: #fff; text-transform: uppercase; margin-bottom: 0.75rem; }
.footer-brand-name b { color: var(--accent); }
.footer-desc { font-size: 0.83rem; color: rgba(255,255,255,0.45); line-height: 1.68; max-width: 220px; }
.footer-col h4 { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a { font-size: 0.84rem; color: rgba(255,255,255,0.38); transition: color 0.15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.3); }

/* ── Responsive ── */
@media (max-width: 960px) {
  .modules-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 0 1.5rem; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .modules-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
