/* =====================================================
   GlobeApps – Main Stylesheet
   ===================================================== */

:root {
  --navy:         #0c1f3f;
  --blue-dark:    #1452a3;
  --blue-mid:     #1976d2;
  --blue-light:   #42a5f5;
  --blue-pale:    #e8f1fc;
  --white:        #ffffff;
  --gray-50:      #f8fafc;
  --gray-100:     #f0f4f9;
  --gray-200:     #e2eaf3;
  --gray-400:     #94a3b8;
  --gray-600:     #64748b;
  --gray-800:     #1e293b;
  --green:        #2e7d32;
  --green-light:  #e8f5e9;
  --orange:       #c84b00;
  --orange-light: #fff3e0;
  --teal:         #00695c;
  --teal-light:   #e0f2f1;

  --font: 'Inter', system-ui, -apple-system, sans-serif;

  --section-py: 96px;

  --shadow-sm: 0 1px 3px rgba(12,31,63,0.08), 0 1px 2px rgba(12,31,63,0.05);
  --shadow-md: 0 4px 16px rgba(12,31,63,0.10), 0 2px 8px rgba(12,31,63,0.06);
  --shadow-lg: 0 12px 40px rgba(12,31,63,0.14), 0 4px 16px rgba(12,31,63,0.08);
  --shadow-xl: 0 24px 64px rgba(12,31,63,0.20);

  --radius-sm: 8px;
  --radius:    16px;
  --radius-lg: 24px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }

/* ===== Container ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Section ===== */
.section { padding: var(--section-py) 0; }

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

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--blue-mid);
  background: var(--blue-pale);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-tag--light {
  color: var(--blue-light);
  background: rgba(66,165,245,0.15);
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 17px;
  color: var(--gray-600);
  line-height: 1.75;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: var(--font);
}

.btn-primary {
  background: var(--blue-mid);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(25,118,210,0.35);
}
.btn-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 6px 28px rgba(25,118,210,0.45);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255,255,255,0.10);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.20);
  border-color: rgba(255,255,255,0.65);
  transform: translateY(-2px);
}

.btn-app {
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  padding: 10px 22px;
}
.btn-app:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-app--featured {
  background: var(--blue-mid);
}
.btn-app--featured:hover {
  background: var(--blue-light);
}

.btn-support {
  background: var(--white);
  color: var(--blue-dark);
  font-size: 16px;
  padding: 16px 36px;
  box-shadow: var(--shadow-md);
  margin-top: 8px;
}
.btn-support:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 72px;
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(10,20,48,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.25);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo img {
  height: 46px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--blue-light);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: center;
}

.nav-links a:hover         { color: var(--white); }
.nav-links a:hover::after  { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 28px;
}

.lang-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.45);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  padding: 5px 7px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  font-family: var(--font);
  line-height: 1;
}

.lang-btn:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.lang-btn.active {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}

.lang-divider {
  color: rgba(255,255,255,0.18);
  font-size: 11px;
  user-select: none;
  padding: 0 1px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url('../assets/img/Header.jpg');
  background-size: cover;
  background-position: center 30%;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8,18,45,0.92)  0%,
    rgba(12,40,95,0.80) 55%,
    rgba(8,24,60,0.72) 100%
  );
}

/* Subtle animated glow */
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(25,118,210,0.18) 0%, transparent 65%);
  pointer-events: none;
  animation: heroPulse 6s ease-in-out infinite;
}

@keyframes heroPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.08); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-light);
  background: rgba(66,165,245,0.12);
  border: 1px solid rgba(66,165,245,0.28);
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--blue-light);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.hero h1 {
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 720px;
}

.hero-highlight {
  background: linear-gradient(130deg, #64b5f6 0%, #90caf9 60%, #42a5f5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 44px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.40);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  z-index: 1;
}

.scroll-arrow {
  width: 18px; height: 18px;
  border-right: 2px solid rgba(255,255,255,0.35);
  border-bottom: 2px solid rgba(255,255,255,0.35);
  transform: rotate(45deg);
  animation: scrollBounce 1.8s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0);   opacity: 0.35; }
  50%       { transform: rotate(45deg) translateY(5px); opacity: 0.80; }
}

/* ===== PHILOSOPHY ===== */
.philosophy-section { background: var(--gray-50); }

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.philosophy-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.phil-icon {
  width: 54px; height: 54px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.phil-icon svg { width: 26px; height: 26px; }

.phil-icon--blue   { background: var(--blue-pale);   color: var(--blue-mid); }
.phil-icon--green  { background: var(--green-light);  color: var(--green); }
.phil-icon--orange { background: var(--orange-light); color: var(--orange); }
.phil-icon--teal   { background: var(--teal-light);   color: var(--teal); }

.philosophy-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.philosophy-card p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.70;
}

.philosophy-note {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, #e8f1fc 0%, #dbeafe 100%);
  border: 1px solid rgba(25,118,210,0.15);
  border-radius: var(--radius);
  padding: 24px 32px;
}

.note-icon {
  flex-shrink: 0;
  color: var(--blue-mid);
}
.note-icon svg { width: 36px; height: 36px; }

.philosophy-note p {
  font-size: 16px;
  color: var(--navy);
  line-height: 1.65;
}
.philosophy-note strong { color: var(--blue-dark); }

/* ===== APPS ===== */
.apps-section { background: var(--white); }

.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.app-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  box-shadow: var(--shadow-sm);
}

.app-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(25,118,210,0.25);
}

.app-card--featured {
  background: linear-gradient(155deg, #0c1f3f 0%, #163566 50%, #1a3d72 100%);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}

.app-card--featured:hover {
  box-shadow: 0 28px 80px rgba(12,31,63,0.35);
  border-color: rgba(66,165,245,0.20);
}

.app-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.app-logo-wrap {
  width: 70px; height: 70px;
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.app-logo-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.app-header-info h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.app-card--featured .app-header-info h3 { color: var(--white); }

.app-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--blue-mid);
  background: var(--blue-pale);
  padding: 3px 10px;
  border-radius: 100px;
}

.app-card--featured .app-badge {
  color: var(--blue-light);
  background: rgba(66,165,245,0.15);
}

.app-description {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.70;
  margin-bottom: 24px;
  flex-grow: 1;
}

.app-card--featured .app-description { color: rgba(255,255,255,0.68); }

.app-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.app-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-600);
}

.app-features svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
  color: var(--blue-mid);
}

.app-card--featured .app-features li  { color: rgba(255,255,255,0.75); }
.app-card--featured .app-features svg { color: var(--blue-light); }

.app-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
}

.app-card--featured .app-card-footer {
  border-top-color: rgba(255,255,255,0.10);
}

.app-free-badge {
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  background: var(--green-light);
  padding: 5px 14px;
  border-radius: 100px;
}

.app-card--featured .app-free-badge {
  color: #81c784;
  background: rgba(129,199,132,0.15);
}

/* ===== SUPPORT ===== */
.support-section {
  background: linear-gradient(155deg, #0a1830 0%, #0e2b5a 50%, #122e60 100%);
  position: relative;
  overflow: hidden;
}

.support-section::before {
  content: '';
  position: absolute;
  top: -30%; right: -5%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(25,118,210,0.10) 0%, transparent 65%);
  pointer-events: none;
}

.support-section::after {
  content: '';
  position: absolute;
  bottom: -20%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(66,165,245,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.support-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.support-content .section-tag { margin-bottom: 12px; }

.support-content h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  margin-top: 4px;
  line-height: 1.15;
}

.support-content p {
  font-size: 16px;
  color: rgba(255,255,255,0.68);
  line-height: 1.75;
  margin-bottom: 16px;
}

.support-visual {
  display: flex;
  justify-content: center;
}

.support-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 360px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.support-card-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.support-card-item:last-of-type { border-bottom: none; }

.support-icon {
  font-size: 28px;
  width: 44px;
  text-align: center;
  flex-shrink: 0;
}

.support-card-item span:not(.support-icon) {
  flex-grow: 1;
  font-size: 15px;
  color: rgba(255,255,255,0.68);
}

.support-card-item strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.support-card-note {
  font-size: 13px;
  color: rgba(255,255,255,0.38);
  text-align: center;
  margin-top: 22px;
  line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
  background: #060e1c;
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-logo {
  height: 42px;
  width: auto;
  margin-bottom: 18px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.40);
  line-height: 1.75;
  max-width: 270px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 18px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.30);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.4,0,0.2,1),
              transform 0.65s cubic-bezier(0.4,0,0.2,1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children */
.philosophy-grid .philosophy-card:nth-child(1) { transition-delay: 0.05s; }
.philosophy-grid .philosophy-card:nth-child(2) { transition-delay: 0.12s; }
.philosophy-grid .philosophy-card:nth-child(3) { transition-delay: 0.19s; }
.philosophy-grid .philosophy-card:nth-child(4) { transition-delay: 0.26s; }

.apps-grid .app-card:nth-child(1) { transition-delay: 0.05s; }
.apps-grid .app-card:nth-child(2) { transition-delay: 0.15s; }
.apps-grid .app-card:nth-child(3) { transition-delay: 0.25s; }

/* ===== PLATFORM BADGES ===== */
.badge-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: 100px;
}
.platform-badge svg { width: 11px; height: 11px; flex-shrink: 0; }

.platform-badge--android {
  color: #2da05a;
  background: rgba(61,220,132,0.14);
}
.platform-badge--ios {
  color: #0071e3;
  background: rgba(0,113,227,0.12);
}
.platform-badge--web {
  color: #d4580a;
  background: rgba(249,115,22,0.12);
}

/* featured (dark) card adjustments */
.app-card--featured .platform-badge--android {
  color: #3ddc84;
  background: rgba(61,220,132,0.18);
}
.app-card--featured .platform-badge--ios {
  color: #4da6ff;
  background: rgba(77,166,255,0.15);
}
.app-card--featured .platform-badge--web {
  color: #fb923c;
  background: rgba(251,146,60,0.15);
}

/* ===== FEEDBACK BUTTON (in app cards) ===== */
.app-card-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-feedback {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-600);
  transition: color var(--transition);
  white-space: nowrap;
}
.btn-feedback svg { width: 14px; height: 14px; flex-shrink: 0; }
.btn-feedback:hover { color: var(--blue-mid); }

.app-card--featured .btn-feedback       { color: rgba(255,255,255,0.48); }
.app-card--featured .btn-feedback:hover { color: rgba(255,255,255,0.88); }

/* ===== FEEDBACK PAGE ===== */
.feedback-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.feedback-note-box {
  background: linear-gradient(135deg, #f0f4f9 0%, #e8f1fc 100%);
  border: 1px solid rgba(25,118,210,0.15);
  border-left: 4px solid var(--blue-mid);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 28px 32px;
  margin-bottom: 48px;
}

.feedback-note-box h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--blue-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.feedback-note-box p {
  font-size: 16px;
  color: var(--navy);
  line-height: 1.75;
  margin: 0;
}

.feedback-form-section h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 28px;
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.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='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 40px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 3px rgba(25,118,210,0.10);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
  line-height: 1.6;
}

.form-hint {
  font-size: 13px;
  color: var(--gray-400);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.form-hint svg { width: 14px; height: 14px; flex-shrink: 0; }

.feedback-email-alt {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
  font-size: 14px;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.feedback-email-alt a {
  font-weight: 600;
  color: var(--blue-mid);
}
.feedback-email-alt a:hover { text-decoration: underline; }

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

/* ===== PAGE STYLES (Impressum / Datenschutz) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #163566 100%);
  padding: 140px 0 72px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
}

.page-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 24px 96px;
}

.page-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 48px;
  margin-bottom: 12px;
}

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

.page-content p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 14px;
}

.page-content address {
  font-style: normal;
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.75;
  background: var(--gray-100);
  border-left: 4px solid var(--blue-mid);
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 14px;
}

.page-content .highlight-box {
  background: var(--blue-pale);
  border: 1px solid rgba(25,118,210,0.15);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 28px 0;
}

.page-content .highlight-box p {
  margin-bottom: 0;
  color: var(--navy);
  font-weight: 500;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .philosophy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .apps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .support-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  :root { --section-py: 64px; }

  /* Navbar immer sichtbar – unabhängig vom Scroll-Status */
  .navbar {
    background: rgba(10,20,48,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 24px rgba(0,0,0,0.25);
  }

  /* Logo auf Mobile etwas kompakter */
  .nav-logo img {
    height: 40px;
    max-width: 140px;
    object-fit: contain;
  }

  /* Abstand zum Hamburger reduzieren */
  .lang-switcher { margin-left: 12px; }

  /*
   * Nav-Links: position:absolute statt position:fixed + transform.
   * Dadurch wird das Element komplett aus dem Flex-Flow des Nav-Containers
   * entfernt – Logo und Sprachauswahl bleiben immer sichtbar.
   * Die Animation läuft über max-height.
   */
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(10,20,48,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4,0,0.2,1),
                padding    0.3s cubic-bezier(0.4,0,0.2,1);
    border-bottom: none;
  }
  .nav-links.open {
    max-height: 300px;
    padding: 12px 0 20px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .nav-links li a  { display: block; padding: 14px 28px; font-size: 16px; }
  .nav-toggle      { display: flex; }

  .apps-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding-bottom: 32px;
  }
}

@media (max-width: 540px) {
  .hero-actions    { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .philosophy-grid { grid-template-columns: 1fr; }
  .footer-grid     { grid-template-columns: 1fr; }
  .philosophy-note { flex-direction: column; text-align: center; }
}

/* ===== Sehr schmale Bildschirme (≤ 380 px) ===== */
@media (max-width: 380px) {
  .nav-container { padding: 0 14px; }
  .nav-logo img  { height: 34px; max-width: 110px; }
  .lang-switcher { margin-left: 8px; }
}
