/* =====================================================================
   FLUX STONE – GRADIENT_MODERN STYLE
   Modern, energetic, gradient-driven CSS for all pages (mobile-first)
   ===================================================================== */

/* ======================= CSS RESET & NORMALIZE ====================== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  height: 100%;
  background: #F5F7FA;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: #F5F7FA;
  color: #2A254C;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #00B7A6;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #2A254C;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}
button, input, textarea {
  font-family: inherit;
  outline: none;
  border: none;
}
button {
  background: none;
  cursor: pointer;
}

/* ======================== VARIABLES / FALLBACKS ====================== */
:root {
  --brand-primary: #2A254C;
  --brand-secondary: #00B7A6;
  --brand-accent: #F5F7FA;
  --brand-dark: #18152c;
  --brand-gradient: linear-gradient(92deg, #00B7A6 0%, #2A254C 100%);
  --shadow-1: 0 4px 16px 0 rgba(42,37,76,0.12);
  --shadow-2: 0 2px 8px rgba(0,183,166,0.14);
  --radius-md: 18px;
  --radius-sm: 10px;
  --transition: 0.28s cubic-bezier(0.55,0,0.1,1);
}

/* ==================== TYPOGRAPHY - GRADIENT_MODERN ==================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #2A254C;
  letter-spacing: -1px;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 16px;
  line-height: 1.13;
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p, li, blockquote {
  font-size: 1rem;
  color: #33384F;
  line-height: 1.7;
  margin-bottom: 12px;
}
strong {
  font-weight: bold;
}
.subheadline {
  font-size: 1.2rem;
  color: #00B7A6;
  margin-bottom: 26px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
blockquote {
  background: #F5F7FA;
  border-left: 5px solid #00B7A6;
  padding: 18px 24px;
  border-radius: var(--radius-sm);
  margin: 0 0 16px 0;
  font-size: 1.1rem;
  color: #222241;
}

/* ======================= CONTAINERS & LAYOUT ========================= */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (max-width: 991px) {
  .section {
    padding: 30px 10px;
    margin-bottom: 40px;
  }
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-1);
  margin-bottom: 20px;
  padding: 24px;
  transition: box-shadow var(--transition), transform var(--transition);
  min-width: 260px;
  flex: 1 1 260px;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(48,43,90,0.18);
  transform: translateY(-2px) scale(1.03);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}

/* ============ HERO SECTION ============= */
.hero {
  background: var(--brand-gradient);
  color: #fff;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
  padding: 42px 0 34px 0;
}
.hero h1, .hero h2 {
  background: linear-gradient(90deg, #fff 35%, #00B7A6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}
.hero .subheadline {
  color: #ffffffcc;
}
.hero .cta-btn {
  margin-top: 10px;
}
ul.benefits-list {
  margin-top: 28px;
  font-size: 1.14rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 20px;
}
ul.benefits-list li::before {
  content: '✓';
  margin-right: 8px;
  color: #00B7A6;
  font-weight: bold;
}

/* ================ FEATURES SECTION & FEATURE GRID =============== */
.features .content-wrapper > h2 {
  margin-bottom: 16px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  justify-content: space-between;
}
.feature-item {
  background: #FFF;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-1);
  padding: 28px 22px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 270px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow var(--transition), transform var(--transition);
  margin-bottom: 0;
  z-index: 1;
}
.feature-item img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.feature-item:hover {
  box-shadow: 0 8px 32px 0 rgba(0,183,166,0.18);
  transform: translateY(-3px) scale(1.025);
}
@media (max-width: 991px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .feature-item {
    max-width: 100%;
    width: 100%;
  }
}

/* ================ STEP SECTION FOR HOW IT WORKS ================ */
.steps .step-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.step {
  flex: 1 1 180px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px 15px;
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow var(--transition), transform var(--transition);
  min-width: 180px;
  gap: 10px;
}
.step img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
}
.step:hover {
  box-shadow: var(--shadow-2);
  transform: scale(1.038);
}
@media (max-width: 768px) {
  .steps .step-list { flex-direction: column; gap: 16px; }
}

/* ================ TESTIMONIAL CARDS ================ */
.testimonials .content-wrapper {
  gap: 28px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-1);
  margin-bottom: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
  color: #23203A;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(42,37,76,0.15);
  transform: translateY(-2px) scale(1.012);
}
.testimonial-card blockquote {
  background: initial;
  border: none;
  padding: 0;
  margin: 0;
  color: #18152c;
  font-size: 1.08rem;
}
.user-avatar img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border: 2px solid #00B7A6;
  background: #F5F7FA;
}
.user-info {
  font-size: 1rem;
  color: #00B7A6;
  font-weight: 500;
  margin-top: 6px;
}
.star-rating {
  font-size: 1.1rem;
  color: #FFD700;
  letter-spacing: 2px;
  margin-left: 8px;
}
@media (max-width: 600px) {
  .testimonial-card { flex-direction: column; text-align: left; gap: 14px; padding: 16px; }
}

/* ================ CTA SECTION ================ */
.cta {
  background: var(--brand-gradient);
  color: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-1);
  text-align: center;
  margin-bottom: 48px;
}
.cta h2 {
  color: #fff;
}
.cta .cta-btn {
  margin: 24px 0 12px 0;
}

.short-form {
  text-align: center;
  color: #fff;
  margin-top: 10px;
}

/* ============== PRICING TABLE & PLAN FEATURES =============== */
.pricing-table, .comparison-table {
  width: 100%;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-1);
  margin: 0 0 24px 0;
  border-collapse: separate;
  border-spacing: 0;
  overflow-x: auto;
}
.pricing-table th, .comparison-table th {
  background: #F5F7FA;
  color: #2A254C;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 16px 10px;
}
.pricing-table td, .comparison-table td {
  padding: 16px 8px;
  color: #2A254C;
  border-bottom: 1px solid #F5F7FA;
  vertical-align: top;
}
.pricing-table tbody tr:last-child td,
.comparison-table tbody tr:last-child td {
  border-bottom: none;
}
.pricing-table ul, .comparison-table ul {
  padding-left: 16px;
  margin: 0;
  font-size: 0.96rem;
}
.plan-features h3, .billing-options h3 { margin-bottom: 8px; }

/* ============ BLOG ============= */
.blog-list .content-wrapper > h2 {
  margin-bottom: 16px;
}
.post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.post-list li {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-1);
  padding: 22px 18px;
  flex: 1 1 240px;
  min-width: 220px;
  transition: box-shadow var(--transition), transform var(--transition);
  margin-bottom: 20px;
}
.post-list li:hover {
  box-shadow: 0 8px 32px 0 rgba(42,37,76,0.15);
  transform: translateY(-2px) scale(1.032);
}
.searchbar {
  margin-bottom: 16px;
}
.searchbar input {
  width: 100%;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid #D1DEE8;
  background: #F5F7FA;
  transition: border-color var(--transition);
  font-size: 1rem;
}
.searchbar input:focus {
  border-color: #00B7A6;
}
.categories { margin-bottom: 14px; }
.categories button {
  background: #00B7A6;
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 7px 16px;
  font-size: 1rem;
  transition: background var(--transition);
  border: none;
}
.categories button:hover {
  background: #2A254C;
}

.newsletter {
  margin-bottom: 32px;
  background: linear-gradient(92deg, #00B7A6 40%, #2A254C 100%);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 36px 20px;
  text-align: center;
  box-shadow: var(--shadow-1);
}
.signup-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 24px 0 16px 0;
}
.signup-form input[type=email] {
  padding: 10px 16px;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  border: none;
  min-width: 180px;
  background: #fff;
  color: #2A254C;
  font-size: 1rem;
  outline: none;
}
.signup-form button {
  background: #2A254C;
  color: #fff;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 10px 22px;
  font-weight: 600;
  font-size: 1rem;
  transition: background var(--transition);
}
.signup-form button:hover {
  background: #00B7A6;
}
.newsletter .benefit-list {
  color: #fff;
  margin-top: 14px;
  gap: 8px;
}

/* ============== FAQ ACCORDION =============== */
.faq-accordion,
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: #F5F7FA;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(0,183,166,0.04);
  padding: 0;
  transition: box-shadow var(--transition);
}
.faq-item.open {
  box-shadow: 0 6px 24px rgba(0,183,166,0.10);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  color: #2A254C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  padding: 14px 18px;
  border: none;
  outline: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
}
.faq-question:hover {
  background: #E3F7F5;
}
.faq-answer {
  padding: 0 18px 14px 18px;
  color: #23203A;
  font-size: 1rem;
  display: none;
}
.faq-item.open .faq-answer {
  display: block;
  animation: fadeSlideIn 0.6s cubic-bezier(.39,.58,.57,1) both;
}
@keyframes fadeSlideIn {
  0% { opacity: 0; transform: translateY(-12px); }
  100% { opacity: 1; transform: none; }
}

/* ============== LEGAL CONTENT/SECTION =============== */
.legal .content-wrapper {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-1);
  padding: 30px 18px;
}
.legal h1, .legal h2 { margin-bottom: 12px; }
.legal h2 { font-size: 1.1rem; }
.legal ul { margin: 14px 0 16px 22px; }

/* ============== CONFIRMATION PAGE =============== */
.confirmation .content-wrapper {
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
  padding: 48px 16px;
}
.thank-you-message, .next-steps {
  max-width: 520px;
}

/* =============== BUTTONS & CTA =============== */
.cta-btn, .cta-btn:visited {
  display: inline-block;
  background: var(--brand-gradient);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.11rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 12px 36px;
  box-shadow: var(--shadow-2);
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  margin-top: 10px;
  margin-bottom: 10px;
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
  outline: none;
  position: relative;
  z-index: 2;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #2A254C 20%, #00B7A6 112%);
  color: #fff;
  transform: scale(1.038);
  box-shadow: 0 8px 32px rgba(0,183,166,0.13);
}
button, .button, input[type=submit], input[type=button] {
  border-radius: var(--radius-sm);
  background: #2A254C;
  color: #fff;
  font-size: 1rem;
  padding: 10px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: background var(--transition), box-shadow var(--transition), color var(--transition);
}
button:hover, .button:hover, input[type=submit]:hover {
  background: #00B7A6;
  color: #fff;
  box-shadow: var(--shadow-2);
}

/* =============== HEADER & MAIN NAVIGATION =============== */
header {
  position: relative;
  width: 100%;
  z-index: 1001;
  background-color: #fff;
  box-shadow: 0 1px 5px rgba(42,37,76,0.07);
  padding: 0;
}
header .container { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; padding-top: 12px; padding-bottom: 12px; }
header img { height: 43px; }
nav {
  display: flex;
  gap: 23px;
  align-items: center;
  margin-left: auto;
}
nav a {
  color: #2A254C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 6px 0;
  transition: color 0.17s, border-bottom 0.17s;
  border-bottom: 2px solid transparent;
}
nav a:hover, nav a:focus {
  color: #00B7A6;
  border-bottom: 2px solid #00B7A6;
}
nav .cta-btn {
  margin-left: 22px;
  padding: 10px 26px;
}

/* =============== RESPONSIVE HEADER/MOBILE MENU =============== */
.mobile-menu-toggle {
  display: none;
}
@media (max-width: 1024px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    font-size: 2rem;
    color: #00B7A6;
    background: none;
    border: none;
    position: relative;
    z-index: 1052;
    margin-left: 12px;
    padding: 6px 12px;
    border-radius: 6px;
    transition: background 0.17s;
  }
  .mobile-menu-toggle:active {
    background: #e0f8f5;
  }
}
.mobile-menu {
  display: none;
}
.mobile-menu.active {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(42,37,76,0.68);
  z-index: 1201;
  animation: fadeInBg 0.34s ease;
}
@keyframes fadeInBg { 0% { opacity: 0; } 100% { opacity: 1; } }
.mobile-menu nav {
  background: #fff;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  width: 82vw;
  max-width: 350px;
  min-height: 100vh;
  padding: 32px 28px 24px 36px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  box-shadow: 8px 0 24px rgba(42,37,76,0.20);
  transform: translateX(100%);
  animation: slideInMenu 0.45s cubic-bezier(0.68,-0.55,0.27,1.55) forwards;
}
@keyframes slideInMenu {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
.mobile-menu-close {
  background: #fff;
  color: #00B7A6;
  font-size: 2.2rem;
  border: none;
  box-shadow: 0 1px 7px rgba(42,37,76,0.07);
  border-radius: 15px;
  margin: 22px 24px 0 0;
  align-self: flex-end;
  transition: background 0.18s, color 0.18s;
  z-index: 1401;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #00B7A6;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 18px;
}
.mobile-nav a {
  font-size: 1.13rem;
  color: #2A254C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 12px 0px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  width: 100%;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: #00B7A6;
  color: #fff;
}

@media (max-width: 1024px) {
  .mobile-menu {
    display: none;
  }
  .mobile-menu.active {
    display: flex;
  }
}
@media (min-width: 1025px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
  nav { display: flex !important; }
}

/* ================ FOOTER ================== */
footer {
  background: #fff;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  margin-top: 52px;
  padding: 0 0 18px 0;
  box-shadow: 0 -2px 18px rgba(0,183,166,0.06);
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  padding: 38px 0 6px 0;
}
.footer-main-links, .footer-legal-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-main-links a, .footer-legal-links a {
  color: #2A254C;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: color 0.18s;
}
.footer-main-links a:hover, .footer-legal-links a:hover { color: #00B7A6; }
.footer-contact {
  min-width: 240px;
}
.footer-contact h3, .footer-social h3 {
  margin-bottom: 6px;
  font-size: 1.07rem;
}
.footer-contact p, .footer-contact a {
  font-size: 0.98rem;
  color: #35355c;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
}
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-social a {
  margin-right: 10px;
  display: inline-block;
}
.footer-social img {
  width: 25px;
  height: 25px;
  filter: grayscale(0%);
  transition: filter 0.17s, transform 0.18s;
}
.footer-social a:hover img {
  filter: brightness(0) saturate(100%) invert(32%) sepia(92%) saturate(664%) hue-rotate(143deg) brightness(90%) contrast(91%);
  transform: scale(1.09) rotate(-7deg);
}
.footer-bottom {
  text-align: center;
  font-size: 0.97rem;
  color: #888ca0;
  margin-top: 12px;
  letter-spacing: 0.02rem;
}
@media (max-width: 768px) {
  .footer-content { flex-direction: column; gap: 24px; align-items: flex-start; }
}

/* ============= COOKIE CONSENT BANNER & MODAL ============== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  color: #2A254C;
  padding: 18px 22px;
  box-shadow: 0 -2px 24px rgba(0,183,166,0.09);
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
  z-index: 3001;
  font-size: 1rem;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  animation: cookieBounceIn 0.60s cubic-bezier(.33,1,.68,1) both;
}
@keyframes cookieBounceIn {
  0% { transform: translateY(120px); opacity: 0; }
  40% { transform: translateY(-14px); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner .banner-text {
  flex: 1;
  max-width: 400px;
  font-size: 1rem;
}
.cookie-consent-banner .banner-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-consent-banner button {
  border-radius: var(--radius-sm);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 18px;
  border: none;
  font-weight: 600;
  box-shadow: var(--shadow-2);
  transition: background 0.16s, color 0.16s;
}
.cookie-consent-banner .accept {
  background: #00B7A6;
  color: #fff;
}
.cookie-consent-banner .accept:hover { background: #2A254C; }
.cookie-consent-banner .reject {
  background: #fff;
  color: #00B7A6;
  border: 2px solid #00B7A6;
}
.cookie-consent-banner .reject:hover { background: #E3F7F5; }
.cookie-consent-banner .settings {
  background: #2A254C;
  color: #fff;
}
.cookie-consent-banner .settings:hover { background: #00B7A6; }

.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(42,37,76,0.33);
  z-index: 3500;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInCookieModalBg 0.28s;
}
@keyframes fadeInCookieModalBg { 0% { opacity: 0; } 100% { opacity: 1; } }
.cookie-modal {
  background: #fff;
  width: 98vw; max-width: 430px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(42,37,76,0.22);
  padding: 28px 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 21px;
  animation: fadeInCookieModal 0.48s cubic-bezier(.33,1,.68,1) both;
}
@keyframes fadeInCookieModal { 0% { transform: translateY(66px); opacity: 0; } 100% { transform: none; opacity: 1; } }
.cookie-modal h2 {
  font-size: 1.28rem;
  margin-bottom: 3px;
}
.cookie-category-list {
  display: flex; flex-direction: column; gap: 11px;
}
.cookie-category {
  display: flex; align-items: center; justify-content: space-between; background: #F5F7FA; border-radius: var(--radius-sm); padding: 9px 16px;
}
.cookie-category label {
  font-weight: 500; color: #2A254C;
}
.cookie-modal .cookie-switch {
  position: relative; width: 38px; height: 23px;
  display: inline-block;
}
.cookie-modal .cookie-switch input {
  opacity: 0; width: 0; height: 0;
}
.cookie-modal .slider {
  position: absolute; cursor: pointer; top: 0; left:0; right:0; bottom:0;
  background: #ddd; transition: background 0.2s; border-radius: 13px;
}
.cookie-modal .cookie-switch input:checked + .slider {
  background: #00B7A6;
}
.cookie-modal .slider:before {
  position: absolute; content: ''; height: 17px; width: 17px; left: 3px; bottom: 3px;
  background: #fff; transition: 0.2s; border-radius: 50%;
}
.cookie-modal .cookie-switch input:checked + .slider:before {
  transform: translateX(15px);
}
.cookie-modal .cookie-actions {
  margin-top: 12px;
  display: flex;
  gap: 18px;
  justify-content: flex-end;
}
.cookie-modal .btn {
  border-radius: var(--radius-sm);
  background: #00B7A6;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 22px;
  box-shadow: var(--shadow-2);
  font-weight: 500;
  border: none;
  transition: background 0.18s, color 0.18s;
}
.cookie-modal .btn.close {
  background: #2A254C;
  color: #fff;
}
.cookie-modal .btn.close:hover {
  background: #00B7A6;
}

/* ============= ALIGNMENT, GAP, RESPONSIVENESS ============= */
@media (max-width: 991px) {
  .container { padding: 0 10px; }
  .footer-content { flex-direction: column; gap: 18px; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.32rem; }
  h2 { font-size: 1.05rem; }
  .section, .confirmation .content-wrapper, .newsletter { padding: 18px 5px; }
  .cta-btn, button, .cookie-consent-banner button { padding: 11px 18px; font-size: 1rem; }
  .cookie-consent-banner { flex-direction: column; align-items: flex-start; gap: 10px; text-align: left; }
}

@media (max-width: 480px) {
  html { font-size: 15px; }
  .hero .content-wrapper { padding: 24px 0 16px 0; }
}

/* Accessibility: Hide visually but not from screen reader  */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============== UTILITY CLASSES =============== */
.mb-20 { margin-bottom: 20px !important; }
.mt-20 { margin-top: 20px !important; }
.gap-20 { gap: 20px !important; }
.center { text-align: center !important; }
.flex { display: flex !important; }
.items-center { align-items: center !important; }
.items-start { align-items: flex-start !important; }
.flex-col { flex-direction: column !important; }

/* ========== Prevent Overlapping & Spacing ========== */
.section + .section { margin-top: 28px; }
.card + .card, .feature-item + .feature-item, .testimonial-card + .testimonial-card, .step + .step, .post-list li + .post-list li { margin-left: 0; margin-top: 0; }

/* ========== Prevent Absolute Cards Overlap ========== */
.card, .feature-item, .testimonial-card, .step, .faq-item, .post-list li {
  margin-bottom: 20px;
}

/* ======= Misc. ========== */
input[type=email], input[type=text], textarea {
  border: 1px solid #E4E7F5;
  border-radius: var(--radius-sm);
  background: #F5F7FA;
  padding: 10px 12px;
  font-size: 1rem;
  color: #2A254C;
  transition: border-color 0.16s;
}
input[type=email]:focus, input[type=text]:focus, textarea:focus {
  border-color: #00B7A6;
}
.privacy-note {
  font-size: 0.98rem;
  color: #7A8192;
  margin: 8px 0;
}
.privacy-note a { color: #00B7A6; }

/* ========= Hide cookie modal/banner by default =========== */
.cookie-consent-banner.hide, .cookie-modal-overlay.hide {
  display: none !important;
}

/* ======= END OF FLUX STONE STYLES ======= */
