/* ================== CSS RESET & NORMALIZE ================= */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  background: #101E26;
  color: #fff;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul {
  list-style: none;
  padding-left: 0;
}
a {
  color: #F2A541;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #F2A541;
  outline-offset: 2px;
}
a:hover {
  color: #FFF;
}

button {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

::-webkit-input-placeholder { color: #B3C2C8; }
::-moz-placeholder { color: #B3C2C8; }
:-ms-input-placeholder { color: #B3C2C8; }
::placeholder { color: #B3C2C8; }

/* ================== VARIABLES (with fallback) ================= */
:root {
  --color-primary: #143642;
  --color-secondary: #F2A541;
  --color-accent: #FFFFFF;
  --color-bg-dark: #101E26;
  --color-bg-light: #193e50;
  --color-neon: #29BEEA;
  --color-card-bg: #192935;
  --color-card-light: #22394d;
  --color-shadow: rgba(20,54,66,0.16);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* ================== TYPOGRAPHY ================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-accent);
  text-shadow: 0px 2px 24px rgba(41,190,234,0.24);
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.125rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p, li {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #E2E6EA;
  margin-bottom: 8px;
}
strong {
  color: var(--color-secondary);
  font-weight: 600;
}

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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-card-bg);
  border-radius: 20px;
  box-shadow: 0 4px 30px 0 var(--color-shadow), 0 0 0 1.5px var(--color-neon);
  padding: 28px 24px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 8px 36px 0 rgba(20,54,66,0.31), 0 0 0 3px var(--color-secondary);
}

.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: #fff;
  color: #222;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(40,60,80,0.18), 0 0 6px 1px var(--color-secondary);
  margin-bottom: 20px;
  min-width: 0;
  flex: 1 1 320px;
  position: relative;
}
.testimonial-card p {
  color: #143642;
  font-size: 1.06rem;
  font-style: italic;
}
.testimonial-card strong {
  color: #F2A541;
  font-size: 1rem;
  margin-left: 14px;
}

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

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  font-size: 0.95rem;
  margin-bottom: 18px;
}
.brand-footer-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.social-media {
  display: flex;
  gap: 16px;
}
.social-media img {
  height: 32px;
  width: 32px;
  filter: drop-shadow(0 0 6px #29BEEA);
  transition: transform 0.14s;
}
.social-media img:hover {
  transform: scale(1.11);
}

/* ================== HEADER & NAVIGATION ================= */
header {
  width: 100%;
  background: #162430;
  box-shadow: 0 2px 16px 0 rgba(41,190,234,0.05);
  z-index: 1200;
  position: sticky;
  top: 0;
  left: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 20px;
  height: 74px;
}
.logo img {
  height: 38px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 10px #29BEEA66);
}

.main-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  font-family: var(--font-display);
}
.main-nav a {
  font-weight: 600;
  color: #e8eff2;
  letter-spacing: 0.04em;
  font-size: 1.06rem;
  position: relative;
  padding: 5px 2px;
}
.main-nav a:after {
  content: '';
  display: block;
  width: 0%;
  height: 2.5px;
  background: linear-gradient(90deg, #29BEEA 0%, #F2A541 100%);
  border-radius: 3px;
  transition: width 0.22s;
  margin-top: 2px;
}
.main-nav a:hover:after, .main-nav a:focus:after {
  width: 100%;
}

.cta {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  border-radius: 14px;
  padding: 12px 28px;
  font-weight: 700;
  font-size: 1.08rem;
  margin-left: 16px;
  text-shadow: 0 0 8px #29BEEA55;
  transition: background 0.15s, color 0.15s, box-shadow 0.2s;
}
.cta.primary {
  background: var(--color-secondary);
  color: #143642;
  box-shadow: 0 2px 8px 0 #F2A54144, 0 0 0 2px #29BEEA77;
}
.cta.primary:hover, .cta.primary:focus {
  background: #ffd388;
  color: #143642;
  box-shadow: 0 2px 8px 0 #F2A54180, 0 0 12px 2px #29BEEA;
}
.cta.secondary {
  background: transparent;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
  box-shadow: 0 0 8px 0 #F2A54133, 0 0 0 2px #29BEEA55;
  margin-left: 0;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--color-secondary);
  color: #143642;
  box-shadow: 0 0 8px 0 #29BEEA;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  color: #ffd388;
  border: none;
  font-size: 2.1rem;
  margin-left: 18px;
  z-index: 1503;
  transition: color 0.14s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #29BEEA;
}

/* ========== MOBILE MENU ========== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(16,30,38,0.98);
  z-index: 1999;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.38s cubic-bezier(0.66,0,0.23,1), opacity 0.29s ease-in;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
}

.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.4rem;
  color: #29BEEA;
  margin: 16px 18px 0 0;
  background: none;
  border: none;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #F2A541;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  align-items: flex-start;
  padding: 36px 28px 32px 32px;
  font-family: var(--font-display);
}
.mobile-nav a {
  color: #E2E6EA;
  font-weight: 600;
  font-size: 1.32rem;
  border-radius: 9px;
  padding: 12px 2px 12px 8px;
  width: 100%;
  transition: background 0.1s, color 0.1s;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: #22394d;
  color: #F2A541;
}

@media (max-width: 1100px) {
  header .container {
    max-width: 100vw;
    padding-left: 8px;
    padding-right: 8px;
  }
}

@media (max-width: 900px) {
  .main-nav,
  .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 900px) {
  header .container {
    gap: 8px;
    height: 60px;
  }
}

/* ================== MAIN PAGE LAYOUT & CONTENT STYLES ================= */
main {
  width: 100%;
  padding-bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  position: relative;
}
section:nth-child(even) {
  background: var(--color-bg-light);
}

@media (max-width: 650px) {
  section {
    padding: 26px 4vw;
    margin-bottom: 28px;
  }
}

/* ======= CARD/FEATURES GRID EXAMPLES ======= */
.card-container, .content-grid {
  gap: 20px;
}
.card {
  margin-bottom: 20px;
}

.text-section ul {
  padding-left: 20px;
}
.text-section li {
  list-style: disc;
  margin-bottom: 7px;
  color: #e0f6fb;
}
.text-section ul li strong {
  color: var(--color-secondary);
}

ul {
  margin-bottom: 0.8em;
}

.content-wrapper > ul {
  padding-left: 20px;
}
.content-wrapper > ul li {
  list-style: disc;
  color: #e0f6fb;
  margin-bottom: 7px;
}

.content-wrapper > div > h3,
.content-wrapper > div > p {
  margin-left: 8px;
}

/* ================== TESTIMONIALS AND CARDS ================== */
.testimonial-card {
  background: #fff;
  color: #143642;
  border-left: 4px solid var(--color-secondary);
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(40,60,80,0.18), 0 0 6px 1px var(--color-secondary);
  margin-bottom: 20px;
  min-width: 0;
  flex: 1 1 320px;
  position: relative;
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    gap: 7px;
    padding: 16px 10px;
  }
}

/* ================== FOOTER ================== */
footer {
  background: #162430;
  color: #eaf3f5;
  padding: 32px 0 18px 0;
  box-shadow: 0 -2px 12px 0 rgba(41, 190, 234, 0.09);
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.footer-links {
  font-size: 1rem;
  gap: 14px;
}
.footer-links a {
  color: #aad9e9;
  transition: color 0.14s;
}
.footer-links a:hover {
  color: #F2A541;
}

.brand-footer-info p {
  color: #F2A541;
  font-size: 1.04rem;
  font-family: var(--font-display);
}

@media (max-width: 700px) {
  .footer-links, .brand-footer-info, .social-media {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  footer .container {
    gap: 10px;
    padding: 0 14px;
  }
}

/* ================== BUTTONS & MICRO-INTERACTION ================== */
button, .cta, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.17s, color 0.13s, box-shadow 0.15s, filter 0.14s;
}

button:active, .cta:active {
  filter: brightness(0.96);
  transform: scale(0.98);
}

/* =============== COOKIE CONSENT BANNER STYLES =============== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #143642;
  color: #f7fafc;
  z-index: 3999;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 18px 6vw 18px 5vw;
  box-shadow: 0 -2px 24px 0 #F2A54133, 0 0 18px 0 #29BEEA33;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.45s cubic-bezier(0.55,0,0.16,1), transform 0.33s;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(64px);
  pointer-events: none;
}
.cookie-banner-message {
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 6px;
  max-width: 540px;
  color: #e0f6fb;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.cookie-btn {
  padding: 9px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1rem;
  border: none;
  margin-left: 0;
  transition: background 0.16s, color 0.14s, box-shadow 0.18s;
}
.cookie-btn.accept {
  background: var(--color-secondary);
  color: #143642;
  box-shadow: 0 0 4px 1px #F2A54144;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #ffd388;
}
.cookie-btn.reject {
  background: #192935;
  color: #F2A541;
  border: 1.5px solid #29BEEA;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #163247;
  color: #fff;
}
.cookie-btn.settings {
  background: transparent;
  color: #29BEEA;
  border: 1.5px solid #29BEEA;
  padding-left: 14px;
  padding-right: 14px;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #22394d;
  color: #F2A541;
  border-color: #F2A541;
}

@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 10px 18px 10px;
  }
  .cookie-banner-message {
    max-width: 98vw;
  }
}

/* COOKIE MODAL PREFERENCES */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 4099;
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  background: #101E26;
  border-radius: 20px;
  box-shadow: 0 8px 44px 10px #29BEEA33, 0 0 30px 7px #F2A54144;
  min-width: 280px;
  max-width: 94vw;
  width: 440px;
  padding: 36px 32px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: opacity 0.28s, transform 0.3s;
}
.cookie-modal.hide {
  opacity: 0;
  transform: translate(-50%, -40%) scale(0.95);
  pointer-events: none;
}
.cookie-modal-title {
  color: var(--color-neon);
  font-size: 1.44rem;
  font-family: var(--font-display);
  margin-bottom: 8px;
  font-weight: 700;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
}
.cookie-modal-category .cat-label {
  font-size: 1.04rem;
  color: #e0f6fb;
  font-weight: 600;
}
.cookie-modal-category .cat-desc {
  font-size: 0.95rem;
  color: #9ec8db;
  font-weight: 400;
  margin-left: 8px;
}
.cookie-toggle {
  appearance: none;
  width: 42px;
  height: 22px;
  background: #22394d;
  border-radius: 11px;
  position: relative;
  outline: none;
  transition: background 0.2s;
  margin-left: 4px;
}
.cookie-toggle:checked {
  background: #29BEEA;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(20,54,66,0.10);
  transition: left 0.13s;
}
.cookie-toggle:checked:before {
  left: 21px;
  background: #fff;
}
.cookie-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 18px;
}
.cookie-modal-close {
  position: absolute;
  right: 17px;
  top: 8px;
  font-size: 2rem;
  color: #F2A541;
  background: none;
  border: none;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: #29BEEA;
}

/* ================== RESPONSIVE FLEX ALIGNMENT ================== */
@media (max-width: 900px) {
  .content-grid, .text-image-section, .card-container, .feature-item {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 20px;
  }
  .testimonials-grid {
    flex-direction: column;
  }
}

@media (max-width: 900px) {
  .content-wrapper {
    padding: 0;
    gap: 24px;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* ================== SECTION SPACING & CONTENT CARDS ================== */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .content-grid, .feature-item {
  gap: 24px;
}
.card, .testimonial-card {
  margin-bottom: 20px;
}
.content-wrapper {
  gap: 24px;
}

/* ================== FUTURISTIC DECORATIVE ACCENTS ================== */
section {
  border-radius: 18px;
  box-shadow: 0 2px 28px 0 rgba(41,190,234,0.11), 0 0 0 1.5px #29BEEA33;
  background: linear-gradient(122deg, #143642 60%, #22394d 100%);
  position: relative;
  overflow: hidden;
}
section:nth-child(even) {
  background: linear-gradient(102deg, #162430 74%, #143642 100%);
}

section::after {
  content: '';
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, #29BEEA55 0%, transparent 75%);
  z-index: 0;
  pointer-events: none;
}

section .content-wrapper,
section > .container > .content-wrapper {
  position: relative;
  z-index: 1;
}

/* ================== SCROLLBAR =============== */
::-webkit-scrollbar {
  width: 10px;
  background: #192935;
}
::-webkit-scrollbar-thumb {
  background: #22394d;
  border-radius: 9px;
}

/* ================== FORM ELEMENTS =============== */
input, textarea, select {
  font-family: var(--font-body);
  padding: 10px 13px;
  border-radius: 8px;
  border: 1.5px solid #1b3a56;
  background: #22394d;
  color: #fff;
  margin-bottom: 20px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
  transition: border 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-neon);
  background: #162430;
}

label {
  font-family: var(--font-display);
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 7px;
}

/* ================== MEDIA QUERIES - FURTHER REFINEMENTS ================== */
@media (max-width: 650px) {
  h1 {
    font-size: 1.56rem;
  }
  h2 {
    font-size: 1.22rem;
  }
  .cta, .cta.primary, .cta.secondary {
    font-size: 1rem;
    padding: 10px 20px;
  }
  .footer-links {
    font-size: 0.98rem;
    gap: 8px;
  }
}

/* ================== ACCESSIBILITY & SELECTION ================== */
::selection {
  background: #F2A541;
  color: #143642;
}

[tabindex]:focus {
  outline: 2px solid #29BEEA;
}

/* ================== DARK/READABLE TESTIMONIAL CARDS =============== */
.testimonial-card {
  background: #fff;
  color: #143642;
}

/* ================== Z-INDEX LAYERS FOR MENUS/BANNERS =============== */
header, .mobile-menu, .cookie-banner, .cookie-modal { z-index: 1002; }

/* ================== FONTS (Google Fonts Import) =============== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Open+Sans:wght@400;600&display=swap');

/* ================== END CSS ================== */
