/* =========================
   KREATIVGLANZ TECH FUTURISTIC CSS
   ========================= */

:root {
  --color-primary: #22577A;
  --color-secondary: #57CC99;
  --color-accent: #FAFAFA;
  --color-bg-gradient: linear-gradient(135deg, #1a2a3a 0%, #22577A 60%, #57CC99 100%);
  --color-bg-dark: #16202a;
  --color-bg-light: #f7fafc;
  --color-neon: #57CC99;
  --color-neon-pink: #e75480;
  --color-neon-blue: #00eaff;
  --color-shadow: 0 4px 32px 0 rgba(34, 87, 122, 0.18);
  --color-shadow-neon: 0 0 12px 2px #57CC99;
  --color-shadow-neon-pink: 0 0 8px 2px #e75480;
  --color-shadow-neon-blue: 0 0 8px 2px #00eaff;
  --font-display: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Roboto', 'Segoe UI', Arial, sans-serif;
  --transition: 0.25s cubic-bezier(.4,0,.2,1);
  --radius: 18px;
  --radius-card: 22px;
  --radius-btn: 32px;
  --gap-section: 60px;
  --gap-card: 24px;
  --gap-content: 20px;
  --gap-feature: 15px;
  --header-height: 72px;
}

html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  background: var(--color-bg-gradient);
  color: var(--color-accent);
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  background-attachment: fixed;
}

/* =========================
   TYPOGRAPHY
   ========================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-accent);
  margin-top: 0;
  margin-bottom: 0.6em;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  font-weight: 800;
  text-shadow: 0 0 12px #57CC99, 0 2px 8px #22577A;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  text-shadow: 0 0 8px #57CC99;
}
h3 {
  font-size: 1.25rem;
  font-weight: 600;
}
h4, h5, h6 {
  font-weight: 500;
}
p, ul, ol, li, address {
  font-family: var(--font-body);
  color: var(--color-accent);
  font-size: 1rem;
  margin-bottom: 1em;
}
strong {
  color: var(--color-secondary);
  font-weight: 700;
}
a {
  color: var(--color-neon-blue);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover, a:focus {
  color: var(--color-neon-pink);
  text-shadow: 0 0 8px #e75480;
}

/* =========================
   LAYOUT & CONTAINERS
   ========================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: var(--gap-content);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--gap-content);
}

.section {
  margin-bottom: var(--gap-section);
  padding: 40px 20px;
  background: rgba(34, 87, 122, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--color-shadow);
}

/* =========================
   HEADER & NAVIGATION
   ========================= */
header {
  width: 100%;
  background: rgba(22, 32, 42, 0.98);
  box-shadow: 0 2px 24px 0 rgba(34, 87, 122, 0.16);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  min-height: var(--header-height);
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 24px;
}
nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-accent);
  padding: 8px 18px;
  border-radius: var(--radius-btn);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  position: relative;
}
nav a:hover, nav a:focus {
  background: rgba(87, 204, 153, 0.18);
  color: var(--color-neon);
  box-shadow: 0 0 8px 2px #57CC99;
}

.cta-btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  background: linear-gradient(90deg, #57CC99 0%, #00eaff 100%);
  border: none;
  border-radius: var(--radius-btn);
  padding: 12px 36px;
  box-shadow: 0 0 16px 2px #57CC99, 0 2px 12px 0 #22577A;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  text-shadow: 0 2px 8px #22577A;
  margin-left: 12px;
  letter-spacing: 0.04em;
  outline: none;
  position: relative;
  z-index: 1;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #00eaff 0%, #57CC99 100%);
  box-shadow: 0 0 24px 4px #00eaff, 0 2px 16px 0 #22577A;
  transform: translateY(-2px) scale(1.03);
}

/* =========================
   MOBILE NAVIGATION
   ========================= */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-neon);
  font-size: 2.2rem;
  cursor: pointer;
  margin-left: 16px;
  z-index: 120;
  transition: color var(--transition), transform var(--transition);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: var(--color-neon-pink);
  transform: scale(1.12);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(22, 32, 42, 0.98);
  box-shadow: 0 0 32px 0 #22577A;
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--color-neon);
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 24px 24px 0 0;
  cursor: pointer;
  transition: color var(--transition), transform var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-neon-pink);
  transform: scale(1.12);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  align-items: flex-start;
  margin-top: 48px;
  padding-left: 40px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-accent);
  padding: 10px 0;
  border-radius: var(--radius-btn);
  transition: color var(--transition), background var(--transition), box-shadow var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-neon);
  background: rgba(87, 204, 153, 0.12);
  box-shadow: 0 0 8px 2px #57CC99;
}

@media (max-width: 1024px) {
  header .container {
    gap: 16px;
  }
  nav {
    gap: 12px;
  }
}
@media (max-width: 900px) {
  nav {
    gap: 8px;
  }
  .cta-btn {
    padding: 10px 24px;
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
  header .container nav,
  header .container .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* =========================
   HERO SECTION
   ========================= */
.hero {
  background: linear-gradient(120deg, #22577A 0%, #57CC99 100%);
  padding: 60px 0 40px 0;
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  box-shadow: 0 8px 32px 0 #22577A44;
  margin-bottom: var(--gap-section);
}
.hero .container {
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 24px;
}
.hero h1 {
  color: #fff;
  text-shadow: 0 0 24px #00eaff, 0 2px 8px #22577A;
}
.hero p {
  color: #e0f7fa;
  font-size: 1.2rem;
}

/* =========================
   FLEXBOX LAYOUTS
   ========================= */
.feature-grid, .gallery, .team-section {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-card);
  justify-content: space-between;
  margin-bottom: 20px;
}
.feature-grid > div, .gallery > div, .team-section > div {
  background: rgba(34, 87, 122, 0.18);
  border-radius: var(--radius-card);
  box-shadow: var(--color-shadow);
  padding: 28px 22px;
  flex: 1 1 260px;
  min-width: 240px;
  margin-bottom: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
}
.feature-grid > div:hover, .gallery > div:hover, .team-section > div:hover {
  box-shadow: 0 0 24px 4px #57CC99, 0 2px 16px 0 #22577A;
  transform: translateY(-4px) scale(1.03);
}
.gallery > div img {
  width: 100%;
  max-width: 320px;
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: 0 0 16px 2px #00eaff44;
  display: block;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.text-image-section > div {
  flex: 1 1 320px;
  min-width: 240px;
}
.text-image-section img {
  width: 100%;
  max-width: 320px;
  border-radius: var(--radius);
  box-shadow: 0 0 16px 2px #57CC9944;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: rgba(34, 87, 122, 0.18);
  border-radius: var(--radius-card);
  box-shadow: var(--color-shadow);
  padding: 28px 22px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 0 24px 4px #00eaff, 0 2px 16px 0 #22577A;
  transform: translateY(-4px) scale(1.03);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-accent);
  color: #222;
  border-radius: var(--radius-card);
  box-shadow: 0 0 16px 2px #57CC9944;
  margin-bottom: 20px;
  font-size: 1.1rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card blockquote {
  color: #222;
  font-style: italic;
  margin: 0 0 0 0;
  font-size: 1.1rem;
}
.testimonial-card cite {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1rem;
  margin-left: 12px;
}
.testimonial-card:hover {
  box-shadow: 0 0 24px 4px #57CC99, 0 2px 16px 0 #22577A;
  transform: translateY(-2px) scale(1.01);
}

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

/* =========================
   CTA SECTION
   ========================= */
.cta {
  background: linear-gradient(90deg, #57CC99 0%, #00eaff 100%);
  color: #fff;
  border-radius: var(--radius-card);
  box-shadow: 0 0 32px 0 #57CC9944;
  margin-bottom: var(--gap-section);
}
.cta .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 18px;
}
.cta h2 {
  color: #fff;
  text-shadow: 0 0 12px #00eaff, 0 2px 8px #22577A;
}
.cta p {
  color: #e0f7fa;
}

/* =========================
   FOOTER
   ========================= */
footer {
  background: #16202a;
  color: var(--color-accent);
  padding: 40px 0 24px 0;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  box-shadow: 0 -2px 24px 0 #22577A44;
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 1rem;
  transition: color var(--transition);
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-neon);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.footer-brand img {
  height: 36px;
  margin-bottom: 8px;
}
.footer-brand address, .footer-brand p {
  color: var(--color-accent);
  font-size: 0.98rem;
  margin: 0;
}
.footer-brand a {
  color: var(--color-neon-blue);
  text-decoration: underline;
}

/* =========================
   COOKIE CONSENT BANNER
   ========================= */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: rgba(22, 32, 42, 0.98);
  color: var(--color-accent);
  box-shadow: 0 -2px 24px 0 #22577A44;
  z-index: 300;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  gap: 24px;
  opacity: 1;
  transition: opacity var(--transition), transform var(--transition);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner .cookie-text {
  flex: 1 1 320px;
  font-size: 1rem;
  color: var(--color-accent);
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-btn {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-btn);
  padding: 10px 28px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  margin: 0;
}
.cookie-btn.accept {
  background: linear-gradient(90deg, #57CC99 0%, #00eaff 100%);
  color: #fff;
  box-shadow: 0 0 12px 2px #57CC99;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: linear-gradient(90deg, #00eaff 0%, #57CC99 100%);
  box-shadow: 0 0 16px 4px #00eaff;
}
.cookie-btn.reject {
  background: #e75480;
  color: #fff;
  box-shadow: 0 0 8px 2px #e75480;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #c2185b;
  box-shadow: 0 0 12px 2px #e75480;
}
.cookie-btn.settings {
  background: transparent;
  color: var(--color-neon-blue);
  border: 2px solid var(--color-neon-blue);
  box-shadow: 0 0 8px 2px #00eaff44;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #00eaff22;
  color: #fff;
  border-color: #fff;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(22, 32, 42, 0.92);
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #16202a;
  color: var(--color-accent);
  border-radius: var(--radius-card);
  box-shadow: 0 0 32px 0 #22577A44;
  padding: 36px 32px 28px 32px;
  min-width: 320px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  animation: modalIn 0.35s cubic-bezier(.4,0,.2,1);
}
@keyframes modalIn {
  from { transform: scale(0.92) translateY(40px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: var(--color-neon);
  font-size: 2rem;
  cursor: pointer;
  transition: color var(--transition), transform var(--transition);
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--color-neon-pink);
  transform: scale(1.12);
}
.cookie-modal h2 {
  color: var(--color-neon);
  margin-bottom: 0.5em;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
}
.cookie-category label {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-accent);
}
.cookie-toggle {
  appearance: none;
  width: 44px;
  height: 24px;
  background: #22577A;
  border-radius: 12px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background var(--transition);
}
.cookie-toggle:checked {
  background: linear-gradient(90deg, #57CC99 0%, #00eaff 100%);
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 4px;
  top: 4px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left var(--transition);
  box-shadow: 0 0 8px 2px #00eaff44;
}
.cookie-toggle:checked:before {
  left: 24px;
}
.cookie-category .always-on {
  color: #57CC99;
  font-weight: 700;
  font-size: 0.98rem;
  margin-left: 8px;
}

/* =========================
   RESPONSIVE DESIGN
   ========================= */
@media (max-width: 1024px) {
  .container {
    max-width: 900px;
  }
  .feature-grid > div, .gallery > div, .team-section > div {
    min-width: 180px;
    padding: 18px 10px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
  .feature-grid, .gallery, .team-section {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding: 0 6px;
  }
  .section {
    padding: 28px 6px;
    margin-bottom: 36px;
  }
  .feature-grid, .gallery, .team-section {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid > div, .gallery > div, .team-section > div {
    min-width: 0;
    width: 100%;
    padding: 16px 8px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .footer-brand {
    align-items: flex-start;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 10px;
  }
  .cookie-banner .cookie-actions {
    flex-direction: column;
    gap: 10px;
  }
  .cookie-modal {
    padding: 18px 8px 18px 8px;
    min-width: 0;
    width: 98vw;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.1rem;
  }
  .cta-btn, .cookie-btn {
    font-size: 0.98rem;
    padding: 8px 16px;
  }
  .testimonial-card {
    font-size: 1rem;
    padding: 12px 6px;
  }
}

/* =========================
   MICRO-INTERACTIONS
   ========================= */
button, .cta-btn, .cookie-btn {
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}
button:active, .cta-btn:active, .cookie-btn:active {
  transform: scale(0.97);
}

/* =========================
   SCROLLBAR (Futuristic)
   ========================= */
::-webkit-scrollbar {
  width: 10px;
  background: #16202a;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(120deg, #57CC99 0%, #22577A 100%);
  border-radius: 8px;
}

/* =========================
   MISCELLANEOUS
   ========================= */
ul, ol {
  padding-left: 1.2em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
}
img {
  max-width: 100%;
  display: block;
}
address {
  font-style: normal;
}

/* =========================
   VISUAL DECORATIVE EFFECTS
   ========================= */
.section, .feature-grid > div, .gallery > div, .team-section > div, .card, .testimonial-card {
  position: relative;
  overflow: hidden;
}
.section:before, .feature-grid > div:before, .gallery > div:before, .testimonial-card:before {
  content: '';
  position: absolute;
  top: -40px; left: -40px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, #00eaff44 0%, transparent 80%);
  z-index: 0;
  pointer-events: none;
  filter: blur(4px);
}
.section:after, .feature-grid > div:after, .gallery > div:after, .testimonial-card:after {
  content: '';
  position: absolute;
  bottom: -40px; right: -40px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, #57CC9944 0%, transparent 80%);
  z-index: 0;
  pointer-events: none;
  filter: blur(4px);
}

/* =========================
   ACCESSIBILITY
   ========================= */
:focus {
  outline: 2px solid #00eaff;
  outline-offset: 2px;
}

/* =========================
   PRINT STYLES
   ========================= */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body { background: #fff !important; color: #222 !important; }
}
