/* PLUNIQ Design System — Tailwind-inspired utility architecture */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-white: #ffffff;
  --color-gray-50: #fafafa;
  --color-gray-100: #f5f5f7;
  --color-gray-200: #e8e8ed;
  --color-gray-300: #d2d2d7;
  --color-gray-400: #aeaeb2;
  --color-gray-500: #86868b;
  --color-gray-600: #6e6e73;
  --color-gray-700: #48484a;
  --color-gray-800: #3a3a3c;
  --color-gray-900: #1d1d1f;
  --color-anthracite: #1c1c1e;
  --color-green: #2a9d6e;
  --color-green-dark: #1f7a55;
  --color-green-light: #e8f5ef;
  --color-green-subtle: #f0faf5;

  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.1);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 72px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-gray-800);
  background: var(--color-white);
  max-width: 100%;
  width: 100%;
  overscroll-behavior-x: none;
  position: relative;
}

main {
  max-width: 100%;
  width: 100%;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

a, button {
  -webkit-tap-highlight-color: rgba(42, 157, 110, 0.12);
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.container-narrow {
  max-width: 800px;
}

.container-wide {
  max-width: 1400px;
}

/* Typography */
.text-display {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--color-anthracite);
}

.text-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--color-anthracite);
}

.text-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-anthracite);
}

.text-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-gray-600);
}

.text-body {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-gray-600);
}

.text-small {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-gray-500);
}

.text-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-green);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-green);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(42, 157, 110, 0.3);
}

.btn-primary:hover {
  background: var(--color-green-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(42, 157, 110, 0.35);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-anthracite);
  border: 1.5px solid var(--color-gray-200);
}

.btn-secondary:hover {
  border-color: var(--color-gray-300);
  background: var(--color-gray-50);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.0625rem;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 22px;
  width: auto;
  display: block;
}

@media (min-width: 768px) {
  .logo-img {
    height: 26px;
  }
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 36px;
}

.nav-desktop a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-gray-700);
}

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

.nav-desktop a.btn-primary,
.nav-desktop a.btn-primary:hover,
.nav-mobile a.btn-primary,
.nav-mobile a.btn-primary:hover {
  color: var(--color-white);
  text-decoration: none;
}

.nav-cta {
  margin-left: 8px;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-anthracite);
  border-radius: 2px;
  transition: all var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 100vw;
  background: var(--color-white);
  padding: 32px 24px;
  transform: translate3d(100%, 0, 0);
  visibility: hidden;
  pointer-events: none;
  transition: transform var(--transition), visibility var(--transition);
  z-index: 99;
  display: flex;
  flex-direction: column;
}

.nav-mobile.open {
  transform: translate3d(0, 0, 0);
  visibility: visible;
  pointer-events: auto;
}

.nav-mobile a:not(.btn) {
  display: block;
  padding: 16px 0;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-anthracite);
  border-bottom: 1px solid var(--color-gray-100);
}

.nav-mobile .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: auto;
  padding: 16px 28px;
  border-bottom: none;
  font-size: 1.0625rem;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }
}

/* Hero */
.hero {
  padding: calc(var(--header-height) + 48px) 0 72px;
  background: linear-gradient(180deg, var(--color-gray-50) 0%, var(--color-white) 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

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

.hero-content .text-subtitle {
  margin-top: 24px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 40px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual img,
.hero-visual svg {
  width: 100%;
  max-width: 380px;
}

.hero-photo {
  max-width: 360px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.hero-glow {
  position: absolute;
  width: 80%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(42, 157, 110, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* Platform logos */
.platforms {
  padding: 72px 0;
  border-top: 1px solid var(--color-gray-100);
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-gray-50) 100%);
}

.platforms-label {
  text-align: center;
  margin-bottom: 40px;
  color: var(--color-gray-600);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}

.platform-item {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.platform-item:hover {
  transform: translateY(-3px);
}

.platform-item img,
.platform-item svg {
  width: 100%;
  max-width: 220px;
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 16px rgba(42, 157, 110, 0.22));
}

@media (min-width: 768px) {
  .platforms-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    max-width: 900px;
  }
}

/* Sections */
.section {
  padding: 96px 0;
  width: 100%;
  max-width: 100%;
}

.section-alt {
  background: var(--color-gray-50);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-header .text-subtitle {
  margin-top: 16px;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  text-align: center;
  justify-items: center;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--color-green);
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  justify-self: center;
}

.step-visual {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.step-visual img,
.step-visual svg {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  display: block;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  .hero-content {
    text-align: left;
  }

  .hero-content .text-subtitle {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .step {
    text-align: left;
    justify-items: start;
  }

  .step-number {
    justify-self: start;
  }
}

/* Feature cards */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--color-green);
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-anthracite);
  margin-bottom: 8px;
}

.card p {
  font-size: 0.9375rem;
  color: var(--color-gray-600);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cards-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .cards-grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Product cards */
.product-card {
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
  min-width: 0;
  max-width: 100%;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.product-card-visual {
  background: linear-gradient(135deg, var(--color-gray-50) 0%, var(--color-green-subtle) 100%);
  padding: 48px 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 280px;
}

.product-card-visual img {
  width: 100%;
  max-width: 220px;
  height: auto;
}

.product-card-content {
  padding: 32px;
}

.product-card-content h3 {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--color-anthracite);
  margin-bottom: 8px;
}

.product-card-content p {
  font-size: 0.9375rem;
  color: var(--color-gray-600);
  margin-bottom: 16px;
}

.product-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-green-light);
  color: var(--color-green-dark);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

/* Roadmap */
.roadmap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.roadmap-item {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  border: 1px solid var(--color-gray-100);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.roadmap-item:hover {
  border-color: var(--color-green);
  box-shadow: var(--shadow-sm);
}

.roadmap-item svg {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  color: var(--color-green);
}

.roadmap-item h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-anthracite);
}

.roadmap-item p {
  font-size: 0.8125rem;
  color: var(--color-gray-500);
  margin-top: 4px;
}

@media (min-width: 768px) {
  .roadmap-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Waitlist */
.waitlist {
  background: linear-gradient(135deg, var(--color-anthracite) 0%, #2d2d30 100%);
  color: var(--color-white);
  border-radius: var(--radius-2xl);
  padding: 64px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.waitlist::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(42, 157, 110, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.waitlist .text-headline,
.waitlist .text-subtitle {
  color: var(--color-white);
  position: relative;
}

.waitlist .text-subtitle {
  opacity: 0.8;
  margin-top: 16px;
}

.waitlist-form {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 12px;
  max-width: 480px;
  margin: 40px auto 0;
  position: relative;
}

.waitlist-form input {
  width: 100%;
  padding: 18px 24px;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  outline: none;
  transition: background var(--transition);
}

.waitlist-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.waitlist-form input:focus {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 2px rgba(42, 157, 110, 0.5);
}

.waitlist-form input.is-invalid {
  box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.85);
  background: rgba(255, 107, 107, 0.08);
}

.waitlist-form .btn-primary {
  width: 100%;
}

.waitlist-success {
  display: none;
  text-align: center;
  padding: 40px 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-2xl);
  margin-top: 32px;
  position: relative;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.waitlist-success.visible {
  display: block;
  animation: successReveal 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.waitlist-success-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  animation: successPop 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.waitlist-success-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 24px rgba(42, 157, 110, 0.45));
}

.waitlist-success h3 {
  font-size: 1.625rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.waitlist-success-lead {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 8px;
}

.waitlist-success-sub {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
  max-width: 360px;
  margin: 0 auto;
}

.waitlist-error {
  color: #ff8a8a;
  font-size: 0.875rem;
  margin: 0;
  display: none;
  width: 100%;
  flex-basis: 100%;
  text-align: left;
  line-height: 1.4;
}

.waitlist-error.visible {
  display: block;
}

.waitlist-success-edit {
  margin-top: 20px;
  padding: 0;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color var(--transition);
}

.waitlist-success-edit:hover {
  color: var(--color-white);
}

@media (min-width: 640px) {
  .waitlist-form {
    flex-direction: row;
    align-items: center;
    max-width: 560px;
  }

  .waitlist-form input {
    flex: 1;
    min-width: 0;
  }

  .waitlist-form .btn-primary {
    width: auto;
    flex-shrink: 0;
  }

  .waitlist-error {
    order: 3;
  }
}

/* Forms (contact/support) */
.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-700);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  font-size: 1rem;
  border: 1.5px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  background: var(--color-white);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-green);
  box-shadow: 0 0 0 3px rgba(42, 157, 110, 0.15);
}

.form-group textarea {
  min-height: 160px;
  resize: vertical;
}

.form-success {
  display: none;
  padding: 32px;
  background: var(--color-green-light);
  border-radius: var(--radius-lg);
  text-align: center;
}

.form-success.visible {
  display: block;
  animation: fadeIn 0.5s ease;
}

.form-success h3 {
  color: var(--color-green-dark);
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.form-error {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 8px;
  display: none;
}

.form-error.visible {
  display: block;
}

/* Page hero (subpages) */
.page-hero {
  padding: calc(var(--header-height) + 64px) 0 64px;
  background: var(--color-gray-50);
  text-align: center;
}

.page-hero .text-subtitle {
  margin-top: 16px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* Content pages */
.content-section {
  padding: 64px 0 96px;
}

.content-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-anthracite);
  margin: 48px 0 16px;
}

.content-section h2:first-child {
  margin-top: 0;
}

.content-section h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-anthracite);
  margin: 32px 0 12px;
}

.content-section p,
.content-section li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-gray-600);
  margin-bottom: 16px;
}

.content-section ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.content-section a:not(.btn) {
  color: var(--color-green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.content-section a:not(.btn):hover {
  color: var(--color-green-dark);
}

.content-section a.btn-primary,
.content-section a.btn-primary:hover {
  color: var(--color-white);
  text-decoration: none;
}

/* Footer */
.footer {
  background: var(--color-gray-50);
  border-top: 1px solid var(--color-gray-100);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9375rem;
  color: var(--color-gray-600);
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-gray-500);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.9375rem;
  color: var(--color-gray-700);
  padding: 6px 0;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--color-green);
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--color-white);
  border-radius: var(--radius-full);
  color: var(--color-gray-600);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.footer-social a:hover {
  color: var(--color-green);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-instagram {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-gray-700);
  transition: color var(--transition);
}

.footer-instagram:hover {
  color: var(--color-green);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--color-gray-200);
  font-size: 0.8125rem;
  color: var(--color-gray-500);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* Tech illustration section */
.tech-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.tech-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.tech-item-visual {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.tech-item-visual img,
.tech-item-visual svg {
  max-width: 100%;
  width: 100%;
  height: auto;
}

@media (min-width: 768px) {
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .tech-item {
    text-align: center;
    padding: 40px 24px;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes successPop {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  70% {
    transform: scale(1.08);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes successReveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-16 { margin-bottom: 16px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-green);
  transition: gap var(--transition);
}

.link-arrow:hover {
  gap: 10px;
}

.link-arrow svg {
  width: 16px;
  height: 16px;
}

/* Contact layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-item svg {
  width: 24px;
  height: 24px;
  color: var(--color-green);
  flex-shrink: 0;
  margin-top: 2px;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1.5fr;
  }

  .contact-grid-reverse .contact-grid-visual {
    order: -1;
  }
}

@media (max-width: 767px) {
  .contact-grid-reverse .contact-grid-visual {
    order: 1;
  }

  .contact-grid-reverse .animate-delay-1 {
    order: 0;
  }
}

.contact-grid.align-center {
  align-items: center;
}
.product-section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-green);
  font-weight: 600;
}

.media-center {
  margin-left: auto;
  margin-right: auto;
}

/* About page */
.about-visual {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 48px;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Product page */
.product-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 24px 0 8px;
}

.product-nav a {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-700);
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-full);
  transition: all var(--transition);
}

.product-nav a:hover {
  border-color: var(--color-green);
  color: var(--color-green);
}

.ecosystem-visual {
  max-width: 360px;
  margin: 0 auto 48px;
  padding: 0;
  background: none;
  border: none;
}

.ecosystem-visual img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 32px rgba(42, 157, 110, 0.12));
}

.roadmap-status {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 10px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
}

.roadmap-status--live {
  background: var(--color-green-light);
  color: var(--color-green-dark);
}

.roadmap-status--soon {
  background: var(--color-gray-100);
  color: var(--color-gray-600);
}

.tech-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .tech-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tech-strip-item {
  text-align: center;
  padding: 32px 24px;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-gray-100);
}

.tech-strip-item img {
  width: 100%;
  max-width: 220px;
  height: auto;
  margin: 0 auto 16px;
  display: block;
}

.tech-strip-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-anthracite);
  margin-bottom: 8px;
}

.tech-strip-item p {
  font-size: 0.875rem;
  color: var(--color-gray-600);
  line-height: 1.5;
}

/* About page stats */
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .about-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.about-stat {
  text-align: center;
  padding: 24px 16px;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-gray-100);
}

.about-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-green);
  margin-bottom: 4px;
}

.about-stat span {
  font-size: 0.8125rem;
  color: var(--color-gray-600);
  line-height: 1.4;
}

.about-mission-grid {
  display: grid;
  gap: 32px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .about-mission-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
  }
}

.about-mission-grid h2 {
  margin-top: 0;
}

.about-mission-grid h2:not(:first-child) {
  margin-top: 32px;
}

@media (min-width: 768px) {
  .about-mission-grid h2:not(:first-child) {
    margin-top: 0;
  }
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--color-gray-100);
  padding: 24px 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-anthracite);
  padding: 0;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--color-gray-400);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-top: 16px;
}

.faq-answer p {
  font-size: 0.9375rem;
  color: var(--color-gray-600);
  line-height: 1.6;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  padding: 12px 24px;
  background: var(--color-green);
  color: var(--color-white);
  border-radius: var(--radius-md);
  z-index: 200;
  font-weight: 600;
}

.skip-link:focus {
  top: 16px;
}

@media (max-width: 767px) {
  body.menu-open {
    overflow: hidden;
  }
}

/* ─── Mobile Optimierung ─── */
@media (max-width: 767px) {
  :root {
    --header-height: 64px;
  }

  html {
    scroll-behavior: auto;
  }

  body {
    font-size: 16px;
  }

  .header {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.98);
  }

  /* Scroll-Animationen auf Mobile deaktivieren — verhindert Scroll-Hänger */
  .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }

  .waitlist-success.visible {
    animation: none;
  }

  .waitlist-success-icon {
    animation: none;
  }

  .container {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }

  .nav-mobile {
    padding: 24px max(24px, env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-mobile .btn {
    margin-top: 32px;
  }

  .hero {
    padding: calc(var(--header-height) + 32px) 0 48px;
  }

  .hero-grid {
    gap: 32px;
  }

  .hero-content .text-subtitle {
    margin-top: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 28px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-photo {
    max-width: min(100%, 300px);
  }

  .platforms {
    padding: 48px 0;
  }

  .platforms-label {
    margin-bottom: 28px;
    font-size: 0.8125rem;
    line-height: 1.4;
    padding: 0 8px;
  }

  .platforms-grid {
    gap: 12px;
  }

  .platform-item img,
  .platform-item svg {
    max-width: 100%;
  }

  .section {
    padding: 56px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-header .text-subtitle {
    margin-top: 12px;
  }

  .steps {
    gap: 0;
  }

  .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    padding: 48px 0;
  }

  .step:first-child {
    padding-top: 0;
  }

  .step:last-child {
    padding-bottom: 0;
  }

  .step:not(:last-child) {
    border-bottom: 1px solid var(--color-gray-200);
  }

  .step-number {
    order: 1;
    margin-bottom: 0;
    width: 48px;
    height: 48px;
    font-size: 1.125rem;
    box-shadow: 0 4px 14px rgba(42, 157, 110, 0.22);
  }

  .step-visual {
    order: 2;
    padding: 20px 16px;
  }

  .step .text-title {
    order: 3;
    width: 100%;
  }

  .step .text-body {
    order: 4;
    width: 100%;
  }

  .cards-grid,
  .cards-grid-3,
  .cards-grid-4 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .roadmap-grid {
    grid-template-columns: 1fr;
  }

  .tech-grid {
    gap: 20px;
  }

  .tech-item {
    padding: 24px 16px;
    text-align: center;
    gap: 16px;
  }

  .tech-item .text-title,
  .tech-item .text-body {
    width: 100%;
  }

  .card {
    padding: 24px;
  }

  .card h3 {
    font-size: 1.0625rem;
  }

  .tech-item {
    padding: 24px 20px;
    gap: 16px;
  }

  .tech-item-visual img,
  .tech-item-visual svg {
    max-width: 100%;
  }

  .product-card-visual {
    padding: 32px 20px;
    min-height: 220px;
  }

  .product-card-content {
    padding: 24px;
  }

  .product-card-content h3 {
    font-size: 1.25rem;
  }

  .waitlist {
    padding: 40px 20px;
    border-radius: var(--radius-xl);
  }

  .waitlist-form {
    margin-top: 28px;
  }

  .waitlist-success {
    padding: 28px 20px;
  }

  .waitlist-success h3 {
    font-size: 1.375rem;
  }

  .page-hero {
    padding: calc(var(--header-height) + 40px) 0 40px;
  }

  .content-section {
    padding: 48px 0 64px;
  }

  .product-nav {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
    gap: 8px;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
  }

  .product-nav a {
    flex-shrink: 0;
    padding: 8px 16px;
    font-size: 0.8125rem;
  }

  .contact-grid {
    gap: 32px;
  }

  .contact-grid .btn {
    width: 100%;
  }

  .roadmap-item {
    padding: 20px 16px;
  }

  .roadmap-item p {
    font-size: 0.75rem;
  }

  .tech-strip-item {
    padding: 24px 20px;
  }

  .about-stat {
    padding: 20px 12px;
  }

  .about-stat strong {
    font-size: 1.25rem;
  }

  .footer {
    padding: 48px 0 24px;
  }

  .footer-grid {
    gap: 32px;
    margin-bottom: 32px;
  }

  .footer-bottom {
    text-align: center;
  }

  .faq-question {
    font-size: 1rem;
    gap: 12px;
    padding-right: 4px;
  }

  .btn-lg {
    padding: 16px 24px;
    font-size: 1rem;
  }

  .text-body {
    font-size: 1rem;
  }
}

@media (max-width: 479px) {
  .about-stats {
    grid-template-columns: 1fr;
  }
}

@media (hover: none) {
  .card:hover,
  .product-card:hover,
  .roadmap-item:hover,
  .platform-item:hover {
    transform: none;
  }
}

@supports (padding: max(0px)) {
  .footer {
    padding-bottom: max(32px, env(safe-area-inset-bottom));
  }
}
