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

:root {
  --btc-orange: #F7931A;
  --btc-orange-dark: #E07B00;
  --btc-gold: #FFD700;
  --btc-green: #00E676;
  --btc-red: #FF3B30;
  --bg-dark: #0a0a0a;
  --bg-card: #141414;
  --bg-card-hover: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --border: rgba(247, 147, 26, 0.2);
  --radius: 16px;
  --radius-sm: 10px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(247, 147, 26, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 147, 26, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}

.nav-logo {
  border-radius: 50%;
}

.nav-title {
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--btc-orange);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--btc-orange);
}

.nav-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary) !important;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.nav-social svg {
  width: 16px;
  height: 16px;
}

.nav-social:hover {
  background: var(--btc-orange);
  border-color: var(--btc-orange);
  color: #000 !important;
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  padding-top: 64px;
}

.hero-banner-wrap {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 24px 0;
}

.hero-banner {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
  box-shadow: 0 20px 60px rgba(247, 147, 26, 0.25);
}

.hero-glow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 80px;
  background: radial-gradient(ellipse, rgba(247, 147, 26, 0.4) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  padding: 48px 24px 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(247, 147, 26, 0.1);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--btc-orange);
  margin-bottom: 24px;
}

.hero-badge-icon {
  width: 18px;
  height: 18px;
}

.hero-headline {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.text-red {
  color: var(--btc-red);
}

.text-green {
  color: var(--btc-green);
}

.hero-sub {
  max-width: 640px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.hero-sub strong {
  color: var(--btc-gold);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn svg {
  width: 20px;
  height: 20px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--btc-orange), var(--btc-orange-dark));
  color: #000;
  box-shadow: 0 4px 20px rgba(247, 147, 26, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(247, 147, 26, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--btc-orange);
  color: var(--btc-orange);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.hero-social {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s;
}

.social-btn svg {
  width: 18px;
  height: 18px;
}

.social-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--btc-orange);
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--btc-orange);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 16px;
}

.section-desc {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.section-desc em {
  color: var(--btc-gold);
  font-style: normal;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.2s, border-color 0.2s;
}

.about-card:hover {
  transform: translateY(-4px);
  border-color: rgba(247, 147, 26, 0.4);
}

.about-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
}

.about-icon svg {
  width: 100%;
  height: 100%;
}

.about-icon-orange { color: var(--btc-orange); }
.about-icon-red { color: var(--btc-red); }
.about-icon-green { color: var(--btc-green); }

.about-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.about-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Cycle */
.cycle {
  background: linear-gradient(180deg, transparent, rgba(247, 147, 26, 0.05), transparent);
}

.cycle-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.cycle-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cycle-logo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  animation: pulse-glow 3s ease-in-out infinite;
}

.cycle-ring {
  position: absolute;
  width: 280px;
  height: 280px;
  animation: spin 20s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 30px rgba(247, 147, 26, 0.3); }
  50% { box-shadow: 0 0 60px rgba(247, 147, 26, 0.5); }
}

.cycle-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  margin-bottom: 16px;
}

.cycle-text p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.cycle-text strong {
  color: var(--btc-gold);
}

.cycle-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cycle-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.95rem;
}

.cycle-list svg {
  width: 22px;
  height: 22px;
  color: var(--btc-green);
  flex-shrink: 0;
}

/* Chart */
.chart-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  overflow: hidden;
}

.chart-svg {
  width: 100%;
  height: 160px;
  display: block;
}

.chart-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  padding: 0 8px;
}

.chart-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 700;
}

.chart-label-red { color: var(--btc-red); }
.chart-label-gold { color: var(--btc-gold); }
.chart-label-green { color: var(--btc-green); }

/* Buy */
.buy-card {
  text-align: center;
  background: linear-gradient(135deg, var(--bg-card), rgba(247, 147, 26, 0.08));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 32px;
  max-width: 600px;
  margin: 0 auto;
}

.buy-logo {
  border-radius: 50%;
  margin-bottom: 20px;
}

.buy-card h2 {
  font-size: 1.75rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.buy-card > p {
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.contract-box {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 28px;
  text-align: left;
}

.contract-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.contract-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contract-row code {
  flex: 1;
  font-size: 0.85rem;
  color: var(--btc-orange);
  word-break: break-all;
}

.copy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}

.copy-btn svg {
  width: 18px;
  height: 18px;
}

.copy-btn:hover {
  background: var(--btc-orange);
  border-color: var(--btc-orange);
  color: #000;
}

.buy-social {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 28px;
}

.buy-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-primary);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.buy-social svg {
  width: 22px;
  height: 22px;
}

.buy-social a:hover {
  background: var(--btc-orange);
  border-color: var(--btc-orange);
  color: #000;
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  margin-top: 40px;
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-brand img {
  border-radius: 50%;
}

.footer-disclaimer {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s;
}

.footer-links svg {
  width: 16px;
  height: 16px;
}

.footer-links a:hover {
  color: var(--btc-orange);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-secondary);
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links a:not(.nav-social) {
    display: none;
  }

  .cycle-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cycle-list li {
    justify-content: center;
  }

  .hero-content {
    padding-bottom: 48px;
  }

  .section {
    padding: 56px 0;
  }
}
