/* ==========================================================================
   ASANTE360 - "Asante to the World"
   Universal Responsive Design System & Stylesheet
   Mobile, Tablet, Desktop & Ultra-wide Screen Optimization
   ========================================================================== */

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

:root {
  /* Asante Gold Palette */
  --gold-100: #FEF3C7;
  --gold-200: #FDE68A;
  --gold-300: #FCD34D;
  --gold-400: #FBBF24;
  --gold-500: #F59E0B;
  --gold-600: #D97706;
  --gold-700: #B45309;
  --gold-primary: #E5A93C;
  --gold-bright: #FFD700;
  --gold-gradient: linear-gradient(135deg, #FFE29F 0%, #FFAE34 50%, #ED8900 100%);
  --gold-border-gradient: linear-gradient(135deg, rgba(255, 215, 0, 0.7) 0%, rgba(217, 119, 6, 0.3) 100%);

  /* Manhyia Royal Green */
  --green-400: #34D399;
  --green-500: #10B981;
  --green-700: #047857;
  --green-900: #064E3B;

  /* Backgrounds & Royal Obsidian */
  --bg-deep: #05070D;
  --bg-dark: #0A0F1A;
  --bg-surface: #111827;
  --bg-surface-elevated: #162035;
  --bg-card-gold: linear-gradient(160deg, rgba(17, 24, 39, 0.95) 0%, rgba(10, 15, 26, 0.98) 100%);

  /* Text Colors */
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --text-gold: #FCD34D;

  /* Borders & Effects */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(245, 158, 11, 0.35);
  --glass-blur: blur(20px);

  /* Shadows */
  --shadow-gold-sm: 0 4px 14px 0 rgba(245, 158, 11, 0.2);
  --shadow-gold-md: 0 8px 30px rgba(245, 158, 11, 0.3);
  --shadow-dark: 0 20px 50px rgba(0, 0, 0, 0.85);

  /* Typography */
  --font-royal: 'Cinzel', serif, Georgia;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ==========================================================================
   BASE RESET & GLOBAL RESILIENCY
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-deep);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-secondary);
  background-color: var(--bg-deep);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh; /* Dynamic viewport height for mobile browsers */
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Ambient Royal Background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(circle at 15% 20%, rgba(245, 158, 11, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 65%, rgba(6, 78, 59, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(217, 119, 6, 0.1) 0%, transparent 55%),
    linear-gradient(180deg, var(--bg-deep) 0%, #080D18 100%);
  z-index: -2;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(245, 158, 11, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: -1;
  pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
}

.font-royal {
  font-family: var(--font-royal);
  letter-spacing: 0.02em;
}

.gold-gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

a {
  color: var(--gold-400);
  text-decoration: none;
  transition: all var(--transition-fast);
}

a:hover {
  color: var(--gold-200);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   HOMEPAGE: MINIMALIST & VIBRANT CENTERED EXPERIENCE
   ========================================================================== */
.minimal-page-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 2.5rem 1.25rem;
}

.minimal-wrapper {
  width: 100%;
  max-width: 620px;
  margin: auto;
  position: relative;
  z-index: 10;
}

/* Ambient glow orbs */
.ambient-glow {
  position: absolute;
  width: clamp(200px, 35vw, 360px);
  height: clamp(200px, 35vw, 360px);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.6;
}

.glow-top-left {
  top: -40px;
  left: -40px;
  background: rgba(245, 158, 11, 0.25);
  animation: pulse-glow 5s infinite alternate ease-in-out;
}

.glow-bottom-right {
  bottom: -40px;
  right: -40px;
  background: rgba(6, 78, 59, 0.4);
  animation: pulse-glow 5s infinite alternate-reverse ease-in-out;
}

/* Main Minimalist Center Card */
.minimal-card {
  background: var(--bg-card-gold);
  border: 1.5px solid var(--border-gold);
  border-radius: clamp(1.25rem, 4vw, 2.25rem);
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2.5rem) clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
  box-shadow: var(--shadow-dark), 0 0 45px rgba(245, 158, 11, 0.14);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  position: relative;
  overflow: hidden;
  width: 100%;
}

.minimal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
}

/* Logo Emblem */
.minimal-emblem-container {
  position: relative;
  display: inline-block;
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

.minimal-emblem-glow {
  position: absolute;
  inset: -15px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.4) 0%, rgba(6, 78, 59, 0.3) 50%, transparent 70%);
  filter: blur(20px);
  z-index: 0;
  animation: pulse-glow 4s infinite alternate ease-in-out;
}

.minimal-emblem-box {
  position: relative;
  z-index: 1;
  width: clamp(110px, 22vw, 140px);
  height: clamp(110px, 22vw, 140px);
  margin: 0 auto;
  background: linear-gradient(145deg, #FFFFFF 0%, #FFF8ED 100%);
  border: 3px solid var(--gold-400);
  border-radius: clamp(1.25rem, 3vw, 1.75rem);
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 35px rgba(245, 158, 11, 0.25), 0 0 25px rgba(255, 215, 0, 0.3);
  animation: float-gentle 4.5s ease-in-out infinite;
}

.minimal-emblem-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Brand Title & Tagline */
.minimal-brand-title {
  font-family: var(--font-royal);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: 0.05em;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.minimal-tagline {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  font-weight: 700;
  color: var(--gold-300);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: clamp(1.25rem, 3vw, 1.85rem);
}

/* Status Badge: Site Under Construction */
.minimal-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.6rem clamp(1rem, 3vw, 1.6rem);
  background: rgba(245, 158, 11, 0.12);
  border: 1.5px solid rgba(245, 158, 11, 0.45);
  border-radius: 9999px;
  color: #FFE066;
  font-size: clamp(0.82rem, 2.2vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: clamp(1.5rem, 3.5vw, 2.25rem);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.2);
  max-width: 100%;
  animation: pulse-glow 3s infinite alternate ease-in-out;
}

.status-pulse-dot {
  width: 9px;
  height: 9px;
  background-color: var(--gold-bright);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--gold-bright);
  display: inline-block;
  flex-shrink: 0;
  animation: blink 1.4s infinite;
}

/* Email Box */
.minimal-email-box {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-gold);
  border-radius: 1.25rem;
  padding: clamp(1rem, 2.5vw, 1.25rem) clamp(1rem, 3vw, 1.5rem);
  margin-bottom: clamp(1.5rem, 3.5vw, 2.25rem);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  width: 100%;
}

.minimal-email-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.minimal-email-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.minimal-email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: clamp(0.95rem, 3vw, 1.15rem);
  font-weight: 700;
  color: var(--gold-300);
  word-break: break-all;
  min-height: 44px;
}

.minimal-email-link:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.minimal-email-link .email-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.btn-copy-email {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--gold-200);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-copy-email:hover, .btn-copy-email:active {
  background: var(--gold-gradient);
  color: #000;
  border-color: var(--gold-500);
  transform: scale(1.02);
}

/* Nav Links for Terms & Privacy Policy */
.minimal-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
  flex-wrap: wrap;
  width: 100%;
}

.minimal-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1.4rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.85rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 600;
  transition: all var(--transition-normal);
  min-height: 44px;
  flex: 1 1 200px;
  max-width: 260px;
}

.minimal-link-btn:hover, .minimal-link-btn:active {
  background: rgba(245, 158, 11, 0.14);
  border-color: var(--border-gold);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), var(--shadow-gold-sm);
}

.minimal-footer {
  font-size: clamp(0.75rem, 2vw, 0.82rem);
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.25rem;
  line-height: 1.5;
}

/* ==========================================================================
   LEGAL PAGES (TERMS & PRIVACY POLICY)
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 1.5rem);
}

.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(6, 8, 14, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1000;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo-img-wrapper {
  width: 42px;
  height: 42px;
  background: #FFFFFF;
  border-radius: 12px;
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold-400);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.3);
  flex-shrink: 0;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-royal);
  font-size: clamp(1.15rem, 3vw, 1.3rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
}

.brand-title span {
  color: var(--gold-400);
}

.brand-tagline-sub {
  font-size: 0.68rem;
  color: var(--text-gold);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  flex-wrap: wrap;
}

.nav-link {
  font-size: clamp(0.85rem, 2vw, 0.92rem);
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  padding: 0.35rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-300);
}

/* Legal Headers */
.legal-header {
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.5) 0%, transparent 100%);
}

.legal-header-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold-400);
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}

.legal-title {
  font-family: var(--font-royal);
  font-size: clamp(1.85rem, 4.5vw, 2.8rem);
  color: #FFFFFF;
  margin-bottom: 0.85rem;
  line-height: 1.2;
}

.legal-meta {
  font-size: clamp(0.82rem, 2vw, 0.9rem);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  flex-wrap: wrap;
}

/* Legal Layout */
.legal-content-section {
  padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(3.5rem, 6vw, 5rem);
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
}

.legal-sidebar {
  position: sticky;
  top: 5rem;
  height: fit-content;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  padding: 1.25rem;
}

.legal-sidebar-title {
  font-family: var(--font-royal);
  font-size: 0.95rem;
  color: var(--gold-300);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.legal-nav-item a {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: block;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  transition: all var(--transition-fast);
}

.legal-nav-item a:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.05);
  padding-left: 0.75rem;
}

.legal-body {
  background: rgba(17, 24, 39, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: clamp(1rem, 3vw, 1.5rem);
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--shadow-dark);
}

.legal-body h2 {
  font-family: var(--font-royal);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  color: #FFFFFF;
  margin-top: clamp(1.75rem, 3.5vw, 2.25rem);
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(245, 158, 11, 0.2);
  line-height: 1.3;
}

.legal-body h2:first-of-type {
  margin-top: 0;
}

.legal-body h3 {
  font-size: clamp(1.05rem, 2.5vw, 1.15rem);
  color: var(--gold-200);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.legal-body p {
  margin-bottom: 1.1rem;
  font-size: clamp(0.92rem, 2vw, 0.98rem);
  line-height: 1.75;
  color: var(--text-secondary);
}

.legal-body ul, .legal-body ol {
  margin-bottom: 1.4rem;
  padding-left: 1.25rem;
}

.legal-body li {
  margin-bottom: 0.55rem;
  font-size: clamp(0.9rem, 2vw, 0.95rem);
  line-height: 1.65;
}

.legal-highlight-box {
  background: rgba(245, 158, 11, 0.08);
  border-left: 4px solid var(--gold-500);
  padding: clamp(1rem, 2.5vw, 1.25rem) clamp(1rem, 3vw, 1.5rem);
  border-radius: 0 0.75rem 0.75rem 0;
  margin: 1.5rem 0;
}

/* Legal Footer */
.site-footer {
  margin-top: auto;
  background: #04060A;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(2rem, 4vw, 3rem) 0 2rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: clamp(0.78rem, 2vw, 0.85rem);
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  flex-wrap: wrap;
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  left: auto;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: calc(100vw - 2rem);
}

.toast {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--gold-500);
  border-radius: 1rem;
  padding: 0.85rem 1.25rem;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), var(--shadow-gold-sm);
  animation: slide-in-up 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-size: 0.9rem;
}

.toast-icon {
  font-size: 1.25rem;
  color: var(--gold-400);
  flex-shrink: 0;
}

/* Animations */
@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.15);
  }
  100% {
    box-shadow: 0 0 35px rgba(245, 158, 11, 0.35), 0 0 15px rgba(16, 185, 129, 0.2);
  }
}

@keyframes float-gentle {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes slide-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   BREAKPOINTS & RESPONSIVE REFINEMENTS
   ========================================================================== */

/* Tablets and below (<= 992px) */
@media (max-width: 992px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-sidebar {
    display: none;
  }
}

/* Mobile Devices (<= 640px) */
@media (max-width: 640px) {
  .minimal-page-body {
    padding: 1.5rem 0.85rem;
  }

  .minimal-card {
    padding: 2rem 1.15rem 1.5rem;
    border-radius: 1.5rem;
  }

  .minimal-email-row {
    flex-direction: column;
    gap: 0.5rem;
  }

  .minimal-email-link {
    font-size: 1rem;
  }

  .btn-copy-email {
    width: 100%;
  }

  .minimal-link-btn {
    width: 100%;
    max-width: 100%;
    flex: 1 1 100%;
  }

  .nav-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-menu {
    width: 100%;
    justify-content: space-between;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.85rem;
  }

  .footer-bottom-links {
    justify-content: center;
  }

  .toast-container {
    left: 1rem;
    right: 1rem;
  }
}

/* Extra Compact Phones (<= 380px) */
@media (max-width: 380px) {
  .minimal-page-body {
    padding: 1rem 0.5rem;
  }

  .minimal-card {
    padding: 1.75rem 0.85rem 1.25rem;
  }

  .minimal-status-badge {
    font-size: 0.78rem;
    padding: 0.45rem 0.85rem;
  }

  .minimal-brand-title {
    font-size: 1.75rem;
  }

  .minimal-tagline {
    font-size: 0.88rem;
  }
}
