/* ============================================================
   Stacked — Website Stylesheet
   Brand: Neuvo WebTech LLP | Color palette from neuvo.co
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --blue:       #204ce5;
  --blue-dark:  #1639c0;
  --blue-light: #eef1fd;
  --navy:       #112337;
  --navy-mid:   #1a3350;
  --gray:       #686e77;
  --gray-light: #f4f5f7;
  --white:      #ffffff;
  --gold:       #c8a96e;
  --border:     #e2e6ea;
  --radius:     12px;
  --shadow:     0 4px 24px rgba(17,35,55,.08);
  --shadow-lg:  0 16px 48px rgba(17,35,55,.14);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
}

p { color: var(--gray); }

a { text-decoration: none; transition: all .2s ease; }

img { max-width: 100%; }

/* ---------- Navbar ---------- */
.navbar {
  padding: 1rem 0;
  background: rgba(255,255,255,.96) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(17,35,55,.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy) !important;
  letter-spacing: -.02em;
}

.navbar-brand span { color: var(--blue); }

.nav-link {
  font-size: .9rem;
  font-weight: 500;
  color: var(--navy) !important;
  padding: .4rem .9rem !important;
  border-radius: 8px;
  transition: background .2s, color .2s;
}

.nav-link:hover, .nav-link.active {
  color: var(--blue) !important;
  background: var(--blue-light);
}

.btn-nav {
  background: var(--blue) !important;
  color: var(--white) !important;
  border-radius: 8px !important;
  padding: .45rem 1.2rem !important;
  font-weight: 500 !important;
  font-size: .875rem !important;
}

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

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1e4080 100%);
  color: var(--white);
  padding: 110px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-badge {
  display: inline-block;
  background: rgba(200,169,110,.15);
  border: 1px solid rgba(200,169,110,.4);
  color: var(--gold);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.03em;
  margin-bottom: 1.25rem;
}

.hero h1 span { color: var(--gold); }

.hero p.lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,.72);
  max-width: 520px;
  font-weight: 300;
}

.hero-cta { margin-top: 2.5rem; display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: .85rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  box-shadow: 0 4px 16px rgba(32,76,229,.4);
  transition: all .25s;
}

.btn-primary-custom:hover {
  background: var(--blue-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(32,76,229,.45);
}

.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.4);
  padding: .85rem 2rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: .95rem;
  transition: all .25s;
}

.btn-outline-custom:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.7);
  color: var(--white);
}

/* App mockup placeholder */
.hero-device {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 32px;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-device::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(32,76,229,.15), rgba(200,169,110,.08));
}

.hero-device-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-device-inner svg { opacity: .35; }

.hero-device-inner p {
  color: rgba(255,255,255,.4);
  font-size: .8rem;
  margin-top: .75rem;
}

/* ---------- Section Shared ---------- */
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.section-bg { background: var(--gray-light); }
.section-dark { background: var(--navy); }

.section-label {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.section-label.gold {
  background: rgba(200,169,110,.1);
  color: var(--gold);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  letter-spacing: -.02em;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 560px;
}

/* ---------- Feature Cards ---------- */
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  height: 100%;
  transition: all .3s ease;
  box-shadow: var(--shadow);
}

.feature-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--blue-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-icon svg { color: var(--blue); }

.feature-card h5 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: .5rem;
}

.feature-card p { font-size: .9rem; margin: 0; }

/* ---------- Stats ---------- */
.stat-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: .5rem;
}

.stat-number span { color: var(--gold); }
.stat-label { color: rgba(255,255,255,.6); font-size: .9rem; }

/* ---------- Download Badges ---------- */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  background: var(--navy);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.15);
  padding: .75rem 1.5rem;
  border-radius: 12px;
  font-size: .875rem;
  font-weight: 500;
  transition: all .25s;
}

.store-badge:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.store-badge-small { font-size: .7rem; opacity: .7; display: block; }
.store-badge-name { font-size: 1rem; font-weight: 600; display: block; line-height: 1.2; }

/* ---------- Testimonial / Quote ---------- */
.quote-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow);
}

.quote-card::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: var(--blue-light);
  position: absolute;
  top: -.5rem;
  left: 1.5rem;
  line-height: 1;
}

/* ---------- Contact Form ---------- */
.contact-card {
  background: var(--white);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.form-control, .form-select {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: .75rem 1rem;
  font-size: .9rem;
  color: var(--navy);
  transition: border-color .2s;
}

.form-control:focus, .form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(32,76,229,.1);
}

.form-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .4rem;
}

.btn-submit {
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: .85rem 2.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  width: 100%;
  transition: all .25s;
  box-shadow: 0 4px 16px rgba(32,76,229,.35);
}

.btn-submit:hover {
  background: var(--blue-dark);
  color: var(--white);
  transform: translateY(-1px);
}

/* ---------- Info Box ---------- */
.info-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--gray-light);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.info-box-icon {
  width: 40px;
  height: 40px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-box-icon svg { color: var(--blue); }

.info-box h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .85rem;
  color: var(--navy);
  margin-bottom: .2rem;
}

.info-box p { font-size: .875rem; margin: 0; }

/* ---------- Legal Pages ---------- */
.legal-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 70px 0 50px;
  color: var(--white);
}

.legal-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); }
.legal-hero p { color: rgba(255,255,255,.65); }

.legal-body { padding: 70px 0; }

.legal-content h2 {
  font-size: 1.35rem;
  margin-top: 2.5rem;
  margin-bottom: .75rem;
  color: var(--navy);
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p, .legal-content li {
  font-size: .95rem;
  color: var(--gray);
  line-height: 1.8;
}

.legal-content ul, .legal-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content li { margin-bottom: .4rem; }

.legal-content a { color: var(--blue); }
.legal-content a:hover { color: var(--blue-dark); }

.legal-toc {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-left: 4px solid var(--blue);
}

.legal-toc h6 {
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--navy);
  margin-bottom: .75rem;
}

.legal-toc a {
  display: block;
  font-size: .875rem;
  color: var(--gray);
  padding: .2rem 0;
}

.legal-toc a:hover { color: var(--blue); }

/* ---------- Divider ---------- */
.divider {
  width: 48px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
  margin: 1rem 0 1.5rem;
}

.divider-gold { background: var(--gold); }

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 80px 0 60px;
  color: var(--white);
}

.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,.65); }

/* ---------- Footer ---------- */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.65);
  padding: 60px 0 0;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.02em;
  margin-bottom: .75rem;
}

.footer-brand span { color: var(--gold); }

.footer-desc { font-size: .875rem; max-width: 260px; line-height: 1.7; }

.footer-heading {
  font-family: 'Inter', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.4);
  margin-bottom: 1.25rem;
}

.footer-link {
  display: block;
  color: rgba(255,255,255,.65);
  font-size: .875rem;
  padding: .3rem 0;
  transition: color .2s;
}

.footer-link:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.5rem 0;
  margin-top: 3rem;
}

.footer-bottom p { margin: 0; font-size: .825rem; color: rgba(255,255,255,.4); }

.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Utilities ---------- */
.text-blue { color: var(--blue) !important; }
.text-gold { color: var(--gold) !important; }
.text-navy { color: var(--navy) !important; }
.bg-blue { background: var(--blue) !important; }
.bg-navy { background: var(--navy) !important; }

.rounded-xl { border-radius: 20px !important; }
.rounded-2xl { border-radius: 24px !important; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .hero { padding: 70px 0 60px; }
  .hero-device { height: 260px; margin-top: 2.5rem; }
  .contact-card { padding: 2rem 1.5rem; }
  .stat-number { font-size: 2.2rem; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
}
