/* =============================================
   FUGU — CRYPTO LANDING PAGE
   style.css
   ============================================= */

/* ---------- CSS Variables ---------- */
:root {
  --cream: #f7f7ef;
  --gold: #f3d086;
  --gold-dark: #f3d085;
  --dark: #12012d;
  --dark-2: #0b021a;
  --dark-card: #1e1e1e;
  --text: #2b2b2b;
  --muted: #6b6b6b;
  --white: #ffffff;
  --green: #4caf7d;
  --red: #e05c5c;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px rgba(0,0,0,0.08);
  --shadow-dark: 0 30px 80px rgba(0,0,0,0.4);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; }

/* ---------- Container ---------- */
.container {
  width: 90%;
  max-width: 1240px;
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}

.btn-primary {
  background: var(--dark);
  color: var(--cream);
}
.btn-primary:hover { background: #333; transform: translateY(-2px); }

.btn-gold {
  background: var(--gold);
  color: var(--dark);
}
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-2px); }

.link-arrow {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}
.link-arrow:hover { gap: 12px; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  line-height: 1.2;
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(248, 247, 244, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 6px;
}
.logo-icon { color: var(--gold); }
.logo-icon img {
  max-width: 54px;
}
.nav-links {
  display: flex;
  gap: 2rem;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold-dark); }

.nav-cta { margin-left: 1rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  background: var(--cream);
  padding: 1.5rem 5%;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.mobile-menu.open { display: block; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 1.2rem; }
.mobile-menu a { font-size: 1.1rem; font-weight: 500; }

/* =============================================
   HERO
   ============================================= */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero-bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.blob-1 {
  width: 500px; height: 500px;
  background: rgba(201,175,126,0.2);
  top: -100px; right: -100px;
}
.blob-2 {
  width: 300px; height: 300px;
  background: rgba(201,175,126,0.12);
  bottom: 0; left: 5%;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text { max-width: 560px; }

.badge {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  color: var(--dark);
}
.hero-text h1 em {
  font-style: italic;
  color: var(--gold-dark);
}

.hero-text p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 420px;
}

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--dark);
  color: var(--white);
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  transition: var(--transition);
}
.store-btn:hover { background: #333; transform: translateY(-2px); }
.store-btn svg { width: 22px; height: 22px; flex-shrink: 0; }
.store-btn span { display: flex; flex-direction: column; line-height: 1.2; }
.store-btn span small { font-size: 0.7rem; opacity: 0.75; }
.store-btn span { font-size: 0.95rem; font-weight: 600; }

.store-btn.dark {
  background: var(--dark);
  border: 1px solid rgba(255,255,255,0.1);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.hero-stats .avatars {
  display: flex;
}
.hero-stats .avatars img {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 2px solid var(--cream);
  margin-left: -10px;
  object-fit: cover;
}
.hero-stats .avatars img:first-child { margin-left: 0; }
.hero-stats strong { display: block; font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; }
.hero-stats span { font-size: 0.8rem; color: var(--muted); }
.divider-v { width: 1px; height: 36px; background: rgba(0,0,0,0.12); }

/* Phone Mockup */
.hero-phone { display: flex; justify-content: center; align-items: center; position: relative; }
.phone-wrap { position: relative; }

.phone-mockup {
  width: 240px;
  background: var(--dark);
  border-radius: 36px;
  padding: 16px;
  box-shadow: var(--shadow-dark);
  position: relative;
  z-index: 2;
}

.phone-mockup.dark { background: #0d0d0d; }

.phone-screen {
  background: #1a1919;
  border-radius: 24px;
  padding: 16px;
  min-height: 380px;
  overflow: hidden;
}
.phone-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
}
.coin-icon { color: var(--gold); font-size: 1rem; }
.up { color: var(--green); font-size: 0.75rem; margin-left: auto; }
.down { color: var(--red); font-size: 0.75rem; }

.chart-area { margin: 12px -4px; }
.chart-svg { width: 100%; height: 80px; }

.price-tag {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.price-tag.big { font-size: 1.6rem; }

.crypto-list { display: flex; flex-direction: column; gap: 8px; }
.crypto-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.phone-glow {
  position: absolute;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(201,175,126,0.4), transparent 70%);
  bottom: -60px; left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  filter: blur(30px);
  z-index: 1;
}

.asterisk {
  position: absolute;
  top: -30px; right: -30px;
  font-size: 3rem;
  color: var(--gold);
  animation: spin 15s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Dark phone screen */
.dark-screen {
  background: #17083d;
  border-radius: 24px;
  padding: 16px;
  min-height: 340px;
}
.dark-header {
  color: rgba(255,255,255,0.6);
  font-size: 0.78rem;
  margin-bottom: 6px;
}
.balance-display {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}
.mini-chart { margin: 0 -4px 14px; }
.mini-chart svg { width: 100%; height: 50px; }
.coin-list { display: flex; flex-direction: column; gap: 8px; }
.coin-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgb(245, 244, 242);
}
.coin-item span:last-child { margin-left: auto; }
.coin-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.coin-dot.btc { background: #f7931a; }
.coin-dot.eth { background: #627eea; }
.coin-dot.sol { background: #9945ff; }

/* =============================================
   TRUSTED
   ============================================= */
.trusted {
  background: var(--dark);
  overflow: hidden;
}
.trusted-label {
  text-align: center;
  color: rgb(255, 255, 255);
  font-size: 3rem;
  padding: 1rem 0 1.5rem;
}

.ticker-wrap { overflow: hidden; }
.ticker {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: ticker 20s linear infinite;
}
.ticker span {
  color: rgba(255,255,255,0.6);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =============================================
   FEATURES
   ============================================= */
.features {
  padding: 100px 0;
  background: var(--cream);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.feature-icon { font-size: 2rem; margin-bottom: 1rem; }
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.feature-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1.2rem;
  line-height: 1.65;
}
.list {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.2rem;
}
.list p {
  margin-bottom: 0rem;
}

/* =============================================
   PORTFOLIO
   ============================================= */
.portfolio {
  padding: 100px 0;
  background: #ebebe3;
  position: relative;
  overflow: hidden;
}
.portfolio-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.portfolio-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}
.portfolio-text p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 0.97rem;
}
.portfolio-text .btn-gold { margin-top: 1rem; }

/* =============================================
   SAFE TRADE
   ============================================= */
.safe-trade {
  padding: 100px 0;
  background: var(--cream);
}
.safe-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.safe-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}
.safe-text > p {
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-size: 0.97rem;
}
.check-list { display: flex; flex-direction: column; gap: 0.75rem; }
.check-list li {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
}

.trading-card {
  background: var(--dark);
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-dark);
}
.trading-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(201,175,126,0.15), transparent 70%);
}
.trading-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}
.play-btn {
  width: 64px; height: 64px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--dark);
  cursor: pointer;
  transition: var(--transition);
}
.play-btn:hover { transform: scale(1.1); background: var(--gold-dark); }

.trading-coins { display: flex; gap: 1rem; }
.tc {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.1);
}
.tc.btc { color: #f7931a; }
.tc.eth { color: #627eea; }

/* =============================================
   STEPS
   ============================================= */
.steps {
  padding: 100px 0;
  background: var(--cream);
}
.steps-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.steps-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.steps-text > p {
  color: var(--muted);
  margin-bottom: 2.5rem;
  font-size: 0.97rem;
}
.step-items { display: flex; flex-direction: column; gap: 1.5rem; }
.step-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}
.step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--dark);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-item h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.step-item p { font-size: 0.88rem; color: var(--muted); }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials {
  padding: 100px 0;
  background: #ebebe3;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testi-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.testi-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}
.avatar-placeholder {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--dark);
  flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 0.9rem; font-weight: 700; }
.testi-author span { font-size: 0.8rem; color: var(--muted); }
.stars { font-size: 0.75rem; margin-bottom: 0.5rem; }
.testi-label { font-weight: 600; font-size: 0.9rem; margin-bottom: 0.8rem; }
.testi-card > p:last-child { font-size: 0.88rem; color: var(--muted); line-height: 1.7; }

/* =============================================
   FAQ
   ============================================= */
.faq {
  padding: 100px 0;
  background: var(--cream);
}
.faq-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}
.faq-left h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.faq-left p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}
.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding-bottom: 0;
  margin-bottom: 0;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
  text-align: left;
  transition: color var(--transition);
}
.faq-q.active { color: var(--gold-dark); }
.faq-arrow { transition: transform var(--transition); flex-shrink: 0; }
.faq-q.active .faq-arrow { transform: rotate(180deg); }

.faq-a {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-a.open {
  max-height: 200px;
  padding-bottom: 1.2rem;
}

/* =============================================
   CTA BOTTOM
   ============================================= */
.cta-bottom {
  background: var(--dark);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.cta-bg-blob {
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,175,126,0.15), transparent 70%);
  top: -100px; right: -100px;
  border-radius: 50%;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}
.cta-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
}
.cta-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--dark-2);
  padding: 70px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand .logo {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  display: inline-block;
}
.footer-brand p {
  color: rgba(255,255,255,0.45);
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 260px;
}
.footer-links {
  display: contents;
}
.footer-links > div h5 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.2rem;
}
.footer-links > div ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-links > div ul a {
  color: rgba(255,255,255,0.45);
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-links > div ul a:hover { color: var(--gold); }

.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
}
.footer-bottom p {
  color: rgba(255,255,255,0.25);
  font-size: 0.82rem;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text { max-width: 100%; margin: 0 auto; }
  .hero-text p { margin: 0 auto 2rem; }
  .hero-ctas { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-phone { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .portfolio-inner,
  .safe-inner,
  .steps-inner { grid-template-columns: 1fr; gap: 3rem; }
  .portfolio-phone { display: flex; justify-content: center; }
  .steps-phone { display: flex; justify-content: center; }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .faq-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-btns { justify-content: center; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .safe-inner { grid-template-columns: 1fr; }
}
