/* ==========================================================================
   Design System & Variables - Inspired by PT Value Brand Identity
   ========================================================================== */
:root {
  /* Brand Green Palette */
  --green-50: #f0fdf4;
  --green-100: #dcfce7;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;
  --green-800: #14532d;

  /* Brand Blue Palette */
  --blue-50: #f0f9ff;
  --blue-100: #e0f2fe;
  --blue-500: #0284c7;
  --blue-600: #0072bc;
  --blue-700: #034b8c;
  --blue-800: #0c3660;

  /* Neutrals */
  --card-bg: #ffffff;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  /* Gradients */
  --brand-gradient: linear-gradient(135deg, #16a34a 0%, #0072bc 100%);
  --brand-gradient-hover: linear-gradient(135deg, #15803d 0%, #034b8c 100%);
  --brand-gradient-light: linear-gradient(135deg, rgba(22, 163, 74, 0.08) 0%, rgba(0, 114, 188, 0.08) 100%);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.03);
  --shadow-card: 0 25px 50px -12px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(226, 232, 240, 0.8);
  --shadow-glow: 0 0 35px rgba(0, 114, 188, 0.18);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--slate-50);
  color: var(--slate-800);
  font-family: var(--font-body);
  position: relative;
  overflow-x: hidden;
  padding: 2rem 1rem;
}

/* ==========================================================================
   Ambient Background & Geometric Facets
   ========================================================================== */
.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.28;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.glow-green {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--green-500) 0%, rgba(22, 163, 74, 0) 70%);
  top: -120px;
  left: -100px;
}

.glow-blue {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, var(--blue-600) 0%, rgba(0, 114, 188, 0) 70%);
  bottom: -150px;
  right: -120px;
  animation-duration: 22s;
  animation-direction: alternate-reverse;
}

/* Subtle architectural grid pattern */
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(226, 232, 240, 0.45) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(226, 232, 240, 0.45) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 80%);
}

/* Geometric chevron-like angled facets inspired by the 3D 'V' */
.geometric-shape {
  position: absolute;
  opacity: 0.08;
  border-radius: 12px;
}

.shape-1 {
  width: 280px;
  height: 280px;
  border: 2px solid var(--green-600);
  transform: rotate(45deg);
  top: 10%;
  right: 5%;
  animation: rotateShape 60s linear infinite;
}

.shape-2 {
  width: 340px;
  height: 340px;
  border: 2px solid var(--blue-600);
  transform: rotate(30deg);
  bottom: 8%;
  left: 3%;
  animation: rotateShape 70s linear infinite reverse;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 60px) scale(1.08); }
  100% { transform: translate(-30px, 30px) scale(0.95); }
}

@keyframes rotateShape {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   Main Page Layout & Construction Card
   ========================================================================== */
.page-container {
  width: 100%;
  max-width: 650px;
  position: relative;
  z-index: 10;
  margin: auto;
}

.construction-card {
  background: var(--card-bg);
  border-radius: 24px;
  padding: 2.25rem 2.25rem;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  border: 1px solid rgba(226, 232, 240, 0.9);
  text-align: center;
  transition: transform 0.3s ease;
  backdrop-filter: blur(10px);
}

/* ==========================================================================
   Brand Logo
   ========================================================================== */
.logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: -1rem auto 0.25rem;
}

.brand-logo {
  max-width: 310px;
  width: 100%;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: brightness(1.02) contrast(1.02);
  transition: transform 0.3s ease;
}

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

/* Brand Accent Line */
.brand-divider {
  width: 70px;
  height: 4px;
  margin: 0.4rem auto 1.25rem;
  background: var(--brand-gradient);
  border-radius: 999px;
}

/* ==========================================================================
   Status Badge
   ========================================================================== */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--blue-50);
  border: 1px solid rgba(0, 114, 188, 0.2);
  padding: 0.45rem 1.1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.pulse-indicator {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 10px;
  height: 10px;
}

.ping-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--green-500);
  animation: pingAnimation 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
  opacity: 0.75;
}

.solid-circle {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--green-600);
}

@keyframes pingAnimation {
  75%, 100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

.badge-text {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--blue-700);
  text-transform: uppercase;
}

/* ==========================================================================
   Headings & Typography
   ========================================================================== */
.main-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--slate-900);
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.main-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--slate-600);
  max-width: 520px;
  margin: 0 auto 1.35rem;
}

/* ==========================================================================
   Progress Section
   ========================================================================== */
.progress-box {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.35rem;
  text-align: left;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
}

.progress-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-700);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.progress-label i {
  color: var(--blue-600);
}

.progress-percentage {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green-600);
}

.progress-track {
  width: 100%;
  height: 8px;
  background-color: var(--slate-200);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: var(--brand-gradient);
  border-radius: 999px;
  position: relative;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

/* Shimmer animation on progress bar */
.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: shimmer 2.2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.progress-status-note {
  font-size: 0.775rem;
  color: var(--slate-500);
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ==========================================================================
   Feature Pills
   ========================================================================== */
.feature-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.35rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--slate-700);
  transition: all 0.25s ease;
}

.pill:hover {
  background: #ffffff;
  border-color: var(--blue-500);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.icon-green {
  color: var(--green-600);
}

.icon-blue {
  color: var(--blue-600);
}

/* ==========================================================================
   Action & Contact Section
   ========================================================================== */
.action-section {
  margin-bottom: 1.35rem;
  padding-top: 0.25rem;
}

.action-prompt {
  font-size: 0.875rem;
  color: var(--slate-600);
  margin-bottom: 0.9rem;
}

.button-group {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1.4rem;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
  background: var(--brand-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 14px rgba(0, 114, 188, 0.25);
}

.btn-primary:hover {
  background: var(--brand-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 114, 188, 0.35);
}

.btn-outline {
  background: #ffffff;
  color: var(--slate-800);
  border: 1.5px solid var(--slate-300);
}

.btn-outline:hover {
  border-color: var(--green-600);
  color: var(--green-700);
  background: var(--green-50);
  transform: translateY(-2px);
}

/* Email Notification Form */
.notify-form {
  max-width: 480px;
  margin: 0 auto;
}

.input-wrapper {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid var(--slate-200);
  border-radius: 14px;
  padding: 0.35rem 0.4rem 0.35rem 1rem;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.input-wrapper:focus-within {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(0, 114, 188, 0.12);
}

.input-icon {
  color: var(--slate-500);
  font-size: 0.95rem;
  margin-right: 0.65rem;
}

.input-wrapper input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--slate-800);
  background: transparent;
  padding: 0.5rem 0;
}

.input-wrapper input::placeholder {
  color: var(--slate-500);
}

.btn-submit {
  background: var(--slate-800);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 0.6rem 1.15rem;
  font-family: var(--font-body);
  font-size: 0.825rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-submit:hover {
  background: var(--slate-900);
  transform: translateY(-1px);
}

.form-feedback {
  margin-top: 0.65rem;
  font-size: 0.825rem;
  font-weight: 500;
  min-height: 1.2rem;
  transition: opacity 0.3s ease;
}

.feedback-success {
  color: var(--green-700);
}

.feedback-error {
  color: #dc2626;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.card-footer {
  border-top: 1px solid var(--slate-100);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.domain-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-600);
}

.domain-tag a {
  color: inherit;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s ease;
}

.domain-tag a:hover {
  color: var(--blue-700);
  text-decoration: underline;
}

.copyright-text {
  font-size: 0.775rem;
  color: var(--slate-500);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 640px) {
  body {
    padding: 1rem 0.75rem;
  }

  .construction-card {
    padding: 2.25rem 1.25rem;
    border-radius: 20px;
  }

  .brand-logo {
    max-width: 250px;
  }

  .main-title {
    font-size: 1.65rem;
  }

  .main-description {
    font-size: 0.925rem;
  }

  .button-group {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .input-wrapper {
    flex-direction: column;
    padding: 0.75rem;
    gap: 0.65rem;
  }

  .input-wrapper input {
    width: 100%;
    text-align: center;
  }

  .btn-submit {
    width: 100%;
    justify-content: center;
    padding: 0.7rem;
  }

  .feature-pills {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .pill {
    width: auto;
    font-size: 0.775rem;
    padding: 0.35rem 0.75rem;
  }
}
