:root {
  --primary: #1aa1dd;
  --dark: #111827;
  --accent: #f4a340;
  --bg: #f5f7fb;
  --card-bg: #ffffff;
  --radius: 16px;
  --success: #10b981;
  --warning: #f59e0b;
}

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

html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
  width: 100%;
  background: #f5f7fb;
  overscroll-behavior-y: none;
  -webkit-overflow-scrolling: touch;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(135deg, #f5f7fb 0%, #e8ecf1 100%);
  background-color: #f5f7fb;
  color: var(--dark);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  overscroll-behavior-y: none;
  -webkit-overflow-scrolling: touch;
}

/* Enhanced Coming Soon Banner */
.coming-soon-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #0d7ba8 100%);
  color: #fff;
  text-align: center;
  padding: 0.9rem 2rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 1.2px;
  box-shadow: 0 4px 20px rgba(26, 161, 221, 0.3);
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  margin-bottom: 0;
  border-radius: 0;
  width: 100%;
  max-width: 100vw;
  position: relative;
  z-index: 1;
  margin-top: 0;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}

.coming-soon-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.coming-soon-banner-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-weight: 700;
  animation: fadeInSlide 1s ease-out;
}

.rocket-icon {
  font-size: 1.4rem;
  display: inline-block;
  animation: rocketLaunch 2s ease-in-out infinite;
  filter: drop-shadow(0 2px 6px rgba(255, 255, 255, 0.3));
}

@keyframes rocketLaunch {
  0% {
    transform: translateY(0) rotate(-45deg);
    opacity: 1;
  }
  50% {
    transform: translateY(-8px) rotate(-45deg);
    opacity: 0.9;
  }
  100% {
    transform: translateY(0) rotate(-45deg);
    opacity: 1;
  }
}

/* Alternative: Sparkles animation (uncomment to use) */
/*
.sparkle-icon {
  font-size: 1.3rem;
  display: inline-block;
  animation: sparkle 1.5s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.7;
  }
}
*/

.brand-link-banner {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.brand-link-banner:hover {
  transform: scale(1.1);
}

.banner-logo {
  height: 40px;
  width: 40px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
  transition: transform 0.3s ease;
}

.brand-link-banner:hover .banner-logo {
  transform: rotate(5deg);
}

.coming-soon-banner-icon {
  font-size: 1.5rem;
  animation: bounce 2s ease-in-out infinite;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.coming-soon-banner-text {
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  letter-spacing: 1.5px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.coming-soon-banner-text {
  position: relative;
}

.coming-soon-banner-text::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  animation: underline 2s ease-in-out infinite;
}

@keyframes underline {
  0%, 100% {
    width: 0;
    left: 50%;
  }
  50% {
    width: 100%;
    left: 0;
  }
}

  .page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem 3rem;
    margin-top: 0;
    padding-top: calc(0.75rem * 2 + 55px); /* Add space for fixed header */
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }

header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 1.5rem;
  padding-top: 0.5rem;
}

.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #1aa1dd;
  padding: 0;
  margin-bottom: 0;
  margin-top: 0;
  box-shadow: none;
  width: 100%;
  max-width: 100vw;
  overflow: visible;
  box-sizing: border-box;
}


.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.15rem;
  width: 100%;
  max-width: 100vw;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  overflow: visible;
}

.top-nav {
  display: flex;
  align-items: center;
  margin-left: 2rem;
  margin-right: 0;
  order: -1;
  position: relative;
  z-index: 1002;
}

.sticky-header .brand-link {
  flex-shrink: 0;
  background: transparent;
  box-shadow: none;
  margin-right: 0;
  margin-left: 2rem;
  border-radius: 8px;
  padding: 0;
  display: flex;
  align-items: center;
}

/* Top Navigation Bar */

/* Dropdown Menu */
.dropdown {
  position: relative;
  z-index: 1002;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0.5rem;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 44px;
  height: 44px;
}

.hamburger-icon {
  transition: transform 0.3s ease;
}

.dropdown-toggle:hover {
  color: rgba(255, 255, 255, 0.8);
  border: none;
  background: transparent;
}

.dropdown-icon {
  transition: transform 0.3s ease;
}

.dropdown-toggle:focus {
  outline: none;
  box-shadow: none;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: auto;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  min-width: 320px;
  max-width: calc(100vw - 2rem);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1003;
  padding: 1.25rem 0;
  box-sizing: border-box;
  pointer-events: none;
}

.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-toggle.active .hamburger-icon {
  transform: rotate(90deg);
}

.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 1.25rem 2rem;
  color: #4b5563;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  position: relative;
}

.dropdown-item:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 1px;
  background: linear-gradient(to right, 
    transparent 0%, 
    rgba(229, 231, 235, 0.5) 10%, 
    rgba(229, 231, 235, 0.8) 50%, 
    rgba(229, 231, 235, 0.5) 90%, 
    transparent 100%);
  box-shadow: 0 0.5px 1px rgba(0, 0, 0, 0.03);
}

.dropdown-item:last-child {
  border-bottom: none;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.dropdown-item:first-child {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.dropdown-item:hover {
  background: rgba(26, 161, 221, 0.08);
  color: var(--primary);
}

.brand-link {
  text-decoration: none;
  display: inline-block;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.3s ease;
  position: relative;
}

.brand-link:hover .brand {
  transform: scale(1.02);
}

.brand-link:hover .brand-logo {
  transform: scale(1.05);
}

.brand-link:hover .brand-motto {
  opacity: 0.9;
}

.brand-logo {
  height: 32px;
  width: auto;
  max-width: 98px;
  max-height: 32px;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  transition: transform 0.3s ease;
  background: transparent;
  display: block;
  flex-shrink: 0;
}

.brand-name {
  display: none;
}

.brand-motto {
  font-size: 0.75rem;
  font-weight: 500;
  color: #374151;
  font-style: italic;
  letter-spacing: 0.3px;
  white-space: nowrap;
  line-height: 1.2;
  display: flex;
  gap: 0.2rem;
  align-items: center;
  margin-left: 0.5rem;
}

.motto-word {
  display: inline-block;
  animation: fadeInUpWord 4s ease-in-out infinite;
}

.motto-word:nth-child(1) {
  animation-delay: 0s;
}

.motto-word:nth-child(2) {
  animation-delay: 0.3s;
}

.motto-word:nth-child(3) {
  animation-delay: 0.6s;
}

.motto-word:nth-child(4) {
  animation-delay: 0.9s;
}

@keyframes fadeInUpWord {
  0% {
    opacity: 0.4;
    transform: translateY(8px);
  }
  20%, 80% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0.4;
    transform: translateY(8px);
  }
}

/* Alternative: Subtle continuous glow effect (uncomment to use instead) */
/*
.brand-motto {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary);
  font-style: italic;
  letter-spacing: 0.3px;
  line-height: 1.2;
  animation: gentleGlow 3s ease-in-out infinite;
}

@keyframes gentleGlow {
  0%, 100% {
    opacity: 0.8;
    text-shadow: 0 0 5px rgba(26, 161, 221, 0.3);
  }
  50% {
    opacity: 1;
    text-shadow: 0 0 10px rgba(26, 161, 221, 0.5);
  }
}
*/

section { 
  margin-bottom: 2.5rem; 
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 2rem 2rem;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.12);
}

.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--dark);
}

.section-title span {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(26, 161, 221, 0.5);
}

p { 
  font-size: 1rem; 
  color: #4b5563; 
  line-height: 1.7;
}

.muted { 
  font-size: 0.9rem; 
  color: #6b7280; 
}

.hero-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  color: var(--dark);
}

.hero-title span { 
  background: linear-gradient(135deg, var(--primary) 0%, #0d7ba8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #4b5563;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

@media (max-width: 680px) {
  .pill-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }
  
  .pill {
    width: auto;
    text-align: left;
  }
}

.pill {
  font-size: 0.85rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(26, 161, 221, 0.1);
  color: #05597b;
  font-weight: 500;
  border: 1px solid rgba(26, 161, 221, 0.2);
  transition: all 0.3s ease;
}

.pill:hover {
  background: rgba(26, 161, 221, 0.15);
  transform: translateY(-1px);
}

ul { 
  list-style: none; 
  margin-top: 1rem; 
}

li {
  font-size: 0.98rem;
  margin-bottom: 0.75rem;
  color: #4b5563;
  display: block;
  line-height: 1.6;
  position: relative;
  padding-left: 1.5rem;
}

li::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0.7em;
  transform: translateY(-50%);
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(244, 163, 64, 0.5);
}

li strong {
  display: block;
  font-weight: 600;
  margin-bottom: 0.3rem;
  line-height: 1.4;
  word-break: break-word;
  overflow-wrap: break-word;
  width: 100%;
}

@media (max-width: 680px) {
  li {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    padding-left: 1.3rem;
  }
  
  li::before {
    top: 0.75em;
    width: 4px;
    height: 4px;
  }
  
  li strong {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
    line-height: 1.5;
    word-break: break-word;
    overflow-wrap: break-word;
  }
}

/* On very small screens, allow wrapping but keep it clean */
@media (max-width: 400px) {
  li strong {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    word-break: break-word;
    overflow-wrap: break-word;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-label {
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-item {
  font-size: 0.98rem;
  margin-bottom: 0.5rem;
}

.contact-form label {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  display: block;
  color: #4b5563;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 2px solid rgba(148, 163, 184, 0.3);
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  background: #f9fafb;
  outline: none;
  transition: all 0.3s ease;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(26, 161, 221, 0.1);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #0d7ba8 100%);
  color: #fff;
  padding: 0.7rem 2rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(26, 161, 221, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 161, 221, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Join Today Section */
.join-today {
  background: linear-gradient(135deg, #0e577e 0%, #114969 50%, #0d4a66 100%);
  color: #fff;
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(14, 87, 126, 0.3);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out;
}

.join-today-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.join-today-divider {
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);
  margin: 0 2rem;
  height: 100%;
  min-height: 300px;
}

.join-today::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
  pointer-events: none;
}

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

@keyframes rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.join-today .section-title {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.join-today .section-title span {
  background: #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  animation: pulse 2s ease-in-out infinite;
}

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

/* Left Side: Join as Professional */
.join-professional {
  text-align: left;
}

.join-professional .section-title {
  text-align: left;
  margin-bottom: 1rem;
}

.join-description {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.service-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.service-category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  cursor: default;
  min-width: 0;
  box-sizing: border-box;
}

.service-icon {
  color: #fff;
  opacity: 0.9;
  width: 20px;
  height: 20px;
}

.service-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  font-weight: 500;
}

/* Right Side: App Downloads */
.join-apps {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.apps-heading {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.apps-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.apps-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
  align-items: center;
  margin-bottom: 0;
  width: 100%;
  max-width: 100%;
  flex-wrap: wrap;
  box-sizing: border-box;
}


.app-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: float 3s ease-in-out infinite;
  animation-delay: calc(var(--delay, 0) * 0.2s);
  flex: 1;
  max-width: 160px;
}

.app-item:nth-child(1) {
  --delay: 0;
}

.app-item:nth-child(2) {
  --delay: 1;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.app-item:hover {
  transform: translateY(-8px) scale(1.02);
  animation-play-state: paused;
}

.app-logo {
  width: 95px;
  height: 95px;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  animation: logoGlow 2s ease-in-out infinite;
}

@keyframes headerColorWave {
  0% {
    background: linear-gradient(90deg, #1aa1dd 0%, #1aa1dd 25%, #0d7ba8 50%, #1aa1dd 75%, #1aa1dd 100%);
  }
  25% {
    background: linear-gradient(90deg, #1aa1dd 0%, #0d7ba8 25%, #1aa1dd 50%, #0d7ba8 75%, #1aa1dd 100%);
  }
  50% {
    background: linear-gradient(90deg, #0d7ba8 0%, #1aa1dd 25%, #0d7ba8 50%, #1aa1dd 75%, #0d7ba8 100%);
  }
  75% {
    background: linear-gradient(90deg, #1aa1dd 0%, #0d7ba8 25%, #1aa1dd 50%, #0d7ba8 75%, #1aa1dd 100%);
  }
  100% {
    background: linear-gradient(90deg, #1aa1dd 0%, #1aa1dd 25%, #0d7ba8 50%, #1aa1dd 75%, #1aa1dd 100%);
  }
}

@keyframes footerColorWave {
  0% {
    background: linear-gradient(90deg, #0d7ba8 0%, #0d7ba8 20%, #1aa1dd 40%, #1aa1dd 60%, #0d7ba8 80%, #0d7ba8 100%);
  }
  33% {
    background: linear-gradient(90deg, #1aa1dd 0%, #0d7ba8 20%, #0d7ba8 40%, #1aa1dd 60%, #1aa1dd 80%, #0d7ba8 100%);
  }
  66% {
    background: linear-gradient(90deg, #0d7ba8 0%, #1aa1dd 20%, #1aa1dd 40%, #0d7ba8 60%, #0d7ba8 80%, #1aa1dd 100%);
  }
  100% {
    background: linear-gradient(90deg, #0d7ba8 0%, #0d7ba8 20%, #1aa1dd 40%, #1aa1dd 60%, #0d7ba8 80%, #0d7ba8 100%);
  }
}

@keyframes logoGlow {
  0%, 100% {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), 0 0 0 rgba(255, 255, 255, 0);
  }
  50% {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), 0 0 20px rgba(255, 255, 255, 0.3);
  }
}

.app-item:hover .app-logo {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 255, 255, 0.4);
}

.app-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
  transition: all 0.3s ease;
}

.app-item:hover .app-info {
  transform: translateY(-2px);
}

.app-name-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.3;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.app-item:hover .app-name-title {
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.app-type {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  margin-top: 0.1rem;
  white-space: nowrap;
}



footer {
  margin-top: 3rem;
  padding: 1rem 2rem;
  background: #0c6698;
  border-top: none;
  width: 100%;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at left center, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
              radial-gradient(ellipse at right center, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

/* Legal Content Pages Styles */
.legal-content {
  line-height: 1.8;
}

.legal-content p {
  margin-bottom: 1rem;
  color: #4b5563;
}

.legal-section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.legal-section:last-child {
  border-bottom: none;
}

.legal-heading {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
  margin-top: 0;
}

.inline-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.inline-link:hover {
  color: #0d7ba8;
  text-decoration: underline;
}

/* FAQ Styles */
.faq-content {
  margin-top: 1.5rem;
}

.faq-item {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.faq-question {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
  margin-top: 0;
  line-height: 1.4;
}

.faq-answer {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.7;
  margin: 0;
}

.faq-answer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.faq-answer a:hover {
  text-decoration: underline;
}

/* Products Page Styles */
.product-header {
  margin-top: 2rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.product-title {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
  letter-spacing: -0.2px;
  font-weight: 700;
  color: var(--dark);
}

.product-tagline {
  margin: 0;
  color: #4b5f6b;
  font-size: 0.9rem;
}

.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff6d6;
  border: 1px solid rgba(90, 70, 0, 0.15);
  white-space: nowrap;
  height: fit-content;
}

.coming-soon-badge-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5a4600;
  opacity: 0.7;
}

.coming-soon-badge-text {
  font-weight: 600;
  color: #5a4600;
  font-size: 0.75rem;
}

.product-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e6eef2;
}

.product-section h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  letter-spacing: -0.1px;
  font-weight: 700;
  color: var(--dark);
}

.product-section p {
  margin: 0 0 1rem;
  color: #4b5563;
}

.product-section ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.product-section li {
  margin: 0.5rem 0;
  color: #4b5563;
  display: block;
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.6;
}

.legal-content .product-section p.muted {
  margin-top: 1rem;
  margin-bottom: 0;
}

.legal-content > p:not(:first-child) {
  margin-top: 1.5rem;
}

.legal-content > p.muted:last-child {
  margin-top: 1.5rem;
}

/* Contact Page Styles */
.contact-info {
  margin-top: 2rem;
}

.contact-info-item {
  margin-bottom: 1.5rem;
}

.contact-company-name {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.contact-address {
  color: #4b5563;
  margin-bottom: 0.4rem;
  line-height: 1.6;
}

.contact-email {
  color: #1aa1dd;
  font-weight: 500;
  margin-bottom: 0;
  line-height: 1.6;
}

.contact-email a {
  color: #1aa1dd;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-email a:hover {
  color: #0d7ba8;
  text-decoration: underline;
}

/* Page Title Styles */
.page-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.5rem;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--primary) 0%, #0d7ba8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-subtitle {
  font-size: 1.1rem;
  color: #6b7280;
  font-weight: 500;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 400;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 0.25rem;
  display: inline-block;
  margin: 0 0.75rem;
}

.footer-links a:not(:first-child)::before {
  content: "";
  position: absolute;
  left: -0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 0.9em;
  background-color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.footer-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #ffffff;
  transition: width 0.3s ease;
}

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

.footer-links a:hover::after {
  width: 100%;
}

.footer-copyright {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

@media (max-width: 680px) {
  .contact-grid { 
    grid-template-columns: 1fr; 
    gap: 1.5rem;
  }
  
  .hero-title { 
    font-size: 1.5rem; 
  }
  
  .sticky-header {
    padding: 0;
    margin-top: 0;
    top: 0;
    justify-content: flex-start;
    overflow: visible;
  }
  
  .sticky-header .brand-link {
    padding: 0;
    margin: 0;
  }
  
  .coming-soon-banner {
    margin-top: 0;
    font-size: 0.95rem;
    padding: 1rem 1.25rem;
    letter-spacing: 1px;
  }
  
  .page {
    padding: 1.5rem 1.25rem 2.5rem;
    padding-top: calc(0.6rem * 2 + 65px); /* Add space for fixed header on mobile */
    max-width: 100vw;
    overflow-x: hidden;
  }
  
  .header-container {
    padding: 0.6rem 1rem;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0.1rem;
    min-width: 0;
    max-width: 100vw;
    overflow: visible;
    box-sizing: border-box;
  }
  
  .sticky-header .brand-link {
    padding: 0;
    margin: 0;
    flex-shrink: 0;
    flex-grow: 0;
    min-width: 0;
    max-width: fit-content;
    position: static;
    transform: none;
    z-index: 1;
    display: flex;
    align-items: center;
  }
  
  .brand-logo {
    height: 30px;
    width: auto;
    max-width: 92px;
    max-height: 30px;
    display: block;
    flex-shrink: 0;
  }
  
  .top-nav {
    width: auto;
    justify-content: flex-start;
    margin-right: 0;
    margin-left: 1rem;
    flex-shrink: 0;
    min-width: 40px;
    max-width: calc(100vw - 120px);
    z-index: 1001;
    order: -1;
    display: flex;
    align-items: center;
    box-sizing: border-box;
  }
  
  .dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .brand {
    display: flex;
    align-items: center;
    width: auto;
    max-width: 100%;
  }
  
  .dropdown-toggle {
    width: 36px;
    height: 36px;
    padding: 0.4rem;
  }
  
  .hamburger-icon {
    width: 18px;
    height: 18px;
  }
  
  .dropdown-menu {
    right: auto;
    left: 0;
    min-width: 320px;
    max-width: calc(100vw - 2rem);
    padding: 1.25rem 0;
  }
  
  .dropdown-item {
    padding: 1.25rem 2rem;
    font-size: 1.15rem;
    justify-content: flex-start;
    text-align: left;
  }
  
  .card {
    padding: 1.5rem 1.5rem;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  
  .join-today {
    padding: 2rem 1.5rem;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
  }
  
  .join-today::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180%;
    height: 180%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 30%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
    z-index: 0;
  }
  
  .join-today-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
  }
  
  .join-today-divider {
    display: none;
  }
  
  .join-professional {
    text-align: center;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  
  .join-professional .section-title {
    text-align: center;
    font-size: 1.6rem;
  }
  
  .join-description {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
  }
  
  .service-categories {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 0.75rem;
    width: 100%;
    max-width: 100%;
  }
  
  .service-category-item {
    padding: 0.6rem;
  }
  
  .service-icon {
    width: 20px;
    height: 20px;
  }
  
  .service-label {
    font-size: 0.7rem;
  }
  
  .apps-heading {
    font-size: 1.3rem;
  }
  
  .apps-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
  
  .apps-container {
    flex-direction: row;
    gap: 1rem;
    margin-bottom: 0;
    width: 100%;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .app-item {
    max-width: 130px;
    flex: 0 0 auto;
  }
  
  .app-logo {
    width: 80px;
    height: 80px;
    border-radius: 18px;
  }
  
  .app-name-title {
    font-size: 0.95rem;
  }
  
  .app-type {
    font-size: 0.85rem;
  }
  
  
  .join-apps {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  
  .join-professional {
    text-align: center;
  }
  
  .join-professional .section-title {
    text-align: center;
    font-size: 1.5rem;
  }
  
  .join-description {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
  }
  
  .service-icon {
    width: 20px;
    height: 20px;
  }
  
  .service-label {
    font-size: 0.7rem;
  }
  
  .apps-subtitle {
    margin-bottom: 1rem;
  }
  
  .apps-container {
    flex-direction: row;
    gap: 1.25rem;
    margin-bottom: 0;
  }
  
  .app-item {
    max-width: 150px;
  }
  
  .app-logo {
    width: 85px;
    height: 85px;
    border-radius: 20px;
  }
  
  
  .coming-soon-banner-content {
    gap: 0.75rem;
  }
  
  .banner-logo {
    height: 32px;
    width: 32px;
  }
  
  .coming-soon-banner-text {
    letter-spacing: 1.2px;
  }
  
  .brand-link {
    width: 100%;
  }
  
  .brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .brand-info {
    gap: 0.2rem;
  }
  
  .brand-name {
    font-size: 1.32rem;
  }
  
  .brand-motto {
    font-size: 0.6rem;
    padding: 1px 4px;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .page-subtitle {
    font-size: 1rem;
  }
  
  footer {
    padding: 0.5rem 1rem;
    margin-top: 1.5rem;
  }
  
  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.35rem;
  }
  
  .footer-links a {
    margin: 0;
    padding: 0.25rem 0.5rem;
    white-space: nowrap;
  }
  
  .footer-links a:not(:first-child)::before {
    display: none;
  }
  
  .footer-copyright {
    font-size: 0.7rem;
    margin-top: 0.35rem;
    line-height: 1.3;
  }
}

/* Tablet and iPad styles (768px - 1024px) */
@media (min-width: 681px) and (max-width: 1024px) {
  .sticky-header {
    padding: 0.7rem 0;
  }
  
  .sticky-header .brand-link {
    padding: 0;
    margin-left: 0;
  }
  
  .top-nav {
    margin-right: 0;
    margin-left: 2rem;
    order: -1;
  }
  
  .coming-soon-banner {
    margin-top: 0;
  }
  
  .page {
    padding: 2rem 2rem 3rem;
    padding-top: calc(0.7rem * 2 + 60px); /* Add space for fixed header on tablet */
  }
  
  .header-container {
    padding: 0.65rem 1rem;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.05rem;
  }
  
  .card {
    padding: 2rem 2rem;
  }
  
  .join-today {
    padding: 2.5rem 2rem;
  }
  
  .join-today::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
    z-index: 0;
  }
  
  .join-today-content {
    gap: 0;
  }
  
  .join-today-divider {
    margin: 0 2rem;
  }
  
  .service-categories {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
  
  .apps-subtitle {
    margin-bottom: 1.25rem;
  }
  
  .apps-container {
    gap: 2rem;
    margin-bottom: 0;
  }
  
  .app-logo {
    width: 95px;
    height: 95px;
    border-radius: 22px;
  }
  
  .app-name-title {
    font-size: 1.2rem;
  }
  
  .app-type {
    font-size: 0.95rem;
  }
  
  .app-platforms {
    font-size: 0.9rem;
  }
  
  .join-today {
    padding: 2.25rem 2rem;
  }
  
  .join-today-content {
    gap: 2.75rem;
  }
  
  .join-professional .section-title {
    font-size: 1.7rem;
  }
  
  .join-description {
    font-size: 0.98rem;
    margin-bottom: 1.75rem;
  }
  
  .service-categories {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
  
  .apps-subtitle {
    margin-bottom: 1.25rem;
  }
  
  .apps-container {
    gap: 2rem;
    margin-bottom: 0;
  }
  
  .app-logo {
    width: 90px;
    height: 90px;
    border-radius: 20px;
  }
  
  .apps-subtitle {
    margin-bottom: 1.25rem;
  }
  
  .apps-container {
    margin-bottom: 0;
  }
  
  .sticky-header {
    padding: 0;
    top: 0;
    justify-content: flex-start;
  }
  
  .sticky-header .brand-link {
    padding: 0;
    margin-left: 0;
  }
  
  .top-nav {
    margin-right: 0;
    margin-left: 2rem;
    order: -1;
  }
  
  .coming-soon-banner {
    margin-top: 0;
    font-size: 1.1rem;
    padding: 0.95rem 2rem;
  }
  
  .brand-logo {
    height: 32px;
    width: auto;
    max-width: 98px;
    max-height: 32px;
  }
  
  .brand-name {
    font-size: 1.265rem;
  }
  
  .brand-motto {
    font-size: 0.55rem;
    padding: 1px 4px;
  }
  
  .contact-grid {
    gap: 1.5rem;
  }
}

/* Ensure all images are responsive */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Ensure touch targets are at least 44px for mobile */
@media (max-width: 680px) {
  a, button {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  .dropdown-item {
    justify-content: flex-start;
    text-align: left;
  }
  
  .footer-links a {
    padding: 0.3rem 0.5rem;
  }
}

/* Very small screens - ensure menu is always visible */
@media (max-width: 400px) {
  .header-container {
    padding: 0.5rem 0.75rem;
    gap: 0.1rem;
    justify-content: flex-start;
    max-width: 100vw;
    box-sizing: border-box;
  }
  
  .dropdown-menu {
    min-width: 300px;
    max-width: calc(100vw - 1.5rem);
    padding: 1.25rem 0;
  }
  
  .dropdown-item {
    padding: 1.25rem 2rem;
  }
  
  .sticky-header .brand-link {
    margin-left: 0;
    margin-right: 0;
    position: static;
    transform: none;
    z-index: 1;
    flex-shrink: 0;
    flex-grow: 0;
    max-width: fit-content;
    display: flex;
    align-items: center;
  }
  
  .brand-logo {
    height: 26px;
    width: auto;
    max-width: 82px;
    max-height: 26px;
  }
  
  .top-nav {
    margin-right: 0;
    margin-left: 0.75rem;
    order: -1;
  }
  
  .dropdown-toggle {
    width: 36px;
    height: 36px;
    padding: 0.35rem;
  }
  
  .hamburger-icon {
    width: 18px;
    height: 18px;
  }
  
  /* Very small screens: 2 columns for service categories */
  .service-categories {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Intermediate screen sizes - stack layout to prevent overflow */
@media (min-width: 681px) and (max-width: 900px) {
  .join-today-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .join-today-divider {
    display: none;
  }
  
  .join-professional {
    text-align: center;
  }
  
  .apps-container {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .join-today::before {
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 30%, transparent 70%);
    animation: rotate 20s linear infinite;
  }
}

/* Landscape phone orientation - ensure proper overflow handling */
@media (max-width: 900px) and (orientation: landscape) {
  .join-today {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
  }
  
  .join-today-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .join-professional {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .join-apps {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .apps-container {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 100%;
  }
  
  .service-categories {
    width: 100%;
    max-width: 100%;
  }
}
