/* ==========================================================================
   FitEz - Coming Soon Landing Page Stylesheet
   ========================================================================== */

/* Design Tokens */
:root {
  --color-bg: #f8fbff;
  --color-text-dark: #0a1128;
  --color-text-blue: #0066ff;
  --color-text-contact: #415065;
  --color-badge-bg: #eaf3fe;
  --color-badge-bg-hover: #dbeaff;
  --color-divider: #d2dbe5;
  --color-shadow: rgba(0, 102, 255, 0.08);

  --font-headline: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* CSS Reset & Defaults */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--color-bg);
  color: var(--color-text-dark);
  overflow-x: hidden;
}

/* Page Layout */
.page-wrapper {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-image: url('background.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 40px 20px;
}

/* Content Container */
.content-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 900px;
  position: relative;
  z-index: 2;
  animation: fadeIn 0.8s ease-out;
}

/* Logo Styling */
.logo-wrapper {
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  perspective: 1000px;
}

.logo-img {
  width: 126px;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(0, 102, 255, 0.12));
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.3s ease;
  will-change: transform;
  animation: gentleFloat 4s ease-in-out infinite;
}

.logo-wrapper:hover .logo-img {
  transform: translateY(-4px) scale(1.05);
  filter: drop-shadow(0 12px 28px rgba(0, 102, 255, 0.22));
}

/* Headline Styling */
.headline {
  font-family: var(--font-headline);
  font-size: clamp(2.35rem, 5.2vw, 4.15rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.035em;
  margin-bottom: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  user-select: none;
}

.headline-dark {
  color: var(--color-text-dark);
  display: block;
}

.headline-blue {
  color: var(--color-text-blue);
  display: block;
  position: relative;
}

/* Contact Bar */
.contact-bar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 4px;
  padding: 6px 12px;
  border-radius: 12px;
  transition: var(--transition-smooth);
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 10px;
  transition: var(--transition-smooth);
  outline: none;
}

.contact-item:focus-visible {
  box-shadow: 0 0 0 2px var(--color-text-blue);
}

/* Icon Badges */
.icon-badge {
  width: 34px;
  height: 34px;
  background-color: var(--color-badge-bg);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px var(--color-shadow);
  transition: var(--transition-smooth);
}

.icon-svg {
  display: block;
  transition: transform 0.25s ease;
}

.contact-text {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-text-contact);
  letter-spacing: -0.012em;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

/* Hover & Interactive States */
.contact-item:hover {
  transform: translateY(-1.5px);
}

.contact-item:hover .icon-badge {
  background-color: var(--color-badge-bg-hover);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.18);
  transform: scale(1.06);
}

.contact-item:hover .contact-text {
  color: var(--color-text-blue);
}

.contact-item:active {
  transform: translateY(0);
}

/* Vertical Divider */
.divider {
  width: 1px;
  height: 22px;
  background-color: var(--color-divider);
  flex-shrink: 0;
  border-radius: 1px;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(10, 17, 40, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  pointer-events: none;
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Subtle Micro-Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gentleFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Responsive Breakpoints */
@media (max-width: 680px) {
  .page-wrapper {
    padding: 30px 16px;
  }

  .logo-img {
    width: 110px;
  }

  .headline {
    margin-bottom: 28px;
  }

  .contact-bar {
    flex-direction: column;
    gap: 14px;
    width: 100%;
  }

  .divider {
    display: none;
  }

  .contact-item {
    width: 100%;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.04);
  }

  .contact-text {
    font-size: 0.98rem;
  }
}