/**
 * Inner marketing pages — aligns with index.html (Plus Jakarta, greens, glass nav, dark footer).
 * Load after: nav-horizontal-override.css, bootstrap.min.css, animate.css, font-awesome.
 */

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

:root {
  --green: #0a6640;
  --green-mid: #0e8a55;
  --green-light: #12a864;
  --green-pale: #e8f5ee;
  --gold: #c8962a;
  --text: #111;
  --text-muted: #555;
  --border: rgba(0, 0, 0, 0.08);
  --radius: 14px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text);
  background: #fafaf9;
  overflow-x: hidden;
  margin: 0;
}

ul { list-style: none; padding: 0; margin: 0; }

.skip-to-main {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-to-main:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  overflow: visible;
  z-index: 100000;
  padding: 12px 20px;
  background: #fff;
  color: var(--green);
  font-weight: 600;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  outline: 2px solid var(--green-mid);
}

/* ─── NAV (theme green bar, white links — matches index) ─── */
.navbar-area {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: #0a6640;
  padding: 0;
}

.navbar-area .container { max-width: 1200px; }

.navbar {
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand img { height: 38px; width: auto; }

.navbar-nav { display: flex; align-items: center; gap: 4px; }

.nav-item .nav-link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95) !important;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.nav-item .nav-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
}

.nav-item .nav-link[aria-current="page"] {
  background: rgba(255, 255, 255, 0.18);
  color: #fff !important;
  font-weight: 600;
}

.nav-item .nav-link.btn-login {
  background: #fff;
  color: var(--green) !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.nav-item .nav-link.btn-login:hover {
  background: rgba(255, 255, 255, 0.92);
  color: var(--green) !important;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.toggler-icon {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 991px) {
  .mobile-menu-btn { display: block; }
  .sub-menu-bar {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #063d27;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 24px 20px;
    display: none;
  }
  .sub-menu-bar.show { display: block; }
  .navbar-nav { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* ─── PAGE HERO ─── */
.page-hero {
  min-height: 0;
  background: #0a6640;
  padding: 108px 0 48px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  top: -80px;
  right: -80px;
  border-radius: 50%;
}

.page-hero-inner { position: relative; z-index: 1; }

.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.page-hero h1 {
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 12px;
}

.page-hero-lead {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
  max-width: 640px;
  margin: 0;
}

/* ─── MAIN CONTENT ─── */
.inner-page-section {
  padding: 56px 0 72px;
  background: #fafaf9;
}

.inner-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.inner-prose {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-muted);
}

.inner-prose h2 {
  font-size: 1.2rem;
  color: var(--text);
  margin: 28px 0 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.inner-prose h3 {
  font-size: 1.05rem;
  color: var(--text);
  margin: 22px 0 10px;
  font-weight: 600;
}

.inner-prose p { margin: 0 0 1rem; }

.inner-prose ol,
.inner-prose ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}

.inner-prose ol {
  list-style: decimal;
}

.inner-prose li { margin-bottom: 0.4rem; }

.inner-prose a {
  color: var(--green);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.inner-prose a:hover { color: var(--green-mid); }

/* ─── CONTACT TILES ─── */
.contact-tile {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  height: 100%;
  transition: box-shadow 0.25s, transform 0.25s;
}

.contact-tile:hover {
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.contact-tile-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  overflow: hidden;
}

.contact-tile-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-tile h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 10px;
}

.contact-tile p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

.contact-tile a { word-break: break-word; }

/* ─── RATE CALCULATOR PANEL ─── */
.rate-calc-intro h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.rate-calc-intro p {
  color: var(--text-muted);
  margin: 0 0 20px;
  font-size: 15px;
}

.calc-mode-row { margin-bottom: 1.25rem; }

.calc-mode-btn {
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.calc-mode-btn.btn-crypto-inactive {
  background: #f59e0b;
  color: #fff;
  border: none;
}

.calc-summary-box {
  background: var(--green-pale);
  border: 1px solid rgba(10, 102, 64, 0.12);
  border-radius: var(--radius);
  padding: 24px 20px;
}

.calc-summary-box h3,
.calc-summary-box h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
}

.calc-summary-box p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 8px;
}

/* ─── DOWNLOAD STRIP (matches index tone) ─── */
.download-section-inner {
  background: linear-gradient(135deg, #063d27 0%, #0a6640 100%);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.download-section-inner::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  top: -120px;
  right: -80px;
  border-radius: 50%;
}

.download-inner-content { position: relative; z-index: 2; }

.download-inner-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.download-inner-content p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 440px;
}

.download-inner-content .store-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  border-radius: 12px;
  padding: 13px 20px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  backdrop-filter: blur(6px);
}

.store-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  transform: translateY(-2px);
}

.store-btn-text { display: flex; flex-direction: column; line-height: 1.3; }

.store-btn-text small {
  font-size: 10px;
  opacity: 0.7;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.store-btn-text strong {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.download-inner-image {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  z-index: 2;
}

.download-inner-image img {
  max-width: 280px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.25));
}

/* ─── FOOTER (matches index) ─── */
footer {
  background: #0a0f0d;
  color: rgba(255, 255, 255, 0.75);
  padding: 72px 0 0;
}

.footer-logo img { height: 36px; margin-bottom: 18px; }

.footer-about p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.55);
  max-width: 280px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: #4ade80; }

.footer-contact p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact p i { color: var(--green-light); }

.footer-store-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 11px 16px;
  text-decoration: none;
  color: #fff;
  margin-bottom: 10px;
  transition: background 0.2s;
  font-size: 14px;
}

.footer-store-btn:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

.footer-store-btn strong { display: block; font-size: 15px; font-weight: 700; }

.footer-store-btn small { font-size: 10px; opacity: 0.6; }

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin: 56px 0 0;
}

.footer-copy {
  padding: 20px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
}

/* ─── FLOATING UI ─── */
#whatsapp-button {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  cursor: pointer;
  margin: 0;
}

#whatsapp-button img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}

#whatsapp-button:hover img { transform: scale(1.1); }

.scroll-top {
  position: fixed;
  bottom: 92px;
  right: 30px;
  width: 42px;
  height: 42px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 999;
  font-size: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: background 0.2s;
}

.scroll-top:hover { background: var(--green-mid); color: #fff; }

@media (max-width: 767px) {
  .inner-page-section { padding: 40px 0 56px; }
  .inner-panel { padding: 24px 18px; }
}
