/* ====================================================== */
/* 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,
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 {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #181C22;
  color: #F2F6FA;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 100vh;
}
ul, ol {
  padding-left: 1.4em;
  margin-bottom: 1.2em;
}
a {
  color: #00A884;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #F2F6FA;
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
strong {
  font-weight: 700;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1em;
  outline: none;
}

/* ====================================================== */
/* FONTS */
/* ====================================================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: 0.02em;
  color: #F2F6FA;
  margin-bottom: 12px;
  font-weight: 700;
}
h1 { font-size: 2.75rem; line-height: 1.18; }
h2 { font-size: 2rem; line-height: 1.24; }
h3 { font-size: 1.375rem; line-height: 1.25; }
h4 { font-size: 1.15rem; line-height: 1.32; }
p, li, .pricing-table, .privacy-notice {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #DBE7F1;
}
.subheadline {
  font-size: 1.25rem;
  color: #B2BBC7;
  font-weight: 400;
  margin-bottom: 28px;
}

/* ====================================================== */
/* COLORS FOR INDUSTRIAL MODERN */
/* ====================================================== */
:root {
  --primary-bg: #181C22;
  --elevated-bg: #222833;
  --card-bg: #23262a;
  --hero-bg: #15202B;
  --primary: #174986;
  --secondary: #00A884;
  --accent: #F2F6FA;
  --shadow: rgba(26,32,39,0.17);
  --metal: #7A8DA5;
  --text-main: #F2F6FA;
  --text-muted: #B2BBC7;
  --border: #313743;
}

/* ====================================================== */
/* CONTAINER AND LAYOUT */
/* ====================================================== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 22px;
  padding-right: 22px;
}
.content-wrapper {
  margin-bottom: 28px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 4px 24px var(--shadow);
}
@media (max-width: 991px) {
  .section {
    margin-bottom: 36px;
    padding: 28px 8px;
  }
}

/* ====================================================== */
/* HEADER & NAVIGATION */
/* ====================================================== */
header {
  width: 100%;
  background: var(--primary-bg);
  border-bottom: 1.5px solid var(--border);
  box-shadow: 0 2px 8px var(--shadow);
  z-index: 1100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  color: var(--accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  position: relative;
  padding: 7px 8px;
  border-radius: 6px;
  transition: background 0.2s, color 0.18s;
}
.main-nav a:not(.btn-primary):hover, .main-nav a:not(.btn-primary):focus {
  background: rgba(122,141,165,0.09);
  color: var(--secondary);
}
.btn-primary {
  background: linear-gradient(90deg,#00A884,#174986 85%);
  color: var(--accent) !important;
  border-radius: 100px;
  padding: 0.7em 2em;
  font-weight: 700;
  font-size: 1.08em;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 16px var(--shadow);
  border: none;
  outline: none;
  display: inline-block;
  margin-left: 12px;
  transition: background 0.3s, box-shadow 0.2s, color 0.18s;
  cursor: pointer;
  text-align: center;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg,#174986,#00A884 95%);
  box-shadow: 0 6px 22px var(--shadow);
  color: var(--accent);
}

/* Mobile Navigation */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 2101;
  background: var(--primary);
  color: var(--accent);
  font-size: 2em;
  padding: 12px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 10px var(--shadow);
  transition: background .18s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--secondary);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--hero-bg);
  transform: translateX(-105%);
  transition: transform 0.43s cubic-bezier(.71,.39,0,1.00);
  z-index: 2100;
  padding: 0 0 0 0;
  box-shadow: 4px 0 60px #13141a99;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: var(--accent);
  font-size: 2rem;
  border: none;
  padding: 20px 20px 6px 10px;
  align-self: flex-end;
  transition: color .14s;
  cursor: pointer;
  z-index: 2110;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  margin-top: 18px;
}
.mobile-nav a {
  color: var(--text-main);
  padding: 18px 34px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.1em;
  letter-spacing: 0.02em;
  border-radius: 8px;
  transition: background 0.2s, color 0.14s;
  margin-right: 16px;
  margin-bottom: 8px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #232d38;
  color: var(--secondary);
}
.main-nav .btn-primary { margin-left: 16px; }

@media (max-width: 991px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 992px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* ====================================================== */
/* HERO SECTION */
/* ====================================================== */
.hero {
  background: var(--hero-bg);
  border-radius: 0 0 24px 24px;
  box-shadow: 0 6px 32px #14527b21;
  padding: 0 0 24px 0;
  margin-bottom: 56px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding-top: 36px;
  padding-bottom: 36px;
}
.hero h1 {
  color: var(--secondary);
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: 0.025em;
  text-shadow: 1px 2px 0 #10121788;
}
.hero .subheadline {
  margin-bottom: 26px;
  color: var(--text-muted);
}
.hero .btn-primary {
  font-size: 1.12em;
  margin-top: 10px;
}

@media (max-width: 660px) {
  .hero .container {
    padding-top: 22px;
    padding-bottom: 22px;
  }
  .hero h1 { font-size: 2rem; }
}

/* ====================================================== */
/* FLEXBOX LAYOUTS (MANDATORY) */
/* ====================================================== */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.feature {
  flex: 1 1 240px;
  min-width: 230px;
  background: var(--elevated-bg);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 26px 22px 20px 22px;
  box-shadow: 0 2px 16px #0f17242c;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: transform 0.15s, box-shadow 0.16s;
}
.feature img {
  height: 48px;
  width: 48px;
  filter: grayscale(0.3) drop-shadow(0 2px 2px #17498622);
}
.feature:hover {
  transform: translateY(-6px) scale(1.025);
  box-shadow: 0 10px 32px #17498637;
  border-color: var(--secondary);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  min-width: 240px;
  background: var(--elevated-bg);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 2px 14px #18212b38;
  padding: 26px 22px 16px 22px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.14s, border 0.17s;
}
.card:hover {
  box-shadow: 0 8px 24px #17498633;
  border-color: var(--secondary);
}

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

@media (max-width: 768px) {
  .features-grid, .card-container, .content-grid, .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

/* Feature Items (for About-Kavonira) */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Testimonials */
.testimonial-carousel {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: var(--accent);
  color: #243441;
  padding: 20px 26px 20px 26px;
  border-radius: 13px;
  min-width: 275px;
  margin-bottom: 20px;
  box-shadow: 0 3px 16px #18212b19;
  border-left: 5px solid var(--secondary);
  position: relative;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.05em;
  transition: box-shadow 0.16s, border 0.17s;
}
.testimonial-card:hover {
  box-shadow: 0 10px 24px #17498621;
  border-left-color: var(--primary);
}
.testimonial-card p {
  margin-bottom: 8px;
  color: #314458!important;
  font-weight: 500;
}
.testimonial-card span {
  color: #6B7989;
  font-size: 0.98em;
}
.stars {
  color: #FFA800;
  font-size: 1.12em;
  letter-spacing: 2px;
  margin-bottom: 0.2em;
}

/* Single, non-carousel testimonials */
.content-wrapper > .testimonial-card:not(.testimonial-carousel .testimonial-card) {
  margin-bottom: 40px;
  min-width: unset;
}

@media(max-width: 900px) {
  .testimonial-carousel { flex-direction: column; gap: 12px; }
  .testimonial-card { min-width: 0; width: 100%; }
}

/* Pricing Table */
.pricing-table {
  margin-top: 18px;
  padding: 13px 24px;
  background: #181C22;
  color: #F2F6FA;
  border-radius: 8px;
  font-size: 1.12em;
  border: 1.5px solid #222d33;
  font-weight: 700;
  display: inline-block;
  box-shadow: 0 2px 8px #1e2b388a;
}

/* List Styling */
ul li, ol li {
  margin-bottom: 8px;
}
ul li strong, ol li strong {
  color: var(--secondary);
  font-weight: 700;
}

.text-section {
  margin-bottom: 22px;
  color: #DBE7F1;
}
.text-section p {
  margin-bottom: 16px;
}

/* ====================================================== */
/* BUTTONS, LINKS, AND FORMS */
/* ====================================================== */
.btn-primary {
  background: linear-gradient(90deg,#00A884,#174986 85%);
  color: var(--accent);
  border: none;
  border-radius: 100px;
  padding: 0.74em 2.2em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1em;
  cursor: pointer;
  box-shadow: 0 2px 16px #19223531;
  margin-top: 12px;
  margin-bottom: 12px;
  transition: background 0.24s, color 0.17s, box-shadow 0.17s, transform 0.11s;
  outline: none;
  appearance: none;
}
.btn-primary:active {
  transform: scale(0.98);
}

.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg,#174986,#00A884 90%);
  color: #F2F6FA;
  box-shadow: 0 8px 28px #00A88422;
}

@media (max-width: 500px) {
  .btn-primary { padding: 0.65em 1.5em; font-size: .95em; }
}

/* ====================================================== */
/* FOOTER */
/* ====================================================== */
footer {
  background: #181C22;
  border-top: 1.5px solid var(--border);
  padding: 36px 0 16px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
}
.footer-links a {
  color: var(--metal);
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  transition: color 0.17s;
}
.footer-links a:hover, .footer-links a:focus {
  color: var(--secondary);
}
.brand-logo img {
  height: 36px; width: auto;
  filter: grayscale(60%) brightness(1.1);
}
.privacy-notice {
  color: #6B7989;
  font-size: .95em;
  margin-top: 3px;
}
@media(max-width: 650px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .footer-links { justify-content: flex-start; }
}

/* ====================================================== */
/* COOKIE CONSENT BANNER & MODAL */
/* ====================================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 4000;
  background: var(--elevated-bg);
  color: #F2F6FA;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 24px 16px 16px 16px;
  box-shadow: 0 -2px 24px #113;
  border-top: 2.5px solid var(--secondary);
  animation: cookie-banner-in 0.7s cubic-bezier(.6,.4,0,1.0);
}
@keyframes cookie-banner-in {
  from { transform: translateY(110%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin-bottom: 6px;
  color: #F2F6FA;
}
.cookie-banner-buttons {
  display: flex;
  gap: 13px;
}
.cookie-btn {
  background: none;
  border: 1.5px solid var(--secondary);
  color: var(--accent);
  border-radius: 50px;
  padding: 11px 30px;
  font-size: 1em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s, color .15s, border .16s;
}
.cookie-btn.accept {
  background: var(--secondary);
  color: #083D31;
  border: 1.5px solid var(--secondary);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #07eab7;
  border-color: #07eab7;
  color: #172837;
}
.cookie-btn.reject {
  background: var(--primary-bg);
  color: var(--secondary);
  border: 1.5px solid var(--secondary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #102a21;
  border-color: var(--primary);
  color: var(--primary);
}
.cookie-btn.settings {
  background: none;
  color: var(--metal);
  border: 1.5px solid var(--border);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--border);
  color: var(--secondary);
}

/* Cookie Modal Overlay */
.cookie-modal-backdrop {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  background: rgba(20,35,27,0.77);
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 4100;
  animation: cookie-backdrop-in 0.35s ease;
}
@keyframes cookie-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: var(--elevated-bg);
  color: #F2F6FA;
  padding: 36px 36px 26px 36px;
  min-width: 296px;
  max-width: 96vw;
  border-radius: 14px;
  box-shadow: 0 8px 48px var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  animation: cookie-modal-in .53s cubic-bezier(.5,.7,0,1.02);
}
@keyframes cookie-modal-in {
  from { transform: translateY(90px) scale(.9); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  margin-bottom: 6px;
  color: var(--secondary);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #232a32;
  border-radius: 8px;
  padding: 12px 18px;
  margin-bottom: 10px;
}
.cookie-category label {
  flex: 1;
  color: #DBE7F1;
  font-size: 1.02em;
}
.cookie-category input[type=checkbox] {
  accent-color: var(--secondary);
  width: 20px; height: 20px;
}
.cookie-category.essential label {
  color: #AEE6DF;
  font-weight: 500;
}
.cookie-modal .cookie-btn {
  margin-top: 16px;
  align-self: flex-end;
}
.cookie-modal .close-modal {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 1.7em;
  position: absolute;
  top: 12px; right: 18px;
  cursor: pointer;
  transition: color 0.2s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: var(--secondary);
}

@media (max-width: 520px) {
  .cookie-modal { padding: 19px 6vw 16px 6vw; }
}

/* ====================================================== */
/* MISC / IMPROVEMENTS */
/* ====================================================== */

::-webkit-scrollbar {
  width: 10px;
  background: #242b34;
}
::-webkit-scrollbar-thumb {
  background: #2F3943;
  border-radius: 6px;
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

/* Selection colors for industrial modern look */
::selection {
  background: var(--secondary);
  color: #142126;
}

/* List in inline context (about page, summaries) */
ul.inline-list {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  list-style: none;
  margin-bottom: 8px;
}
ul.inline-list li { margin-bottom: 0; }

/* Hide cookie modal/backdrop initially (handled via class) */
.cookie-modal-backdrop:not(.open),
.cookie-modal:not(.open){
  display:none!important;
}

/* ====================================================== */
/* TABLES (terms, privacy) */
/* ====================================================== */
table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  margin-bottom: 14px;
  background: var(--card-bg);
  color: var(--accent);
  border-radius: 10px;
  overflow: hidden;
}
th, td {
  padding: 13px 16px;
  border-bottom: 1.5px solid var(--border);
}
th {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}
tr:last-child td { border-bottom: 0; }

/* ====================================================== */
/* FAQ (for accordions or Q/A block) */
/* ====================================================== */
.faq {
  background: var(--elevated-bg);
  border-radius: 10px;
  padding: 22px;
  margin-bottom: 22px;
}
.faq h3 {
  color: var(--secondary);
  font-size: 1.15em;
}

/* ====================================================== */
/* RESPONSIVE BREAKPOINTS AND SPACING */
/* ====================================================== */
@media (max-width: 1240px) {
  .container { padding-left: 2vw; padding-right: 2vw; }
}
@media (max-width: 991px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.54rem; }
  h3 { font-size: 1.16rem; }
  .section { margin-bottom: 38px; padding: 19px 5px; }
}
@media (max-width: 660px) {
  .section, .footer, .hero {
    border-radius: 0;
    padding-left: 0; padding-right: 0;
  }
  .container { padding-left: 0; padding-right: 0; }
}

/* force flex column on mobile for main page grids */
@media (max-width: 780px) {
  .features-grid, .content-grid, .card-container, .testimonial-carousel { flex-direction: column; gap: 17px; }
}

/* ====================================================== */
/* INDUSTRIAL MODERN VISUAL ACCENTS */
/* ====================================================== */
.section,
.card, .feature {
  border-radius: 13px;
  box-shadow: 0 2.5px 14px #14212e38,0 0.5px 1.6px #6B79896b;
  border-bottom: 3px solid var(--metal);
  position: relative;
}
.section:before {
  content: '';
  display: block;
  position: absolute;
  top: -8px; left: 24px; right: 24px;
  height: 3px;
  background: linear-gradient(90deg,#174986 0%,#00A884 75%);
  border-radius: 3px;
  z-index: 2;
  filter: brightness(0.77);
}
@media(max-width:660px) {.section:before{left:7px;right:7px;}}

.card, .feature {
  border-bottom: 3px solid var(--metal);
}

/* subtle industrial effect for icons/decoration */
.feature img, .brand-logo img {
  box-shadow: 0 2px 8px #232d38cc;
  border-radius: 8px;
}

/* ====================================================== */
/* UTILITY, SPACING, MICRO-INTERACTIONS */
/* ====================================================== */
.mt-30 { margin-top: 30px; }
.mt-50 { margin-top: 50px; }
.mb-20 { margin-bottom: 20px; }
.mb-32 { margin-bottom: 32px; }
.text-center { text-align: center; }

/* Card content vertical centering */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

a:focus, button:focus, .btn-primary:focus, .cookie-btn:focus {
  outline: 2.5px solid var(--secondary);
  outline-offset: 2px;
}

/* minor bounce-in on enter for cards */
@media (prefers-reduced-motion: no-preference) {
  .feature, .card, .testimonial-card {
    animation: card-bounce-in .62s cubic-bezier(.2,.4,0,1.1);
  }
}
@keyframes card-bounce-in {
  from {transform: translateY(160px) scale(.96); opacity: 0;}
  to {transform: translateY(0) scale(1); opacity: 1;}
}

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