:root {
  --navy: #1E3A5F; --coral: #FF5A5F; --teal: #1A7A8A;
  --white: #FFFFFF; --off-white: #F7F9FA; --gray-text: #5B6672;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(135deg, #142942 0%, var(--navy) 100%);
  min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px;
}
.container { max-width: 600px; width: 100%; }
.card { background: var(--white); border-radius: 20px; padding: 48px 32px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); text-align: center; }
.logo { font-size: 28px; font-weight: 800; color: var(--navy); margin-bottom: 8px; letter-spacing: -0.5px; }
.logo span { color: var(--coral); }
.subtitle { color: var(--gray-text); font-size: 15px; margin-bottom: 40px; }
.question { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 32px; }

.button-group { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.btn { padding: 24px 20px; border: 2px solid #E7EBEE; border-radius: 12px; font-size: 16px; font-weight: 700; cursor: pointer; transition: all 0.3s ease; background: var(--white); color: var(--navy); display: flex; flex-direction: column; align-items: center; }
.btn:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(26, 122, 138, 0.15); }
.btn.selected { background: var(--navy); color: var(--white); border-color: var(--navy); }
.icon { font-size: 28px; margin-bottom: 8px; }
.btn-text { font-size: 14px; }

.cta-button { width: 100%; padding: 18px 24px; background: var(--coral); color: var(--white); border: none; border-radius: 12px; font-size: 16px; font-weight: 700; cursor: pointer; transition: all 0.3s ease; display: none; }
.cta-button.show { display: block; }
.cta-button:hover { background: #E14448; transform: scale(1.02); }
.disclaimer { font-size: 12px; color: var(--gray-text); margin-top: 20px; }

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 600px) {
  body { padding: 16px; }
  .card { padding: 32px 20px; border-radius: 16px; }
  .button-group { grid-template-columns: 1fr; gap: 12px; }
  /* Convert buttons to horizontal layout on mobile for better UX */
  .btn { flex-direction: row; padding: 16px; justify-content: center; gap: 12px; }
  .icon { margin-bottom: 0; font-size: 24px; }
  .btn-text { font-size: 16px; }
  .question { font-size: 18px; margin-bottom: 24px; }
  .subtitle { margin-bottom: 24px; }
}
/* ==========================================================================
   FlyBuddi Community Hub — Original Subtle Theme
   ========================================================================== */

:root {
  --sand-50: #FAF8F5;
  --sand-100: #F4EFE6;
  --sand-200: #EAE5DC;
  --sand-300: #DDD6CA;

  --navy-900: #12233A;
  --navy-800: #1E3A5F;
  --coral-500: #FF5A5F;
  --coral-600: #E14448;
  --coral-50: #FFF3F3;
  --coral-border: #FFD2D4;

  --teal-600: #1A7A8A;
  --teal-50: #F0F9FA;
  --teal-border: #BCE2E8;

  --forest-600: #15803D;
  --forest-50: #F0FDF4;

  --ink-900: #1B1815;
  --ink-700: #3E3A35;
  --ink-500: #68635B;

  --font-serif: "Fraunces", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --shadow-card: 0 14px 38px -6px rgba(27, 24, 21, 0.08), 0 2px 6px -1px rgba(27, 24, 21, 0.03);
}

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

html {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--sand-50);
  color: var(--ink-700);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

.back-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-500);
  text-decoration: none;
  margin-bottom: 20px;
  transition: color 0.16s ease;
}
.back-home:hover {
  color: var(--coral-500);
}

.community-container {
  max-width: 580px;
  width: 100%;
}

.community-card {
  background: #FFFFFF;
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.community-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}
.community-logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--navy-800);
  display: flex;
  align-items: center;
  justify-content: center;
}
.community-logo-icon img {
  width: 26px;
  height: 26px;
}
.community-logo-text {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy-800);
  letter-spacing: -0.03em;
}
.community-logo-text span {
  color: var(--coral-500);
}

.community-subtitle {
  font-size: 15px;
  color: var(--ink-500);
  margin-bottom: 28px;
}

.community-question {
  font-size: 17.5px;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 18px;
}

/* Role Selector */
.role-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 22px;
}

.role-card-btn {
  padding: 20px 16px;
  border: 1.5px solid var(--sand-200);
  border-radius: var(--radius-md);
  background: var(--sand-50);
  cursor: pointer;
  text-align: left;
  transition: all 0.16s ease;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: inherit;
}
.role-card-btn:hover {
  border-color: var(--sand-300);
  background: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(27, 24, 21, 0.05);
}
.role-card-btn.selected {
  border-color: var(--coral-500);
  background: var(--coral-50);
  box-shadow: 0 0 0 3px rgba(255, 90, 95, 0.15);
}

.role-badge-icon {
  font-size: 24px;
  line-height: 1;
}
.role-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-900);
}
.role-card-btn.selected .role-title {
  color: var(--coral-600);
}
.role-desc {
  font-size: 12.5px;
  color: var(--ink-500);
  line-height: 1.45;
}

/* CTA WhatsApp Button */
.cta-whatsapp-btn {
  width: 100%;
  padding: 13px 20px;
  background: #25D366;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-full);
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.16s ease;
  box-shadow: 0 4px 14px rgba(18, 140, 126, 0.25);
  box-sizing: border-box;
  text-align: center;
  line-height: 1.35;
}
.cta-whatsapp-btn .whatsapp-icon-svg {
  flex-shrink: 0;
}
.cta-whatsapp-btn.show {
  display: inline-flex;
}
.cta-whatsapp-btn:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
}

.community-reassurance {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--sand-200);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
  color: var(--ink-500);
}
.community-reassurance span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

@media (max-width: 580px) {
  .community-card {
    padding: 28px 18px;
  }
  .role-group {
    grid-template-columns: 1fr;
  }
}
