/* =========================================================
   Automatix Landing Page Styles
   Structure:
   1. Design tokens and base styles
   2. Header and navigation
   3. Shared layout helpers
   4. Hero
   5. Solutions
   6. Use cases carousel
   7. Process timeline
   8. About / team
   9. Contact
   10. Footer
   11. Responsive adjustments
   ========================================================= */

/* 1. Design tokens and base styles */
:root {
  --cyan: #17C4FA;
  --cyan-soft: #36D7FF;
  --green: #22C55E;
  --gray: #565656;
  --navy: #0B2545;
  --slate: #1E293B;
  --orange: #FA4D17;
  --white: #ffffff;
  --light: #f5f8fb;
  --border: rgba(11, 37, 69, 0.12);
  --shadow: 0 24px 70px rgba(11, 37, 69, 0.14);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
img {
    -webkit-user-drag: none;
    user-select: none;
}
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input,
textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}
html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
#preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    justify-content: center;
    align-items: center;

    background: linear-gradient(
        135deg,
        #ffffff 0%,
        #f7fbff 60%,
        #eef7fb 100%
    );

    transition:
        opacity .5s ease,
        visibility .5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-content img {
    width: 220px;
    margin-bottom: 24px;

    animation: logoFloat 2.5s ease-in-out infinite;
}

.preloader-content p {
    color: #0B2545;
    font-weight: 700;
    letter-spacing: 2px;
}

.preloader-content::before {
    content: "";

    position: absolute;
    left: 50%;
    top: 50%;

    width: 350px;
    height: 350px;

    transform: translate(-50%, -50%);

    background:
        radial-gradient(
            circle,
            rgba(23,196,250,.25),
            transparent 70%
        );

    animation: pulseGlow 2s infinite;
}


#preloader {
  pointer-events: auto;
}

#preloader.hidden {
  pointer-events: none;
}

.preloader-content {
  position: relative;
  z-index: 1;
}

#preloader::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 350px;
  height: 350px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(23,196,250,.25), transparent 70%);
  animation: pulseGlow 2s infinite;
}

.preloader-content::before {
  content: none;
}

@keyframes pulseGlow {
    0%,100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.15);
    }
}

@keyframes logoFloat {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}
body {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--slate);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.site-header,
main,
section,
.footer {
  width: 100%;
  max-width: 100vw;
}

main,
section,
.footer {
  overflow-x: clip;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 28px;
  color: var(--navy);
  font-size: clamp(2.7rem, 7vw, 6.6rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

h2 {
  margin-bottom: 28px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.2rem;
}

/* 2. Header and navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 20px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.brand img {
  display: block;
  width: min(300px, 52vw);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--navy);
  font-weight: 700;
}

.nav a {
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--cyan);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 3. Shared layout helpers */
.container {
  /*width: min(1180px, calc(100% - 40px));*/
  margin: 0 auto;
}

.section {
  padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 72px);
}

.section-header {
  max-width: 800px;
  margin: 0 auto 60px;
  padding-top: 20px;
  text-align: center;
}

.section-header span,
.eyebrow {
  color: var(--orange) !important;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 14px;
}

.section-header h2 {
  margin-top: 15px;
}

.section-header p {
  margin-top: 20px;
  color: var(--gray);
  line-height: 1.8;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--cyan), #0f93d1);
  box-shadow: 0 14px 36px rgba(23, 196, 250, 0.32);
}

.button.secondary {
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border);
}

.hero-content,
.split > *,
.contact > *,
.card,
.team-card,
.footer-top > *,
.footer-bottom {
  min-width: 0;
}

/* 4. Hero */
.hero {
  overflow: hidden;
  min-height: calc(100vh - 90px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  background:
    radial-gradient(circle at 75% 20%, rgba(23, 196, 250, 0.2), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #f7fbff 58%, #eef7fb 100%);
}

.lead {
  max-width: 720px;
  color: var(--gray);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-machine {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  isolation: isolate;
}

.hero-machine::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(23, 196, 250, 0.45) 0%, rgba(23, 196, 250, 0.25) 30%, rgba(23, 196, 250, 0.08) 60%, transparent 100%);
  filter: blur(80px);
}

.hero-machine::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 20px;
  z-index: 0;
  width: 70%;
  height: 40px;
  background: rgba(0, 0, 0, 0.35);
  filter: blur(25px);
  transform: translateX(-50%);
}

.hero-machine img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 520px;
  filter:
    drop-shadow(0 0 25px rgba(23, 196, 250, 0.35))
    drop-shadow(0 25px 50px rgba(0, 0, 0, 0.35));
}

/* 5. Solutions */
.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card,
.contact-form {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 16px 50px rgba(11, 37, 69, 0.08);
}

.card p,
.contact p {
  color: var(--gray);
  line-height: 1.7;
}

/* 6. Use cases carousel */
.use-cases {
  overflow: hidden;
  padding: 110px 0 25px;
  background:
    radial-gradient(circle at 20% 20%, rgba(23, 196, 250, 0.12), transparent 35%),
    #f8fbff;
}

.use-case-carousel {
  max-width: 100%;
  margin-top: 60px;
  padding-bottom: 50px;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.use-case-track {
  display: flex;
  gap: 26px;
  width: max-content;
  animation: useCaseScroll 28s linear infinite;
}

.use-case-carousel:hover .use-case-track {
  animation-play-state: paused;
}

.use-case-card {
  width: 320px;
  min-height: 230px;
  padding: 32px;
  border: 1px solid rgba(23, 196, 250, 0.18);
  border-radius: 26px;
  background: var(--white);
  box-shadow: 0 18px 45px rgba(11, 37, 69, 0.08);
}

.use-case-card span {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2px;
}

.use-case-card p {
  color: var(--gray);
  line-height: 1.7;
}

@keyframes useCaseScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* 7. Process timeline */
.process {
  padding: 110px 0;
  background: var(--light);
}

.process-timeline {
  position: relative;
  min-height: 420px;
  margin-top: 70px;
}

.timeline-line {
  position: absolute;
  inset: 70px 0 auto 0;
  z-index: 0;
  width: 100%;
  height: 220px;
  filter: drop-shadow(0 0 18px rgba(23, 196, 250, 0.35));
}

.timeline-step {
  position: absolute;
  z-index: 1;
  width: 230px;
  padding: 22px;
  border: 1px solid rgba(23, 196, 250, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 45px rgba(11, 37, 69, 0.12);
  backdrop-filter: blur(12px);
}

.timeline-step::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 28px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 8px rgba(23, 196, 250, 0.16);
}

.timeline-step strong {
  display: block;
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.timeline-step p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.65;
}

.step-1 {
  left: 2%;
  top: 120px;
}

.step-2 {
  left: 27%;
  top: 10px;
}

.step-3 {
  left: 52%;
  top: 145px;
}

.step-4 {
  right: 2%;
  top: 35px;
}

.step-1::before {
  background: var(--navy);
  box-shadow: 0 0 0 8px rgba(11, 37, 69, 0.16);
}

.step-2::before {
  background: var(--cyan);
  box-shadow: 0 0 0 8px rgba(23, 196, 250, 0.16);
}

.step-3::before {
  background: var(--cyan-soft);
  box-shadow: 0 0 0 8px rgba(54, 215, 255, 0.16);
}

.step-4::before {
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.16);
}

.step-1 strong { color: var(--navy); }
.step-2 strong { color: var(--cyan); }
.step-3 strong { color: var(--cyan-soft); }
.step-4 strong { color: var(--green); }

/* 8. About / team */
.about {
  padding: 120px 0;
  background: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;

}

.team-card {
  position: relative;
  min-height: 280px;
  margin: 0 20px;
  padding: 35px;
  border: 1px solid rgba(23, 196, 250, 0.15);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(11, 37, 69, 0.05);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  border-color: var(--cyan);
  box-shadow: 0 15px 40px rgba(23, 196, 250, 0.15);
  transform: translateY(-6px);
}

.team-card h3 {
  padding-right: 90px;
}

.team-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--orange);
  font-size: 0.85rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.team-card p {
  color: var(--gray);
  line-height: 1.7;
}

/*.team-avatar {
  position: absolute;
  top: 25px;
  right: 25px;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 3px solid var(--cyan);
  border-radius: 50%;
  color: var(--navy);
  background: var(--white);
  box-shadow:
    0 0 0 6px rgba(23, 196, 250, 0.08),
    0 8px 20px rgba(11, 37, 69, 0.15);
  font-weight: 900;
}*/
.team-avatar {
  position: absolute;
  top: 25px;
  right: 25px;

  width: 72px;
  height: 72px;

  border: 3px solid var(--cyan);
  border-radius: 50%;

  overflow: hidden;

  background: var(--white);

  box-shadow:
    0 0 0 6px rgba(23, 196, 250, 0.08),
    0 8px 20px rgba(11, 37, 69, 0.15);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-avatar span {
  display: none;

  width: 100%;
  height: 100%;

  align-items: center;
  justify-content: center;

  color: var(--navy);
  font-weight: 900;
  font-size: 1.1rem;
}

.team-avatar.fallback span {
  display: flex;
}
/* Warum Automatix */
.why-automatix {
  padding: 110px 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(23, 196, 250, 0.12), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-left:20px;
  margin-right:20px;
}

.why-card {
  padding: 30px;
  border: 1px solid rgba(23, 196, 250, 0.18);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(11, 37, 69, 0.08);
}

.why-card h3 {
  margin-bottom: 12px;
  color: var(--navy);
}

.why-card p {
  margin: 0;
  color: var(--gray);
  line-height: 1.7;
}

/* Vertrauensbox */
.trust-bar {
  padding: 42px clamp(20px, 5vw, 72px);
  background: var(--navy);
  color: #ffffff;
}

.trust-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px;
  border: 1px solid rgba(54, 215, 255, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 800;
  line-height: 1.5;
}

.trust-item-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.trust-bar small {
  display: block;
  max-width: 1180px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* Mobile */
@media (max-width: 1000px) {
  .why-grid,
  .trust-bar .container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .why-automatix {
    padding: 80px 0;
  }

  .why-grid,
  .trust-bar .container {
    grid-template-columns: 1fr;
  }

  .why-card {
    padding: 24px;
  }

  .trust-bar {
    padding: 34px 20px;
  }
}
/* 9. Contact */
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: 48px;
}

.contact-form {
  display: grid;
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  outline: none;
  color: var(--slate);
  background: #fbfdff;
  font: inherit;
}

input:focus,
textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(23, 196, 250, 0.16);
}

/* 9b. USP Strip */
.usp-strip {
  background: var(--navy);
  padding-top: clamp(48px, 6vw, 40px);
  padding-bottom: clamp(48px, 6vw, 80px);
}

.usp-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.usp-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: var(--white);
}

.usp-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.usp-item strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--white);
}

.usp-item p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  margin: 0;
  line-height: 1.55;
}

/* 9c. Contact trust items */
.contact-trust {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.contact-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--slate);
}

.contact-trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), #0f93d1);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 900;
  flex-shrink: 0;
}

.contact-disclaimer {
  margin: 0;
  font-size: 0.85rem;
  color: var(--gray);
  text-align: center;
}

/* 10. Footer */
.footer {
  padding: 80px 0 30px;
  color: var(--white);
  background: var(--navy);
  
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
  margin-left:60px;
}

.footer-brand img {
  width: 150px;
  margin-bottom: 18px;
}

.footer-brand p,
.footer-links a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-brand p {
  line-height: 1.8;
}

.footer-company {
  margin-top: 20px;
}

.footer-company p {
  margin-bottom: 5px;
  font-size: 0.95rem;
}

.footer-links h4 {
  margin: 0 0 20px;
  color: var(--cyan);
}

.footer-links ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-bottom {
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

/* 11. Responsive adjustments */
@media (max-width: 900px) {
  .section {
    padding-inline: 20px;
  }

  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 14px;
  }

  .brand img {
    width: min(240px, 62vw);
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    grid-column: 1 / -1;
    display: grid;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    gap: 0;
    border: 0 solid var(--border);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: none;
    opacity: 0;
    transition: max-height 0.25s ease, opacity 0.2s ease, border-width 0.2s ease, box-shadow 0.2s ease;
  }

  .site-header.nav-open .nav {
    max-height: 380px;
    border-width: 1px;
    box-shadow: 0 18px 45px rgba(11, 37, 69, 0.12);
    opacity: 1;
  }

  .nav a {
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .hero,
  .split,
  .contact,
  .cards {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-machine {
    padding-inline: 0;
  }

  .hero-machine::before {
    width: min(520px, 120vw);
    height: min(520px, 120vw);
  }

  .process-timeline {
    min-height: auto;
    display: grid;
    gap: 24px;
    margin: 45px 10px 0;

  }

  .timeline-line {
    display: none;
  }

  .timeline-step {
    position: relative;
    width: auto;
    inset: auto;
  }

  .timeline-step::before {
    top: 24px;
    right: 24px;
    left: auto;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 35px;
    margin-left: 20px;
  }
}

@media (max-width: 700px) {
  .use-case-card {
    width: 260px;
  }

  .team-card {
    margin: 0;
  }
}


/* Mobile overflow safety: prevents wide decorative elements from creating horizontal scroll. */
@media (max-width: 700px) {
  .site-header {
    padding-inline: 16px;
  }

  .container {
    width: min(100% - 32px, 1180px);
  }

  .contact-form,
  .card,
  .team-card,
  .timeline-step {
    min-width: 0;
  }
}

/* Hard mobile overflow guard. */
@media (max-width: 900px) {
  .section {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero-machine {
    max-width: 100%;
    padding: 1rem;
    overflow: visible;
  }

  .hero-machine::before {
    width: 90vw;
    height: 90vw;
  }

  .footer-top {
    margin-left: 0;
  }
}

/* Restores the soft machine glow on mobile without reintroducing horizontal scroll. */
@media (max-width: 900px) {
  .hero {
    overflow-x: hidden;
    overflow-y: visible;
  }

  .hero-machine::before {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(620px, 130vw);
    height: min(620px, 130vw);
  }

  .hero-machine::after {
    width: min(360px, 80vw);
  }
}


/* 12. Subpages */
.subpage-hero {
  min-height: 48vh;
  display: grid;
  align-content: center;
  background:
    radial-gradient(circle at 80% 15%, rgba(23, 196, 250, 0.20), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f7fbff 58%, #eef7fb 100%);
}

.subpage-hero h1 {
  max-width: 980px;
}

.subpage-content {
  background: var(--white);
}

.content-shell {
  width: min(980px, 100%);
  margin: 0 auto;
}

.content-shell h2 {
  margin-top: 42px;
  margin-bottom: 14px;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
}

.content-shell p,
.content-shell li {
  color: var(--gray);
  line-height: 1.8;
}

.content-shell a {
  color: var(--cyan);
  font-weight: 800;
}

.notice-card,
.cta-panel {
  margin-bottom: 34px;
  padding: 28px;
  border: 1px solid rgba(23, 196, 250, 0.20);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(23, 196, 250, 0.10), transparent 40%),
    #f8fbff;
  box-shadow: 0 16px 50px rgba(11, 37, 69, 0.08);
}

.feature-grid,
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.catalog-card {
  padding: 30px;
  border: 1px solid rgba(23, 196, 250, 0.18);
  border-radius: 26px;
  background: var(--white);
  box-shadow: 0 18px 45px rgba(11, 37, 69, 0.08);
}

.catalog-card span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.catalog-card p {
  color: var(--gray);
  line-height: 1.7;
}

.cta-panel {
  margin-top: 44px;
  margin-bottom: 0;
}

.cta-panel h2 {
  margin-top: 0;
}

@media (max-width: 900px) {
  .feature-grid,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .subpage-hero {
    min-height: auto;
  }
}


/* 13. Product catalog template */
.catalog-hero {
  min-height: 62vh;
}

.catalog-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.catalog-overview {
  background:
    radial-gradient(circle at 15% 10%, rgba(23, 196, 250, 0.12), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.catalog-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.catalog-category-card {
  display: block;
  min-height: 245px;
  padding: 30px;
  border: 1px solid rgba(23, 196, 250, 0.18);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 18px 45px rgba(11, 37, 69, 0.08);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.catalog-category-card:hover {
  border-color: var(--cyan);
  box-shadow: 0 22px 54px rgba(23, 196, 250, 0.16);
  transform: translateY(-5px);
}

.catalog-category-card span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.catalog-category-card p {
  color: var(--gray);
  line-height: 1.7;
}

.catalog-template {
  background: var(--white);
}

.catalog-section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  margin-bottom: 56px;
}

.catalog-section-head p {
  max-width: 760px;
  color: var(--gray);
  line-height: 1.8;
}

.product-category {
  scroll-margin-top: 120px;
  padding: 34px 0 54px;
  border-top: 1px solid var(--border);
}

.product-category-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 28px;
  margin-bottom: 28px;
}

.product-category-header span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.product-category-header h3 {
  margin-bottom: 10px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
}

.product-category-header p {
  max-width: 760px;
  color: var(--gray);
  line-height: 1.75;
}

.category-download {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 210px;
  padding: 13px 18px;
  border: 1px solid rgba(23, 196, 250, 0.28);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(23, 196, 250, 0.08);
  font-weight: 900;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease;
}

.category-download:hover {
  background: rgba(23, 196, 250, 0.14);
  transform: translateY(-2px);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.product-card {
  overflow: hidden;
  border: 1px solid rgba(23, 196, 250, 0.18);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 18px 45px rgba(11, 37, 69, 0.08);
}

.product-image-placeholder {
  display: grid;
  place-items: center;
  min-height: 210px;
  color: rgba(11, 37, 69, 0.48);
  background:
    radial-gradient(circle at 50% 40%, rgba(23, 196, 250, 0.22), transparent 42%),
    linear-gradient(135deg, #f8fbff 0%, #e9f8ff 100%);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card-body {
  padding: 26px;
}

.product-tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(23, 196, 250, 0.1);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card h4 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 1.25rem;
}

.product-card p {
  color: var(--gray);
  line-height: 1.7;
}

.product-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--gray);
  line-height: 1.55;
}

.catalog-note {
  margin-top: 28px;
  padding: 28px;
  border: 1px solid rgba(250, 77, 23, 0.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(250, 77, 23, 0.08), transparent 38%),
    #fffaf7;
}

.catalog-note h3 {
  margin-bottom: 10px;
}

.catalog-note p {
  margin-bottom: 0;
  color: var(--gray);
  line-height: 1.75;
}

@media (max-width: 1100px) {
  .catalog-category-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-section-head,
  .product-category-header {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 700px) {
  .catalog-hero {
    min-height: auto;
  }

  .catalog-category-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .catalog-category-card {
    min-height: auto;
  }

  .product-category {
    scroll-margin-top: 100px;
    padding-bottom: 44px;
  }

  .category-download {
    width: 100%;
  }

  .product-image-placeholder {
    min-height: 180px;
  }
}

/* USP strip + contact responsive */
@media (max-width: 900px) {
  .usp-strip-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .usp-strip-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 255px;
  }
}

/* Language switcher and mobile scroll top */
.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
}

.language-switcher button {
  min-width: 38px;
  border: 0;
  border-radius: 999px;
  padding: 8px 10px;
  color: var(--navy);
  background: transparent;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.language-switcher button.is-active {
  color: var(--white);
  background: var(--navy);
}

.scroll-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(23, 196, 250, 0.32);
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--cyan), #0f93d1);
  box-shadow: 0 18px 38px rgba(11, 37, 69, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (min-width: 901px) {
  .scroll-top {
    display: none;
  }
}

@media (max-width: 900px) {
  .language-switcher {
    justify-self: end;
  }

  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .nav {
    grid-column: 1 / -1;
  }
}

@media (max-width: 420px) {
  .language-switcher button {
    min-width: 34px;
    padding: 7px 8px;
  }

  .scroll-top {
    right: 14px;
    bottom: 14px;
  }
}


/* Animated stats */
.animated-stats {
  padding: 92px clamp(20px, 5vw, 72px);
  background:
    radial-gradient(circle at 85% 20%, rgba(23, 196, 250, 0.16), transparent 34%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.stats-intro {
  max-width: 760px;
  margin-bottom: 42px;
}

.stats-intro h2 {
  margin-top: 14px;
  margin-bottom: 18px;
}

.stats-intro p {
  color: var(--gray);
  line-height: 1.75;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  padding: 30px;
  border: 1px solid rgba(23, 196, 250, 0.18);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 45px rgba(11, 37, 69, 0.08);
}

.stat-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--navy);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.stat-card p {
  margin: 0;
  color: var(--gray);
  line-height: 1.6;
}

.product-detail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  color: var(--navy);
  font-weight: 900;
}

.product-detail-link:hover {
  color: var(--cyan);
}

.product-detail-hero {
  background:
    radial-gradient(circle at 78% 30%, rgba(23, 196, 250, 0.2), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f7fbff 58%, #eef7fb 100%);
}

.product-detail-hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.product-detail-copy h1 {
  font-size: clamp(2.6rem, 6vw, 5.6rem);
}

.product-detail-visual {
  padding: 32px;
  border: 1px solid rgba(23, 196, 250, 0.18);
  border-radius: 34px;
  background:
    radial-gradient(circle, rgba(23, 196, 250, 0.16), transparent 65%),
    rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.product-detail-visual img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: contain;
}

.detail-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 38px;
  align-items: start;
}

.detail-sidebar {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 20px;
}

.detail-box,
.detail-section {
  padding: 30px;
  border: 1px solid rgba(23, 196, 250, 0.16);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 16px 45px rgba(11, 37, 69, 0.07);
}

.detail-box h3,
.detail-section h2 {
  margin-bottom: 18px;
}

.detail-box ul {
  margin: 0;
  padding-left: 18px;
  color: var(--gray);
  line-height: 1.9;
}

.detail-main {
  display: grid;
  gap: 22px;
}

.detail-section p {
  color: var(--gray);
  line-height: 1.8;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.feature-list div,
.use-pill-row span {
  padding: 14px 16px;
  border: 1px solid rgba(23, 196, 250, 0.16);
  border-radius: 16px;
  background: #f8fbff;
  color: var(--navy);
  font-weight: 800;
}

.use-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.detail-note {
  background: linear-gradient(135deg, rgba(23, 196, 250, 0.08), rgba(255, 255, 255, 0.96));
}

.category-download.full {
  width: 100%;
  text-align: center;
}

@media (max-width: 1000px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-detail-hero-grid,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .animated-stats {
    padding: 72px 20px;
  }

  .stats-grid,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .stat-card,
  .detail-box,
  .detail-section {
    padding: 24px;
  }

  .product-detail-visual {
    padding: 20px;
  }
}

/* Theme toggle */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.86);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.theme-toggle:hover {
  border-color: rgba(23, 196, 250, 0.36);
  box-shadow: 0 0 0 4px rgba(23, 196, 250, 0.1);
}

.theme-toggle-icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
}

.theme-toggle-icon::before {
  content: "☾";
  line-height: 1;
}

@media (max-width: 900px) {
  .theme-toggle {
    justify-self: end;
  }

  .site-header {
    grid-template-columns: 1fr auto auto auto;
  }
}

@media (max-width: 520px) {
  .theme-toggle {
    width: 42px;
    min-width: 42px;
    padding: 0;
    justify-content: center;
  }

  .theme-toggle-text {
    display: none;
  }
}
