/* Gurukripa Parboiling - Pixel-Perfect Responsive Maintenance Page */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --primary-deep: #052616;
  --primary-green: #0A3D24;
  --primary-emerald: #105936;
  --primary-light: #1B7A4B;
  --accent-gold: #D97706;
  --accent-gold-light: #F59E0B;
  --accent-gold-glow: #FBBF24;
  --accent-orange: #EA580C;
  --bg-cream: #FAF7F2;
  --bg-card: #FFFFFF;
  --border-card: #EAE2D4;
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-light: #64748B;
  --white: #FFFFFF;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 12px 30px -8px rgba(10, 61, 36, 0.12);
  --shadow-lg: 0 25px 50px -12px rgba(10, 61, 36, 0.2);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  min-height: 100vh;
  font-family: var(--font-body);
  background-color: var(--bg-cream);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
}

/* Subtle Animated Ambient Background Glow */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 10% 20%, rgba(245, 158, 11, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(10, 61, 36, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(250, 247, 242, 0.6) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* Main Application Viewport Structure */
.app-viewport {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.main-content-container {
  flex: 1;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 1.25rem 3rem 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 1025px) {
  .app-viewport { height: 100vh; overflow: hidden; }
  .main-content-container { height: calc(100vh - 42px); }
}

/* Top Navigation Bar */
.top-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.brand-pill-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
}

.brand-logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.brand-tagline-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--primary-green);
  text-transform: uppercase;
  background: rgba(10, 61, 36, 0.06);
  padding: 0.4rem 0.85rem;
  border-radius: 100px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-gold-light);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* Grid Layout for Hero Section */
.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 3.5rem;
  align-items: center;
  flex: 1;
}

/* Left Hero Content */
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.status-pill::before {
  content: '';
  width: 24px;
  height: 2px;
  background-color: var(--accent-gold);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.85rem;
  font-weight: 900;
  color: var(--primary-deep);
  line-height: 1.08;
  letter-spacing: -0.5px;
  margin-bottom: 0.65rem;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 0.96rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  max-width: 540px;
}

/* 4 Feature Cards (Without Heading) */
.features-grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.75rem; /* Generous gap before CTA card */
  max-width: 560px;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 0.85rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.feature-box:hover {
  transform: translateY(-3px);
  border-color: var(--primary-green);
  box-shadow: var(--shadow-md);
}

.feature-box-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(10, 61, 36, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
  margin-bottom: 0.45rem;
  transition: all 0.25s ease;
}

.feature-box:hover .feature-box-icon {
  background: var(--primary-green);
  color: var(--white);
}

.feature-box-icon svg {
  width: 19px;
  height: 19px;
}

.feature-box-title {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-deep);
  line-height: 1.25;
}

/* Single Line CTA Banner Container */
.cta-banner-wrapper {
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary-green) 100%);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  max-width: 560px;
  position: relative;
  overflow: hidden;
  margin-top: 0.5rem;
}

.cta-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.cta-phone-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-phone-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
}

.cta-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cta-label {
  font-size: 0.75rem;
  opacity: 0.85;
  font-weight: 500;
  white-space: nowrap;
}

/* SINGLE LINE PHONE LINK */
.cta-number-link {
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.cta-number-link span {
  color: var(--accent-gold-glow);
  font-weight: 800;
}

.cta-action-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.action-btn {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  text-decoration: none;
  padding: 0.5rem 0.85rem;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.action-btn svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.action-btn:hover {
  background: var(--white);
  color: var(--primary-deep);
  transform: translateY(-1px);
}

.call-btn:hover {
  color: var(--primary-green);
}

.wa-btn:hover {
  background: #25D366;
  border-color: #25D366;
  color: var(--white);
}

/* Right Showcase Frame */
.hero-showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-frame-card {
  position: relative;
  width: 100%;
  max-width: 410px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  padding: 10px;
  background: linear-gradient(145deg, #FFFFFF 0%, #F5EFE3 100%);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(217, 119, 6, 0.2);
  transition: transform 0.3s ease;
}

.image-inner-wrap {
  width: 100%;
  height: 100%;
  border-radius: calc(var(--radius-lg) - 6px);
  overflow: hidden;
  position: relative;
}

.showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Floating Badges on Showcase */
.badge-floating-top {
  position: absolute;
  top: -14px;
  right: -10px;
  background: var(--white);
  border: 1px solid var(--border-card);
  border-radius: 100px;
  padding: 0.45rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  z-index: 3;
  animation: floatTop 3.5s ease-in-out infinite alternate;
}

@keyframes floatTop {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

.badge-gear-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(234, 88, 12, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
}

.badge-gear-icon svg {
  width: 14px;
  height: 14px;
  animation: spinSlow 12s linear infinite;
}

@keyframes spinSlow {
  100% { transform: rotate(360deg); }
}

.badge-floating-top-text {
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--primary-deep);
}

.badge-floating-top-text span {
  color: var(--accent-orange);
  font-weight: 800;
}

.badge-floating-bottom {
  position: absolute;
  bottom: -12px;
  left: -15px;
  background: rgba(10, 61, 36, 0.92);
  backdrop-filter: blur(10px);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: 0 12px 25px rgba(10, 61, 36, 0.25);
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: floatBottom 4s ease-in-out infinite alternate;
}

@keyframes floatBottom {
  0% { transform: translateY(0); }
  100% { transform: translateY(5px); }
}

.rice-leaf-badge {
  font-size: 1.15rem;
}

.badge-bottom-text {
  display: flex;
  flex-direction: column;
}

.badge-bottom-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-gold-glow);
}

.badge-bottom-sub {
  font-size: 0.7rem;
  opacity: 0.85;
}

/* Footer Contact Links Section */
.footer-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border-card);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-green);
}

.footer-contact-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary-green);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--accent-gold);
}

.footer-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
}

/* Bottom Full-Width Banner Strip */
.bottom-banner-strip {
  height: 42px;
  background: var(--primary-deep);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.bottom-banner-strip span {
  color: var(--accent-gold-light);
  margin-left: 0.35rem;
}

/* 📱 High-End Mobile Responsiveness & Clear Spacing */
@media (max-width: 1024px) {
  .app-viewport {
    height: auto;
    overflow: visible;
  }
  .main-content-container {
    height: auto;
    padding: 1.5rem 1.5rem 1rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-showcase {
    order: -1;
    margin-top: 3.5rem; /* Generous gap above showcase so floating pill NEVER touches navbar pill! */
    margin-bottom: 2rem;
  }
  .image-frame-card {
    max-width: 320px;
    margin: 0 auto;
  }
  .badge-floating-top {
    top: -18px;
    right: 5px;
  }
  .features-grid-container {
    margin-bottom: 2rem; /* Generous gap below 4 boxes before CTA banner */
  }
  .cta-banner-wrapper {
    max-width: 100%;
    flex-wrap: wrap;
    margin-top: 0.75rem;
  }
}

@media (max-width: 640px) {
  .top-navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.75rem;
  }
  
  .brand-pill-card {
    padding: 0.4rem 1rem;
  }
  
  .brand-logo-img {
    height: 38px;
  }

  .hero-showcase {
    margin-top: 3.5rem; /* Clear breathing room on small screens! */
  }

  .features-grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 2.25rem; /* Distinct gap below 4 boxes */
  }

  .cta-banner-wrapper {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    gap: 0.85rem;
    margin-top: 0.5rem;
  }

  .cta-left {
    width: 100%;
  }

  .cta-number-link {
    font-size: 0.95rem;
  }

  .cta-action-buttons {
    width: 100%;
    justify-content: flex-start;
  }

  .action-btn {
    flex: 1;
    justify-content: center;
    padding: 0.6rem 1rem;
  }

  .footer-contact-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .bottom-banner-strip {
    font-size: 0.75rem;
    letter-spacing: 1px;
    padding: 0 0.75rem;
  }
}
