/* ==========================================================================
   JONAS FOOD & SNACK CO. - Luxury Catchy Maintenance Page Styles
   Brand Identity: Royal Deep Forest Olive, Champagne Gold, & Warm Linen
   ========================================================================== */

:root {
  /* Rich Luxurious Palette */
  --bg-deep: #131A0D;
  --bg-dark: #1C2614;
  --bg-card: rgba(28, 38, 20, 0.78);
  --bg-card-hover: rgba(35, 48, 25, 0.88);
  --bg-glass: rgba(255, 255, 255, 0.04);

  --color-olive: #546B3B;
  --color-olive-bright: #7A9B54;
  --color-olive-glow: rgba(122, 155, 84, 0.35);

  --color-gold: #D4AF37;
  --color-gold-light: #F6E2B3;
  --color-gold-dark: #A57C1B;
  --gold-gradient: linear-gradient(135deg, #FFF0D0 0%, #D4AF37 50%, #B8860B 100%);
  --gold-gradient-glow: linear-gradient(135deg, rgba(246, 226, 179, 0.25) 0%, rgba(212, 175, 55, 0.15) 100%);

  --color-cream: #FAF6ED;
  --color-cream-muted: #D5D0C3;
  --color-cream-soft: #9BA48F;

  --border-gold: rgba(212, 175, 55, 0.25);
  --border-subtle: rgba(255, 255, 255, 0.08);

  /* Typography */
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-classic: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows */
  --shadow-card: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(84, 107, 59, 0.2);
  --shadow-glow-gold: 0 0 25px rgba(212, 175, 55, 0.4);
  --shadow-glow-olive: 0 0 35px rgba(122, 155, 84, 0.3);

  /* Transitions */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  min-height: 100vh;
  background-color: var(--bg-deep);
  background-image: 
    radial-gradient(at 0% 0%, rgba(84, 107, 59, 0.28) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(212, 175, 55, 0.15) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(22, 30, 15, 0.95) 0%, #0F150A 100%);
  color: var(--color-cream);
  font-family: var(--font-sans);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 1.25rem;
}

/* ==========================================================================
   Ambient Glow Orbs & Interactive Particle Canvas
   ========================================================================== */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

.glow-top {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(122, 155, 84, 0.35) 0%, transparent 70%);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  animation: pulseGlow 12s infinite alternate ease-in-out;
}

.glow-bottom {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
  bottom: -180px;
  right: -100px;
  animation: pulseGlow 15s infinite alternate-reverse ease-in-out;
}

.glow-center {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(84, 107, 59, 0.15) 0%, transparent 65%);
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes pulseGlow {
  0% { transform: translate(-50%, 0) scale(1); opacity: 0.35; }
  100% { transform: translate(-50%, 30px) scale(1.15); opacity: 0.6; }
}

.stars-canvas-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

#ambient-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* ==========================================================================
   Page Container
   ========================================================================== */
.page-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ==========================================================================
   Top Announcement Pill
   ========================================================================== */
.top-announcement {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(28, 38, 20, 0.85);
  border: 1px solid var(--border-gold);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.45rem 1.15rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(212, 175, 55, 0.15);
  animation: fadeInDown 0.7s var(--ease-smooth) forwards;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

.live-beacon {
  width: 8px;
  height: 8px;
  background-color: var(--color-gold);
  border-radius: 50%;
  position: relative;
}

.live-beacon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background-color: var(--color-gold-light);
  opacity: 0.7;
  animation: beaconPulse 1.8s infinite ease-out;
}

@keyframes beaconPulse {
  0% { transform: scale(0.8); opacity: 0.9; }
  70% { transform: scale(2.4); opacity: 0; }
  100% { transform: scale(2.4); opacity: 0; }
}

.announcement-text {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-gold-light);
}

.badge-tag {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: var(--gold-gradient);
  color: #1A2312;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
}

/* ==========================================================================
   Hero Main Glass Card
   ========================================================================== */
.hero-card {
  width: 100%;
  background: var(--bg-card);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 28px;
  padding: 4rem 3.5rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  animation: cardElevate 0.9s var(--ease-smooth) forwards;
}

/* Radiant Gold Corner Highlights */
.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(246, 226, 179, 0.8) 50%, transparent 100%);
}

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

/* ==========================================================================
   Brand Emblem & Logo Header
   ========================================================================== */
.brand-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.75rem;
}

.brand-emblem {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle, #2A381F 0%, #151D0F 100%);
  border: 2px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.35);
  margin-bottom: 1.25rem;
  transition: transform 0.4s var(--ease-smooth);
}

.brand-emblem:hover {
  transform: rotate(15deg) scale(1.08);
}

.emblem-letter {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 700;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.brand-logo-text {
  font-family: var(--font-serif);
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0.08em;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(212, 175, 55, 0.3));
  text-transform: uppercase;
}

.brand-sub-badge {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.42em;
  color: var(--color-cream);
  text-transform: uppercase;
  margin-top: 0.6rem;
  padding-left: 0.42em;
  opacity: 0.95;
}

.brand-tagline {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--color-olive-bright);
  text-transform: uppercase;
  margin-top: 0.85rem;
}

/* Gold Divider */
.gold-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 180px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  margin: 1.75rem auto 2.25rem auto;
}

.gold-divider .diamond {
  width: 7px;
  height: 7px;
  background: var(--color-gold);
  transform: rotate(45deg);
  box-shadow: 0 0 8px var(--color-gold);
}

/* ==========================================================================
   Hero Statement Headline
   ========================================================================== */
.hero-statement {
  max-width: 680px;
  margin: 0 auto 2.5rem auto;
}

.statement-headline {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 400;
  line-height: 1.22;
  color: var(--color-cream);
  margin-bottom: 1.25rem;
}

.gradient-text {
  background: linear-gradient(135deg, #FFF3D6 0%, #E5BE64 50%, #A67C1E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  display: inline-block;
}

.statement-body {
  font-size: 1.1rem;
  color: var(--color-cream-muted);
  line-height: 1.75;
  font-weight: 400;
}

/* ==========================================================================
   Readiness Track & Milestones
   ========================================================================== */
.readiness-section {
  background: rgba(18, 25, 13, 0.7);
  border: 1px solid var(--border-gold);
  border-radius: 18px;
  padding: 1.4rem 1.75rem;
  margin-bottom: 2.75rem;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.4);
}

.readiness-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.readiness-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-gold-light);
}

.readiness-title svg {
  color: var(--color-gold);
  animation: spinSlow 12s linear infinite;
}

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

.readiness-pct {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-gold);
}

.meter-track {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
  margin-bottom: 1.25rem;
}

.meter-bar {
  height: 100%;
  background: var(--gold-gradient);
  border-radius: 9999px;
  position: relative;
  transition: width 1.5s var(--ease-smooth);
}

.meter-glow {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 25px;
  background: #FFFFFF;
  filter: blur(4px);
  opacity: 0.8;
}

.milestones-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-cream-soft);
}

.step-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--color-cream-soft);
}

.step.done .step-dot {
  background: var(--color-olive);
  border-color: var(--color-olive-bright);
  color: #FFFFFF;
  box-shadow: 0 0 10px var(--color-olive-glow);
}

.step.done span {
  color: var(--color-cream-muted);
}

.step.active .step-dot {
  background: var(--gold-gradient);
  border-color: var(--color-gold-light);
  color: #192211;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
  animation: activePulse 2s infinite ease-in-out;
}

.step.active span {
  color: var(--color-gold-light);
  font-weight: 700;
}

@keyframes activePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

/* ==========================================================================
   Feature Cards Showcase
   ========================================================================== */
.features-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.75rem;
}

.feature-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 1.85rem 1.4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--ease-smooth);
}

.feature-box:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-gold);
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(212, 175, 55, 0.15);
}

.feature-box.featured {
  border-color: rgba(212, 175, 55, 0.4);
  background: rgba(212, 175, 55, 0.04);
}

.featured-ribbon {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  background: var(--gold-gradient);
  color: #192311;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
}

.feature-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: radial-gradient(circle, rgba(122, 155, 84, 0.25) 0%, rgba(28, 38, 20, 0.8) 100%);
  border: 1px solid rgba(122, 155, 84, 0.35);
  color: var(--color-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.15rem auto;
  transition: transform 0.35s var(--ease-smooth);
}

.feature-box:hover .feature-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.feature-icon-wrapper svg {
  width: 24px;
  height: 24px;
}

.feature-box h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-cream);
  margin-bottom: 0.5rem;
}

.feature-box p {
  font-size: 0.85rem;
  color: var(--color-cream-soft);
  line-height: 1.55;
}

.feature-accent-line {
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.feature-box:hover .feature-accent-line {
  opacity: 1;
}

/* ==========================================================================
   Lead Capture & Subscribe Card
   ========================================================================== */
.lead-capture-card {
  background: linear-gradient(135deg, rgba(84, 107, 59, 0.22) 0%, rgba(212, 175, 55, 0.12) 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 22px;
  padding: 2.25rem 2.5rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.lead-text h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--color-cream);
  margin-bottom: 0.4rem;
}

.lead-text p {
  font-size: 0.925rem;
  color: var(--color-cream-muted);
  margin-bottom: 1.5rem;
}

.subscribe-form {
  max-width: 520px;
  margin: 0 auto;
}

.form-input-container {
  display: flex;
  align-items: center;
  background: rgba(15, 21, 10, 0.85);
  border: 1.5px solid var(--border-gold);
  border-radius: 14px;
  padding: 0.35rem 0.45rem 0.35rem 1.15rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.form-input-container:focus-within {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
}

.input-icon {
  color: var(--color-gold);
  display: flex;
  align-items: center;
  margin-right: 0.75rem;
}

.form-input-container input {
  flex: 1;
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: #FFFFFF;
  outline: none;
}

.form-input-container input::placeholder {
  color: var(--color-cream-soft);
}

.glow-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold-gradient);
  color: #172110;
  border: none;
  padding: 0.85rem 1.5rem;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 0.925rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.4);
  transition: all 0.25s var(--ease-smooth);
}

.glow-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.6);
}

.glow-button:active {
  transform: translateY(0);
}

.feedback-msg {
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.75rem;
  min-height: 1.3rem;
}

.feedback-msg.success {
  color: #79D968;
}

.feedback-msg.error {
  color: #FF7B7B;
}

/* ==========================================================================
   Direct Inquiries Action Card
   ========================================================================== */
.direct-inquiry-box {
  margin-bottom: 2.5rem;
}

.inquiry-header {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-cream-soft);
  margin-bottom: 1rem;
}

.email-action-card {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 1rem 2rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.35s var(--ease-smooth);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.email-action-card:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: var(--color-gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.25);
}

.email-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #172110;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.email-details {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.email-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-gold-light);
}

.email-address {
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.02em;
}

.email-arrow {
  color: var(--color-gold);
  transition: transform 0.3s ease;
}

.email-action-card:hover .email-arrow {
  transform: translate(3px, -3px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-area {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.75rem;
  width: 100%;
}

.footer-pills {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.pill-item {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-cream-soft);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
}

.copyright-text {
  font-size: 0.8rem;
  color: var(--color-cream-soft);
}

.copyright-text strong {
  color: var(--color-gold-light);
}

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

  .hero-card {
    padding: 3rem 1.75rem;
  }

  .brand-logo-text {
    font-size: 3.5rem;
  }

  .brand-sub-badge {
    font-size: 0.8rem;
    letter-spacing: 0.3em;
  }

  .statement-headline {
    font-size: 2.1rem;
  }

  .features-showcase {
    grid-template-columns: 1fr;
  }

  .milestones-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .form-input-container {
    flex-direction: column;
    padding: 0.75rem;
    gap: 0.75rem;
  }

  .glow-button {
    width: 100%;
    justify-content: center;
  }

  .email-action-card {
    width: 100%;
    justify-content: space-between;
    padding: 1rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .brand-logo-text {
    font-size: 2.8rem;
  }

  .statement-headline {
    font-size: 1.75rem;
  }

  .email-address {
    font-size: 0.95rem;
  }
}
