/* ============================================================
   Malvernsoft Marketing Site — styles.css
   Matches U&IQ brand: primary #0077B6, Inter font
   ============================================================ */

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

:root {
  --primary:       #0077B6;
  --primary-dark:  #005F92;
  --primary-light: #e8f4fb;
  --text:          #111827;
  --text-muted:    #6b7280;
  --border:        #c8dfe8;
  --bg:            #ffffff;
  --bg-alt:        #f8fafc;
  --radius:        12px;
  --shadow:        0 4px 24px rgba(0,119,182,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--primary); }

.btn-nav {
  background: var(--primary) !important;
  color: white !important;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background 0.15s !important;
}

.btn-nav:hover { background: var(--primary-dark) !important; }

/* ── HERO ── */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, #023e8a 100%);
  color: white;
  padding: 7rem 0 8rem;
  overflow: hidden;
}

.hero-inner { position: relative; z-index: 1; max-width: 680px; }

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.35rem 0.875rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.1875rem;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.btn-primary {
  display: inline-block;
  background: white;
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.hero-shape {
  position: absolute;
  right: -100px;
  top: -100px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}

/* ── PRODUCT ── */
.product {
  padding: 6rem 0;
  background: var(--bg);
}

.section-label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-label.light { color: rgba(255,255,255,0.7); }

.product h2, .about h2, .contact h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 3.5rem;
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.feature-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── STORE BADGES ── */
.store-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--text);
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  transition: background 0.15s, transform 0.15s;
}

.store-badge:hover {
  background: #374151;
  transform: translateY(-2px);
}

.store-badge span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-badge small {
  font-size: 0.6875rem;
  opacity: 0.8;
}

.store-badge strong {
  font-size: 1rem;
  font-weight: 700;
}

/* ── ABOUT ── */
.about {
  padding: 6rem 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-left: 1.25rem;
  border-left: 3px solid var(--primary);
}

.stat-number {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.stat-label {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* ── CONTACT ── */
.contact {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, #023e8a 100%);
  color: white;
  text-align: center;
}

.contact-inner { max-width: 600px; margin: 0 auto; }

.contact h2 { color: white; }

.contact p {
  color: rgba(255,255,255,0.85);
  font-size: 1.0625rem;
  margin: 1rem 0 2.5rem;
  line-height: 1.7;
}

.btn-white {
  display: inline-block;
  background: white;
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* ── FOOTER ── */
.footer {
  background: #0f172a;
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer .logo { font-size: 1rem; color: white; }

.footer-copy {
  font-size: 0.875rem;
  color: #64748b;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover { color: white; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { gap: 1rem; }
  .nav-links a:not(.btn-nav) { display: none; }

  .hero { padding: 5rem 0 6rem; }
  .hero-shape { display: none; }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-inner { flex-direction: column; text-align: center; }
}
