/* ==== CSS RESET & NORMALIZATION ==== */
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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body { line-height: 1; }
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { border-style: none; max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; margin: 0; }
*, *:before, *:after { box-sizing: border-box; }

/* ==== FONT IMPORTS (FALLBACKs for Industrial Modern) ==== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background: #23272B;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #F5F7FA;
  background: #23272B;
  min-height: 100vh;
}

/* ==== BRAND COLOR VARIABLES ==== */
:root {
  --primary: #21416A;
  --secondary: #AAB0B6;
  --accent: #F5F7FA;
  --dark-bg: #23272B;
  --card-bg: #23272B;
  --card-bg-light: #2B3137;
  --text-dark: #23272B;
  --text-light: #F5F7FA;
  --metal: #AAB0B6;
  --btn-bg: #21416A;
  --btn-hover-bg: #2e547f;
  --btn-text: #F5F7FA;
  --border: #464E57;
}

/* ==== TYPOGRAPHY ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.04em;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 20px;
  color: var(--accent);
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 18px;
  color: var(--metal);
}
h3 {
  font-size: 1.15rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 10px;
}
h4, h5, h6 { font-size: 1rem; color: var(--accent); }
p, li, blockquote {
  color: var(--accent);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 16px;
}
strong, b { color: var(--metal); }
blockquote {
  border-left: 3px solid var(--metal);
  padding-left: 16px;
  font-style: italic;
  color: var(--accent);
  margin-bottom: 10px;
}

/* ==== MAIN STRUCTURE ==== */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 12px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--card-bg-light);
  border-radius: 10px;
  margin-bottom: 20px;
  position: relative;
  padding: 28px 28px 22px;
  box-shadow: 0 2px 16px rgba(30,35,40,0.09);
  border: 1px solid var(--border);
  transition: box-shadow 0.2s, transform 0.15s;
  min-width: 250px;
}
.card:hover {
  box-shadow: 0 6px 32px rgba(30,35,40,0.13);
  transform: translateY(-4px) scale(1.03);
  border-color: var(--metal);
}

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  border-radius: 10px;
  background: #F5F7FA;
  color: #23272B;
  box-shadow: 0 2px 12px rgba(33,65,106,0.13);
  margin-bottom: 20px;
  border: 1px solid var(--metal);
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  position: relative;
}
.testimonial-card h2, .testimonial-card h3, .testimonial-card h4 {
  color: #21416A;
}
.testimonial-card p, .testimonial-card blockquote, .testimonial-card div, .testimonial-card span {
  color: #23272B;
}
.testimonial-card blockquote {
  color: #3a4350;
  border-color: #21416A;
  font-style: italic;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--card-bg-light);
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 28px 24px 24px 24px;
  min-width: 220px;
  transition: box-shadow 0.2s, transform 0.15s;
  box-shadow: 0 2px 12px rgba(30,35,40,0.08);
}
.feature-item img {
  width: 40px; height: 40px;
  margin-bottom: 6px;
}
.feature-item:hover {
  box-shadow: 0 8px 20px rgba(33,65,106,0.18);
  transform: translateY(-4px) scale(1.04);
  border-color: var(--metal);
}

/* ==== BUTTONS ==== */
.cta-btn, .cta-link {
  display: inline-block;
  padding: 13px 28px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 5px;
  background: var(--btn-bg);
  color: var(--btn-text);
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 10px rgba(33,65,106,0.06);
  margin-top: 8px;
  margin-bottom: 8px;
  transition: background 0.18s, color 0.18s, transform 0.15s;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--btn-hover-bg);
  color: #F5F7FA;
  outline: none;
  transform: scale(1.03);
}

.cta-link {
  background: transparent;
  color: var(--metal);
  text-decoration: underline;
  padding: 0;
  margin-left: 0;
  margin-bottom: 0;
  box-shadow: none;
  border-radius: 0;
  font-weight: 600;
  font-size: 1rem;
}
.cta-link:hover, .cta-link:focus {
  color: var(--primary);
  text-decoration: underline;
  background: none;
  transform: scale(1.01);
  outline: none;
}

/* ==== NAVIGATION ==== */
header { background: #181A1E; border-bottom: 1.5px solid var(--metal); }
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
header img { max-height: 44px; min-width: 120px; margin-right: 14px; }
.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  color: var(--metal);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.025em;
  position: relative;
  padding: 5px 3px;
  transition: color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  outline: none;
}

/* ===== MOBILE BURGER MENU ===== */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #23272B;
  border: 1px solid var(--metal);
  color: var(--metal);
  border-radius: 6px;
  width: 48px;
  height: 44px;
  font-size: 2rem;
  cursor: pointer;
  margin-left: 24px;
  transition: background 0.18s, color 0.18s, border 0.18s;
}
.mobile-menu-toggle:focus { outline: 2px solid var(--primary); }
.mobile-menu-toggle:hover {
  color: var(--accent); background: #23272B; border-color: var(--accent);
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(33, 41, 54, 0.98);
  z-index: 1010;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.8,.02,.19,1);
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 2.1rem;
  padding: 24px 30px 0 0;
  cursor: pointer;
  transition: color 0.16s;
}
.mobile-menu-close:focus { outline: 2px solid var(--primary); }
.mobile-menu-close:hover { color: var(--primary); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 30px 32px 32px 32px;
}
.mobile-nav a {
  color: var(--accent);
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  margin: 0 0 10px 0;
  padding: 8px 2px;
  border-radius: 2px;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #23272B;
  color: var(--metal);
  outline: none;
}

/* Hide main nav and show burger on mobile */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 1025px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* ==== HERO ==== */
.hero {
  background: linear-gradient(93deg, #202634 70%, #23272B 100%);
  padding: 62px 0 48px 0;
}
.hero h1 {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 16px;
}
.hero p {
  color: var(--secondary);
  font-size: 1.15rem;
  margin-bottom: 18px;
}
.hero .cta-btn {
  margin-top: 12px;
}

/* ==== FEATURES SECTION ==== */
.features .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}

/* ==== METHODS & STRATEGY LISTS ==== */
.methods-list .content-wrapper, .strategies-list .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.method-item, .strategy-item {
  background: var(--card-bg-light);
  border-radius: 10px;
  border: 1px solid var(--border);
  min-width: 250px;
  max-width: 340px;
  padding: 28px 28px 18px 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(30,35,40,0.09);
  transition: box-shadow 0.2s, border 0.2s, transform 0.18s;
}
.method-item:hover, .strategy-item:hover {
  box-shadow: 0 6px 22px rgba(33,65,106,0.14);
  border-color: var(--metal);
  transform: scale(1.02);
}
.method-item h3, .strategy-item h3 { color: var(--metal); font-size: 1.16rem; margin-bottom: 8px; }
.method-item p, .strategy-item p { color: var(--accent); font-size: 1rem; }

/* ==== ABOUT PREVIEW SECTION ==== */
.about-preview {
  background: var(--card-bg-light);
  border-radius: 10px;
  border: 1px solid var(--border);
  margin-bottom: 40px;
}

/* ==== CTA BANNER ==== */
.cta-banner {
  background: linear-gradient(91deg,#23272B 50%, #333b48 100%);
  border-radius: 9px;
  margin: 20px auto 56px auto;
  box-shadow: 0 4px 32px rgba(33,65,106,0.09);
}
.cta-banner .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 18px;
}
.cta-banner h2 {
  color: var(--metal);
  font-size: 1.44rem;
  line-height: 1.35;
}

/* ==== BLOG/TAGS ==== */
.category-tag, .blog-tag {
  display: inline-block;
  background: #AAB0B6;
  color: #23272B;
  font-size: 0.93rem;
  border-radius: 16px;
  padding: 6px 16px;
  margin: 0 7px 8px 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.blog-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }

/* ==== LINKS ==== */
a { color: var(--accent); transition: color 0.15s; }
a:hover, a:focus { color: var(--metal); outline: none; }

/* ==== LEGAL & TEXT SECTIONS ==== */
.legal {
  background: var(--card-bg-light);
  border-radius: 8px;
  border: 1px solid var(--border);
  padding: 32px 24px 24px 24px;
  margin-bottom: 12px;
  box-shadow: 0 2px 14px rgba(30,35,40,0.11);
  color: var(--accent);
}
.legal h2 { color: var(--metal); font-size: 1.18rem; margin: 22px 0 8px 0; }
.legal ul { margin-left: 1.4rem; }
.legal li { list-style: disc; margin: 8px 0 8px 1rem; }

/* ==== FOOTER ==== */
footer {
  background: #181A1E;
  padding: 38px 0 26px 0;
  border-top: 1.5px solid var(--metal);
  width: 100%;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 30px;
  justify-content: space-between;
}
.footer-branding {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-branding img {
  max-height: 44px;
}
.footer-branding span {
  font-size: 0.94rem;
  color: var(--secondary);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: var(--metal);
  font-size: 0.96rem;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--accent);
  text-decoration: underline;
  outline: none;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--secondary);
}
.footer-contact img {
  width: 18px;
  vertical-align: middle;
  margin-right: 7px;
}

/* ==== CONTACT INFO ==== */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 1rem;
}
.contact-info img {
  width: 22px;
  vertical-align: middle;
  margin-right: 8px;
}

/* ==== Cookie Banner and Modal ==== */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; width: 100vw;
  background: #23272B;
  color: #F5F7FA;
  padding: 18px 16px;
  z-index: 1300;
  display: flex; flex-direction: column; align-items: center;
  box-shadow: 0 -2px 16px rgba(36,42,52,0.17);
  border-top: 2px solid var(--metal);
  gap: 14px;
  animation: cookie-in 0.34s cubic-bezier(.74,.02,.38,1);
}
@keyframes cookie-in {
  from { transform: translateY(80px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-buttons {
  display: flex; flex-direction: row; gap: 16px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 8px 22px;
  font-size: 1rem;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  margin: 0 2px;
  transition: background 0.16s, color 0.16s, border 0.16s, transform 0.13s;
}
.cookie-accept { background: var(--primary); color: var(--accent); }
.cookie-accept:hover, .cookie-accept:focus { background: var(--btn-hover-bg); outline: none; }
.cookie-reject {
  background: none;
  color: var(--metal);
  border: 1px solid var(--metal);
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #30343b;
  color: var(--accent);
  outline: none;
  border-color: var(--btn-hover-bg);
}
.cookie-settings {
  background: var(--card-bg-light);
  color: var(--metal);
  border: 1px solid var(--metal);
}
.cookie-settings:hover, .cookie-settings:focus {
  color: var(--accent);
  background: var(--primary);
  outline: none;
}

/* MODAL POPUP */
.cookie-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(30,34,38,0.84);
  z-index: 1320;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.cookie-modal {
  background: #23272B;
  border-radius: 14px;
  max-width: 420px;
  width: 92vw;
  padding: 32px 26px 26px 26px;
  box-shadow: 0 6px 44px rgba(33,65,106,0.18);
  border: 2px solid var(--metal);
  color: var(--accent);
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  animation: pop-in 0.36s cubic-bezier(.74,.02,.38,1);
}
@keyframes pop-in {
  from { transform: scale(0.84); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.2rem;
  margin-bottom: 14px;
  color: var(--metal);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #2B3137;
  color: var(--accent);
  border-radius: 5px;
  padding: 14px 14px;
  margin-bottom: 11px;
  font-size: 1rem;
}
.cookie-category label {
  margin: 0; font-size: 1rem;
}
.cookie-toggle {
  accent-color: var(--primary);
  width: 22px; height: 22px;
}
.cookie-category.essential label { font-weight: 700; color: var(--metal); }
.cookie-category.essential .cookie-toggle { display: none !important; }
.cookie-modal .modal-buttons {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn { margin-top: 0; }

.cookie-modal .cookie-close {
  position: absolute;
  right: 22px; top: 13px;
  background: none;
  color: var(--accent);
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal .cookie-close:hover, .cookie-modal .cookie-close:focus { color: var(--metal); outline: none; }

/* ==== RESPONSIVE DESIGN & FLEX ADJUSTMENTS ==== */
@media (max-width: 990px) {
  .container {
    max-width: 98vw;
    padding: 0 11px;
  }
  .main-nav { gap: 10px; }
  .footer-nav { flex-direction: column; gap: 6px; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.26rem; }
  .container {
    padding: 0 5px;
  }
  header .container {
    flex-direction: row;
    align-items: flex-start;
    gap: 6px;
  }
  .hero, .section {
    padding: 24px 0 26px 0;
  }
  .content-wrapper, .features .content-wrapper, .methods-list .content-wrapper, .strategies-list .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .feature-item, .method-item, .strategy-item, .card {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .footer-branding {
    flex-direction: row;
    align-items: center;
    gap: 13px;
  }
  .footer-nav { flex-direction: column; gap: 7px; }
}
@media (max-width: 480px) {
  html { font-size: 14px; }
  h1 { font-size: 1.16rem; }
  .hero h1 { font-size: 1.01rem; }
  .cookie-modal { padding: 18px 6vw 16px 6vw; max-width: 97vw; }
}

/* ==== MICRO-INTERACTIONS & TRANSITIONS ==== */
.card, .feature-item, .method-item, .strategy-item, .testimonial-card {
  transition: box-shadow 0.23s, transform 0.17s, border 0.14s;
}
.cta-btn, .cta-link, .cookie-btn {
  transition: background 0.13s, color 0.13s, box-shadow 0.14s, transform 0.13s;
}
/* Button press */
.cta-btn:active, .cta-link:active, .cookie-btn:active {
  transform: scale(0.98);
}

/* SUBTLE SHADOWS for modern look */
.card, .feature-item, .testimonial-card, .legal {
  box-shadow: 0 2px 16px rgba(30,35,40,0.08);
}

/* ==== OTHER UTILITIES ==== */
::-webkit-input-placeholder { color: #AAB0B6; opacity:1; }
::-moz-placeholder { color: #AAB0B6; opacity:1; }
:-ms-input-placeholder { color: #AAB0B6; opacity:1; }
::placeholder { color: #AAB0B6; opacity:1; }

/* Hide scrollbars on mobile menu overlay for better UI */
.mobile-menu { overflow-y: auto; -webkit-overflow-scrolling: touch; }

/* ==== FOCUS VISIBILITY ==== */
*:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 1.5px;
}

/* Industrial Modern Details: metallic lines */
.feature-item, .testimonial-card, .method-item, .strategy-item, .card, .legal {
  border-left: 3px solid var(--metal);
  border-top: 0;
  border-bottom: 0;
  border-right: 0;
}

/* Remove mobile nav/hamburger on desktop for large screens safely */
@media (min-width: 1025px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

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