/* resources.css - Confermax Resources Hub (Green Theme)
   Follows site-wide design system with deep midnight emerald styling */

:root {
  --white: #ffffff;
  --dark-forest: #031815;
  --dark-forest-card: #052822;
  --dark-forest-deep: #02120f;
  --dark-footer: #0e3335;
  --dark-footer-deep: #071f21;
  --color-green: #10b981;
  --color-green-dark: #059669;
  --color-green-mint: #34d399;
  --color-green-light: #6ee7b7;
  --bg-gradient-green: linear-gradient(90deg, #059669 0%, #10b981 100%);
  --font-default: 'Outfit', sans-serif;
  --font-heading: 'Outfit', sans-serif;
}

html {
  background: var(--dark-forest);
  scroll-behavior: smooth;
}

body {
  background: var(--dark-forest) url(../../assets/banner-2.jpg) center/cover no-repeat fixed;
  color: #475569;
  font-family: var(--font-default);
  margin: 0;
  padding: 0;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   Header / Navbar (Midnight Emerald Green Theme)
   ============================================================ */
nav.navbar {
  padding: 20px 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  transition: all .35s ease;
  background: transparent;
}
nav.navbar.sticked {
  position: fixed;
  top: 0;
  background: rgba(3, 24, 21, 0.96) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px 0 !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.08) !important;
  border-bottom: 1px solid rgba(16, 185, 129, 0.25) !important;
}

nav.navbar ul.nav > li > a,
nav.navbar.sticked ul.nav > li > a {
  color: #ffffff !important;
  opacity: 0.92;
}

nav.navbar ul.nav > li.active > a,
nav.navbar ul.nav > li > a:hover,
nav.navbar.sticked ul.nav > li.active > a,
nav.navbar.sticked ul.nav > li > a:hover {
  color: #34d399 !important;
  opacity: 1;
}

nav.navbar ul.nav > li.dropdown > a::after,
nav.navbar.sticked ul.nav > li.dropdown > a::after {
  border-right-color: #ffffff !important;
  border-bottom-color: #ffffff !important;
}

nav.navbar ul.nav > li.active.dropdown > a::after,
nav.navbar.sticked ul.nav > li.active.dropdown > a::after,
nav.navbar ul.nav > li.dropdown:hover > a::after,
nav.navbar.sticked ul.nav > li.dropdown:hover > a::after {
  border-right-color: #34d399 !important;
  border-bottom-color: #34d399 !important;
}

.dropdown-menu {
  background: #04221d !important;
  border: 1px solid rgba(52, 211, 153, 0.3) !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55) !important;
  border-radius: 12px !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.dropdown-menu li a {
  color: #cbd5e1 !important;
}

.dropdown-menu li a:hover {
  background: rgba(16, 185, 129, 0.16) !important;
  color: #34d399 !important;
  padding-left: 26px;
}

.dropdown-menu li.active a,
.dropdown-menu li a.active {
  color: #34d399 !important;
  background: rgba(16, 185, 129, 0.14) !important;
  font-weight: 600;
}

nav.navbar .attr-nav a.btn,
nav.navbar.sticked .attr-nav a.btn {
  border-color: rgba(52, 211, 153, 0.45) !important;
  color: #ffffff !important;
  background: rgba(16, 185, 129, 0.12) !important;
}

nav.navbar .attr-nav a.btn:hover,
nav.navbar.sticked .attr-nav a.btn:hover {
  background: var(--bg-gradient-green) !important;
  color: #ffffff !important;
  border-color: rgba(52, 211, 153, 0.8) !important;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.5) !important;
}

.navbar-toggle span {
  background-color: #34d399 !important;
}

@media (max-width: 991px) {
  nav.navbar.open ul.nav {
    background: #031815 !important;
    border-top: 1px solid rgba(16, 185, 129, 0.25) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6) !important;
  }
  nav.navbar.open ul.nav > li > a {
    color: #ffffff !important;
  }
  nav.navbar.open ul.nav > li.dropdown .dropdown-menu {
    background: rgba(5, 40, 34, 0.85) !important;
    border: 1px solid rgba(52, 211, 153, 0.2) !important;
  }
}

/* ============================================================
   Page Hero Section
   ============================================================ */
.page-hero-resources {
  padding: 170px 0 80px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 10%, rgba(16, 185, 129, 0.14) 0%, rgba(3, 24, 21, 0.98) 75%);
  border-bottom: 1px solid rgba(52, 211, 153, 0.15);
}

.page-hero-resources::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url(../../assets/banner-shape-5.png) center top/cover no-repeat;
  opacity: 0.18;
  pointer-events: none;
}

.hero-resources-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-badge-resources {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #34d399;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.35);
  margin-bottom: 22px;
}

.hero-badge-resources svg {
  color: #34d399;
}

.hero-resources-content h1 {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  margin: 0 0 20px;
  letter-spacing: -0.5px;
}

.hero-resources-content h1 span {
  background: linear-gradient(135deg, #ffffff 30%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-resources-content p.lead {
  font-size: 17.5px;
  line-height: 1.7;
  color: #94a3b8;
  margin: 0 auto 28px;
  max-width: 760px;
}

.hero-resources-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  background: var(--bg-gradient-green);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
  border: none;
  cursor: pointer;
  transition: all .25s ease;
  text-decoration: none;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(16, 185, 129, 0.6);
  color: #ffffff;
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 50px;
  font-size: 14.5px;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all .25s ease;
  text-decoration: none;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(52, 211, 153, 0.4);
}

/* ============================================================
   Section: Coming Soon Highlight Banner
   ============================================================ */
.coming-soon-banner-section {
  padding: 50px 0 30px;
  position: relative;
  z-index: 3;
}

.coming-soon-card {
  background: linear-gradient(135deg, rgba(5, 40, 34, 0.85) 0%, rgba(3, 24, 21, 0.95) 100%);
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 20px;
  padding: 36px 40px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  overflow: hidden;
}

.coming-soon-card::after {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.coming-soon-text {
  max-width: 680px;
}

.coming-soon-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #34d399;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(52, 211, 153, 0.4);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.coming-soon-status-pill .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.coming-soon-text h2 {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px;
  line-height: 1.3;
}

.coming-soon-text p {
  font-size: 15px;
  line-height: 1.65;
  color: #cbd5e1;
  margin: 0;
}

.coming-soon-form {
  flex-shrink: 0;
  width: 100%;
  max-width: 380px;
}

.subscribe-input-group {
  display: flex;
  background: rgba(2, 18, 15, 0.8);
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 50px;
  padding: 4px;
  transition: all .25s ease;
}

.subscribe-input-group:focus-within {
  border-color: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.2);
}

.subscribe-input-group.highlight-pulse {
  border-color: #34d399 !important;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.45), 0 0 24px rgba(52, 211, 153, 0.4) !important;
  animation: glowPulse 1.8s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  0% {
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.35), 0 0 12px rgba(52, 211, 153, 0.3);
  }
  100% {
    box-shadow: 0 0 0 6px rgba(52, 211, 153, 0.65), 0 0 28px rgba(52, 211, 153, 0.55);
  }
}

.subscribe-input-group input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 10px 18px;
  color: #ffffff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}

.subscribe-input-group input::placeholder {
  color: #64748b;
}

.subscribe-input-group button {
  background: var(--bg-gradient-green);
  color: #ffffff;
  border: none;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
}

.subscribe-input-group button:hover {
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.5);
}

.subscribe-input-group button.subscribed {
  background: #10b981 !important;
  color: #ffffff !important;
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.55) !important;
}

.coming-soon-form .newsletter-status {
  margin: 12px 0 0;
  font-size: 13.5px;
  line-height: 1.4;
  min-height: 20px;
  text-align: center;
  transition: all .25s ease;
}

.coming-soon-form .newsletter-status[data-state="success"] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 50px;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(52, 211, 153, 0.5);
  color: #6ee7b7;
  font-weight: 600;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.25);
  animation: fadeInPill 0.3s ease;
}

.coming-soon-form .newsletter-status[data-state="error"] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 50px;
  background: rgba(239, 68, 68, 0.16);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #fca5a5;
  font-weight: 600;
  box-shadow: 0 4px 18px rgba(239, 68, 68, 0.25);
  animation: fadeInPill 0.3s ease;
}

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

.coming-soon-form-subtext {
  display: block;
  font-size: 12px;
  color: #94a3b8;
  margin-top: 8px;
  text-align: center;
}

/* ============================================================
   Section: Strategic Resource Pillars (White Background)
   ============================================================ */
.pillars-section {
  padding: 90px 0 100px;
  background: #ffffff;
  position: relative;
  z-index: 2;
}

.section-header-center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-header-center .sub-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #059669;
  margin-bottom: 10px;
}

.section-header-center h2 {
  font-size: 32px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 12px;
  line-height: 1.3;
}

.section-header-center p {
  font-size: 16px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pillar-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px 28px;
  transition: all .25s ease;
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
  background: #ffffff;
}

.pillar-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.pillar-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #059669;
}

.pillar-status-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 4px 10px;
  border-radius: 50px;
}

.pillar-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px;
  line-height: 1.35;
}

.pillar-card p.pillar-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}

/* ============================================================
   Footer Social Icons
   ============================================================ */
.footer-social {
  margin-top: 24px;
  display: flex;
  gap: 10px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: #ffffff;
  transition: all .25s ease;
}
.footer-social a svg {
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  fill: #ffffff;
  transition: transform .2s ease;
}
.footer-social a:hover {
  background: var(--color-green) !important;
  border-color: var(--color-green) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4) !important;
}
.footer-social a:hover svg {
  transform: scale(1.1);
}

/* ============================================================
   Responsive Breakpoints
   ============================================================ */
@media (max-width: 991px) {
  .page-hero-resources {
    padding: 140px 0 60px;
  }
  .hero-resources-content h1 {
    font-size: 36px;
  }
  .coming-soon-card {
    flex-direction: column;
    text-align: center;
    padding: 30px 24px;
  }
  .coming-soon-text {
    max-width: 100%;
  }
  .coming-soon-form {
    max-width: 100%;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .hero-resources-content h1 {
    font-size: 30px;
  }
  .subscribe-input-group {
    flex-direction: column;
    border-radius: 14px;
    padding: 8px;
    gap: 8px;
  }
  .subscribe-input-group button {
    width: 100%;
  }
}

/* Korean & Japanese font fallbacks */
html[lang="ko"] body { --font-default: 'Outfit', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; --font-heading: 'Outfit', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif; }
html[lang="ja"] body { --font-default: 'Outfit', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Noto Sans JP', 'Meiryo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; --font-heading: 'Outfit', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Noto Sans JP', sans-serif; }
