/*
 * 1707 ehf — Vörur (products)
 * Navbar dropdown, product cards on the front page and the product pages.
 * Loaded after style-pimped.css and reuses its design tokens.
 */

/* ---------- Navbar dropdown ---------- */
.navbar .dropdown ul {
  border-radius: var(--radius-md);
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-md);
  padding: 8px;
  min-width: 260px;
}
.navbar .dropdown ul a,
.navbar .dropdown ul a:focus {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14.5px;
  text-transform: none;
}
.navbar .dropdown ul a i { font-size: 18px; color: var(--c-primary); transition: color .25s var(--ease); }
.navbar .dropdown ul a:hover i,
.navbar .dropdown ul .active i { color: #fff; }
.navbar .dropdown ul li:hover > a { animation: none; }
.navbar-mobile .dropdown ul {
  background: rgba(255, 255, 255, .04) !important;
  border-color: rgba(255, 255, 255, .08);
  box-shadow: none !important;
  padding: 6px !important;
  margin: 4px 0 8px;
}
.navbar-mobile .dropdown ul a i { color: #a5b4fc; }

/* ---------- Pilot badge ---------- */
.pilot-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #4338ca;
  background: rgba(79, 70, 229, .1);
  border: 1px solid rgba(79, 70, 229, .2);
}
.pilot-badge::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .2);
}
.pilot-badge.on-dark {
  color: #e0e7ff;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .18);
}

/* ---------- Buttons ---------- */
.btn-grad,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.btn-grad {
  color: #fff;
  background: var(--grad-hero);
  background-size: 200% 200%;
  box-shadow: 0 14px 30px -12px rgba(79, 70, 229, .6);
}
.btn-grad:hover { color: #fff; transform: translateY(-2px); background-position: 100% 50%; }
.btn-ghost {
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .04);
}
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .12); transform: translateY(-2px); }
.btn-ghost.on-light { color: var(--c-primary); border-color: rgba(79, 70, 229, .3); background: transparent; }
.btn-ghost.on-light:hover { color: var(--c-primary-2); background: rgba(79, 70, 229, .06); }

/* ---------- Product cards (front page) ---------- */
.products { background: linear-gradient(180deg, #f5f7ff 0%, #ffffff 100%); }
.product-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  color: inherit;
  text-decoration: none;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.product-card:hover {
  color: inherit;
  transform: translateY(-8px);
  border-color: rgba(79, 70, 229, .25);
  box-shadow: var(--shadow-lg);
}
.product-card .product-icon,
.feature-box .feature-icon,
.step .step-num {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--grad-hero);
  color: #fff;
  font-size: 26px;
  box-shadow: 0 10px 24px -8px rgba(79, 70, 229, .6);
}
.product-card .product-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.product-card h3 { font-size: 22px; font-weight: 700; margin: 0 0 8px; color: #0f172a; }
.product-card .product-tagline { font-weight: 500; color: var(--c-primary); margin-bottom: 12px; font-size: 15px; }
.product-card p { color: var(--c-muted); font-size: 14.5px; line-height: 1.7; flex: 1; }
.product-card .product-more { font-weight: 600; color: var(--c-primary); margin-top: 8px; }
.product-card .product-more i { transition: transform .25s var(--ease); display: inline-block; }
.product-card:hover .product-more i { transform: translateX(4px); }

/* ---------- Product page hero ---------- */
#product-hero {
  position: relative;
  padding: 170px 0 110px;
  background: var(--c-bg);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}
#product-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 500px at 15% 10%, rgba(79, 70, 229, .55), transparent 60%),
    radial-gradient(700px 500px at 90% 30%, rgba(6, 182, 212, .32), transparent 60%),
    radial-gradient(600px 400px at 50% 110%, rgba(236, 72, 153, .25), transparent 60%),
    linear-gradient(180deg, #0b1020 0%, #0f172a 100%);
  z-index: -1;
}
#product-hero .breadcrumb-links { font-size: 14px; color: rgba(226, 232, 240, .7); margin-bottom: 22px; }
#product-hero .breadcrumb-links a { color: #c7d2fe; }
#product-hero .breadcrumb-links a:hover { color: #fff; }
#product-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 18px 0 18px;
  background: linear-gradient(90deg, #ffffff 0%, #e0e7ff 50%, #a5f3fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
#product-hero .lead {
  color: rgba(226, 232, 240, .85);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 34px;
}
#product-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
#product-hero .hero-visual {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  max-width: 380px;
  margin: 0 auto;
  border-radius: 32px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
}
#product-hero .hero-visual i {
  font-size: 150px;
  line-height: 1;
  background: linear-gradient(135deg, #a5b4fc, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Steps ---------- */
.step {
  height: 100%;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.step .step-num { font-size: 22px; font-weight: 700; margin-bottom: 20px; }
.step h4, .feature-box h4 { font-size: 19px; font-weight: 600; color: #0f172a; margin-bottom: 10px; }
.step p, .feature-box p { color: var(--c-muted); font-size: 14.5px; line-height: 1.7; margin: 0; }

/* ---------- Features ---------- */
.feature-box {
  height: 100%;
  padding: 30px 26px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.feature-box:hover {
  transform: translateY(-6px);
  border-color: rgba(79, 70, 229, .25);
  box-shadow: var(--shadow-lg);
}
.feature-box .feature-icon { width: 48px; height: 48px; font-size: 22px; border-radius: 14px; margin-bottom: 18px; }

/* ---------- Audience ---------- */
.audience-list { list-style: none; padding: 0; margin: 0; }
.audience-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--c-line);
  color: #334155;
  font-size: 15.5px;
  line-height: 1.6;
}
.audience-list li:last-child { border-bottom: 0; }
.audience-list i {
  font-size: 22px;
  line-height: 1.3;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Price box ---------- */
.price-box {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 40px;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(79, 70, 229, .2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.price-box h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; margin: 18px 0 12px; color: #0f172a; }
.price-box p { color: var(--c-muted); font-size: 15.5px; line-height: 1.7; max-width: 560px; margin: 0 auto 28px; }
.price-box .price-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Other products ---------- */
.other-products a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  color: #0f172a;
  font-weight: 600;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.other-products a:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: var(--c-primary); }
.other-products a i { font-size: 24px; color: var(--c-primary); }
.other-products a span { display: block; font-weight: 400; font-size: 13.5px; color: var(--c-muted); }

@media (max-width: 992px) {
  #product-hero { padding: 130px 0 80px; }
  #product-hero .hero-visual { max-width: 260px; margin-top: 50px; }
  #product-hero .hero-visual i { font-size: 110px; }
  .price-box { padding: 36px 24px; }
}
