@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-primary: #080c14;
  --bg-secondary: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.6);
  --border-color: rgba(255, 255, 255, 0.08);
  
  --color-gold: #ffd700;
  --color-gold-hover: #ffea70;
  --color-cyan: #00f2fe;
  --color-blue: #3b82f6;
  --color-purple: #7c3aed;
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --font-primary: 'Outfit', 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

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

/* Banknote & Coin Background Elements */
.bg-decorations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.floating-element {
  position: absolute;
  opacity: 0.05;
  filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.3));
  pointer-events: none;
}

/* Float Animation */
@keyframes float-y-slow {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

@keyframes float-y-reverse {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(20px) rotate(-8deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* Glassmorphism utility */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
}

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

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: all 0.3s ease;
  padding: 20px 0;
}

header.scrolled {
  background: rgba(8, 12, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.brand-logo {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.4));
  transition: transform 0.5s ease;
}

.brand:hover .brand-logo {
  transform: rotate(360deg);
}

.brand-name {
  font-size: 36px;
  font-weight: 900;
  background: linear-gradient(135deg, #fff 30%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s ease;
}

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

/* Circulating Line Buttons (Loop Outline animation) */
.loop-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: #090e18;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  z-index: 1;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.loop-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent 0%,
    transparent 40%,
    var(--color-gold) 50%,
    var(--color-cyan) 60%,
    transparent 70%,
    transparent 100%
  );
  animation: rotate-border 3s linear infinite;
  z-index: -2;
}

.loop-btn::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  background: #090e18;
  border-radius: 48px;
  z-index: -1;
  transition: background 0.3s ease;
}

.loop-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.2);
}

.loop-btn:hover::after {
  background: #111a2e;
}

.loop-btn.accent::before {
  background: conic-gradient(
    from 0deg,
    transparent 0%,
    transparent 40%,
    var(--color-cyan) 50%,
    var(--color-purple) 60%,
    transparent 70%,
    transparent 100%
  );
}

@keyframes rotate-border {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Hero Section */
.hero {
  padding: 180px 0 100px;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  background: linear-gradient(to right, #fff, #cbd5e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content h1 span {
  background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Hero Visual matching brand logo */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-coin-container {
  position: relative;
  width: 320px;
  height: 320px;
  animation: float-y-slow 6s ease-in-out infinite alternate;
}

.hero-coin-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 35px rgba(0, 242, 254, 0.35)) drop-shadow(0 0 15px rgba(255, 215, 0, 0.2));
}

.hero-orbital {
  position: absolute;
  border: 1px dashed rgba(0, 242, 254, 0.2);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.orbital-1 {
  width: 440px;
  height: 440px;
  animation: spin-clockwise 20s linear infinite;
}

.orbital-2 {
  width: 540px;
  height: 540px;
  animation: spin-counter-clockwise 30s linear infinite;
}

@keyframes spin-clockwise {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes spin-counter-clockwise {
  0% { transform: translate(-50%, -50%) rotate(360deg); }
  100% { transform: translate(-50%, -50%) rotate(0deg); }
}

/* Features Grid */
.section-title {
  text-align: center;
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(to right, #fff, var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 60px;
  font-size: 16px;
}

.features {
  padding: 100px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.feature-card {
  padding: 40px;
  border-radius: 24px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 242, 254, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(0, 242, 254, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--color-cyan);
  font-size: 24px;
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 16px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 15px;
}

/* Pricing Grid - Positioned visually high "up one layer" */
.pricing {
  padding: 100px 0;
  position: relative;
  z-index: 10;
  margin-top: -60px; /* pull up visually */
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.price-card {
  padding: 40px;
  border-radius: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.price-card.popular {
  border-color: var(--color-gold);
  background: linear-gradient(180deg, rgba(255, 215, 0, 0.05) 0%, rgba(15, 23, 42, 0.6) 100%);
  transform: scale(1.03);
}

.badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--color-gold);
  color: #000;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
  text-transform: uppercase;
}

.price-card h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.price-desc {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 24px;
}

.price-amount {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 24px;
  color: #fff;
}

.price-amount span {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 400;
}

.price-features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

.price-features li {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-features li::before {
  content: '✓';
  color: var(--color-cyan);
  font-weight: bold;
}

.price-card.popular .price-features li::before {
  color: var(--color-gold);
}

.price-card .loop-btn {
  width: 100%;
}

/* User Reviews Section - Infinite Loop Carousel */
.reviews {
  padding: 100px 0;
  overflow: hidden;
  position: relative;
}

.carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

/* Gradient fade at edges */
.carousel-container::before,
.carousel-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.carousel-container::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-primary), transparent);
}

.carousel-container::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-primary), transparent);
}

.carousel-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: infiniteScroll 45s linear infinite;
}

.carousel-track:hover {
  animation-play-state: paused;
}

@keyframes infiniteScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 15px)); }
}

.review-card {
  width: 380px;
  padding: 30px;
  border-radius: 20px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-text {
  font-size: 15px;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 24px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #000;
}

.author-info h4 {
  font-size: 16px;
  font-weight: 600;
}

.author-info p {
  font-size: 12px;
  color: var(--text-muted);
}

/* FAQ Section (Accordion) */
.faq {
  padding: 100px 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.faq-icon {
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.faq-icon::before {
  content: '+';
  font-size: 18px;
  color: var(--color-cyan);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  background: rgba(255, 255, 255, 0.01);
}

.faq-answer-inner {
  padding: 0 24px 24px;
  color: var(--text-secondary);
  font-size: 15px;
}

/* SEO Articles Section */
.articles-sec {
  padding: 100px 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 30px;
}

.article-card {
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.article-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 215, 0, 0.2);
}

.article-thumb {
  height: 200px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(8, 12, 20, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.article-thumb::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,215,0,0.1) 0%, transparent 70%);
}

.article-meta {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-date {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.article-meta h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.article-meta h3 a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.article-meta h3 a:hover {
  color: var(--color-gold);
}

.article-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.article-more {
  color: var(--color-cyan);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s ease;
}

.article-more:hover {
  gap: 10px;
  color: var(--color-gold);
}

/* Footer & PBN Links */
footer {
  border-top: 1px solid var(--border-color);
  padding: 60px 0 40px;
  background-color: #05080d;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo img {
  width: 44px;
  height: 44px;
}

.footer-logo span {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}

.footer-pbn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.footer-pbn span {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-pbn a {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  border-bottom: 1px dashed transparent;
}

.footer-pbn a:hover {
  color: var(--text-secondary);
  border-bottom-color: var(--text-secondary);
}

.copyright {
  font-size: 13px;
  color: var(--text-muted);
}

/* Mobile Responsive Adjustments */
@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .brand-logo {
    width: 56px;
    height: 56px;
  }
  
  .brand-name {
    font-size: 28px;
  }
  
  .section-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 12px 0;
  }
  
  nav {
    display: none; /* simple mobile setup, menu button can toggle or keep CTA simple */
  }
  
  .hero {
    padding: 130px 0 60px;
  }
  
  .hero-content h1 {
    font-size: 38px;
  }
  
  .hero-coin-container {
    width: 240px;
    height: 240px;
  }
  
  .orbital-1 {
    width: 320px;
    height: 320px;
  }
  
  .orbital-2 {
    width: 400px;
    height: 400px;
  }
  
  .price-card.popular {
    transform: none;
  }
}
