/* ================================================================
   FEEDDY FOUNDATION — Coming Soon Page
   Design: Modern Humanitarian Editorial
   Layout: Split two-panel, full-screen
================================================================ */

/* ── RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  background: #1A1A2E;
  color: #1A1A2E;
  -webkit-font-smoothing: antialiased;
}

/* ── DESIGN TOKENS ──────────────────────────────────────────── */
:root {
  --green:        #7BB83A;
  --green-dark:   #5A9A28;
  --green-light:  #A8D26A;
  --yellow:       #F5C842;
  --yellow-dark:  #E0B030;
  --charcoal:     #1A1A2E;
  --charcoal-mid: #252540;
  --white:        #FFFFFF;
  --offwhite:     #FAFFF5;
  --mint:         #F0F9E8;
  --grey:         #6B7280;
  --grey-light:   #9CA3AF;
  --sand:         #E8E0D5;
  --blue:         #42AEFF;
  --blue-light:   #EBF5FF;

  --font-heading: 'Clash Display Variable', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-pill: 9999px;

  --shadow-sm:  0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.14);

  --transition: all 300ms ease;
}


/* ── BACKGROUND BLOBS ───────────────────────────────────────── */
/* Decorative blurred circles — add warmth to the dark background */
.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.blob-green {
  width: 600px;
  height: 600px;
  background: rgba(123, 184, 58, 0.18);
  bottom: -100px;
  left: -150px;
}

.blob-yellow {
  width: 400px;
  height: 400px;
  background: rgba(245, 200, 66, 0.12);
  top: -80px;
  left: 30%;
}

.blob-green-2 {
  width: 300px;
  height: 300px;
  background: rgba(123, 184, 58, 0.10);
  top: 20%;
  right: -80px;
}


/* ── MAIN WRAPPER ───────────────────────────────────────────── */
.cs-wrapper {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}


/* ── LEFT PANEL ─────────────────────────────────────────────── */
.cs-left {
  background: var(--charcoal);
  display: flex;
  align-items: center;
  padding: 60px;
  position: relative;
  overflow: hidden;
}

/* Subtle left border accent */
.cs-left::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(123,184,58,0.3) 30%,
    rgba(245,200,66,0.3) 70%,
    transparent
  );
}

.cs-left-inner {
  max-width: 580px;
  width: 100%;
  animation: fadeUp 800ms ease forwards;
}

/* Logo */
.logoflex {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 40px;
}

.cs-logo {
  display: inline-block;
}

.cs-logo img {
  height: 112px;
  width: auto;
  object-fit: contain;
}

/* Badge */
.cs-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  background: rgba(245,200,66,0.12);
  border: 1px solid rgba(245,200,66,0.25);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 28px;
}

.cs-badge::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background: var(--yellow);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

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

/* Headline */
.cs-headline {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 600;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.cs-headline .highlight {
  color: var(--green);
  position: relative;
  display: inline-block;
}

/* Underline accent on highlighted words */
.cs-headline .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--yellow);
  border-radius: 2px;
  opacity: 0.6;
}

/* Description */
.cs-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  max-width: 420px;
  margin-bottom: 48px;
}

/* Social */
.cs-social-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}

.social-row {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}

.social-btn svg {
  width: 18px;
  height: 18px;
}

.social-btn:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(123,184,58,0.35);
}


/* ── RIGHT PANEL ────────────────────────────────────────────── */
.cs-right {
  background: var(--offwhite);
  display: flex;
  align-items: center;
  padding: 60px;
  overflow-y: auto;
}

.cs-right-inner {
  max-width: 480px;
  width: 100%;
  animation: fadeUp 800ms 200ms ease both;
  display: flex;
  flex-direction: column;
  gap: 40px;
}


/* ── COUNTDOWN ──────────────────────────────────────────────── */
.countdown-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 20px;
}

.countdown-grid {
  display: flex;
  align-items: center;
  gap: 8px;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  min-width: 80px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.countdown-unit:hover {
  border-color: var(--green);
  box-shadow: 0 4px 16px rgba(123,184,58,0.15);
  transform: translateY(-2px);
}

.countdown-num {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  color: var(--charcoal);
  line-height: 1;
  transition: color 300ms ease;
}

.countdown-num.tick {
  color: var(--green);
}

.countdown-name {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-light);
  margin-top: 6px;
}

.countdown-sep {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 900;
  color: var(--sand);
  line-height: 1;
  padding-bottom: 20px;
}


/* ── DIVIDER ────────────────────────────────────────────────── */
.cs-divider {
  height: 1px;
  background: var(--sand);
  border-radius: 1px;
}


/* ── EMAIL SIGNUP ───────────────────────────────────────────── */
.cs-signup h2 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.cs-signup p {
  font-size: 15px;
  color: var(--grey);
  line-height: 1.6;
  margin-bottom: 24px;
}

.form-row {
  display: flex;
  gap: 10px;
}

.form-row input {
  flex: 1;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--charcoal);
  background: var(--white);
  border: 1.5px solid var(--sand);
  border-radius: var(--radius-pill);
  padding: 14px 20px;
  outline: none;
  transition: border-color 300ms ease, box-shadow 300ms ease;
}

.form-row input::placeholder {
  color: var(--grey-light);
}

.form-row input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(123,184,58,0.15);
}

.btn-notify {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--charcoal);
  background: var(--yellow);
  border: 2px solid var(--yellow);
  border-radius: var(--radius-pill);
  padding: 14px 24px;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.btn-notify:hover {
  background: var(--yellow-dark);
  border-color: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,200,66,0.4);
}

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

.form-note {
  font-size: 12px;
  color: var(--grey-light);
  margin-top: 12px;
}

/* Success state */
.form-success {
  display: none;
  align-items: center;
  gap: 16px;
  background: var(--mint);
  border: 1.5px solid rgba(123,184,58,0.3);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
}

.form-success.visible {
  display: flex;
  animation: fadeUp 400ms ease forwards;
}

.success-icon {
  width: 44px;
  height: 44px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.success-icon svg {
  width: 20px;
  height: 20px;
}

.form-success strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.form-success span {
  font-size: 14px;
  color: var(--grey);
}


/* ── PROGRAM PREVIEW ────────────────────────────────────────── */
.preview-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 16px;
}

.preview-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.preview-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  transition: var(--transition);
  text-decoration: none;
  cursor: pointer;
}

.preview-item:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.preview-arrow {
  width: 18px;
  height: 18px;
  color: var(--grey-light);
  margin-left: auto;
  flex-shrink: 0;
  transition: transform 300ms ease, color 300ms ease;
}

.preview-item:hover .preview-arrow {
  color: var(--green);
  transform: translateX(4px);
}

.preview-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.preview-icon svg {
  width: 22px;
  height: 22px;
}

.preview-icon-blue {
  background: #EBF5FF;
  color: #1a7fd4;
}

.preview-icon-green {
  background: var(--mint);
  color: var(--green-dark);
}

.preview-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--charcoal);
}

.preview-item span {
  display: block;
  font-size: 13px;
  color: var(--grey);
  margin-top: 2px;
}


/* ── CONTACT LINK ───────────────────────────────────────────── */
.cs-contact {
  font-size: 14px;
  color: var(--grey);
  text-align: center;
}

.cs-contact a {
  color: var(--green);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 300ms ease;
}

.cs-contact a:hover {
  color: var(--green-dark);
}


/* ── ANIMATION ──────────────────────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ── RESPONSIVE ─────────────────────────────────────────────── */

/* Tablet → 1024px */
@media (max-width: 1024px) {
  .cs-left,
  .cs-right {
    padding: 48px 40px;
  }

  .countdown-unit {
    min-width: 68px;
    padding: 16px 16px;
  }
}

/* Tablet portrait → 768px: stack panels */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    height: auto;
  }

  .cs-wrapper {
    grid-template-columns: 1fr;
    min-height: 100vh;
  }

  .cs-left {
    padding: 56px 28px 48px;
  }

  .cs-left::after {
    display: none;
  }

  .cs-left-inner {
    max-width: 100%;
  }

  .cs-right {
    padding: 48px 28px 60px;
  }

  .cs-right-inner {
    max-width: 100%;
  }

  .blob-green  { width: 300px; height: 300px; }
  .blob-yellow { width: 200px; height: 200px; }
  .blob-green-2 { display: none; }
}

/* Mobile → 480px */
@media (max-width: 480px) {
  .cs-headline {
    font-size: 40px;
  }

  .form-row {
    flex-direction: column;
  }

  .btn-notify {
    width: 100%;
    text-align: center;
  }

  .countdown-grid {
    gap: 4px;
  }

  .countdown-unit {
    min-width: 58px;
    padding: 14px 10px;
  }

  .countdown-sep {
    font-size: 24px;
  }
}
