/* =========================================================
   Perform Commerce — shared stylesheet
   Where Performance Marketing Meets Commerce
   ========================================================= */

:root {
  --ink:        #0a1733;   /* deep navy            */
  --ink-2:      #11224d;   /* navy panel           */
  --slate:      #475068;   /* body text on light   */
  --muted:      #8a93a8;   /* secondary text       */
  --line:       #e6e9f0;   /* hairline borders     */
  --bg:         #ffffff;
  --bg-soft:    #f6f8fc;   /* soft section bg       */
  --indigo:     #4f5bff;
  --cyan:       #1fc7d8;
  --coral:      #ff6b4a;
  --white:      #ffffff;

  --grad: linear-gradient(120deg, #4f5bff 0%, #1fc7d8 100%);
  --grad-warm: linear-gradient(120deg, #ff6b4a 0%, #ff9e3d 100%);

  --maxw: 1120px;
  --radius: 16px;
  --shadow: 0 18px 48px -20px rgba(10, 23, 51, 0.28);
  --shadow-sm: 0 8px 24px -14px rgba(10, 23, 51, 0.30);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p  { margin: 0 0 1rem; }
a  { color: var(--indigo); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

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

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 1rem;
}
.eyebrow.on-dark { color: var(--cyan); }

.lead { font-size: 1.18rem; color: var(--slate); max-width: 60ch; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 650;
  font-size: 0.98rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { box-shadow: 0 16px 30px -12px rgba(79,91,255,0.55); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,0.28); }
.btn-ghost.on-dark:hover { background: rgba(255,255,255,0.08); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 0.65rem; font-weight: 800; font-size: 1.12rem; color: var(--ink); letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand .mark {
  width: 32px; height: 32px; flex: none; display: block;
}
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--slate); font-weight: 550; font-size: 0.97rem; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); text-decoration: none; }
.nav-links a.active { position: relative; }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -26px; height: 2px; background: var(--grad);
}
.nav-cta { display: flex; align-items: center; gap: 1rem; }
.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: 4px 0; border-radius: 2px; transition: 0.2s; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-sm { padding: 56px 0; }
.bg-soft { background: var(--bg-soft); }
.bg-ink  { background: var(--ink); color: #cdd6ea; }
.bg-ink h1, .bg-ink h2, .bg-ink h3 { color: #fff; }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 500px at 88% -10%, rgba(31,199,216,0.16), transparent 60%),
    radial-gradient(800px 500px at -5% 10%, rgba(79,91,255,0.16), transparent 55%),
    var(--bg);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 1.1rem; }
.hero .lead { margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-note { margin-top: 1.6rem; font-size: 0.9rem; color: var(--muted); }

/* hero visual — stylized "comparison table" card */
.compare-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow); overflow: hidden;
}
.compare-card .cc-head {
  background: var(--ink); color: #fff; padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between; font-weight: 700;
}
.compare-card .cc-head small { color: var(--cyan); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.7rem; }
.cc-row { display: grid; grid-template-columns: 1.4fr 0.8fr 0.7fr; gap: 12px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.cc-row:last-child { border-bottom: 0; }
.cc-row.best { background: linear-gradient(90deg, rgba(79,91,255,0.06), rgba(31,199,216,0.06)); }
.cc-name { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 0.95rem; }
.cc-logo { width: 30px; height: 30px; border-radius: 8px; background: var(--bg-soft); border: 1px solid var(--line); flex: none; }
.cc-row.best .cc-logo { background: var(--grad); border: 0; }
.cc-stars { color: #ffb020; font-size: 0.85rem; letter-spacing: 1px; }
.cc-cta { font-size: 0.78rem; font-weight: 700; text-align: center; padding: 7px 0; border-radius: 999px; background: var(--bg-soft); color: var(--slate); }
.cc-row.best .cc-cta { background: var(--grad); color: #fff; }
.cc-badge { position: absolute; top: -12px; right: 18px; background: var(--grad-warm); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.compare-wrap { position: relative; }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat .num { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em; }
.stat .label { color: var(--muted); font-size: 0.92rem; }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .ico {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad); color: #fff; margin-bottom: 18px; font-size: 1.3rem;
}
.card h3 { margin-bottom: 0.4rem; }
.card p { color: var(--slate); margin: 0; font-size: 0.98rem; }

/* numbered steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 11px; font-weight: 800; color: #fff;
  background: var(--grad); margin-bottom: 16px;
}
.step h3 { margin-bottom: 0.4rem; }
.step p { color: var(--slate); margin: 0; font-size: 0.97rem; }

/* ---------- Vertical feature blocks ---------- */
.vertical { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.vertical.flip .v-media { order: 2; }
.v-media {
  border-radius: 20px; min-height: 320px; box-shadow: var(--shadow);
  position: relative; overflow: hidden; border: 1px solid var(--line);
  display: grid; place-items: center;
}
.v-media .emoji { font-size: 5rem; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15)); }
.v-cookware  { background: radial-gradient(120% 120% at 20% 10%, #fff1ec, #ffe2d6); }
.v-home      { background: radial-gradient(120% 120% at 20% 10%, #eef0ff, #e2e7ff); }
.v-tech      { background: radial-gradient(120% 120% at 20% 10%, #e6fbfd, #d6f3f7); }
.v-list { list-style: none; margin: 1rem 0 0; padding: 0; }
.v-list li { position: relative; padding-left: 30px; margin-bottom: 0.7rem; color: var(--slate); }
.v-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--cyan); font-weight: 800;
}
.tag { display: inline-block; background: var(--bg-soft); border: 1px solid var(--line); color: var(--slate); font-size: 0.8rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; margin: 0 6px 6px 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  background-image:
    radial-gradient(700px 360px at 85% 0%, rgba(31,199,216,0.22), transparent 60%),
    radial-gradient(700px 360px at 0% 100%, rgba(79,91,255,0.28), transparent 60%);
  border-radius: 24px; padding: 64px 48px; text-align: center; color: #fff;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #c8d2ea; max-width: 52ch; margin: 0 auto 1.8rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.info-item { display: flex; gap: 14px; margin-bottom: 22px; }
.info-item .ico { width: 42px; height: 42px; border-radius: 11px; background: var(--grad); color: #fff; display: grid; place-items: center; flex: none; font-size: 1.05rem; }
.info-item h4 { margin: 0 0 2px; font-size: 1rem; }
.info-item p, .info-item a { margin: 0; color: var(--slate); font-size: 0.96rem; }

form .field { margin-bottom: 18px; }
form label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 7px; }
form input, form select, form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px;
  font-family: inherit; font-size: 0.97rem; color: var(--ink); background: #fff;
  transition: border 0.15s, box-shadow 0.15s;
}
form input:focus, form select:focus, form textarea:focus {
  outline: 0; border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(79,91,255,0.14);
}
form textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }
.form-success { display: none; background: #ecfdf4; border: 1px solid #b7ebcd; color: #0f7a48; padding: 14px 16px; border-radius: 11px; margin-bottom: 18px; font-weight: 600; }
.form-error { display: none; background: #fef2f2; border: 1px solid #f5c2c2; color: #b42318; padding: 14px 16px; border-radius: 11px; margin-bottom: 18px; font-weight: 600; }
.form-error a { color: #b42318; text-decoration: underline; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding: 72px 0 56px; background:
  radial-gradient(700px 380px at 90% -20%, rgba(31,199,216,0.14), transparent 60%),
  radial-gradient(700px 380px at -5% 0%, rgba(79,91,255,0.14), transparent 55%); }
.page-hero .lead { margin-top: 0.4rem; }

/* ---------- Logos / trust ---------- */
.trust { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; opacity: 0.8; }
.trust span { font-weight: 700; color: var(--muted); font-size: 1.05rem; letter-spacing: -0.01em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #aeb9d4; padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer p { color: #8d99ba; font-size: 0.95rem; max-width: 32ch; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.footer-col a { display: block; color: #aeb9d4; font-size: 0.93rem; margin-bottom: 9px; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 0.88rem; color: #7b88a9; flex-wrap: wrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .vertical, .vertical.flip, .contact-grid { grid-template-columns: 1fr; }
  .vertical.flip .v-media { order: 0; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 60px 0; }

  .nav-links {
    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: 8px 24px 16px; display: none; box-shadow: var(--shadow-sm);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; width: 100%; }
  .nav-links a.active::after { display: none; }
  .nav-toggle { display: block; }
  .nav .nav-cta .btn { display: none; }
}

@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 44px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
}
