/* ============================================================
   PARTUMO – Shared Stylesheet
   Colors: #FF7A1A (orange), #FFB347 (light orange), #7861FF (violet)
   Aesthetic: Liquid Glass / iOS 26
   ============================================================ */

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

:root {
  --orange:       #FF7A1A;
  --orange-light: #FFB347;
  --violet:       #7861FF;
  --text-primary: #1C1C1E;
  --text-secondary: #6C6C70;
  --text-tertiary: #6C6C70;
  --bg:           #FDFCFA;
  --surface:      rgba(255, 255, 255, 0.55);

  /* Glass */
  --glass-bg:       rgba(255, 255, 255, 0.45);
  --glass-bg-heavy: rgba(255, 255, 255, 0.65);
  --glass-border:   rgba(255, 255, 255, 0.70);
  --glass-shadow:   0 8px 32px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.75);

  --radius-sm:  12px;
  --radius-md:  20px;
  --radius-lg:  28px;
  --radius-xl:  40px;
  --radius-full: 9999px;

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Background Blobs ───────────────────────────────────────── */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: blobFloat 12s ease-in-out infinite;
}

.blob-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255,122,26,0.18) 0%, transparent 70%);
  top: -250px;
  right: -150px;
  animation-delay: 0s;
}

.blob-2 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(255,179,71,0.14) 0%, transparent 70%);
  bottom: -180px;
  left: -120px;
  animation-delay: -4s;
}

.blob-3 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(120,97,255,0.07) 0%, transparent 70%);
  top: 45%;
  left: 30%;
  animation-delay: -8s;
  filter: blur(100px);
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(20px, -30px) scale(1.04); }
  66%       { transform: translate(-15px, 20px) scale(0.97); }
}

/* ── Wrapper ─────────────────────────────────────────────────── */
.page-wrapper {
  position: relative;
  z-index: 1;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Glass Utilities ─────────────────────────────────────────── */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(200%) brightness(105%);
  -webkit-backdrop-filter: blur(24px) saturate(200%) brightness(105%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.glass-heavy {
  background: var(--glass-bg-heavy);
  backdrop-filter: blur(32px) saturate(220%) brightness(108%);
  -webkit-backdrop-filter: blur(32px) saturate(220%) brightness(108%);
  border: 1px solid rgba(255,255,255,0.80);
  box-shadow: 0 12px 48px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.85);
}

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-top: 12px;
  /* Covers the gap above the pill so scrolled content doesn't show through */
  background: linear-gradient(to bottom, rgba(253,252,250,1) 55%, rgba(253,252,250,0) 100%);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  width: calc(100% - 48px);
  max-width: 1100px;
  margin: 0 auto 12px;
  border-radius: var(--radius-xl);
  background: rgba(253, 252, 250, 0.72);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid rgba(255,255,255,0.75);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.8);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.nav-logo img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  transition: background var(--transition), color var(--transition);
}

.nav-links a:hover {
  background: rgba(255,122,26,0.1);
  color: var(--orange);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: var(--orange);
  color: #fff !important;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 12px rgba(255,122,26,0.35);
}

.nav-cta:hover {
  background: #e86b10 !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255,122,26,0.45) !important;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-full);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255,122,26,0.38);
}

.btn-primary:hover {
  background: #e86b10;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,122,26,0.48);
}

.btn-glass {
  background: rgba(255,122,26,0.08);
  color: var(--text-primary);
  border: 1px solid rgba(255,122,26,0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 12px rgba(255,122,26,0.08);
}

.btn-glass:hover {
  background: rgba(255,122,26,0.14);
  transform: translateY(-2px);
}

/* App Store Badge */
.appstore-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  background: #000;
  color: #fff;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.appstore-btn:hover {
  background: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.28);
}

.appstore-btn svg {
  width: 24px;
  height: 28px;
  fill: #fff;
  flex-shrink: 0;
}

.appstore-btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.appstore-btn-text span {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.85;
  letter-spacing: 0.3px;
}

.appstore-btn-text strong {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

/* ── Hero Section ────────────────────────────────────────────── */
.hero {
  padding: 80px 0 60px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--violet);
  background: rgba(120,97,255,0.1);
  border: 1px solid rgba(120,97,255,0.25);
  margin-bottom: 28px;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34C759;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 6px rgba(52,199,89,0.6);
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero h1 {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.08;
  color: var(--text-primary);
  margin-bottom: 22px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(17px, 2.5vw, 20px);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 72px;
}

.hero-phones {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: -20px;
  position: relative;
  padding-bottom: 20px;
}

.hero-phones picture {
  display: contents;
}

.hero-phones img {
  width: 240px;
  border-radius: 38px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15)) drop-shadow(0 4px 12px rgba(0,0,0,0.08));
  transition: transform var(--transition), filter var(--transition);
  position: relative;
}

.hero-phones picture:first-child img {
  transform: rotate(-6deg) translateX(20px);
  z-index: 1;
}

.hero-phones picture:last-child img {
  transform: rotate(6deg) translateX(-20px);
  z-index: 1;
}

.hero-phones img.hero-phone-main {
  transform: translateY(-20px) scale(1.04);
  z-index: 2;
}

.slide picture {
  display: block;
  width: 100%;
}

/* ── Section Base ────────────────────────────────────────────── */
section {
  padding: 80px 0;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 500px;
  line-height: 1.65;
}

/* ── Trust Strip (vor Feature-Cards) ────────────────────────── */
.trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 36px 0 48px;
  padding: 20px 32px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(255,122,26,0.08) 0%, rgba(255,179,71,0.06) 100%);
  border: 1px solid rgba(255,122,26,0.18);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  flex: 1;
  padding: 8px 16px;
}

.trust-icon {
  font-size: 45px;
}

.trust-item div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.trust-item strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.trust-item span {
  font-size: 13px;
  color: var(--text-secondary);
}

.trust-divider {
  width: 1px;
  height: 56px;
  background: rgba(255,122,26,0.2);
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .trust-strip {
    flex-direction: column;
    gap: 4px;
    padding: 20px 24px;
  }

  .trust-divider {
    width: 48px;
    height: 1px;
  }

  .trust-item {
    padding: 10px 0;
  }
}

/* ── Feature Cards ───────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 56px;
}

.feature-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.9), transparent);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.06);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(255,122,26,0.15), rgba(255,179,71,0.1));
  border: 1px solid rgba(255,122,26,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Screenshots Slider ──────────────────────────────────────── */
.screenshots-section {
  padding: 80px 0;
}

.slider-wrapper {
  position: relative;
  margin-top: 48px;
}

.slider-viewport {
  overflow: hidden;
}

.slider-track {
  display: flex;
  gap: 20px;
  transition: transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.slide {
  flex-shrink: 0;
  width: calc((100% - 60px) / 4);
  text-align: center;
}

.slide img {
  width: 100%;
  border-radius: 32px;
  display: block;
}

.slide p {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Arrow Buttons */
.slider-btn {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.9);
  color: var(--text-primary);
  transition: all var(--transition);
  z-index: 2;
}

.slider-btn:hover {
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.14);
  transform: translateY(-50%) scale(1.08);
}

.slider-btn:disabled {
  opacity: 0.3;
  cursor: default;
  transform: translateY(-50%) scale(1);
}

.slider-btn svg {
  width: 20px;
  height: 20px;
}

.slider-prev { left: -22px; }
.slider-next { right: -22px; }

/* Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.15);
  cursor: pointer;
  padding: 0;
  transition: all var(--transition);
}

.dot.active {
  background: var(--orange);
  width: 24px;
  border-radius: var(--radius-full);
}

@media (max-width: 768px) {
  .slide {
    width: calc((100% - 20px) / 2);
  }
  .slider-prev { left: -16px; }
  .slider-next { right: -16px; }
}

@media (max-width: 480px) {
  .slide {
    width: calc(100% - 0px);
  }
}

/* ── CTA Section ─────────────────────────────────────────────── */
.cta-section {
  padding: 60px 0 100px;
}

.cta-card {
  border-radius: var(--radius-xl);
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255,122,26,0.1) 0%, rgba(255,179,71,0.08) 50%, rgba(255,255,255,0.4) 100%);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: 0 16px 64px rgba(255,122,26,0.12), 0 4px 16px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.8);
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% -20%, rgba(255,179,71,0.25) 0%, transparent 60%);
  pointer-events: none;
}

.cta-card h2 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  position: relative;
}

.cta-card p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 440px;
  margin: 0 auto 40px;
  position: relative;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
}

/* ── Footer ──────────────────────────────────────────────────── */
footer {
  padding: 40px 0 28px;
  border-top: 1px solid rgba(0,0,0,0.07);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
  flex-shrink: 0;
}

.footer-logo img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.footer-links a:hover {
  color: var(--orange);
  background: rgba(255,122,26,0.08);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-copy {
  color: var(--text-tertiary);
  font-size: 13px;
}

.footer-made {
  color: var(--text-tertiary);
  font-size: 13px;
}

.footer-heart {
  color: var(--violet);
}

/* ── Inner Page (Datenschutz / Impressum / Support) ─────────── */
.inner-hero {
  padding: 64px 0 48px;
  margin-bottom: 56px;
}

.inner-hero h1 {
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 10px;
}

.inner-hero p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.prose {
  max-width: 740px;
}

.prose h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin: 48px 0 16px;
  color: var(--text-primary);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.prose h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 28px 0 10px;
  color: var(--text-primary);
}

.prose p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

.prose ul, .prose ol {
  margin: 12px 0 20px 20px;
}

.prose li {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 8px;
}

.prose a {
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,122,26,0.3);
  transition: border-color var(--transition);
}

.prose a:hover {
  border-color: var(--orange);
}

.prose strong {
  color: var(--text-primary);
  font-weight: 600;
}

.info-box {
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: rgba(255,122,26,0.07);
  border: 1px solid rgba(255,122,26,0.18);
  border-left: 3px solid var(--orange);
  margin: 24px 0;
}

.info-box p {
  margin: 0;
  font-size: 15px;
  color: var(--text-secondary);
}

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-section,
.contact-section {
  max-width: 1100px;
  margin: 0 auto 64px;
}

.faq-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
  transition: color var(--transition);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: var(--orange);
  flex-shrink: 0;
  transition: transform var(--transition);
  line-height: 1;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item[open] summary {
  color: var(--orange);
}

.faq-item p {
  padding: 0 22px 18px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 0;
  padding-top: 4px;
}

/* ── Support / Contact Form ──────────────────────────────────── */
.support-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 100px;
}

.support-info .section-label {
  margin-bottom: 10px;
}

.support-info h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.15;
  margin-bottom: 14px;
}

.support-info p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

.support-chips {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.support-chip {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.support-chip strong {
  color: var(--text-primary);
}

.support-chip-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.contact-form-card {
  padding: 40px;
  border-radius: var(--radius-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.1px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text-primary);
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,122,26,0.15);
}

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

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236C6C70' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px;
}

/* Topic button grid */
.topic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}

.topic-btn {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(0,0,0,0.1);
  background: rgba(255,255,255,0.6);
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.topic-btn:hover {
  border-color: var(--orange);
  background: rgba(255,122,26,0.06);
}

.topic-btn.active {
  border-color: var(--orange);
  background: rgba(255,122,26,0.08);
  color: var(--orange);
  font-weight: 600;
  box-shadow: 0 0 0 3px rgba(255,122,26,0.12);
}

.label-optional {
  font-weight: 400;
  color: var(--text-secondary);
}

.label-required {
  color: var(--orange);
}

.form-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.5;
}

.form-note a {
  color: var(--orange);
  text-decoration: none;
}

.form-note a:hover {
  text-decoration: underline;
}

.form-submit-btn {
  width: 100%;
  padding: 15px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  background: var(--orange);
  color: #fff;
  border: none;
  font-family: inherit;
  box-shadow: 0 4px 16px rgba(255,122,26,0.35);
}

.form-submit-btn:hover {
  background: #e86b10;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255,122,26,0.45);
}

.form-success {
  display: none;
  text-align: center;
  padding: 32px;
}

.form-success-icon {
  font-size: 52px;
  margin-bottom: 16px;
}

.form-success h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.form-success p {
  color: var(--text-secondary);
}

/* ── Scroll-to-top button ────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 900;
  color: var(--text-primary);
}

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

.scroll-top:hover {
  background: rgba(255,255,255,0.85);
  box-shadow: 0 8px 28px rgba(0,0,0,0.14);
}

.scroll-top svg {
  width: 18px;
  height: 18px;
  stroke: var(--text-primary);
}

/* ── Scroll animations ───────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), transform 0.6s cubic-bezier(0.4,0,0.2,1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Mobile Menu ─────────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: rgba(255,122,26,0.08);
  border: 1px solid rgba(255,122,26,0.22);
  border-radius: var(--radius-sm);
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.25s ease;
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  margin: 0 20px;
  padding: 12px;
  border-radius: var(--radius-lg);
  background: rgba(253, 252, 250, 0.92);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid rgba(255,255,255,0.80);
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  flex-direction: column;
  gap: 4px;
  z-index: 99;
}

.nav-mobile-menu.open {
  display: flex;
}

.nav-mobile-menu a {
  display: block;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}

.nav-mobile-menu a:hover {
  background: rgba(255,122,26,0.08);
  color: var(--orange);
}

.nav-mobile-menu a.nav-cta {
  margin-top: 8px;
  text-align: center;
  justify-content: center;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-links-compact {
    display: flex;
  }

  .nav-links-compact li:nth-child(1),
  .nav-links-compact li:nth-child(2) {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav {
    position: sticky;
    top: 0;
    padding-top: 10px;
  }

  .nav-inner {
    width: calc(100% - 24px);
    max-width: none;
    margin: 0 auto 10px;
    padding: 12px 20px;
    position: relative;
  }

  .hero {
    padding: 48px 0 40px;
  }

  .hero h1 {
    letter-spacing: -1.5px;
  }

  .hero-phones img {
    width: 165px;
  }

  .support-layout {
    grid-template-columns: 1fr;
  }

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

  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .footer-links {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0;
  }

  .footer-links a {
    padding: 5px 10px;
    font-size: 13px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }

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

  .cta-card {
    padding: 48px 24px;
  }

  .contact-form-card {
    padding: 28px 20px;
  }

  .inner-hero {
    padding: 48px 0 36px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-phones {
    gap: 0;
  }

  .hero-phones picture:first-child,
  .hero-phones picture:last-child {
    display: none;
  }

  .hero-phones img.hero-phone-main {
    transform: none;
    width: 240px;
  }
}

/* ══════════════════════════════════════════════════════════════
   DARK MODE
   System: @media (prefers-color-scheme: dark)
   Manual: html[data-theme="dark"] / html[data-theme="light"]
   ══════════════════════════════════════════════════════════════ */

/* Dark variables */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:             #0F0F11;
    --text-primary:   #F2F2F7;
    --text-secondary: #AEAEB2;
    --text-tertiary:  #636366;
    --surface:        rgba(255,255,255,0.05);
    --glass-bg:       rgba(255,255,255,0.06);
    --glass-bg-heavy: rgba(255,255,255,0.09);
    --glass-border:   rgba(255,255,255,0.10);
    --glass-shadow:   0 8px 32px rgba(0,0,0,0.5), 0 1px 2px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.08);
  }
}
[data-theme="dark"] {
  --bg:             #0F0F11;
  --text-primary:   #F2F2F7;
  --text-secondary: #AEAEB2;
  --text-tertiary:  #636366;
  --surface:        rgba(255,255,255,0.05);
  --glass-bg:       rgba(255,255,255,0.06);
  --glass-bg-heavy: rgba(255,255,255,0.09);
  --glass-border:   rgba(255,255,255,0.10);
  --glass-shadow:   0 8px 32px rgba(0,0,0,0.5), 0 1px 2px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.08);
}

/* Helper: apply dark-specific overrides */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --is-dark: 1; } }
[data-theme="dark"] { --is-dark: 1; }

/* Nav */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) ~ * .nav,
  :root:not([data-theme="light"]) .nav { background: linear-gradient(to bottom, rgba(15,15,17,1) 55%, rgba(15,15,17,0) 100%); }
}
[data-theme="dark"] .nav { background: linear-gradient(to bottom, rgba(15,15,17,1) 55%, rgba(15,15,17,0) 100%); }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) ~ body .nav-inner { background: rgba(22,22,26,0.85); border-color: rgba(255,255,255,0.08); }
  :root:not([data-theme="light"]) ~ body .nav-mobile-menu { background: rgba(20,20,24,0.97); border-color: rgba(255,255,255,0.09); }
}

/* Use :root[data-theme] on html which is ancestor of body */
html[data-theme="dark"] .nav { background: linear-gradient(to bottom, rgba(15,15,17,1) 55%, rgba(15,15,17,0) 100%); }
html[data-theme="dark"] .nav-inner { background: rgba(22,22,26,0.85); border-color: rgba(255,255,255,0.08); }
html[data-theme="dark"] .nav-mobile-menu { background: rgba(20,20,24,0.97); border-color: rgba(255,255,255,0.09); }

/* Form inputs */
html[data-theme="dark"] .form-group input,
html[data-theme="dark"] .form-group select,
html[data-theme="dark"] .form-group textarea {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
  color: var(--text-primary);
}
html[data-theme="dark"] .form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23AEAEB2' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

/* Topic buttons */
html[data-theme="dark"] .topic-btn {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
}
html[data-theme="dark"] .topic-btn:hover {
  background: rgba(255,122,26,0.12);
}

/* Scroll-to-top */
html[data-theme="dark"] .scroll-top {
  background: rgba(30,30,34,0.85);
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.06);
}
html[data-theme="dark"] .scroll-top:hover {
  background: rgba(40,40,46,0.95);
}
html[data-theme="dark"] .scroll-top svg { stroke: var(--text-primary); }

/* Footer borders */
html[data-theme="dark"] footer { border-color: rgba(255,255,255,0.08); }
html[data-theme="dark"] .footer-top { border-color: rgba(255,255,255,0.07); }

/* Nav hamburger */
html[data-theme="dark"] .nav-hamburger {
  background: rgba(255,122,26,0.1);
  border-color: rgba(255,122,26,0.25);
}
html[data-theme="dark"] .nav-hamburger span { background: #F2F2F7; }

/* Slide images — subtle dark tint to blend with bg */
html[data-theme="dark"] .slide img,
html[data-theme="dark"] .hero-phones img { opacity: 0.92; }

/* Glass backdrop brightness fix for dark */
html[data-theme="dark"] .glass {
  backdrop-filter: blur(24px) saturate(180%) brightness(80%);
  -webkit-backdrop-filter: blur(24px) saturate(180%) brightness(80%);
}
html[data-theme="dark"] .glass-heavy {
  backdrop-filter: blur(32px) saturate(180%) brightness(75%);
  -webkit-backdrop-filter: blur(32px) saturate(180%) brightness(75%);
}

/* Slider buttons on dark */
html[data-theme="dark"] .slider-btn {
  background: rgba(40,40,46,0.88);
  box-shadow: 0 4px 16px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.07);
  color: var(--text-primary);
}
html[data-theme="dark"] .slider-btn:hover {
  background: rgba(55,55,62,0.95);
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

/* Prose links on dark */
html[data-theme="dark"] .prose a { color: var(--orange-light); }

/* Info box */
html[data-theme="dark"] .info-box {
  background: rgba(255,122,26,0.12);
  border-color: rgba(255,122,26,0.25);
}

/* Apply same nav/form overrides for system dark mode */
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .nav { background: linear-gradient(to bottom, rgba(15,15,17,1) 55%, rgba(15,15,17,0) 100%); }
  html:not([data-theme="light"]) .nav-inner { background: rgba(22,22,26,0.85); border-color: rgba(255,255,255,0.08); }
  html:not([data-theme="light"]) .nav-mobile-menu { background: rgba(20,20,24,0.97); border-color: rgba(255,255,255,0.09); }
  html:not([data-theme="light"]) .form-group input,
  html:not([data-theme="light"]) .form-group select,
  html:not([data-theme="light"]) .form-group textarea { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); color: var(--text-primary); }
  html:not([data-theme="light"]) .form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23AEAEB2' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
  html:not([data-theme="light"]) .topic-btn { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); }
  html:not([data-theme="light"]) .scroll-top { background: rgba(30,30,34,0.85); border-color: rgba(255,255,255,0.1); }
  html:not([data-theme="light"]) .scroll-top svg { stroke: var(--text-primary); }
  html:not([data-theme="light"]) footer { border-color: rgba(255,255,255,0.08); }
  html:not([data-theme="light"]) .footer-top { border-color: rgba(255,255,255,0.07); }
  html:not([data-theme="light"]) .nav-hamburger { background: rgba(255,122,26,0.1); border-color: rgba(255,122,26,0.25); }
  html:not([data-theme="light"]) .nav-hamburger span { background: #F2F2F7; }
  html:not([data-theme="light"]) .slide img,
  html:not([data-theme="light"]) .hero-phones img { opacity: 0.92; }
  html:not([data-theme="light"]) .glass { backdrop-filter: blur(24px) saturate(180%) brightness(80%); -webkit-backdrop-filter: blur(24px) saturate(180%) brightness(80%); }
  html:not([data-theme="light"]) .glass-heavy { backdrop-filter: blur(32px) saturate(180%) brightness(75%); -webkit-backdrop-filter: blur(32px) saturate(180%) brightness(75%); }
  html:not([data-theme="light"]) .prose a { color: var(--orange-light); }
  html:not([data-theme="light"]) .info-box { background: rgba(255,122,26,0.12); border-color: rgba(255,122,26,0.25); }
  html:not([data-theme="light"]) .slider-btn { background: rgba(40,40,46,0.88); box-shadow: 0 4px 16px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.07); color: var(--text-primary); }
  html:not([data-theme="light"]) .slider-btn:hover { background: rgba(55,55,62,0.95); box-shadow: 0 8px 24px rgba(0,0,0,0.5); }
}

/* ── Theme Toggle Button ──────────────────────────────────────── */
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,122,26,0.08);
  border: 1px solid rgba(255,122,26,0.22);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
  color: var(--text-primary);
}
.theme-toggle:hover {
  background: rgba(255,122,26,0.14);
  transform: scale(1.08);
}
.theme-toggle svg {
  width: 18px;
  height: 18px;
  stroke: var(--text-primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: all var(--transition);
}
.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun  { display: none; }

html[data-theme="dark"]           .theme-toggle .icon-moon,
html[data-theme="dark"]           .theme-toggle .icon-sun { display: block; }
html[data-theme="dark"]           .theme-toggle .icon-moon { display: none; }
html[data-theme="dark"]           .theme-toggle .icon-sun  { display: block; }

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
  html:not([data-theme="light"]) .theme-toggle .icon-sun  { display: block; }
}

/* ── Nav Actions Wrapper ─────────────────────────────────────── */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* ── Language Switcher ───────────────────────────────────────── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255,122,26,0.08);
  border: 1px solid rgba(255,122,26,0.22);
  border-radius: var(--radius-sm);
  padding: 3px;
}
.lang-btn {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: calc(var(--radius-sm) - 3px);
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition);
  letter-spacing: 0.03em;
}
.lang-btn:hover { color: var(--text-primary); }
.lang-btn.lang-active {
  background: var(--orange);
  color: #fff;
}

html[data-theme="dark"] .lang-switcher {
  background: rgba(255,122,26,0.1);
  border-color: rgba(255,122,26,0.28);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .lang-switcher {
    background: rgba(255,122,26,0.1);
    border-color: rgba(255,122,26,0.28);
  }
}
