/* ============================================================
   GROPIK — Complete Design System (All Pages & Components)
   Brand Colors: #2E7D32 | #166534 | #22c55e | #f8faf9
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --primary:        #2E7D32;
  --primary-dark:   #166534;
  --primary-light:  #f0fdf4;
  --primary-border: #bbf7d0;
  --dark:           #0f172a;
  --slate:          #475569;
  --slate-light:    #94a3b8;
  --border:         #e2e8f0;
  --white:          #ffffff;
  --bg:             #fafafa;
  --shadow-sm:      0 2px 8px rgba(0,0,0,0.04);
  --shadow-md:      0 8px 24px rgba(0,0,0,0.06);
  --shadow-lg:      0 20px 48px rgba(0,0,0,0.08);
  --radius-sm:      10px;
  --radius-md:      16px;
  --radius-lg:      24px;
  --radius-pill:    999px;
  --font:           'Plus Jakarta Sans', -apple-system, sans-serif;
  --transition:     all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--bg);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

.container     { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm  { max-width: 840px;  margin: 0 auto; padding: 0 1.5rem; }
.text-green    { color: var(--primary); }

/* ============================================================
   ✨ SMOOTH SCROLL & FADE ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

@keyframes floatAnim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes pulseGlow {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* ── NAVBAR (Sleek Floating Pill) ── */
.navbar {
  position: fixed; top: 16px; left: 0; right: 0; z-index: 1000;
  transition: var(--transition);
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  padding: 0 1.25rem;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand .nav-icon { height: 32px; width: 32px; border-radius: 8px; }
.nav-brand .logo-img { height: 26px; width: auto; }

.nav-menu { display: flex; list-style: none; gap: 0.25rem; align-items: center; }
.nav-menu a {
  padding: 0.45rem 0.9rem; border-radius: var(--radius-pill);
  font-size: 0.875rem; font-weight: 600; color: var(--slate);
  transition: var(--transition);
}
.nav-menu a:hover, .nav-menu a.active { color: var(--primary-dark); background: var(--primary-light); }

.nav-cta {
  background: var(--primary) !important;
  color: white !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 700 !important;
  font-size: 0.875rem !important;
  transition: var(--transition) !important;
  box-shadow: 0 4px 12px rgba(46,125,50,0.2);
}
.nav-cta:hover { background: var(--primary-dark) !important; transform: translateY(-1px); }

.nav-toggle {
  display: none; flex-direction: column; gap: 4px;
  background: none; border: none; padding: 6px; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--dark); border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   📄 PAGE HERO (FOR INNER PAGES: ABOUT, CONTACT, PRIVACY, etc.)
   ============================================================ */
.page-hero {
  padding: 120px 0 45px; /* Clears floating navbar cleanly */
  background: linear-gradient(180deg, #f0fdf4 0%, #fafafa 100%);
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--dark);
  margin-top: 8px;
  margin-bottom: 8px;
}
.page-hero p {
  color: var(--slate);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   HERO SECTION (INDEX HOMEPAGE)
   ============================================================ */
.hero {
  padding: 130px 0 70px;
  background: radial-gradient(circle at 75% 20%, #f0fdf4 0%, #fafafa 60%);
  position: relative; overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: white; border: 1px solid var(--primary-border);
  padding: 6px 16px; border-radius: var(--radius-pill);
  font-size: 0.8125rem; font-weight: 600; color: var(--primary-dark);
  box-shadow: var(--shadow-sm); margin-bottom: 1.25rem;
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #22c55e;
  animation: pulseGlow 2s infinite;
}

.hero-headline {
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 800; line-height: 1.2;
  letter-spacing: -0.8px; color: var(--dark); margin-bottom: 1rem;
}
.hero-headline span { color: var(--primary); }

.hero-description {
  font-size: 1.05rem; color: var(--slate);
  margin-bottom: 1.75rem; max-width: 490px; line-height: 1.65;
}

.hero-ctas {
  display: flex; gap: 0.85rem; flex-wrap: wrap; align-items: center;
  margin-bottom: 1.75rem;
}

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--primary); color: white;
  padding: 0.85rem 1.6rem; border-radius: var(--radius-pill);
  font-size: 0.9375rem; font-weight: 700;
  box-shadow: 0 4px 16px rgba(46,125,50,0.25);
  transition: var(--transition);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(46,125,50,0.35); }

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: white; color: var(--dark);
  border: 1px solid var(--border);
  padding: 0.85rem 1.4rem; border-radius: var(--radius-pill);
  font-size: 0.9375rem; font-weight: 600;
  transition: var(--transition);
}
.btn-secondary:hover { background: #f1f5f9; transform: translateY(-1px); }

/* 🛍️ STORE BADGES (STRICT MAX HEIGHT 44px) */
.store-badges-hero, .store-badges, .store-badges-cta {
  display: flex; gap: 12px; align-items: center; justify-content: flex-start;
  margin-top: 1.5rem;
}
.store-badge-img-hero, .store-badge-img, .store-badge-cta {
  height: 44px !important; max-height: 44px !important; width: auto !important;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  transition: transform 0.25s, box-shadow 0.25s;
  display: inline-block;
}
.store-badge-img-hero:hover, .store-badge-img:hover, .store-badge-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

.hero-visual { text-align: center; position: relative; }
.hero-img {
  width: 290px; border-radius: 28px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
  border: 6px solid #ffffff; margin: 0 auto;
}

/* Animated Stat Badges */
.stat-float {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 10px 16px; border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 10px;
  animation: floatAnim 4s ease-in-out infinite;
}
.stat-float-1 { top: 12%; left: -20px; }
.stat-float-2 { bottom: 15%; right: -15px; animation-delay: 2s; }

.stat-float-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.stat-float-text strong { display: block; font-size: 14px; font-weight: 700; color: var(--dark); }
.stat-float-text span { font-size: 11px; color: var(--slate); }

/* ============================================================
   SECTIONS & CARD STYLINGS
   ============================================================ */
.section { padding: 70px 0; }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 40px; }
.section-header.center { text-align: center; }
.section-tag {
  display: inline-block; background: var(--primary-light);
  color: var(--primary-dark); font-weight: 700; font-size: 0.75rem;
  padding: 4px 12px; border-radius: var(--radius-pill);
  text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 10px;
}
.section-title { font-size: clamp(1.75rem, 3.5vw, 2.25rem); font-weight: 800; letter-spacing: -0.5px; color: var(--dark); margin-bottom: 8px; }
.section-sub { font-size: 0.95rem; color: var(--slate); }

/* Bento & Values Grids */
.bento-grid, .values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 992px) { .bento-grid, .values-grid { grid-template-columns: 1fr; } }

.bento-card, .value-card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 24px 20px;
  transition: var(--transition);
}
.bento-card:hover, .value-card:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #bbf7d0;
}
.bento-icon, .value-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 14px; background: var(--primary-light);
}
.bento-card h3, .value-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; color: var(--dark); }
.bento-card p, .value-card p { font-size: 0.875rem; color: var(--slate); line-height: 1.55; }

/* Categories Grid */
.cat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
@media (max-width: 768px) { .cat-grid { grid-template-columns: 1fr 1fr; } }

.cat-card {
  background: white; border-radius: var(--radius-md);
  padding: 20px 16px; text-align: center;
  border: 1px solid var(--border); transition: var(--transition);
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #22c55e; }
.cat-img {
  width: 56px; height: 56px; border-radius: 50%;
  margin: 0 auto 12px; background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}
.cat-title { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.cat-desc { font-size: 12px; color: var(--slate); }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 768px) { .steps-grid { grid-template-columns: 1fr; } }

.step-card {
  background: white; border-radius: var(--radius-md);
  padding: 24px 18px; text-align: center; border: 1px solid var(--border);
}
.step-num {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--primary); color: white;
  font-size: 15px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.step-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.step-card p { font-size: 13px; color: var(--slate); }

/* ============================================================
   📞 CONTACT PAGE STYLING
   ============================================================ */
.contact-section { padding: 50px 0; }
.contact-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-bottom: 30px;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
  background: white; border-radius: var(--radius-md);
  padding: 24px; text-align: center; border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--primary-border); }
.contact-card-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary-light); font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.contact-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--dark); }
.contact-card .detail { font-size: 15px; font-weight: 700; color: var(--primary-dark); margin-bottom: 4px; }
.contact-card .sub { font-size: 13px; color: var(--slate); }

.hours-card {
  background: white; border-radius: var(--radius-md);
  padding: 28px; border: 1px solid var(--border);
  display: grid; grid-template-columns: 1fr 1fr; gap: 30px;
  box-shadow: var(--shadow-sm); margin-bottom: 30px;
}
@media (max-width: 768px) { .hours-card { grid-template-columns: 1fr; } }

.hours-header { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.hours-header h2 { font-size: 18px; font-weight: 700; color: var(--dark); }

.hours-row {
  display: flex; justify-content: space-between; padding: 8px 0;
  border-bottom: 1px dashed var(--border); font-size: 14px;
}
.hours-row .day { font-weight: 600; color: var(--dark); }
.hours-row .time { color: var(--slate); }

/* ============================================================
   🔒 PRIVACY POLICY STYLING
   ============================================================ */
.privacy-section { padding: 50px 0; }
.privacy-toc {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 24px; margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
}
.privacy-toc h3 { font-size: 16px; font-weight: 700; margin-bottom: 12px; color: var(--dark); }
.privacy-toc ol { padding-left: 20px; font-size: 14px; }
.privacy-toc li { margin-bottom: 6px; }
.privacy-toc a { color: var(--primary-dark); font-weight: 600; }

.privacy-body {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 32px;
  box-shadow: var(--shadow-sm); line-height: 1.7;
}
.privacy-body h2 { font-size: 18px; font-weight: 800; color: var(--dark); margin: 28px 0 12px; border-bottom: 1px solid var(--border); padding-bottom: 8px; }
.privacy-body h3 { font-size: 15px; font-weight: 700; color: var(--primary-dark); margin: 18px 0 8px; }
.privacy-body p { font-size: 14px; color: var(--slate); margin-bottom: 12px; }

.data-table { width:100%; border-collapse:collapse; margin:1rem 0 1.5rem; font-size:13px; }
.data-table th { background:var(--primary-light); color:var(--primary-dark); padding:10px 14px; text-align:left; font-weight:700; border:1px solid var(--border); }
.data-table td { padding:10px 14px; border:1px solid var(--border); color:var(--slate); vertical-align:top; }
.data-table tr:nth-child(even) td { background:var(--bg); }

.info-box { background:#f0fdf4; border-left:4px solid var(--primary); border-radius:var(--radius-sm); padding:16px; margin:20px 0; font-size:14px; color:#166534; }

/* About Story */
.about-section { padding: 50px 0; }
.about-story {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  margin-bottom: 60px;
}
@media (max-width: 768px) { .about-story { grid-template-columns: 1fr; } }
.about-image-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.about-image-overlay { position: absolute; bottom: 16px; left: 16px; right: 16px; background: rgba(0,0,0,0.7); color: white; padding: 10px 16px; border-radius: 12px; font-size: 13px; font-weight: 600; }
.about-text h2 { font-size: 2rem; font-weight: 800; margin-bottom: 16px; }
.about-text p { font-size: 14px; color: var(--slate); margin-bottom: 12px; }
.founded-badge { display: inline-flex; align-items: center; gap: 8px; background: #e8f5e9; color: var(--primary-dark); padding: 8px 16px; border-radius: 20px; font-size: 13px; font-weight: 700; margin-top: 12px; }

/* CTA Banner */
.cta-banner {
  background: var(--primary); border-radius: var(--radius-lg);
  padding: 50px 30px; text-align: center; color: white;
  margin: 40px 0; box-shadow: 0 16px 36px rgba(46,125,50,0.25);
}
.cta-banner h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 800; margin-bottom: 10px; }
.cta-banner p { font-size: 1rem; opacity: 0.9; margin-bottom: 24px; }

/* Footer */
.footer { background: #0f172a; color: white; padding: 60px 0 24px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 30px;
  margin-bottom: 40px;
}

.footer-brand .logo-img { height: 30px; margin-bottom: 14px; }
.footer-brand p { color: #94a3b8; font-size: 13px; line-height: 1.6; max-width: 300px; }
.footer-col h4 { font-size: 14px; font-weight: 700; margin-bottom: 14px; color: #f8fafc; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #94a3b8; font-size: 13px; transition: color 0.2s; }
.footer-col a:hover { color: #22c55e; }

.footer-bottom {
  border-top: 1px solid #1e293b; padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; color: #64748b; font-size: 13px;
}
.footer-links { display: flex; gap: 16px; }
.footer-links a { color: #94a3b8; }

/* Mobile Menu */
@media (max-width: 768px) {
  .navbar .container { height: 56px; }
  .nav-menu {
    position: fixed; top: 76px; left: 16px; right: 16px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px; border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    flex-direction: column; display: none;
    gap: 8px;
  }
  .nav-menu.open { display: flex; animation: slideDown 0.3s ease; }
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .nav-toggle { display: flex; }

  .hero { padding: 110px 0 50px; }
  .hero-headline { font-size: 2.1rem; }
  .hero-description { font-size: 0.95rem; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 280px; justify-content: center; }
  .stat-float { display: none; }

  .steps-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 36px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
