/* ===============================
   Twilight Turn STYLE RESET
   =============================== */
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, 
main, 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%;
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #f7f7f7;
  background: #10151a;
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #4ad3e8;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #e4d96f;
}
ul, ol {
  list-style: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.03em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-shadow: 0 4px 22px rgba(76,185,246,0.25);
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

p {
  color: #f6f6f7;
  margin-bottom: 14px;
}
strong { color: #ecd997; }
em { font-style: italic; color: #b9d5ee; }

/* =============
  BRAND COLORS
============== */
:root {
  --primary: #315F43; /* main green */
  --secondary: #ecd997; /* soft gold */
  --accent: #265078; /* blue accent */
  --background: #10151a; /* deep tech bg */
  --surface: #151c20; /* card bg */
  --neon-green: #7effb2;
  --neon-blue: #4ad3e8;
  --neon-yellow: #fff180;
  --error: #ff6060;
}

/* ===================
    LAYOUT CONTAINERS
   =================== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
}

main {
  width: 100%;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.section,
.hero,
.features,
.services,
.testimonials,
.contact,
.about,
.pricing,
.privacy,
.legal,
.thank-you,
.cta {
  margin-bottom: 60px;
  padding: 40px 20px;
  position: relative;
}

/* ====================
    TECH FUTURISTIC BG
   ==================== */
body, .hero {
  background: linear-gradient(120deg, #14395B 0%, #315F43 100%);
}
.hero {
  background: linear-gradient(120deg, #14395B 40%, #315F43 100%), #10151a;
  border-bottom: 1.5px solid #142532;
  box-shadow: 0 4px 32px 0 rgba(74,211,232,0.10), 0 2px 8px 0 rgba(49,95,67,0.12);
  text-align: center;
}

/* ========================
       TYPOGRAPHY SCALE
========================= */
.text-section ul,
.features ul {
  padding-left: 1.4em;
}
.text-section ul li, .features ul li {
  font-size: 1rem;
  margin-bottom: 8px;
  position: relative;
}
.text-section ul li::marker,
.features ul li::marker {
  color: var(--neon-blue);
}

.text-section {
  margin-bottom: 18px;
}

/* ===============
   HEADER + NAV
=============== */
header {
  background: #10151a;
  padding: 14px 0;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 29;
  box-shadow: 0 1px 12px 0 rgba(4,27,86,.15);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
header img {
  height: 46px;
  width: auto;
  margin-right: 6px;
}
header nav {
  display: flex;
  gap: 18px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #f7fbf8;
  letter-spacing: 0.01em;
  padding: 6px 12px;
  border-radius: 6px;
  position: relative;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
header nav a:hover, header nav a.active {
  background: #14395B;
  color: var(--neon-blue);
  box-shadow: 0 2px 16px 0 rgba(74, 211, 232, 0.10);
}
header .cta {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 10px 22px;
  background: linear-gradient(95deg, #ecd997 0%, #315F43 100%);
  color: #14395B;
  font-size: 1rem;
  font-weight: 700;
  text-shadow: none;
  border-radius: 18px;
  border: 0;
  box-shadow: 0 4px 14px 0 rgba(236,217,151,0.08);
  transition: background 0.25s, color 0.2s, box-shadow 0.18s;
  margin-left: 16px;
  cursor: pointer;
  outline: none;
  letter-spacing: 0.03em;
}
header .cta:hover, header .cta:focus {
  background: linear-gradient(90deg, #4ad3e8 0%, #ecd997 100%);
  color: #14395B;
  box-shadow: 0 4px 24px 0 rgba(74,211,232,0.12);
}

/* ========== BURGER BUTTON ========== */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #f7fbf8;
  cursor: pointer;
  margin-left: 16px;
  z-index: 31;
  transition: color 0.16s;
}
.mobile-menu-toggle:hover {
  color: var(--neon-blue);
}

/* ========== MOBILE MENU ============= */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(20,57,91,0.985);
  box-shadow: 0 16px 80px 0 rgba(74,211,232,0.14);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 36px 24px 24px 24px;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  background: none;
  color: #fff;
  border: none;
  padding: 3px 6px;
  margin-bottom: 20px;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.23s;
}
.mobile-menu-close:hover {
  background: rgba(236,217,151,0.12);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 23px;
  width: 100%;
}
.mobile-nav a {
  color: #f7fbf8;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 13px 0 13px 8px;
  border-radius: 7px;
  letter-spacing: 0.02em;
  transition: background 0.17s, color 0.17s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover {
  background: #7effb2;
  color: #14395B;
}

/* Hide nav on mobile, show burger button */
@media (max-width: 1020px) {
  header nav {
    display: none;
  }
  header .cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (min-width: 1021px) {
  .mobile-menu {
    display: none !important;
  }
}


/* ===================
 LAYOUT: FLEX PATTERNS
=================== */
.content-wrapper,
.service-list,
.card-container,
.card-grid,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 18px;
}

@media (max-width: 900px) {
  .content-wrapper,
  .service-list,
  .card-container,
  .content-grid {
    gap: 18px;
  }
}

.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: 22px;
  }
}

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

.card {
  background: var(--surface);
  border-radius: 16px;
  box-shadow: 0 3px 24px 0 rgba(74,211,232,0.07), 0 1px 7px rgba(49,95,67,0.07);
  margin-bottom: 20px;
  padding: 28px 20px 18px 20px;
  position: relative;
  transition: box-shadow 0.24s;
}
.card:hover {
  box-shadow: 0 8px 40px 0 rgba(74,211,232,0.13), 0 1px 9px rgba(49,95,67,0.11);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 20px 14px 18px 18px;
  background: #fffbe6;
  color: #1a2c24;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(49,95,67, 0.10);
  min-width: 240px;
  max-width: 380px;
  margin-bottom: 20px;
  transition: transform 0.21s, box-shadow 0.19s;
}
.testimonial-card:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 6px 28px 0 rgba(49,95,67,0.14);
}
.testimonial-card blockquote {
  color: #133524;
  font-size: 1.18rem;
  font-style: italic;
  margin-bottom: 8px;
  quotes: "\201C" "\201D";
}
.testimonial-card .testimonial-meta {
  color: #265078;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.testimonial-card .testimonial-meta span {
  color: #fbbc3c;
  letter-spacing: 0.12em;
  margin-left: 4px;
  font-size: 1.25rem;
}

@media (max-width: 768px) {
  .testimonial-card {
    max-width: 100%;
  }
}

/* SECTION SPACING RULE ENFORCEMENT */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ====================
         SERVICES
   ==================== */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-item {
  background: var(--surface);
  border-radius: 15px;
  box-shadow: 0 2px 20px 0 rgba(49,95,67,0.09);
  padding: 28px 22px 24px 22px;
  min-width: 225px;
  max-width: 340px;
  flex: 1 1 254px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  border-left: 4px solid var(--neon-blue);
  margin-bottom: 18px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.service-item:hover {
  border-left: 4px solid var(--neon-green);
  box-shadow: 0 4px 24px var(--neon-blue);
}
.service-item h2, .service-item h3 {
  font-size: 1.17rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 10px;
  color: var(--primary);
  letter-spacing: 0.02em;
}
.service-item p {
  color: #ececec;
  margin-bottom: 8px;
}
.service-item .price {
  color: #fff180;
  font-size: 1.07rem;
  font-weight: 700;
}

@media (max-width: 900px) {
  .service-list {
    gap: 18px;
    justify-content: flex-start;
  }
}
@media (max-width: 768px) {
  .service-list {
    flex-direction: column;
    gap: 16px;
  }
  .service-item {
    max-width: 100%;
  }
}

/* ========================
    BUTTONS & INTERACTIONS
   ======================== */
.cta,
button, 
input[type="submit"] {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 12px 30px;
  background: linear-gradient(90deg, var(--neon-blue) 0%, var(--neon-green) 100%);
  color: #10151a;
  border-radius: 18px;
  border: 0;
  font-size: 1.08rem;
  font-weight: 700;
  box-shadow: 0 2px 12px 0 rgba(74,211,232,0.08);
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.16s;
  outline: none;
  display: inline-block;
  text-shadow: 0 1px 3px rgba(255,255,255,0.095);
}
.cta:hover, .cta:focus, 
button:hover, button:focus, 
input[type="submit"]:hover, input[type="submit"]:focus {
  background: linear-gradient(90deg, var(--neon-green) 0%, var(--neon-blue) 100%);
  color: #14395B;
  box-shadow: 0 2px 21px 0 var(--neon-blue);
}

/* Inline Text Links */
a.cta {
  color: #14395B!important;
  margin-top: 8px;
}

/* ====================
        TABLES
   ==================== */
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: 14px;
  box-shadow: 0 3px 18px 0 rgba(49,95,67,0.09);
  margin-bottom: 20px;
  overflow: hidden;
}
thead {
  background: #ececec;
  color: #151c20;
}
th, td {
  font-family: inherit;
  font-size: 1rem;
  padding: 14px 13px;
  border-bottom: 1px solid #22455011;
  text-align: left;
}
th {
  font-weight: 700;
  letter-spacing: 0.01em;
}
tr:last-child td {
  border-bottom: none;
}

/* ====================
     FOOTER
   ==================== */
footer {
  background: #14395b;
  color: #eee;
  padding: 30px 0 24px 0;
  position: relative;
  z-index: 5;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
footer img {
  height: 48px;
  width: auto;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  font-size: .97rem;
}
footer nav a {
  color: #ecd997;
  opacity: 0.87;
  font-weight: 600;
  transition: color 0.17s, opacity 0.18s;
}
footer nav a:hover {
  color: #7effb2;
  opacity: 1;
}
footer .address {
  color: #fff;
  font-size: 0.92rem;
  opacity: 0.9;
  line-height: 1.6;
}

/* ===============
   RESPONSIVE ADJUST
 =============== */
@media (max-width: 820px) {
  .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  main .container {
    padding: 0 8px;
  }
  section, .section {
    padding: 26px 7px;
  }
}

@media (max-width: 599px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.07rem; }
  .section, section { padding: 22px 5px; }
}

/* ===============
   COOKIE BANNER
 ================ */
#cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 18px;
  background: rgba(23, 36, 40, 0.98);
  color: #f6f6f7;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 -2px 28px 0 rgba(74,211,232,0.08);
  z-index: 10020;
  gap: 12px;
  transition: transform 0.23s;
}
#cookie-banner.hide {
  transform: translateY(110%);
}
#cookie-banner strong {
  color: #7effb2;
}
#cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 8px;
}
#cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 8px 22px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(90deg, #7effb2 0%, #4ad3e8 100%);
  color: #14395B;
  font-weight: 700;
  cursor: pointer;
  margin: 0 2px 0 0;
  transition: background 0.17s, color 0.13s, box-shadow 0.14s;
}
#cookie-banner button.accept { background: linear-gradient(90deg, #7effb2 0%, #4ad3e8 100%);}
#cookie-banner button.reject { background: linear-gradient(90deg, #ff6060 0%, #265078 100%); color: #fff;}
#cookie-banner button.settings { background: linear-gradient(90deg, #ecd997 0%, #7effb2 100%); color: #14395B;}
#cookie-banner button:hover {
  background: linear-gradient(90deg, #4ad3e8 0%, #7effb2 100%);
  color: #142532;
}

/* ===============
   COOKIE MODAL
================ */
#cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(20, 36, 55, 0.87);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10100;
  animation: cookieModalFadeIn 0.3s;
}
@keyframes cookieModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
#cookie-modal .modal-content {
  background: #fffbe6;
  color: #133524;
  border-radius: 16px;
  max-width: 410px;
  width: 96vw;
  padding: 36px 32px 30px 32px;
  /* min-height: 240px; */
  box-shadow: 0 6px 40px #7effb235;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  animation: cookieModalSlideDown 0.5s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes cookieModalSlideDown {
  from {
    opacity: 0;
    transform: translateY(-36px) scale(0.93);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
#cookie-modal .modal-close {
  position: absolute;
  right: 18px; top: 9px;
  font-size: 1.55rem;
  border: none;
  background: none;
  color: #142532;
  cursor: pointer;
}
#cookie-modal h2 {
  color: #265078;
  font-size: 1.25rem;
  margin-bottom: 10px;
}
#cookie-modal .cookie-group {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.09rem;
}
#cookie-modal .cookie-group label {
  font-weight: 600;
  color: #14395B;
}
#cookie-modal .cookie-group input[type="checkbox"] {
  accent-color: #4ad3e8;
  width: 20px;
  height: 20px;
}
#cookie-modal .cookie-actions {
  margin-top: 10px;
  display: flex;
  flex-direction: row;
  gap: 15px;
}
#cookie-modal .modal-content p {
  color: #193534;
  margin-bottom: 6px;
  font-size: 1rem;
}
#cookie-modal .category-essential {
  color: #4ad3e8;
  font-weight: 700;
  margin-left: 4px;
}

/* Responsive modal/dialog */
@media (max-width: 520px) {
  #cookie-modal .modal-content {
    padding: 20px 8px 18px 14px;
    max-width: 98vw;
  }
}

/* ===============
   MISCELLANEOUS
 ================ */
.hero h1, .hero p {
  text-align: center;
}
.features ul {
  padding-left: 1.18em;
  margin-bottom: 12px;
}
.features ul li {
  margin-bottom: 8px;
}
.features ul li img {
  height: 24px;
  width: 24px;
  vertical-align: middle;
  margin-right: 10px;
}

.content-wrapper {
  width: 100%;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}
@media (max-width: 850px) {
  .content-wrapper {
    gap: 14px;
  }
}

.text-section a.cta {
  margin-top: 14px;
}

/* Legal/Privacy Section Styling */
.privacy, .legal {
  background: #101b1f;
  color: #f7f7f7;
  border-radius: 20px;
  box-shadow: 0 2px 22px 0 rgba(49,95,67,0.10);
}

.legal ul, .privacy ul {
  padding-left: 1.25em;
}
.legal ul li, .privacy ul li {
  margin-bottom: 10px;
  color: #b9d5ee;
  font-size: 1rem;
}

/* Thank You, CTAs */
.thank-you h1 {
  color: var(--neon-green);
  margin-bottom: 16px;
  text-shadow: 0 2px 32px #7effb230;
}

.cta {
  margin-top: 15px;
}

/* ================
  Z-INDEX STABILIZATION
================== */
body, .main, header, .container, .mobile-menu, footer, #cookie-banner, #cookie-modal { z-index: initial; }
header { z-index: 29; }
.mobile-menu, .mobile-menu.open { z-index: 9999; }
#cookie-banner { z-index: 10020; }
#cookie-modal { z-index: 10100; }

/* ================
   PRINT CLEANUP
================== */
@media print {
  body * {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  footer, header, #cookie-banner, #cookie-modal, .mobile-menu { display: none !important; }
}

/* ================
    SCROLLBAR
================== */
::-webkit-scrollbar {
  width: 8px;
  background: #101b1f;
}
::-webkit-scrollbar-thumb {
  background: #234052;
  border-radius: 8px;
}

/* ================
   TRANSITIONS etc
================== */
*:focus {
  outline: 2px solid var(--neon-blue);
  outline-offset: 2px;
}

/* ================
 CUSTOM FONT IMPORTS (SAFE)
================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap');
