/* ==========================================================================
   PONS IS HOME - Design System & Custom Styles
   ========================================================================== */

:root {
  /* Color Palette inspired by the Cozy Cottage Garden artwork */
  --bg-main: #0b170e;
  --bg-secondary: #132418;
  --bg-card: rgba(22, 45, 30, 0.75);
  --bg-card-hover: rgba(30, 60, 40, 0.85);
  --border-color: rgba(76, 175, 80, 0.25);
  --border-glow: rgba(139, 195, 74, 0.4);
  
  --green-primary: #4caf50;
  --green-bright: #66bb6a;
  --green-leaf: #8bc34a;
  --green-dark: #1b3821;

  --gold-accent: #ffd700;
  --gold-glow: rgba(255, 215, 0, 0.3);

  --wood-primary: #8b5a2b;
  --wood-dark: #5c3a19;
  --wood-light: #d4a373;

  --text-main: #f2f7f3;
  --text-muted: #9ebba6;
  --text-inverse: #0d1b12;

  --font-heading: 'Fredoka', 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  --shadow-glow: 0 0 25px rgba(76, 175, 80, 0.3);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.4);
  
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Base & Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background Atmosphere & Decorative Particles */
.bg-decorations {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.25;
}

.orb-1 {
  width: 450px;
  height: 450px;
  background: var(--green-primary);
  top: -100px;
  left: -100px;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: var(--green-leaf);
  top: 40%;
  right: -150px;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: var(--gold-accent);
  bottom: -100px;
  left: 30%;
  opacity: 0.15;
}

.leaf-particle {
  position: absolute;
  font-size: 1.5rem;
  opacity: 0.6;
  animation: floatLeaf 12s infinite linear;
}

.leaf-1 { top: 10%; left: 15%; animation-duration: 14s; }
.leaf-2 { top: 35%; right: 10%; animation-duration: 18s; animation-delay: 2s; }
.leaf-3 { top: 70%; left: 8%; animation-duration: 16s; animation-delay: 4s; }
.leaf-4 { top: 85%; right: 20%; animation-duration: 15s; animation-delay: 1s; }

@keyframes floatLeaf {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-25px) rotate(180deg); }
  100% { transform: translateY(0) rotate(360deg); }
}

/* Typography & General Classes */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
}

.highlight {
  color: var(--green-leaf);
}

.text-green { color: var(--green-bright); }
.text-gold { color: var(--gold-accent); }

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-header {
  margin-bottom: 48px;
}

.section-badge {
  display: inline-block;
  background: rgba(139, 195, 74, 0.15);
  color: var(--green-leaf);
  border: 1px solid var(--border-color);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green-bright), #388e3c);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(76, 175, 80, 0.6);
  background: linear-gradient(135deg, #81c784, var(--green-bright));
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--green-leaf);
  transform: translateY(-2px);
}

.btn-x {
  background: #14171a;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-x:hover {
  transform: translateY(-3px);
  background: #202428;
  border-color: var(--green-leaf);
}

/* Header & Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 16px 0;
  transition: var(--transition);
  backdrop-filter: blur(12px);
  background: rgba(11, 23, 14, 0.7);
  border-bottom: 1px solid rgba(76, 175, 80, 0.15);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
}

.brand-logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--green-primary), var(--green-leaf));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(139, 195, 74, 0.5);
}

.ticker-badge {
  background: var(--gold-accent);
  color: #0b170e;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-left: 6px;
  vertical-align: middle;
}

.nav-menu {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--green-leaf);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  width: 24px;
  height: 3px;
  background: var(--text-main);
  border-radius: 2px;
  transition: var(--transition);
}

/* Hero Section */
.hero-section {
  padding-top: 140px;
  padding-bottom: 80px;
  position: relative;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.chain-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139, 195, 74, 0.12);
  border: 1px solid var(--border-glow);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  color: var(--green-leaf);
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.title-accent {
  background: linear-gradient(135deg, var(--green-bright), var(--gold-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

/* Contract Address Box */
.ca-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  backdrop-filter: blur(12px);
  margin-bottom: 32px;
  box-shadow: var(--shadow-card);
}

.ca-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.ca-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.network-tag {
  font-size: 0.75rem;
  background: var(--green-dark);
  color: var(--green-leaf);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
}

.ca-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(0, 0, 0, 0.4);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}

.ca-text {
  font-family: monospace;
  font-size: 0.95rem;
  color: var(--gold-accent);
  word-break: break-all;
}

.btn-copy {
  background: var(--green-primary);
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-copy:hover {
  background: var(--green-bright);
  transform: scale(1.05);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Hero 3D Stage Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cottage-stage {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cottage-card {
  position: relative;
  width: 320px;
  height: 320px;
  background: linear-gradient(145deg, #1b3821, #0f2415);
  border-radius: 40px;
  border: 3px solid var(--green-leaf);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(139, 195, 74, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  animation: cottageFloat 6s ease-in-out infinite;
}

@keyframes cottageFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(1deg); }
}

.cottage-roof {
  position: absolute;
  top: -30px;
  width: 0;
  height: 0;
  border-left: 170px solid transparent;
  border-right: 170px solid transparent;
  border-bottom: 70px solid var(--green-primary);
  filter: drop-shadow(0 -5px 10px rgba(0,0,0,0.3));
}

.cottage-sign {
  position: absolute;
  top: 15px;
  background: var(--wood-primary);
  color: var(--wood-light);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 4px 14px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--wood-light);
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cottage-flag {
  position: absolute;
  top: -45px;
  right: 40px;
  font-size: 1.8rem;
  animation: flagWave 3s ease-in-out infinite;
}

@keyframes flagWave {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(10deg); }
}

/* Central Giant Token Badge */
.pons-central-coin {
  width: 170px;
  height: 170px;
  background: linear-gradient(135deg, var(--green-bright), #2e7d32);
  border-radius: 50%;
  border: 6px solid #ffffff;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.4), inset 0 0 15px rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: var(--transition);
}

.pons-central-coin:hover {
  transform: scale(1.08) rotate(5deg);
}

.coin-inner {
  text-align: center;
  color: #ffffff;
}

.feather-symbol {
  font-size: 2.5rem;
  line-height: 1;
}

.coin-brand {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.coin-subtext {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--gold-accent);
}

/* Surrounding Meme Coins */
.orbit-coins {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.orbit-coin {
  position: absolute;
  background: rgba(19, 36, 24, 0.9);
  border: 2px solid var(--gold-accent);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  animation: orbitFloat 4s ease-in-out infinite alternate;
}

.coin-doge { top: -20px; left: -20px; animation-delay: 0s; }
.coin-pepe { top: 40px; right: -30px; animation-delay: 1s; }
.coin-shib { bottom: -20px; left: 10px; animation-delay: 2s; }
.coin-btc { bottom: 30px; right: -25px; animation-delay: 1.5s; }
.coin-pudgy { top: 50%; left: -45px; animation-delay: 0.5s; }

@keyframes orbitFloat {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-12px) scale(1.05); }
}

/* Stats Section */
.stats-section {
  background: rgba(19, 36, 24, 0.5);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--green-leaf);
  box-shadow: var(--shadow-glow);
}

.stat-icon {
  font-size: 2.2rem;
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
}

/* About / Story Section */
.wooden-board {
  background: linear-gradient(145deg, #422813, #2e1a0b);
  border: 4px solid var(--wood-light);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.5);
  position: relative;
}

.board-header {
  text-align: center;
  margin-bottom: 24px;
}

.board-badge {
  background: var(--wood-primary);
  color: var(--wood-light);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

.board-content {
  font-size: 1.15rem;
  color: #f7e7ce;
  line-height: 1.8;
}

.board-content p {
  margin-bottom: 16px;
}

.quote-box {
  margin-top: 24px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.3);
  border-left: 4px solid var(--gold-accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.quote-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--gold-accent);
  margin-bottom: 0 !important;
}

/* How to Buy Section */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: var(--green-leaf);
}

.step-number {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.1);
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.step-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.step-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.buy-cta-box {
  background: linear-gradient(135deg, var(--bg-secondary), var(--green-dark));
  border: 2px solid var(--green-leaf);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.buy-cta-content h3 {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.buy-cta-content p {
  color: var(--text-muted);
}

.ca-box.compact {
  margin-bottom: 0;
  padding: 8px 12px;
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--green-leaf);
  transition: var(--transition);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 24px;
  color: var(--text-muted);
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0 24px 20px 24px;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* Footer */
.footer {
  background: #070e09;
  border-top: 1px solid var(--border-color);
  padding-top: 60px;
}

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

.footer-container:first-child {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 380px;
}

.footer-tagline {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-col h4 {
  color: #ffffff;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 10px;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--green-leaf);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.disclaimer {
  margin-top: 8px;
  font-size: 0.78rem;
  opacity: 0.7;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, var(--green-bright), var(--green-dark));
  color: #ffffff;
  border: 1px solid var(--green-leaf);
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px rgba(139, 195, 74, 0.4);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .ca-box {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--bg-main);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.6rem;
  }

  .section-title {
    font-size: 2.1rem;
  }

  .ca-body {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-copy {
    justify-content: center;
  }
}
