/* ==========================================================================
   C2F.Cleaning — Coming Soon Stylesheet
   Color palette and visual assets sampled from C2F Cleaning design system:
   - Background: #0f172a (Slate 900) with deep navy layers #0b1120 & #101c2a
   - Brand Green: #2eae09 (Peak vibrant green for C2F logo & primary buttons)
   - Accent Cyan: #38bdf8 (Badge highlights & glow accents)
   - Card Surface: rgba(16, 28, 42, 0.85) with glassmorphism blur
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties / Variables
   -------------------------------------------------------------------------- */
:root {
  /* Brand Colors */
  --color-brand-green: #2eae09;
  --color-brand-green-hover: #34be10;
  --color-brand-green-glow: rgba(46, 174, 9, 0.35);
  --color-brand-green-subtle: rgba(46, 174, 9, 0.12);
  --color-brand-green-border: rgba(46, 174, 9, 0.3);

  --color-brand-cyan: #38bdf8;
  --color-brand-cyan-subtle: rgba(14, 165, 233, 0.12);
  --color-brand-cyan-border: rgba(56, 189, 248, 0.25);

  /* Backgrounds */
  --color-bg-deep: #0b1120;
  --color-bg-main: #0f172a;
  --color-card-bg: rgba(16, 28, 42, 0.85);
  --color-card-border: rgba(255, 255, 255, 0.08);

  /* Text Colors */
  --color-text-heading: #ffffff;
  --color-text-body: #94a3b8;
  --color-text-muted: #64748b;
  --color-text-highlight: #e2e8f0;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Layout & Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-pill: 9999px;
}

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

html {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-body);
  background-color: var(--color-bg-deep);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  position: relative;
  overflow-x: hidden;
  background-color: var(--color-bg-deep);
  background-image:
    radial-gradient(circle at 50% 0%, rgba(46, 174, 9, 0.14) 0%, transparent 55%),
    radial-gradient(circle at 90% 25%, rgba(14, 165, 233, 0.09) 0%, transparent 40%),
    radial-gradient(circle at 10% 75%, rgba(46, 174, 9, 0.08) 0%, transparent 45%),
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size:
    100% 100%,
    100% 100%,
    100% 100%,
    48px 48px,
    48px 48px;
}

/* --------------------------------------------------------------------------
   Background Ambient Lighting Effects
   -------------------------------------------------------------------------- */
.ambient-glow {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(80px);
}

.glow-top-center {
  width: 450px;
  height: 300px;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(46, 174, 9, 0.22) 0%, transparent 70%);
}

.glow-bottom-right {
  width: 350px;
  height: 350px;
  bottom: -50px;
  right: -50px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, transparent 70%);
}

/* --------------------------------------------------------------------------
   Main Container & Glassmorphism Card
   -------------------------------------------------------------------------- */
.coming-soon-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  background: var(--color-card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-card-border);
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.7),
    0 0 45px -10px rgba(46, 174, 9, 0.12);
  overflow: hidden;
  animation: cardFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Luminous top border accent matching the modern dashboard feel */
.coming-soon-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(46, 174, 9, 0.4) 20%,
    var(--color-brand-green) 50%,
    var(--color-brand-cyan) 80%,
    transparent 100%
  );
}

/* --------------------------------------------------------------------------
   Logo Branding (Matches c2f_cleaning_screenshot_1.png)
   -------------------------------------------------------------------------- */
.brand-wrapper {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.brand-logo {
  font-size: clamp(2.25rem, 5.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  display: inline-flex;
  align-items: baseline;
  user-select: none;
}

/* "C2F" in vibrant green */
.brand-logo .brand-highlight {
  color: var(--color-brand-green);
  text-shadow: 0 0 20px rgba(46, 174, 9, 0.45);
}

/* "." in clean crisp white */
.brand-logo .brand-dot {
  color: var(--color-text-heading);
}

/* "Cleaning" in crisp white */
.brand-logo .brand-name {
  color: var(--color-text-heading);
}

/* Glowing green accent line underneath the logo */
.brand-accent-line {
  width: 140px;
  height: 3px;
  margin-top: 0.65rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--color-brand-green) 50%,
    transparent 100%
  );
  box-shadow: 0 0 10px var(--color-brand-green);
}

/* --------------------------------------------------------------------------
   Pill Badge — Digital Cleaning Workflow / Q4 2026
   -------------------------------------------------------------------------- */
.launch-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-brand-cyan);
  background: var(--color-brand-cyan-subtle);
  border: 1px solid var(--color-brand-cyan-border);
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
}

.pulse-dot {
  position: relative;
  width: 8px;
  height: 8px;
  background-color: var(--color-brand-green);
  border-radius: 50%;
  display: inline-block;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 50%;
  background-color: var(--color-brand-green);
  opacity: 0.6;
  animation: pulseAnimation 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* --------------------------------------------------------------------------
   Headings & Typography
   -------------------------------------------------------------------------- */
h1 {
  color: var(--color-text-heading);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin-bottom: 1.15rem;
}

.lead-text {
  color: var(--color-text-body);
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  line-height: 1.65;
  margin-bottom: 1.75rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.lead-text strong {
  color: var(--color-text-highlight);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Feature Pills (Echoing the 3 verified badges from the screenshot)
   -------------------------------------------------------------------------- */
.feature-highlights {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-pill);
  font-size: 0.825rem;
  font-weight: 500;
  color: var(--color-text-highlight);
}

.feature-pill svg {
  width: 15px;
  height: 15px;
  color: var(--color-brand-green);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   CTA Button & Newsletter Link
   (Matches the "Request Quote" button styling from the screenshot)
   -------------------------------------------------------------------------- */
.cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 2rem;
  background-color: var(--color-brand-green);
  background-image: linear-gradient(135deg, var(--color-brand-green) 0%, #3ebd12 100%);
  color: #ffffff;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-sm);
  box-shadow:
    0 4px 16px var(--color-brand-green-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  background-color: var(--color-brand-green-hover);
  background-image: linear-gradient(135deg, #32c70d 0%, #46cf16 100%);
  transform: translateY(-2px);
  box-shadow:
    0 8px 24px rgba(46, 174, 9, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow:
    0 2px 8px var(--color-brand-green-glow),
    inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-primary:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.btn-primary svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

.cta-microcopy {
  font-size: 0.825rem;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   Keyframe Animations
   -------------------------------------------------------------------------- */
@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseAnimation {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(2.2);
    opacity: 0;
  }
  100% {
    transform: scale(0.95);
    opacity: 0;
  }
}

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

  .coming-soon-card {
    padding: 1.75rem 1.25rem;
  }

  .feature-highlights {
    flex-direction: column;
    gap: 0.5rem;
  }

  .feature-pill {
    width: 100%;
    justify-content: center;
  }

  .btn-primary {
    width: 100%;
    padding: 0.9rem 1.5rem;
  }
}

/* Accessibility: Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
