/* ═══════════════════════════════════════════════════
   Velvet Assistants — Shared Styles
   ═══════════════════════════════════════════════════ */

:root {
  --navy: #0D1B2A;
  --plum: #6B2D5E;
  --ivory: #F5F0E8;
  --slate: #8A9BB0;
  --white: #FFFFFF;
  --plum-light: #8E3D7A;
  --plum-glow: rgba(107,45,94,0.15);
  --navy-90: rgba(13,27,42,0.9);
  --text-body: #4a5568;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--navy);
  background: var(--ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── UTILITY ─── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--plum);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 18px 40px;
  border-radius: 60px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  box-shadow: 0 4px 24px rgba(107,45,94,0.25);
  letter-spacing: 0.01em;
}
.btn-primary:hover {
  background: var(--plum-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(107,45,94,0.35);
}
.btn-primary svg {
  width: 18px; height: 18px;
  transition: transform 0.2s;
}
.btn-primary:hover svg { transform: translateX(3px); }

/* ─── NAV ─── */
.nav {
  background: var(--navy);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 24px rgba(0,0,0,0.2);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 26px;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--plum-light); }
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 24px;
  border-radius: 60px;
  background: var(--plum);
  color: var(--white) !important;
  transition: background 0.2s;
  text-decoration: none;
}
.nav-cta:hover { background: var(--plum-light); }
.nav-login {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 60px;
  border: 1.5px solid rgba(255,255,255,0.2);
  color: var(--white) !important;
  transition: all 0.2s;
  text-decoration: none;
}
.nav-login:hover {
  border-color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.06);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle svg { width: 24px; height: 24px; color: var(--white); }

/* ─── ARTICLE LAYOUT ─── */
.article-page {
  padding: 80px 0 60px;
  background: var(--white);
}
.article-page .container {
  max-width: 780px;
}
.article-page header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(13,27,42,0.08);
}
.article-page header h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.article-page header time {
  font-size: 14px;
  color: var(--slate);
  font-weight: 500;
}

/* Article content */
.article-page main h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: var(--navy);
  margin-top: 48px;
  margin-bottom: 16px;
  line-height: 1.25;
}
.article-page main h3 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 700;
  color: var(--navy);
  margin-top: 36px;
  margin-bottom: 12px;
  line-height: 1.3;
}
.article-page main h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 28px;
  margin-bottom: 10px;
}
.article-page main p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 20px;
}
.article-page main ul,
.article-page main ol {
  margin: 16px 0 24px 24px;
  color: var(--text-body);
}
.article-page main li {
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 8px;
}
.article-page main strong {
  color: var(--navy);
  font-weight: 600;
}
.article-page main a {
  color: var(--plum);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.article-page main a:hover {
  color: var(--plum-light);
}
.article-page main blockquote {
  border-left: 4px solid var(--plum);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--ivory);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--text-body);
}
.article-page main table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}
.article-page main th,
.article-page main td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(13,27,42,0.08);
}
.article-page main th {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--navy);
  background: var(--ivory);
}
.article-page main td {
  color: var(--text-body);
}

/* Article CTA */
.article-cta {
  margin-top: 64px;
  padding: 48px;
  background: var(--navy);
  border-radius: 20px;
  text-align: center;
}
.article-cta h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  margin-top: 0;
}
.article-cta p {
  font-size: 17px;
  color: var(--slate);
  margin-bottom: 28px;
  line-height: 1.6;
}
.article-cta .btn-primary {
  font-size: 15px;
  padding: 16px 36px;
}

/* ─── SITE FOOTER ─── */
.site-footer {
  background: #070f18;
  padding: 64px 0 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.footer-brand {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 26px;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.footer-brand span { color: var(--plum-light); }
.footer-brand-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate);
  max-width: 280px;
  margin-bottom: 20px;
}
.footer-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-phone:hover { color: var(--white); }
.footer-phone svg { width: 16px; height: 16px; color: var(--plum-light); }
.footer-col h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--slate);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 13px;
  color: rgba(138,155,176,0.5);
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
  font-size: 13px;
  color: rgba(138,155,176,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--slate); }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .article-page { padding: 48px 0 40px; }
  .article-cta { padding: 32px 24px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 20px 32px 28px;
    gap: 0;
    box-shadow: 0 12px 24px rgba(0,0,0,0.3);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 12px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-links .nav-login {
    margin-top: 12px;
    text-align: center;
    border-bottom: none;
  }
  .nav-links .nav-cta {
    margin-top: 8px;
    text-align: center;
    border-bottom: none;
  }
  .nav-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
