/* Optimize360 Innovations LLC — site styles */
:root {
  --ink: #0f172a;
  --body: #3f4a5c;
  --muted: #64748b;
  --bg: #ffffff;
  --soft: #f4f6fb;
  --line: #e5e9f2;
  --accent: #4f46e5;
  --accent-dark: #3730a3;
  --accent-soft: #eef0fe;
  --footer-bg: #0f172a;
  --radius: 14px;
  --maxw: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }

.kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.logo:hover { color: var(--ink); }
.logo .mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
}
.logo .num { color: var(--accent); }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  color: var(--body);
  font-weight: 500;
  font-size: 0.95rem;
}
.main-nav a:hover, .main-nav a.active { color: var(--accent); }
.main-nav .btn { color: #fff; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 10px;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--accent-dark); color: #fff; }
.btn.ghost {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn.ghost:hover { background: var(--accent-soft); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1000px 420px at 85% -10%, rgba(79, 70, 229, 0.10), transparent 60%),
    radial-gradient(800px 400px at 0% 110%, rgba(124, 58, 237, 0.07), transparent 60%),
    var(--soft);
  padding: 90px 0 80px;
  border-bottom: 1px solid var(--line);
}
.hero .lede {
  max-width: 640px;
  margin: 22px 0 34px;
  font-size: 1.15rem;
  color: var(--muted);
}
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

.page-hero {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  padding: 64px 0 52px;
}
.page-hero p { max-width: 640px; margin-top: 16px; color: var(--muted); font-size: 1.05rem; }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section.alt { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head p { margin-top: 12px; color: var(--muted); }

.grid { display: grid; gap: 22px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.97rem; color: var(--muted); }
.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 18px;
}

/* Brand cards */
.brand-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}
.brand-card .tile {
  width: 54px;
  height: 54px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.4rem;
  color: #fff;
}
.tile.wi { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.tile.wl { background: linear-gradient(135deg, #06b6d4, #4f46e5); }
.tile.plus { background: linear-gradient(135deg, #94a3b8, #64748b); }
.brand-card h3 { font-size: 1.3rem; }
.brand-card p { color: var(--muted); font-size: 0.97rem; }
.brand-card .visit { font-weight: 600; margin-top: auto; }

/* Steps */
.steps { counter-reset: step; }
.step {
  position: relative;
  padding-left: 64px;
  margin-bottom: 30px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.97rem; }

/* Info / legal detail blocks */
.info-list { list-style: none; }
.info-list li {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}
.info-list li:last-child { border-bottom: 0; }
.info-list .label {
  flex: 0 0 190px;
  font-weight: 600;
  color: var(--ink);
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.contact-card h3 { margin-bottom: 8px; }
.contact-card p { color: var(--muted); font-size: 0.97rem; }
.contact-card a { font-weight: 600; }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--accent-dark), var(--accent));
  color: #fff;
  border-radius: var(--radius);
  padding: 52px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin-top: 8px; }
.cta-band .btn { background: #fff; color: var(--accent-dark); }
.cta-band .btn:hover { background: #eef0fe; }

/* ---------- Legal pages ---------- */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.35rem; margin: 40px 0 12px; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--body); font-size: 0.99rem; margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 32px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--footer-bg);
  color: #cbd5e1;
  padding: 64px 0 0;
  font-size: 0.94rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 48px;
}
.site-footer h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.footer-about p { color: #94a3b8; margin-top: 14px; max-width: 320px; }
.footer-about .logo { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: #94a3b8;
  font-size: 0.88rem;
}
address { font-style: normal; color: #94a3b8; line-height: 1.7; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid.cols-3 { grid-template-columns: 1fr; }
  .grid.cols-2, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .info-list .label { flex-basis: 140px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 10px 24px 18px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; width: 100%; }
  .hero { padding: 64px 0 56px; }
  .cta-band { padding: 40px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
