/* ============ Aurora Morphism design tokens (CredOn brand — light theme) ============ */
:root {
  --bg-base: #f3f6fd;
  --bg-base-2: #eef1fb;
  --surface: rgba(255, 255, 255, 0.55);
  --surface-strong: rgba(255, 255, 255, 0.78);
  --text: #10163a;
  --text-soft: #5b6785;

  --navy: #0b2154;
  --blue: #3f7ce0;
  --blue-light: #2f6fe0;
  --cyan: #12b8c4;
  --cyan-light: #38d6d1;
  --indigo: #7462e0;
  --indigo-light: #8f7ef2;
  --purple: #9a5fe0;
  --pink: #ea5fa6;

  --gradient-brand: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
  --gradient-mark: linear-gradient(150deg, var(--indigo) 0%, var(--blue) 55%, var(--cyan) 100%);
  --gradient-aurora-text: linear-gradient(90deg, var(--blue) 0%, var(--purple) 50%, var(--pink) 100%);

  --glass-border: rgba(255, 255, 255, 0.75);
  --clay-shadow-out: 0 8px 28px rgba(63, 82, 158, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  --clay-shadow-out-lg: 0 16px 42px rgba(63, 82, 158, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  --clay-shadow-in: inset 0 2px 8px rgba(63, 82, 158, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.5);

  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', sans-serif;
  background: radial-gradient(ellipse 120% 80% at 15% -10%, #cfe0ff 0%, transparent 55%),
              radial-gradient(ellipse 100% 70% at 105% 5%, #ecd6ff 0%, transparent 50%),
              radial-gradient(ellipse 90% 70% at 45% 100%, #c9f3ee 0%, transparent 55%),
              linear-gradient(180deg, var(--bg-base) 0%, var(--bg-base-2) 100%);
  background-attachment: fixed;
  color: var(--text);
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  line-height: 1.15;
}

p { color: var(--text-soft); line-height: 1.6; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

img { max-width: 100%; display: block; }

/* ============ Aurora background blobs ============ */
#smoke-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  z-index: -2;
  animation: drift 22s ease-in-out infinite alternate;
}
.blob-a { width: 560px; height: 560px; background: radial-gradient(circle, var(--blue), transparent 70%); top: -180px; left: -160px; animation-delay: 0s; }
.blob-b { width: 480px; height: 480px; background: radial-gradient(circle, var(--purple), transparent 70%); top: 30%; right: -200px; animation-delay: -7s; }
.blob-c { width: 460px; height: 460px; background: radial-gradient(circle, var(--cyan), transparent 70%); bottom: -200px; left: 15%; animation-delay: -14s; }

@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
  100% { transform: translate(-30px, 20px) scale(0.96); }
}

/* ============ Glass primitives ============ */
.clay-panel {
  background: var(--surface);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--clay-shadow-out-lg);
}

.clay-card {
  background: var(--surface);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--clay-shadow-out);
  padding: 36px 28px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}
.clay-card:hover {
  transform: translateY(-6px);
  background: var(--surface-strong);
  box-shadow: 0 20px 48px rgba(63, 82, 158, 0.2), inset 0 1px 0 rgba(255, 255, 255, 1), 0 0 36px rgba(63, 124, 224, 0.18);
}

.icon-clay {
  width: 60px;
  height: 60px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(63, 82, 158, 0.22);
}
.icon-clay svg { width: 28px; height: 28px; }
.icon-blue { background: linear-gradient(145deg, var(--blue-light), var(--blue)); box-shadow: 0 8px 20px rgba(63, 124, 224, 0.35); }
.icon-indigo { background: linear-gradient(145deg, var(--indigo-light), var(--indigo)); box-shadow: 0 8px 20px rgba(116, 98, 224, 0.35); }
.icon-cyan { background: linear-gradient(145deg, var(--cyan-light), var(--cyan)); box-shadow: 0 8px 20px rgba(18, 184, 196, 0.35); }
.icon-navy { background: linear-gradient(145deg, var(--indigo), var(--navy)); box-shadow: 0 8px 20px rgba(11, 33, 84, 0.35); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn:active { transform: scale(0.96); }

.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 10px 26px rgba(63, 124, 224, 0.35), 0 0 30px rgba(18, 184, 196, 0.18);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(63, 124, 224, 0.42), 0 0 38px rgba(18, 184, 196, 0.25); }

.btn-ghost {
  background: var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(120, 140, 200, 0.25);
  color: var(--text);
  box-shadow: var(--clay-shadow-out);
}
.btn-ghost:hover { transform: translateY(-3px); background: var(--surface-strong); }

.btn.full { width: 100%; }

/* ============ Nav ============ */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 5vw 0;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 14px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 22px;
}
.logo-mark-img {
  height: 34px;
  width: auto;
  display: block;
}
.logo-text .navy { color: var(--navy); }
.logo-text .on-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-soft);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--blue); }

.nav-cta { padding: 12px 24px; font-size: 14px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: var(--surface);
  border: 1px solid rgba(120, 140, 200, 0.25);
  border-radius: 12px;
  padding: 12px;
  box-shadow: var(--clay-shadow-out);
  cursor: pointer;
}
.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ============ Hero ============ */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 5vw 40px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(120, 140, 200, 0.25);
  box-shadow: var(--clay-shadow-out);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 24px;
}
.pill svg { width: 15px; height: 15px; flex-shrink: 0; }

.hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 22px;
}
.highlight {
  background: var(--gradient-aurora-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead { font-size: 17px; max-width: 480px; margin-bottom: 32px; }

.hero-actions { display: flex; gap: 16px; margin-bottom: 44px; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 16px; flex-wrap: wrap; }
.stat {
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 140px;
}
.stat strong { font-size: 26px; font-family: 'Poppins', sans-serif; color: var(--blue); }
.stat span { font-size: 13px; color: var(--text-soft); font-weight: 600; }

.hero-art {
  position: relative;
  height: 420px;
}
.clay-orb {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--gradient-mark);
  box-shadow: 0 0 70px rgba(63, 124, 224, 0.35), 0 0 110px rgba(154, 95, 224, 0.22), var(--clay-shadow-out-lg);
  animation: pulse-glow 5s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 70px rgba(63, 124, 224, 0.35), 0 0 110px rgba(154, 95, 224, 0.22), var(--clay-shadow-out-lg); }
  50% { box-shadow: 0 0 90px rgba(18, 184, 196, 0.4), 0 0 130px rgba(234, 95, 166, 0.24), var(--clay-shadow-out-lg); }
}
.card-float {
  position: absolute;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 210px;
  animation: floaty 6s ease-in-out infinite;
}
.card-float .icon-clay { width: 44px; height: 44px; margin-bottom: 0; border-radius: 14px; flex-shrink: 0; }
.card-float .icon-clay svg { width: 20px; height: 20px; }
.card-float p { font-size: 12px; color: var(--text-soft); font-weight: 600; }
.card-float strong { color: var(--text); font-size: 15px; }
.card-1 { top: 0; left: 0; animation-delay: 0s; }
.card-2 { bottom: 40px; left: 10px; animation-delay: 1.2s; }
.card-3 { top: 30px; right: 0; animation-delay: 2.4s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ============ Logos ============ */
.logos {
  max-width: 1000px;
  margin: 20px auto 0;
  text-align: center;
  padding: 30px 5vw;
}
.logos p { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 22px; color: var(--text-soft); }
.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  color: var(--text-soft);
  opacity: 0.6;
  letter-spacing: 0.04em;
}

/* ============ Sections ============ */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 5vw;
}
.section.alt {
  max-width: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.35), rgba(255,255,255,0));
}
.section.alt > * { max-width: 1200px; margin-left: auto; margin-right: auto; }

.section-head {
  max-width: 640px;
  margin: 0 auto 50px;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; margin-bottom: 16px; }

.grid { display: grid; gap: 28px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.clay-card h3 { font-size: 19px; margin-bottom: 10px; }
.clay-card p { font-size: 14.5px; }

.service .link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-weight: 700;
  font-size: 14px;
  color: var(--blue);
}
.service .link-arrow svg { width: 15px; height: 15px; transition: transform 0.25s ease; }
.service .link-arrow:hover svg { transform: translateX(3px); }

/* ============ Steps ============ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step { position: relative; padding-top: 50px; }
.step-num {
  position: absolute;
  top: -22px;
  left: 28px;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--gradient-brand);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(63, 124, 224, 0.35);
}

/* ============ Testimonials ============ */
.quote p { font-size: 15px; margin-bottom: 24px; color: var(--text); }
.person { display: flex; align-items: center; gap: 12px; }
.person div:last-child { display: flex; flex-direction: column; }
.person strong { font-size: 14.5px; }
.person span { font-size: 12.5px; color: var(--text-soft); }
.avatar {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--indigo-light), var(--indigo));
  color: #fff;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(116, 98, 224, 0.35);
}

/* ============ Pricing ============ */
.price { text-align: center; position: relative; }
.price h3 { font-size: 18px; margin-bottom: 12px; }
.price-num { font-family: 'Poppins', sans-serif; font-size: 34px; font-weight: 800; color: var(--blue); margin-bottom: 8px; }
.price-num span { font-size: 14px; color: var(--text-soft); font-weight: 600; }
.price > p { margin-bottom: 22px; font-size: 14px; }
.price ul { margin-bottom: 28px; display: flex; flex-direction: column; gap: 12px; }
.price ul li { position: relative; padding-left: 26px; font-size: 14px; color: var(--text-soft); text-align: left; }
.price ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  background-color: var(--blue);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / contain no-repeat;
}
.price.featured {
  transform: scale(1.04);
  background: var(--surface-strong);
  box-shadow: var(--clay-shadow-out-lg), 0 0 40px rgba(63, 124, 224, 0.2);
  border: 1px solid rgba(63, 124, 224, 0.3);
}
.badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(63, 124, 224, 0.35);
}

/* ============ Contact ============ */
.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 50px;
}
.contact-copy h2 { font-size: 2rem; margin-bottom: 14px; }
.contact-copy p { margin-bottom: 26px; }
.contact-list { display: flex; flex-direction: column; gap: 14px; font-size: 14.5px; color: var(--text-soft); font-weight: 600; }
.contact-list li { display: flex; align-items: flex-start; gap: 12px; }
.contact-list li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; color: var(--blue); }

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; font-weight: 700; color: var(--text-soft); }
.field input, .field textarea {
  border: 1px solid rgba(120, 140, 200, 0.25);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: var(--clay-shadow-in);
  font-family: 'Manrope', sans-serif;
  font-size: 14.5px;
  color: var(--text);
  resize: none;
  outline: none;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(91, 103, 133, 0.55); }
.field input:focus, .field textarea:focus {
  border-color: rgba(63, 124, 224, 0.45);
  box-shadow: var(--clay-shadow-in), 0 0 0 3px rgba(63, 124, 224, 0.18);
}
.form-note { font-size: 13px; color: var(--cyan); font-weight: 700; min-height: 18px; }

/* ============ Footer ============ */
.footer { max-width: 1200px; margin: 0 auto; padding: 0 5vw 50px; }
.footer-panel { padding: 44px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 30px; }
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.made-with { display: inline-flex; align-items: center; gap: 6px; }
.made-with svg { width: 14px; height: 14px; color: var(--pink); }
.footer-links { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-links h4 { font-size: 14px; margin-bottom: 14px; color: var(--text); }
.footer-links a { display: block; font-size: 14px; color: var(--text-soft); margin-bottom: 10px; font-weight: 600; }
.footer-links a:hover { color: var(--blue); }
.footer-tagline {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  padding-left: 2px;
}
.footer-bottom {
  border-top: 1px solid rgba(120, 140, 200, 0.25);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-soft);
  flex-wrap: wrap;
  gap: 10px;
}

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { height: 320px; margin-top: 20px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-panel { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .nav-wrap.open .nav-links {
    display: flex;
    position: absolute;
    top: 78px;
    left: 5vw;
    right: 5vw;
    flex-direction: column;
    background: var(--surface-strong);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--clay-shadow-out-lg);
    padding: 22px;
    gap: 18px;
  }
  .grid-4, .grid-3, .steps { grid-template-columns: 1fr; }
  .price.featured { transform: none; }
  .footer-top { flex-direction: column; }
}
