/* ==========================================================================
   Secure365 - Premium CSS Stylesheet
   Typography: Space Grotesk (Headings) & Inter (Body)
   ========================================================================== */

/* ───── Reset & Tokens ───── */
:root {
  /* Colors inspired by Secure365 logo (Navy & Orange) */
  --primary: #1B2A4A;        /* Dark Navy */
  --primary-dark: #0D172A;
  --secondary: #F47920;      /* Vibrant Orange */
  --secondary-hover: #D66311;
  --secondary-bg: rgba(244, 121, 32, 0.08);
  
  --ink: #111827;
  --ink-2: #374151;
  --paper: #F8FAFC;
  --surface: #FFFFFF;
  --border: #E2E8F0;
  
  --muted: #64748B;
  --muted-2: #94A3B8;
  
  /* Accent Blue */
  --accent: #2E86DE;
  --accent-h: #1B70C4;
  --accent-bg: #EFF6FF;
  
  /* Category Highlights */
  --health: #059669;
  --health-bg: #ECFDF5;
  --car: #0284C7;
  --car-bg: #F0F9FF;
  --bike: #D97706;
  --bike-bg: #FFFBEB;
  
  --radius: 12px;
  --radius-lg: 20px;
  
  /* Shadows */
  --shadow: 0 1px 3px rgba(27, 42, 74, 0.06), 0 1px 2px rgba(27, 42, 74, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(27, 42, 74, 0.05), 0 2px 4px -1px rgba(27, 42, 74, 0.03);
  --shadow-lg: 0 10px 25px -5px rgba(27, 42, 74, 0.1), 0 10px 10px -5px rgba(27, 42, 74, 0.04);
  --shadow-hover: 0 20px 35px -8px rgba(27, 42, 74, 0.15);
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--primary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

::selection {
  background: var(--secondary);
  color: #fff;
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Scroll Animation classes */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.js .reveal.in-view {
  opacity: 1;
  transform: none;
}

/* ───── 1. HEADER & NAVIGATION ───── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.95);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: var(--transition);
}

.logo:hover {
  transform: scale(1.02);
}

.logo img {
  height: 42px;
  width: auto;
  margin: 0;
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.logo-text span {
  color: var(--secondary);
}

.logo-text small {
  font-size: 0.65em;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: var(--transition);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--primary) !important;
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: var(--radius);
  font-size: 14px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 12px rgba(27, 42, 74, 0.15);
}

.nav-cta:hover {
  background: var(--secondary) !important;
  box-shadow: 0 4px 15px rgba(244, 121, 32, 0.3);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

/* ───── 2. HERO SECTION ───── */
.hero {
  background: radial-gradient(circle at 70% 30%, #1e293b 0%, #0f172a 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(244, 121, 32, 0.15), transparent 60%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 720px;
}

.hero-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero h1 em {
  font-style: normal;
  color: #93C5FD;
  background: linear-gradient(135deg, #93C5FD 0%, #3B82F6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 18px;
  line-height: 1.7;
  color: #94A3B8;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.btn:active {
  transform: scale(0.98);
}

.btn-car {
  background: linear-gradient(135deg, var(--secondary) 0%, #FF9F55 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(244, 121, 32, 0.35);
}

.btn-car:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 121, 32, 0.5);
}

.btn-outline {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 60px;
}

.trust-row span {
  font-size: 14px;
  color: #64748B;
  font-weight: 500;
}

/* ───── 3. SECTION COMMONS ───── */
.section {
  padding: 100px 0;
}

.section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 12px;
  text-align: center;
}

.section-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  margin-bottom: 12px;
  text-align: center;
  color: var(--primary);
}

.section-desc {
  font-size: 16px;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 48px;
  text-align: center;
}

/* ───── 4. WHY INSURANCE MATTERS ───── */
.why-section {
  background-color: var(--surface);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.why-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(244, 121, 32, 0.2);
  background: var(--surface);
}

.why-card .ic {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--secondary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.why-card .ic svg {
  width: 24px;
  height: 24px;
  color: var(--secondary);
}

.why-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary);
}

.why-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ───── 5. CATEGORIES SECTION (TABS) ───── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cat-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: left;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.cat-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--cat-color);
}

.cat-tile.active {
  border-color: var(--cat-color);
  box-shadow: 0 0 0 3px var(--cat-bg);
}

.cat-tile .cat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: var(--cat-bg);
}

.cat-tile .cat-icon svg {
  width: 26px;
  height: 26px;
  color: var(--cat-color);
}

.cat-tile h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary);
}

.cat-tile .cat-desc {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.cat-tile .cat-count {
  font-size: 13px;
  font-weight: 700;
  color: var(--cat-color);
  background: var(--cat-bg);
  padding: 4px 12px;
  border-radius: var(--radius);
}

[data-seg="health"] { --cat-color: var(--health); --cat-bg: var(--health-bg); }
[data-seg="car"] { --cat-color: var(--car); --cat-bg: var(--car-bg); }
[data-seg="bike"] { --cat-color: var(--bike); --cat-bg: var(--bike-bg); }

/* ───── 6. PLANS SECTION ───── */
.plans-section {
  padding: 0 0 100px;
  display: none;
}

.plans-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 16px;
}

.plans-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
}

.plans-header .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
}

.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(27, 42, 74, 0.15);
}

.plan-left {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1;
}

.plan-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.plan-info {
  min-width: 0;
  width: 100%;
}

.plan-provider {
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--primary);
}

.plan-card-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 8px;
}

.plan-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
}

.plan-card-features li {
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-card-features .feature-check {
  color: var(--health);
  font-weight: bold;
}

.plan-meta {
  font-size: 12px;
  color: var(--muted-2);
  font-weight: 500;
}

.plan-right {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.plan-offer {
  text-align: left;
}

.plan-offer-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.plan-offer-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-top: 2px;
}

.plan-buy {
  padding: 12px 24px;
  border-radius: var(--radius);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.plan-buy:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.plan-buy:active {
  transform: scale(0.97);
}

.plan-empty, .plan-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 24px;
  color: var(--muted);
  background: var(--surface);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  font-size: 15px;
}

/* ───── 7. PARTNERS STRIP (INFINITE MARQUEE) ───── */
.partners-section {
  padding: 60px 0 80px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.partners-section .section-label {
  margin-bottom: 24px;
}

.marquee-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 35s linear infinite;
}

.marquee-track.paused {
  animation-play-state: paused;
}

.marquee-wrap:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.marquee-half {
  display: flex;
  gap: 16px;
  padding-right: 16px;
}

.partner-pill {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 24px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  box-shadow: var(--shadow);
}

.partners-empty {
  color: var(--muted);
  font-size: 14px;
  padding: 24px;
  text-align: center;
  background: var(--surface);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  width: 100%;
}

/* ───── 8. CONTACT SECTION ───── */
.contact-section {
  background-color: var(--paper);
  border-top: 1px solid var(--border);
  padding: 80px 0;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-inner .section-label {
  text-align: left;
  margin-bottom: 16px;
}

.contact-inner .section-title {
  text-align: left;
  margin-bottom: 16px;
}

.contact-inner .section-desc {
  text-align: left;
  margin-bottom: 24px;
}

.contact-inner a.email-link {
  color: var(--secondary);
  font-weight: 600;
  border-bottom: 1px solid transparent;
}

.contact-inner a.email-link:hover {
  border-bottom-color: var(--secondary);
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary);
}

.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  background: var(--paper);
  color: var(--ink);
  transition: var(--transition);
  outline: none;
}

.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--secondary);
  background-color: var(--surface);
  box-shadow: 0 0 0 3px var(--secondary-bg);
}

.field textarea {
  resize: vertical;
  min-height: 100px;
}

.field .err-msg {
  font-size: 12px;
  color: #DC2626;
  margin-top: 6px;
  display: none;
}

.submit-btn {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(27, 42, 74, 0.15);
  transition: var(--transition);
}

.submit-btn:hover {
  background: var(--secondary);
  box-shadow: 0 4px 15px rgba(244, 121, 32, 0.3);
  transform: translateY(-1px);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-msg {
  font-size: 13.5px;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius);
  display: none;
}

.form-msg.ok {
  display: block;
  background: var(--health-bg);
  color: var(--health);
  border: 1px solid rgba(5, 150, 105, 0.2);
}

.form-msg.err {
  display: block;
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid rgba(220, 38, 38, 0.2);
}

/* ───── 9. FOOTER ───── */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 60px 0 30px;
}

.footer-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 10px;
  font-weight: 500;
}

.footer-col a:hover {
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ───── 10. MODAL FLOW ───── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(15, 23, 42, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  display: flex;
  opacity: 1;
}

.modal {
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 440px;
  width: 100%;
  padding: 40px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.open .modal {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  color: var(--muted);
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--primary);
  border-color: var(--muted-2);
}

.modal .cat-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: inline-block;
  margin-bottom: 4px;
}

.modal h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary);
}

.modal .modal-desc {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.modal .field {
  margin-bottom: 16px;
}

.modal .modal-submit {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.modal .modal-submit:hover {
  filter: brightness(1.08);
}

.modal .modal-note {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 16px;
  line-height: 1.5;
}

/* Redirection Spinner */
.redirect-box {
  text-align: center;
  padding: 20px 0;
}

.redirect-box .spinner {
  width: 44px;
  height: 44px;
  border: 4px solid var(--border);
  border-top-color: var(--secondary);
  border-radius: 50%;
  margin: 0 auto 20px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.redirect-box h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.redirect-box p {
  font-size: 14px;
  color: var(--muted);
}

.redirect-box .manual-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: underline;
}

/* ───── 11. TOAST NOTIFICATIONS ───── */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 380px;
  width: calc(100% - 48px);
}

.toast {
  background-color: var(--surface);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-left: 4px solid var(--accent);
  animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transition: var(--transition);
}

.toast.toast-success {
  border-left-color: var(--health);
}

.toast.toast-error {
  border-left-color: #DC2626;
}

.toast.fade-out {
  opacity: 0;
  transform: translateY(12px);
}

.toast-message {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.toast-close {
  font-size: 14px;
  color: var(--muted-2);
  line-height: 1;
}

.toast-close:hover {
  color: var(--primary);
}

@keyframes toastSlideIn {
  from { transform: translateY(24px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ───── 12. RESPONSIVE DESIGN ───── */
@media (max-width: 900px) {
  .wrap {
    padding: 0 16px;
  }

  .site-header .wrap {
    height: 70px;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--surface);
    flex-direction: column;
    padding: 40px 24px;
    gap: 24px;
    transition: var(--transition);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
    z-index: 999;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cat-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .nav-links.open {
    left: 0;
  }
  
  .nav-toggle {
    display: flex;
    z-index: 1001;
  }
  
  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  
  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -7px);
  }
  
  .footer-row {
    flex-direction: column;
    gap: 32px;
  }
}

@media (max-width: 520px) {
  .wrap {
    padding: 0 12px;
  }

  .hero .wrap {
    padding-top: 40px;
    padding-bottom: 40px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 30px;
    margin-bottom: 16px;
  }

  .hero p {
    font-size: 15px;
    margin-bottom: 28px;
    line-height: 1.6;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-card {
    padding: 24px 20px;
  }
  
  .plan-card {
    padding: 20px;
  }
  
  .plan-right {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .plan-offer-val {
    font-size: 18px;
  }
  
  .hero {
    padding: 40px 0;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 24px;
  }

  .footer-brand, .footer-col {
    width: 100%;
  }

  .contact-form {
    padding: 24px 20px;
  }
}
