/* =========================================================
   ImmeCam — Landing Page (Light theme)
   White + soft sky-blue, with cyan accent from the logo
   ========================================================= */

:root {
  --bg-0: #f6fbff;      /* page background */
  --bg-1: #ffffff;      /* card surfaces */
  --bg-2: #eaf4fb;      /* subtle band */
  --ink: #0b1b2b;       /* primary text */
  --ink-dim: #4a6075;   /* secondary */
  --ink-mute: #7c8ea2;  /* tertiary */
  --line: rgba(10, 90, 150, 0.12);
  --line-strong: rgba(0, 160, 200, 0.35);
  --accent: #00b8d9;        /* primary action */
  --accent-2: #0099cc;
  --accent-deep: #006a99;
  --accent-soft: #e0f4fb;   /* icon chip bg */
  --radius: 16px;
  --maxw: 1200px;
  --shadow-sm: 0 1px 2px rgba(12, 40, 80, 0.05);
  --shadow-md: 0 10px 30px -12px rgba(12, 60, 110, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(0, 120, 180, 0.25);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg-0);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-weight: 400;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* -------- Decorative background -------- */
.bg-grid {
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(0, 130, 180, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 130, 180, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 20%, rgba(0,0,0,0.6), transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 20%, rgba(0,0,0,0.6), transparent 70%);
  z-index: -2;
  pointer-events: none;
}
.bg-glow {
  position: fixed; inset: 0;
  background:
    radial-gradient(1000px 600px at 85% -10%, rgba(0, 200, 232, 0.18), transparent 60%),
    radial-gradient(900px 600px at 5% 10%, rgba(120, 180, 255, 0.25), transparent 60%),
    radial-gradient(1200px 700px at 50% 110%, rgba(0, 160, 220, 0.10), transparent 60%);
  z-index: -1;
  pointer-events: none;
}

/* -------- Nav -------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px;
  max-width: var(--maxw); margin: 0 auto;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  font-size: 14px;
  color: var(--ink);
}
.brand img {
  width: 34px; height: 34px; border-radius: 8px;
  box-shadow: var(--shadow-sm);
}
.brand.small img { width: 24px; height: 24px; }
.nav-links {
  display: flex; gap: 28px;
  font-size: 14px; color: var(--ink-dim);
}
.nav-links a { transition: color .2s ease; }
.nav-links a:hover { color: var(--accent-deep); }

/* -------- Buttons -------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 500; font-size: 15px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  cursor: pointer; border: 1px solid transparent;
  white-space: nowrap;
}
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-primary {
  background: linear-gradient(180deg, #00d0ee 0%, #0099cc 100%);
  color: #ffffff;
  box-shadow: 0 10px 24px -10px rgba(0, 160, 210, 0.6), inset 0 1px 0 rgba(255,255,255,0.35);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px -12px rgba(0, 160, 210, 0.75), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn-ghost {
  background: #ffffff;
  border-color: var(--line);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover {
  border-color: var(--line-strong);
  background: var(--accent-soft);
  color: var(--accent-deep);
}

/* -------- Hero -------- */
.hero {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 80px 28px 120px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--line);
  color: var(--accent-deep);
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 600;
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(0, 184, 217, 0.55);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0, 184, 217, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(0, 184, 217, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 184, 217, 0); }
}
h1 {
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 22px 0 22px;
  font-weight: 700;
  color: var(--ink);
}
h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #00b8d9 0%, #0077b6 60%, #004c80 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede {
  font-size: 18px; color: var(--ink-dim); max-width: 560px;
  margin: 0 0 32px;
}
.cta-row {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.cta-row.center { justify-content: center; }
.trust {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  color: var(--ink-mute); font-size: 13px;
}
.trust .dot {
  width: 3px; height: 3px; border-radius: 50%; background: var(--ink-mute);
  display: inline-block;
}

/* Hero visual */
.hero-visual {
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.lens-wrap {
  position: relative;
  width: min(480px, 90%);
  aspect-ratio: 1/1;
}
.lens {
  width: 100%; height: 100%;
  border-radius: 28px;
  filter: drop-shadow(0 30px 60px rgba(0, 120, 180, 0.35));
  animation: float 8s ease-in-out infinite;
}
.lens-halo {
  position: absolute; inset: -10%;
  background: radial-gradient(circle at 50% 50%, rgba(0, 200, 232, 0.35), transparent 60%);
  filter: blur(40px);
  z-index: -1;
  animation: breathe 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-10px) rotate(0.6deg); }
}
@keyframes breathe {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50%      { opacity: 0.9;  transform: scale(1.05); }
}

/* -------- Sections -------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 80px 28px;
}
.section-head {
  text-align: center;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  font-weight: 700;
  color: var(--ink);
}
.section-head p {
  color: var(--ink-dim); margin: 0;
  font-size: 17px;
}
.section-head h2 .muted-head {
  color: var(--ink-dim);
  font-weight: 500;
}

/* -------- Features grid -------- */
.grid.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--bg-1);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.card .icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  border: 1px solid var(--line);
  color: var(--accent-deep);
  margin-bottom: 18px;
}
.card .icon svg { width: 22px; height: 22px; }
.card h3 {
  font-size: 17px; margin: 0 0 8px;
  letter-spacing: -0.01em; font-weight: 600;
  color: var(--ink);
}
.card p {
  color: var(--ink-dim); font-size: 14.5px; margin: 0;
}

/* -------- Steps -------- */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: step;
}
.steps li {
  padding: 32px 28px;
  border-radius: var(--radius);
  background: var(--bg-1);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.step-num {
  display: inline-block;
  font-size: 13px; letter-spacing: 0.2em;
  color: var(--accent-deep);
  margin-bottom: 16px;
  font-weight: 700;
}
.steps h3 {
  font-size: 20px; margin: 0 0 10px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.steps p {
  color: var(--ink-dim); margin: 0; font-size: 15px;
}

/* -------- CTA -------- */
.cta { padding-top: 40px; padding-bottom: 120px; }
.cta-card {
  text-align: center;
  padding: 64px 28px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 200, 232, 0.18), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f2faff 100%);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta-logo {
  width: 80px; height: 80px;
  margin: 0 auto 24px;
  border-radius: 20px;
  filter: drop-shadow(0 20px 30px rgba(0, 120, 180, 0.35));
}
.cta-card h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.cta-card p {
  color: var(--ink-dim); max-width: 520px; margin: 0 auto 28px;
  font-size: 17px;
}
.muted { color: var(--ink-mute); }
.tiny { font-size: 12px; }

/* -------- Footer -------- */
.foot {
  border-top: 1px solid var(--line);
  padding: 28px;
  background: #ffffff;
}
.foot-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}

/* -------- Responsive -------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 60px; }
  .hero-visual { order: -1; }
  .lens-wrap { width: 260px; }
  .grid.features { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .grid.features { grid-template-columns: 1fr; }
  .nav { padding: 14px 18px; }
  .section { padding: 56px 18px; }
  h1 { font-size: 40px; }
}
