/* =============================
   Reset & Base (mobile-first)
   ============================= */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: Arial, Helvetica, sans-serif; color: #222222; background: #FFFFFF; line-height: 1.6; }
img, svg { max-width: 100%; height: auto; display: block; }
img { vertical-align: middle; }
a { color: #2E5E4E; text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; background: transparent; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding-left: 1.2rem; }
strong, b { font-weight: 700; }
input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid #00D1FF; outline-offset: 2px; border-radius: 6px; }

/* =============================
   Theme variables (Brand + Vibrant Energetic)
   ============================= */
:root {
  --primary: #222222;         /* brand primary */
  --secondary: #2E5E4E;       /* brand secondary */
  --accent: #F4EFE6;          /* brand accent (light) */
  --bg: #FFFFFF;
  --muted: #6B7280;
  --border: #E6E6E6;
  --shadow: rgba(34, 34, 34, 0.08);
  --shadow-strong: rgba(34, 34, 34, 0.18);
  /* Vibrant energetic helpers */
  --electric-pink: #FF2670;
  --electric-purple: #6C2CFF;
  --electric-cyan: #00D1FF;
  --electric-lime: #A6FF00;
}

/* =============================
   Typography scale
   ============================= */
h1, h2, h3, h4 { font-family: Georgia, "Times New Roman", serif; color: var(--primary); margin: 0 0 12px 0; line-height: 1.2; }
h1 { font-size: 32px; font-weight: 700; letter-spacing: 0.2px; }
h2 { font-size: 24px; font-weight: 700; }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0 0 16px 0; color: var(--primary); }
.small { font-size: 14px; color: var(--muted); }
.lead { font-size: 18px; font-weight: 500; }

/* =============================
   Layout primitives (Flex-only)
   ============================= */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; display: flex; flex-direction: column; gap: 20px; }
.content-wrapper { display: flex; flex-direction: column; gap: 20px; }
section { display: flex; flex-direction: column; }

/* Mandatory spacing patterns */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 6px 18px var(--shadow); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.content-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
.text-image-section { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.testimonial-card { display: flex; align-items: center; gap: 20px; padding: 20px; background: #FFFFFF; color: #222222; border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 6px 20px var(--shadow); }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* =============================
   Header
   ============================= */
header { position: sticky; top: 0; z-index: 50; background: #FFFFFF; border-bottom: 3px solid var(--accent); box-shadow: 0 4px 12px var(--shadow); }
header .container { flex-direction: row; align-items: center; justify-content: space-between; gap: 14px; padding-top: 12px; padding-bottom: 12px; }
.logo { display: flex; align-items: center; }
.logo img { height: 34px; }
.main-nav { display: none; align-items: center; gap: 16px; }
.main-nav a { color: var(--primary); font-weight: 600; padding: 8px 10px; border-radius: 10px; position: relative; }
.main-nav a:hover { background: var(--accent); text-decoration: none; box-shadow: inset 0 -3px 0 var(--electric-pink); }
.header-cta { display: none; align-items: center; gap: 10px; }
.header-cta a { display: inline-flex; align-items: center; justify-content: center; padding: 10px 14px; font-weight: 700; border-radius: 999px; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.header-cta a:first-child { background: var(--electric-pink); color: #fff; box-shadow: 0 10px 20px rgba(255,38,112,0.3); }
.header-cta a:first-child:hover { transform: translateY(-2px); box-shadow: 0 14px 26px rgba(255,38,112,0.36); text-decoration: none; }
.header-cta a:last-child { background: #fff; color: var(--primary); border: 2px solid var(--primary); }
.header-cta a:last-child:hover { background: var(--primary); color: #fff; text-decoration: none; }

/* Hamburger (mobile-first) */
.mobile-menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; font-size: 20px; border-radius: 10px; border: 2px solid var(--primary); color: var(--primary); background: #fff; transition: background .2s ease, color .2s ease, transform .2s ease; }
.mobile-menu-toggle:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

/* Mobile menu overlay */
.mobile-menu { position: fixed; inset: 0; background: rgba(0,0,0,0.5); display: flex; align-items: stretch; justify-content: flex-end; transform: translateX(100%); transition: transform .35s ease; z-index: 100; }
.mobile-menu.open { transform: translateX(0); }
.mobile-menu > nav.mobile-nav { background: #0F1226; color: #fff; width: 84%; max-width: 360px; padding: 24px 18px 32px; display: flex; flex-direction: column; gap: 14px; box-shadow: -8px 0 24px rgba(0,0,0,0.2); }
.mobile-menu-close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 10px; border: 2px solid #fff; color: #fff; background: transparent; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
.mobile-nav a { color: #fff; font-weight: 700; padding: 12px 14px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: flex-start; background: rgba(255,255,255,0.06); }
.mobile-nav a:hover { background: rgba(255,255,255,0.12); text-decoration: none; box-shadow: inset 0 -3px 0 var(--electric-cyan); }

/* =============================
   Hero
   ============================= */
.hero { background: var(--accent); border-bottom: 3px solid var(--electric-purple); }
.hero .container { padding-top: 24px; padding-bottom: 24px; }
.hero .content-wrapper { gap: 16px; }
.hero nav[aria-label="breadcrumb"] { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.hero nav[aria-label="breadcrumb"] a { color: var(--secondary); font-weight: 700; }
.hero h1 { font-size: 32px; font-weight: 800; text-wrap: balance; }
.hero p { font-size: 16px; color: var(--primary); }

/* CTA buttons */
.cta-group { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-group a { display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; border-radius: 999px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease; }
.cta-group a:first-child { background: var(--electric-purple); color: #fff; box-shadow: 0 12px 22px rgba(108,44,255,0.35); }
.cta-group a:first-child:hover { transform: translateY(-2px); box-shadow: 0 16px 28px rgba(108,44,255,0.45); text-decoration: none; }
.cta-group a:last-child { background: #fff; color: var(--primary); border: 2px solid var(--primary); }
.cta-group a:last-child:hover { background: var(--primary); color: #fff; text-decoration: none; }

/* Value badges */
.value-badges { list-style: none; padding: 0; margin: 8px 0 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.value-badges li { display: inline-flex; align-items: center; gap: 8px; background: #FFFFFF; border: 1px dashed var(--secondary); color: var(--primary); padding: 8px 12px; border-radius: 999px; font-weight: 700; box-shadow: 0 6px 14px var(--shadow); }
.value-badges img { width: 18px; height: 18px; }

/* =============================
   Generic content styling
   ============================= */
.text-section { display: flex; flex-direction: column; gap: 12px; }
.text-section ul { display: flex; flex-direction: column; gap: 8px; padding-left: 18px; }
.text-section p a, .content-wrapper p a { color: var(--electric-pink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Lists with icons */
.text-section li img { width: 18px; height: 18px; margin-right: 6px; }
.text-section li { display: flex; align-items: center; gap: 8px; }

/* =============================
   Testimonials (high contrast)
   ============================= */
.testimonial-card { position: relative; }
.testimonial-card::before { content: ""; width: 6px; height: 100%; background: var(--electric-cyan); border-radius: 6px; display: inline-block; }
.testimonial-card p { margin: 0; }
.testimonial-card + .testimonial-card { margin-top: 16px; }

/* =============================
   Footer
   ============================= */
footer { background: #0F1226; color: #FFFFFF; margin-top: 32px; border-top: 4px solid var(--electric-pink); }
footer .container { padding-top: 28px; padding-bottom: 28px; }
footer .content-wrapper { display: flex; flex-direction: column; gap: 20px; }
footer .footer-top { display: flex; flex-direction: column; gap: 10px; }
footer .footer-top p { color: #E8E8E8; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-nav > div { display: flex; flex-direction: column; gap: 10px; background: rgba(255,255,255,0.04); padding: 14px; border-radius: 12px; flex: 1 1 240px; }
.footer-nav h3 { color: #FFFFFF; }
.footer-nav a { color: #D6E7E0; font-weight: 700; padding: 6px 0; border-radius: 8px; }
.footer-nav a:hover { color: #FFFFFF; text-decoration: none; box-shadow: inset 0 -3px 0 var(--electric-lime); }
footer .text-section h3 { color: #FFFFFF; }
footer .text-section p, footer .text-section { color: #D7D7D7; }
footer .legal { display: flex; flex-direction: row; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 12px; }
footer .logo img { filter: brightness(0) invert(1); }

/* =============================
   Buttons utility (optional usage)
   ============================= */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; border-radius: 999px; font-weight: 800; }
.btn-primary { background: var(--electric-pink); color: #fff; box-shadow: 0 12px 22px rgba(255,38,112,0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 28px rgba(255,38,112,0.45); text-decoration: none; }
.btn-outline { background: #fff; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; text-decoration: none; }

/* =============================
   Cards & feature items (generic)
   ============================= */
.feature-item h3 { margin-bottom: 4px; }
.card:hover { box-shadow: 0 12px 28px var(--shadow-strong); transform: translateY(-2px); transition: transform .2s ease, box-shadow .2s ease; }

/* =============================
   Utility spacing
   ============================= */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-16 { margin-top: 16px !important; }
.mb-16 { margin-bottom: 16px !important; }
.p-16 { padding: 16px !important; }
.gap-20 { display: flex; gap: 20px; }

/* =============================
   Accessibility & micro-interactions
   ============================= */
.interactive:hover { transform: translateY(-2px); transition: transform .2s ease; }
[role="button"], a, button { transition: color .15s ease, background-color .15s ease, box-shadow .15s ease, transform .15s ease; }

/* =============================
   Cookie Consent Banner & Modal
   ============================= */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 14px; background: #0F1226; color: #FFFFFF; transform: translateY(110%); transition: transform .35s ease; box-shadow: 0 -10px 24px rgba(0,0,0,0.2); }
.cookie-banner.show { transform: translateY(0); }
.cookie-banner .cookie-inner { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 1100px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions .btn-accept { background: var(--electric-lime); color: #0B0B0B; font-weight: 800; padding: 10px 16px; border-radius: 999px; }
.cookie-actions .btn-accept:hover { filter: brightness(0.95); text-decoration: none; }
.cookie-actions .btn-reject { background: #ffffff; color: #0B0B0B; font-weight: 800; padding: 10px 16px; border-radius: 999px; }
.cookie-actions .btn-reject:hover { background: #EFEFEF; text-decoration: none; }
.cookie-actions .btn-settings { background: var(--electric-cyan); color: #0B0B0B; font-weight: 800; padding: 10px 16px; border-radius: 999px; }
.cookie-actions .btn-settings:hover { filter: brightness(0.95); text-decoration: none; }

.cookie-modal { position: fixed; inset: 0; z-index: 10000; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.cookie-modal.show { opacity: 1; pointer-events: auto; }
.cookie-modal .cookie-modal-content { background: #FFFFFF; color: #222; width: 92%; max-width: 720px; border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 20px 40px rgba(0,0,0,0.25); }
.cookie-modal .cookie-rows { display: flex; flex-direction: column; gap: 12px; }
.cookie-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; border: 1px solid var(--border); border-radius: 12px; }
.cookie-row .label { font-weight: 700; }
.cookie-row .toggle { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 32px; background: #E9E9E9; border-radius: 999px; position: relative; }
.cookie-row .toggle::after { content: ""; width: 26px; height: 26px; background: #FFFFFF; border-radius: 50%; box-shadow: 0 2px 6px rgba(0,0,0,0.2); transform: translateX(-10px); transition: transform .2s ease, background-color .2s ease; }
.cookie-row .toggle.active { background: var(--electric-purple); }
.cookie-row .toggle.active::after { transform: translateX(10px); background: #fff; }
.cookie-modal .actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.cookie-modal .actions .btn { padding: 10px 16px; }

/* =============================
   Responsive (breakpoints)
   ============================= */
@media (min-width: 480px) {
  h1 { font-size: 36px; }
  h2 { font-size: 26px; }
}

@media (min-width: 768px) {
  /* Show desktop nav; hide burger */
  .main-nav { display: flex; }
  .header-cta { display: flex; }
  .mobile-menu-toggle { display: none; }

  .container { gap: 24px; }
  .content-wrapper { gap: 24px; }
  .hero .container { padding-top: 40px; padding-bottom: 40px; }
  .hero h1 { font-size: 42px; }
  .cta-group a { padding: 12px 22px; }

  /* Footer layout */
  footer .content-wrapper { gap: 24px; }
  .footer-nav { gap: 24px; }
}

@media (min-width: 992px) {
  .text-image-section { flex-direction: row; }
  .hero .content-wrapper { flex-direction: column; }
  h1 { font-size: 48px; }
  h2 { font-size: 32px; }
  .footer-nav > div { flex: 1 1 280px; }
}

/* =============================
   Page-specific refinements
   ============================= */
/* Breadcrumb separators */
.hero nav[aria-label="breadcrumb"] span { color: var(--muted); }

/* Links inside footer paragraphs */
footer a { text-decoration: none; }
footer a:hover { text-decoration: none; }

/* Contact details blocks */
.contact-details, .newsletter, .social-links, .legal { display: flex; flex-direction: column; gap: 8px; }

/* =============================
   Flex-only helpers for columns
   ============================= */
.flex-row { display: flex; flex-direction: row; }
.flex-col { display: flex; flex-direction: column; }
.flex-wrap { display: flex; flex-wrap: wrap; }
.justify-between { justify-content: space-between; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }

/* =============================
   Ensure spacing between sections
   ============================= */
main > section { padding: 26px 0; border-bottom: 1px solid var(--border); }
main > section:last-child { border-bottom: 0; }

/* =============================
   High-energy accents for headings
   ============================= */
.content-wrapper h2 { position: relative; padding-bottom: 6px; }
.content-wrapper h2::after { content: ""; position: relative; display: block; height: 4px; width: 70px; background: var(--electric-cyan); border-radius: 6px; margin-top: 8px; }

/* =============================
   Nav underline accent
   ============================= */
.main-nav a { border-bottom: 3px solid transparent; }
.main-nav a:hover { border-bottom-color: var(--electric-cyan); }

/* =============================
   Lists spacing and readability
   ============================= */
.text-section li { line-height: 1.5; }

/* =============================
   Ensure testimonial contrast (dark text on light bg)
   ============================= */
section .testimonial-card { background: #FFFFFF; color: #222222; }

/* =============================
   Prevent overlapping by consistent gaps
   ============================= */
.card-container > * { margin: 0; }
.content-grid > * { margin: 0; }

/* =============================
   Header shadow on scroll hint (visual energy)
   ============================= */
@media (min-width: 768px) {
  header { box-shadow: 0 6px 18px var(--shadow); }
}
