/* --- CSS Reset & Normalize --- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
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 {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #13181A;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #eaf7ef;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  background: linear-gradient(126deg,#182725 0%, #161b28 100%);
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  background-color: transparent;
  transition: color 0.15s, text-shadow 0.3s;
}
img {
  border-style: none;
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
  border: none;
  background: none;
  color: inherit;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

/* --- CSS Custom Properties for Brand --- */
:root {
  --primary: #21544a;
  --secondary: #7c9782;
  --accent: #fde19e;
  --accent-bright: #ffe8b4;
  --bg-dark: #161a25;
  --bg-darker: #13181A;
  --neon-green: #00fa9a;
  --neon-blue: #55e0fd;
  --neon-cyan: #39f5f1;
  --brand-shadow: 0 4px 32px 0 rgba(33,84,74,0.18);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 7px;
  --font-display: 'Nunito Sans', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #e6ffe7;
  text-shadow: 0 0 3px #00fa9a22;
}
h1 {
  font-size: 2.7rem;
  line-height: 1.1;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #b6fee2;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 9px;
}
h4 { font-size: 1.15rem; }

p, ul, ol, li {
  font-size: 1rem;
  font-family: var(--font-body);
  color: #eaf7ef;
}
.subheadline {
  font-size: 1.22rem;
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--neon-cyan);
  text-shadow: 0 0 4px #39f5f166;
}
strong, b {
  color: var(--accent);
}

/* --- General Container & Layout --- */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin-left: auto;
  margin-right: auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(24,34,44, 0.93);
  border-radius: var(--radius-lg);
  box-shadow: 0 7px 32px 0 #00fa9a15;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #222f36;
  box-shadow: 0 3px 18px 0 #39f5f12e;
  border-radius: var(--radius-md);
  padding: 28px 20px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.25s, transform 0.16s;
}
.card:hover {
  box-shadow: 0 7px 32px 0 #00fa9a23;
  transform: translateY(-4px) scale(1.025);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
  padding-left: 0;
}
.feature-list li {
  flex: 1 1 260px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 1rem;
  background: #223437;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 9px #7c978263;
  color: #caeff6;
}
.feature-list li img {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 0 4px #39f5f1cc);
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid > div {
  flex: 1 1 260px;
  min-width: 240px;
  background: #20292f;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px #55e0fd26;
  padding: 24px 18px 20px 18px;
  margin-bottom: 20px;
  transition: box-shadow 0.26s, transform 0.16s;
}
.feature-grid > div:hover {
  box-shadow: 0 9px 28px 0 #39f5f189;
  transform: translateY(-4px) scale(1.02);
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #f4fff8;
  color: #182725;
  border-radius: var(--radius-md);
  box-shadow: 0 3px 18px 0 #00fa9a17;
  padding: 20px;
  margin-bottom: 24px;
  margin-top: 10px;
}
.testimonial-card p {
  color: #182725;
  font-size: 1.08rem;
}
.testimonial-card strong {
  color: var(--primary);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- Hero Section ---*/
.hero {
  position: relative;
  padding: 54px 0 48px 0;
  background: linear-gradient(116deg, #182725 65%, #39f5f1 110%);
  border-bottom: 1.5px solid #2c4445;
  box-shadow: 0 9px 44px 0 #55e0fd15;
  margin-bottom: 40px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 12px;
  max-width: 680px;
}
.hero h1 {
  color: var(--accent-bright);
  text-shadow: 0 0 13px #39f5f166, 0 0 7px #00fa9a33;
}
.hero .subheadline {
  color: #00fa9a;
  font-weight: 700;
}

/* --- Header & Navigation --- */
header {
  background: #171f21;
  position: sticky;
  top: 0;
  z-index: 1002;
  width: 100%;
  box-shadow: 0 5px 28px 0 #18272521;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  max-width: 1200px;
  margin: 0 auto;
  height: 72px;
  padding: 0 20px;
}
nav ul {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 14px;
}
nav ul li {
  flex: 0 0 auto;
}
nav ul li a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.03em;
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  color: #eaf7ef;
  opacity: 0.95;
  transition: background 0.2s, color 0.2s, box-shadow 0.25s;
}
nav ul li a:hover, nav ul li a:focus {
  background: #223437;
  color: var(--accent);
  box-shadow: 0 0 0 2px #fde19e33, 0 0 7px #39f5f151;
  text-shadow: 0 0 8px #39f5f144;
}
nav .cta-btn {
  display: inline-block;
  background: linear-gradient(93deg, #39f5f1 25%, #fde19e 110%);
  color: #182725;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 11px 30px;
  border-radius: var(--radius-md);
  margin-left: 18px;
  box-shadow: 0 0 24px #00fa9a22;
  border: 1.5px solid #00fa9a44;
  transition: box-shadow 0.2s, background 0.19s, transform 0.14s;
}
nav .cta-btn:hover, nav .cta-btn:focus {
  background: linear-gradient(98deg, #fde19e 25%, #39f5f1 110%);
  color: #07210e;
  box-shadow: 0 0 18px #fde19e66, 0 0 10px #39f5f17b;
  transform: scale(1.05);
}

/* --- Mobile Menu Button --- */
.mobile-menu-toggle {
  display: none;
  position: relative;
  z-index: 1202;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 2.1rem;
  color: #39f5f1;
  background: #161e24;
  box-shadow: 0 2px 16px #39f5f163;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  justify-self: flex-end;
}
.mobile-menu-toggle:hover {
  color: #fde19e;
  background: #182725;
}

/* --- Mobile Menu Overlay --- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(32,41,47, 0.98);
  box-shadow: 0 0 60px #39f5f143;
  z-index: 2000;
  transform: translateX(-110vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.36s cubic-bezier(0.62,0,0.32,1), opacity 0.26s ease-in;
  padding: 38px 24px 24px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  color: var(--accent);
  background: none;
  border: none;
  margin-bottom: 14px;
  transition: color 0.18s;
}
.mobile-menu-close:hover {
  color: #39f5f1;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  margin-top: 12px;
}
.mobile-nav a {
  font-size: 1.22rem;
  color: #eaf7ef;
  padding: 13px 0;
  border-bottom: 1.5px solid #2c4445;
  border-radius: 0;
  transition: color 0.17s, background 0.15s;
}
.mobile-nav a:active,
.mobile-nav a:focus,
.mobile-nav a:hover {
  color: var(--neon-cyan);
  background: #1e3132;
}

/* --- Footer --- */
footer {
  background: #161f1c;
  border-top: 2.5px solid #21544a30;
  box-shadow: 0 -3px 20px #21544a19;
  padding: 0 0 12px 0;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 34px 0 14px 0;
}
.footer-main nav {
  display: flex;
  gap: 20px;
  font-size: 1.05rem;
}
.footer-main nav a {
  color: #7c9782;
  transition: color 0.16s;
}
.footer-main nav a:hover,
.footer-main nav a:focus {
  color: #39f5f1;
}
.footer-contact {
  font-size: 0.98rem;
  color: #a2c3b3;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  margin-right: 7px;
  vertical-align: middle;
}
.footer-disclaimer {
  text-align: right;
  font-size: 0.93rem;
  color: #7c9782;
  opacity: 0.7;
  margin: 10px 0 0 0;
}

/* --- Section Spacing Patterns --- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
section:last-child {
  margin-bottom: 0;
}

/* --- Spacing for Cards and Content --- */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* --- Buttons --- */
.cta-btn {
  display: inline-block;
  background: linear-gradient(97deg, #39f5f1 30%, #fde19e 110%);
  color: #182725;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 38px;
  border-radius: var(--radius-md);
  margin-top: 10px;
  box-shadow: 0 0 24px #39f5f17a;
  border: 1.5px solid #39f5f130;
  transition: box-shadow 0.19s, background 0.12s, color 0.15s, transform 0.13s;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(98deg, #fde19e 20%, #39f5f1 90%);
  color: #11261e;
  box-shadow: 0 0 24px #fde19e39, 0 0 13px #39f5f178;
  transform: scale(1.05);
}
button,
input[type="submit"],
.button {
  border-radius: var(--radius-sm);
  border: none;
  padding: 10px 25px;
  background: #223437;
  color: #f2ffe9;
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 10px #55e0fd33;
  transition: background 0.19s, color 0.19s, box-shadow 0.21s;
}
button:hover, .button:hover, input[type="submit"]:hover, button:focus {
  background: #39f5f1;
  color: #164536;
  box-shadow: 0 5px 22px #fde19e33, 0 0 8px #00fa9a22;
}

/* --- Lists & Text --- */
ul, ol {
  padding-left: 20px;
  margin-bottom: 17px;
}
ul li, ol li {
  margin-bottom: 8px;
  line-height: 1.55;
}
ul li:last-child, ol li:last-child {
  margin-bottom: 0;
}

/* --- Accessibility: Focus Outline --- */
a:focus, button:focus, .cta-btn:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  z-index: 5;
}

/* --- Cookie Consent Banner --- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #161a25ee;
  color: #caeff6;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  padding: 22px 32px 18px 32px;
  z-index: 3200;
  box-shadow: 0 -5px 44px #39f5f142;
  border-top: 2px solid #39f5f130;
  font-size: 1.08rem;
  animation: cookiebanner-in 0.55s cubic-bezier(0.56,1,0.3,1.1) 1;
  transition: transform 0.33s, opacity 0.3s;
}
@keyframes cookiebanner-in {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner h3 {
  font-size: 1.12rem;
  margin-bottom: 6px;
  color: #fffbe8;
  font-family: var(--font-display);
}
.cookie-consent-banner .cookie-btn {
  margin-right: 11px;
  margin-bottom: 6px;
  border-radius: var(--radius-sm);
  padding: 11px 25px;
  font-weight: 700;
  font-family: var(--font-display);
  border: none;
  transition: background 0.13s, color 0.13s;
  background: none;
  color: var(--neon-cyan);
  box-shadow: 0 2px 9px #39f5f142;
  background: #152532;
}
.cookie-consent-banner .cookie-btn.accept {
  background: linear-gradient(98deg, #39f5f1 30%, #fde19e 90%);
  color: #07210e;
  box-shadow: 0 0 14px #39f5f169, 0 0 7px #fde19e70;
}
.cookie-consent-banner .cookie-btn.reject {
  background: #21333a;
  color: #fde19e;
}
.cookie-consent-banner .cookie-btn.settings {
  background: #223437;
  color: #39f5f1;
}
.cookie-consent-banner .cookie-btn:hover {
  filter: brightness(1.18);
  box-shadow: 0 0 16px #fde19e44;
}

/* --- Cookie Modal --- */
.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(24,34,44,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4200;
  animation: pop-fadein 0.37s cubic-bezier(0.54,1,0.22,1.2) 1;
}
@keyframes pop-fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #171c1e;
  color: #eaf7ef;
  border-radius: var(--radius-lg);
  box-shadow: 0 9px 54px #39f5f163;
  padding: 36px 28px 26px 28px;
  max-width: 420px;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal-content h2 {
  font-size: 1.37rem;
  color: #fde19e;
  margin-bottom: 14px;
}
.cookie-modal-content .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.cookie-modal-content label {
  font-size: 1.07rem;
  cursor: pointer;
  color: #39f5f1;
}
.cookie-modal-content .toggle-switch {
  margin-left: 10px;
}
.toggle-switch input {
  display: none;
}
.toggle-switch span {
  display: inline-block;
  background: #222f36;
  border-radius: 16px;
  width: 38px;
  height: 22px;
  position: relative;
  transition: background 0.2s;
}
.toggle-switch span::after {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  position: absolute;
  left: 3px;
  top: 3px;
  background: #fde19e;
  border-radius: 50%;
  transition: left 0.19s, background 0.17s;
  box-shadow: 0 0 6px #fde19e77;
}
.toggle-switch input:checked + span {
  background: linear-gradient(90deg,#fde19e 35%,#39f5f1 90%);
}
.toggle-switch input:checked + span::after {
  left: 19px;
  background: #39f5f1;
}

.cookie-modal-content .close-modal {
  position: absolute;
  top: 13px; right: 13px;
  background: none;
  border: none;
  color: #fde19e;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal-content .close-modal:hover {
  color: #39f5f1;
}

/* --- Utility: Animations --- */
@media (prefers-reduced-motion: no-preference) {
  .cta-btn, .card, .feature-grid > div, button, .testimonial-card, .cookie-consent-banner, .cookie-modal-content {
    transition: box-shadow 0.20s, background 0.14s, color 0.14s, transform 0.15s;
  }
}

/* --- Media Queries for Responsiveness --- */
@media (max-width: 1240px) {
  .container { max-width: 1000px; }
}
@media (max-width: 992px) {
  .container { max-width: 830px; }
  nav ul { gap: 12px; }
  .hero { padding-left:0; padding-right:0; }
  .footer-main { gap: 22px; }
}
@media (max-width: 800px) {
  .hero { padding: 30px 0 24px 0; }
  .section { padding: 30px 10px; }
  .feature-grid, .feature-list, .card-container, .content-grid {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  nav ul {
    display: none !important;
  }
  nav .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .section, section {
    padding: 22px 5px;
    margin-bottom: 36px;
  }
  .feature-grid, .feature-list, .card-container, .content-grid {
    flex-direction: column !important;
    gap: 15px;
  }
  .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
  }
  .footer-disclaimer {
    text-align: left;
    font-size: 0.92rem;
    opacity: 0.8;
    margin-top: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 14px;
    padding: 15px;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 19px;
  }
  .cookie-consent-banner {
    flex-direction: column;
    padding: 13px 12px 9px 12px;
    font-size: 0.97rem;
  }
  .cookie-modal-content {
    padding: 23px 12px 13px 12px;
    max-width: 98vw;
  }
}
@media (max-width: 490px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.11rem; }
  h3 { font-size: 1rem; }
  .hero .content-wrapper { max-width: 97vw; }
  .container { padding: 0 5px; }
  .feature-grid > div, .feature-list li, .card {
    padding: 9px 7px;
  }
}

/* --- Decorative Neon Accents (Tech Futuristic) --- */
h1, h2, h3, .cta-btn, .feature-grid > div:hover, .testimonial-card {
  /* Neon glow shadow */
  box-shadow: 0 0 4px #39f5f1cc, 0 0 14px #39f5f13a;
}
.cta-btn, .feature-grid > div:hover {
  filter: drop-shadow(0 0 6px #00fa9a66);
}

/* --- Visual Hierarchy & White Space --- */
@media (min-width: 881px) {
  .hero .content-wrapper {
    margin-top: 0;
  }
  .section {
    margin-left: 0;
    margin-right: 0;
  }
}

/* --- Print minimal style improvement --- */
@media print {
  *, *:before, *:after { background: none !important; box-shadow: none !important; color: #000 !important; }
  header, footer, nav, .mobile-menu, .cookie-consent-banner, .cookie-modal { display: none !important; }
  .container, .section { width: 98vw !important; margin:0 !important; padding:0 !important; }
}
