/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:    #7C3AED;
  --primary-dk: #5B21B6;
  --teal:       #0F766E;
  --teal-dk:    #134E4A;
  --text:       #111827;
  --text-muted: #6B7280;
  --bg:         #FFFFFF;
  --card-bg:    #F9FAFB;
  --border:     #E5E7EB;
  --radius:     12px;
  --shadow:     0 1px 3px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.06);
  --shadow-lg:  0 8px 30px rgba(0,0,0,.12);
  --transition: .18s ease;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: .65rem 1.5rem;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity var(--transition), transform var(--transition);
}
.btn:hover { opacity: .88; transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-teal    { background: var(--teal);    color: #fff; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.logo {
  font-size: 1.1rem; font-weight: 800; color: var(--text);
  display: flex; align-items: center; gap: .4rem;
}
.header-nav { display: flex; align-items: center; gap: 1.75rem; }
.nav-link { font-size: .9rem; font-weight: 500; color: var(--text-muted); transition: color var(--transition); }
.nav-link:hover { color: var(--text); }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, #1E1B4B 0%, #3730A3 50%, #7C3AED 100%);
  padding: 7rem 2rem 6rem;
  text-align: center;
  color: #fff;
}
.hero-inner { max-width: 680px; margin: 0 auto; }
.hero-label {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(255,255,255,.15); color: rgba(255,255,255,.9);
  padding: .3rem .9rem; border-radius: 999px; margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 900; line-height: 1.1;
  margin-bottom: 1.25rem;
}
.hero-sub {
  font-size: 1.1rem; line-height: 1.7;
  color: rgba(255,255,255,.8);
  margin-bottom: 2rem; max-width: 540px; margin-left: auto; margin-right: auto;
}

/* ── Section shared ── */
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--primary); margin-bottom: .6rem;
}
.section-inner h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: .5rem; }
.section-sub { color: var(--text-muted); font-size: 1rem; margin-bottom: 2.5rem; max-width: 520px; }

/* ── Products ── */
.products { padding: 5rem 2rem; background: var(--bg); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}
.product-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.product-card-header {
  padding: 2rem;
  display: flex; align-items: flex-start; justify-content: space-between;
}
.product-icon { font-size: 2.5rem; line-height: 1; }
.product-badge {
  font-size: .7rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  background: rgba(255,255,255,.2); color: #fff;
  padding: .2rem .65rem; border-radius: 999px;
}

.product-card-body {
  padding: 1.75rem;
  display: flex; flex-direction: column; flex: 1;
  background: var(--bg);
}
.product-card-body h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: .2rem; }
.product-tagline { font-size: .9rem; color: var(--text-muted); margin-bottom: 1rem; }
.product-desc { font-size: .92rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1.25rem; }

.product-features { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1.75rem; }
.product-features li { font-size: .875rem; color: var(--text-muted); }

.product-card-footer { margin-top: auto; }

/* ── About ── */
.about { padding: 5rem 2rem; background: var(--card-bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}
.about-inner p { color: var(--text-muted); line-height: 1.75; margin-bottom: 1rem; max-width: 520px; }
.about-inner p:last-child { margin-bottom: 0; }
.about-stats { display: flex; gap: 2.5rem; flex-shrink: 0; }
.stat { text-align: center; }
.stat-num { font-size: 2.5rem; font-weight: 900; color: var(--primary); line-height: 1; }
.stat-label { font-size: .8rem; color: var(--text-muted); margin-top: .25rem; text-transform: uppercase; letter-spacing: .06em; }

/* ── Contact ── */
.contact { padding: 5rem 2rem; background: var(--bg); }
.contact .section-sub { margin-left: auto; margin-right: auto; }

/* ── Footer ── */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,.5);
  padding: 1.5rem 2rem;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  font-size: .85rem;
}
.footer-nav { display: flex; gap: 1.5rem; }
.footer-nav a { color: rgba(255,255,255,.5); transition: color var(--transition); }
.footer-nav a:hover { color: #fff; }

/* ── Responsive ── */
@media (max-width: 700px) {
  .hero { padding: 4rem 1.25rem; }
  .products, .about, .contact { padding: 3rem 1.25rem; }
  .about-inner { grid-template-columns: 1fr; gap: 2rem; }
  .about-stats { justify-content: center; }
  .footer-inner { flex-direction: column; gap: .75rem; text-align: center; }
}
