/* =============================================
   SIGNETRY TECHNOLOGIES — style.css
   Clean minimal aesthetic matching ZealTrak
   ============================================= */

:root {
  --primary:      #0c0c0c;
  --secondary:    #64748b;
  --accent:       #4CA88F;
  --accent-hover: #3a9a83;
  --accent-light: #f0faf8;
  --bg:           #f8fafc;
  --card:         #ffffff;
  --border:       #e2e8f0;
  --font:         "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius:       12px;
  --radius-sm:    7px;
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:    0 4px 20px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg:    0 24px 64px rgba(0,0,0,0.13), 0 8px 24px rgba(0,0,0,0.07);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--font); }

/* === Container === */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === Typography helpers === */
.eyebrow {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 12px;
}
h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
  line-height: 1.18;
}
.sub {
  font-size: 17px;
  color: var(--secondary);
  max-width: 580px;
  line-height: 1.7;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: opacity 0.15s ease, transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn:hover { opacity: 0.9; transform: translateY(-1px); }
.btn--dark  { background: var(--accent); color: #fff; border-color: transparent; box-shadow: 0 1px 8px rgba(76,168,143,0.25); }
.btn--dark:hover  { opacity: 1; background: var(--accent-hover); box-shadow: 0 3px 12px rgba(76,168,143,0.3); }
.btn--ghost { background: transparent; color: var(--primary); border-color: var(--border); }
.btn--ghost:hover { opacity: 1; border-color: #94a3b8; background: #f3f4f6; }
.btn--white { background: #fff; color: var(--accent); border-color: rgba(255,255,255,0.9); font-weight: 600; }
.btn--white:hover { opacity: 1; background: #f0fdf7; }
.btn--full  { width: 100%; }

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248,250,252,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226,232,240,0.7);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,0.07);
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--primary);
  text-transform: uppercase;
  line-height: 1;
}

/* Nav links — desktop */
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__links a {
  font-size: 14px;
  color: var(--secondary);
  padding: 8px 12px;
  border-radius: 8px;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: color 0.15s, background 0.15s;
}
.nav__links a:hover { color: var(--primary); background: #eeeeee; }
.nav__cta {
  background: var(--accent) !important;
  color: #fff !important;
  border-radius: var(--radius-sm) !important;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 14px !important;
  margin-left: 8px;
  min-height: unset !important;
  height: auto !important;
  line-height: 1.4;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 6px rgba(76,168,143,0.2);
}
.nav__cta:hover { background: var(--accent-hover) !important; color: #fff !important; box-shadow: 0 2px 10px rgba(76,168,143,0.3) !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border: none;
  background: none;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background 0.15s;
}
.hamburger:hover { background: #eeeeee; }
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   HERO
   ============================================= */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  background: radial-gradient(ellipse 90% 55% at 50% 0%, rgba(76,168,143,0.07) 0%, transparent 65%), var(--bg);
}
.hero .eyebrow { margin-bottom: 20px; }
.hero h1 {
  font-size: clamp(2.5rem, 6.5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.06;
  margin-bottom: 22px;
}
.hero__sub {
  font-size: 18px;
  color: var(--secondary);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.hero__stats {
  display: flex;
  justify-content: center;
  align-items: stretch;
  margin-top: 52px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 32px;
  flex: 1;
  gap: 3px;
}
.hero__stat + .hero__stat { border-left: 1px solid var(--border); }
.hero__stat-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}
.hero__stat-sub {
  font-size: 12.5px;
  color: var(--secondary);
  text-align: center;
  line-height: 1.5;
}

.hero__img-wrap {
  margin-top: 64px;
}
.hero__img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  max-height: 520px;
}

/* =============================================
   FEATURES / ABOUT
   ============================================= */
.features {
  padding: 96px 0;
  background: var(--card);
}
.features h2 { margin-bottom: 10px; }
.features .sub { margin-bottom: 0; }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: #cbd5e1; }
.card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-light);
  border: 1px solid rgba(76,168,143,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}
.card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.card p  { color: var(--secondary); font-size: 14px; line-height: 1.7; }

/* =============================================
   PRODUCT — ZEAL TRAK
   ============================================= */
.product {
  padding: 96px 0;
  background: var(--bg);
}
.product__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.product__text .eyebrow { margin-bottom: 10px; }
.product__text h2       { margin-bottom: 6px; }
.product__tagline {
  font-size: 15px;
  color: var(--secondary);
  font-weight: 500;
  margin-bottom: 16px;
}
.product__text > p {
  color: var(--secondary);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 20px;
}
.product__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}
.product__list li {
  font-size: 14px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 9px;
  line-height: 1.5;
}
.product__list li::before {
  content: '';
  display: inline-flex;
  width: 16px;
  height: 16px;
  min-width: 16px;
  border-radius: 50%;
  background: var(--accent-light);
  border: 1.5px solid rgba(76,168,143,0.25);
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='1.5,5.5 3.5,7.5 8.5,2.5' stroke='%234CA88F' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px 10px;
}
.product__img img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  object-fit: cover;
}
.products__more {
  text-align: center;
  color: var(--secondary);
  margin-top: 48px;
  font-size: 14px;
}

/* =============================================
   PRICING
   ============================================= */
.pricing {
  padding: 96px 0;
  background: var(--card);
  text-align: center;
}
.pricing h2    { margin-bottom: 10px; }
.pricing .sub  { margin: 0 auto 48px; }
.pricing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  text-align: left;
  margin-top: 0;
}
.pricing__card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  transition: box-shadow 0.22s ease, transform 0.22s ease;
  box-shadow: var(--shadow-sm);
}
.pricing__card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.pricing__card--featured {
  background: #1e5c4e;
  color: #fff;
  border-color: #1e5c4e;
  box-shadow: 0 8px 32px rgba(76,168,143,0.35);
}
.pricing__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 13px;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing__plan {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.55;
  margin-bottom: 10px;
}
.pricing__price {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 10px;
}
.pricing__price span {
  font-size: 15px;
  font-weight: 400;
  opacity: 0.55;
  letter-spacing: 0;
}
.pricing__card > p  { font-size: 14px; opacity: 0.7; margin-bottom: 20px; line-height: 1.6; }
.pricing__card ul   { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.pricing__card ul li { font-size: 14px; }
.pricing__card--featured .btn--ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.pricing__card--featured .btn--ghost:hover { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.08); }

/* =============================================
   ABOUT SECTION (with photo)
   ============================================= */
.about-section {
  padding: 96px 0;
  background: var(--bg);
}
.about-section__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.about-section__img img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  max-height: 440px;
}
.about-section__text .eyebrow   { margin-bottom: 12px; }
.about-section__text h2          { margin-bottom: 18px; }
.about-section__text > p {
  color: var(--secondary);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 14px;
}
.about-section__text .btn { margin-top: 10px; }

/* =============================================
   CONTACT
   ============================================= */
.contact {
  padding: 96px 0;
  background: var(--card);
}
.contact h2   { margin-bottom: 10px; }
.contact .sub { margin-bottom: 48px; }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.contact__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact__item strong {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--secondary);
  margin-bottom: 6px;
}
.contact__item p { font-size: 15px; line-height: 1.7; color: var(--primary); }
.contact__item a { font-weight: 500; color: var(--accent); }

/* Form */
.contact__form { display: flex; flex-direction: column; gap: 16px; }
.form__group   { display: flex; flex-direction: column; gap: 6px; }
.form__group label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--secondary);
}
.form__group input,
.form__group textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 15px;
  color: var(--primary);
  background: var(--bg);
  transition: border-color 0.15s;
  min-height: 44px;
  resize: vertical;
  width: 100%;
}
.form__group input:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(76,168,143,0.1);
  background: #fff;
}
.form__status {
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  min-height: 1.2em;
}
.form__status.success { color: #059669; }
.form__status.error   { color: #dc2626; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  border-top: none;
  padding: 48px 0;
  background: #0c0c0c;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  color: #fff;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  justify-content: center;
}
.footer__links a {
  font-size: 14px;
  color: #718096;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: color 0.15s;
}
.footer__links a:hover { color: #fff; }
.footer__copy { font-size: 13px; color: #4a5568; }

/* =============================================
   FADE-IN ANIMATION
   ============================================= */
.fade-in {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible { opacity: 1; transform: none; }

/* =============================================
   TABLET  ≥ 768px
   ============================================= */
@media (min-width: 768px) {
  .product__grid        { grid-template-columns: 1fr 1fr; }
  .about-section__grid  { grid-template-columns: 1fr 1fr; }
  .contact__grid        { grid-template-columns: 1fr 1.4fr; }
  .pricing__grid        { grid-template-columns: repeat(3, 1fr); }

  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  .footer__links { justify-content: flex-start; }
}

/* =============================================
   MOBILE  < 768px  (hamburger nav)
   ============================================= */
@media (max-width: 767px) {
  .hamburger  { display: flex; }
  .nav__links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 24px 32px;
    gap: 4px;
    border-top: 1px solid var(--border);
    z-index: 99;
    overflow-y: auto;
  }
  .nav__links.open { display: flex; }
  .nav__links a {
    font-size: 16px;
    padding: 14px 16px;
    border-radius: 10px;
  }
  .nav__cta {
    margin-left: 0 !important;
    margin-top: 8px;
    justify-content: center;
  }
  .hero { padding: 64px 0 48px; }
  .hero h1 { letter-spacing: -1px; }
  .hero__stats { flex-direction: column; border-radius: var(--radius); overflow: hidden; }
  .hero__stat { padding: 14px 20px; }
  .hero__stat + .hero__stat { border-left: none; border-top: 1px solid var(--border); }
}
