/* ========================================
   LTRST Token Page — styles.css
   Navy + Gold Premium Theme
   ======================================== */

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

:root {
  --navy-deep: #0c1a2e;
  --navy-mid: #112240;
  --navy-light: #1a365d;
  --gold: #c9a84c;
  --gold-light: #d4b85c;
  --gold-pale: #e8cc6e;
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--navy-deep);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
}

a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color 0.3s;
}

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

img {
  max-width: 100%;
}

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

.section {
  padding: 100px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  margin-bottom: 12px;
}

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

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background 0.3s, padding 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
  background: rgba(12, 26, 46, 0.95);
  backdrop-filter: blur(12px);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-light);
}

.nav-logo:hover {
  color: var(--gold-pale);
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  transition: color 0.3s;
}

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

.nav-link-external {
  padding: 8px 18px;
  border: 1px solid var(--gold);
  border-radius: 6px;
  color: var(--gold-light) !important;
  font-weight: 600 !important;
}

.nav-link-external:hover {
  background: rgba(201, 168, 76, 0.1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 0 80px;
  background: radial-gradient(ellipse at 50% 30%, rgba(26, 54, 93, 0.5) 0%, var(--navy-deep) 70%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(201, 168, 76, 0.04) 0%, transparent 50%),
              radial-gradient(circle at 70% 60%, rgba(212, 184, 92, 0.03) 0%, transparent 50%);
  animation: heroFloat 20s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-2%, -1%); }
}

.hero-container {
  position: relative;
  z-index: 1;
}

.hero-avatar {
  margin-bottom: 32px;
}

.larry-avatar {
  filter: drop-shadow(0 0 30px rgba(201, 168, 76, 0.3));
  animation: avatarPulse 4s ease-in-out infinite;
}

@keyframes avatarPulse {
  0%, 100% { filter: drop-shadow(0 0 30px rgba(201, 168, 76, 0.3)); }
  50% { filter: drop-shadow(0 0 50px rgba(201, 168, 76, 0.5)); }
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.hero-tagline {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 48px;
  font-weight: 300;
}

/* Countdown */
.countdown {
  margin-bottom: 48px;
}

.countdown-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.countdown-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(17, 34, 64, 0.8);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 12px;
  padding: 16px 20px;
  min-width: 80px;
}

.countdown-value {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.countdown-text {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 6px;
}

.countdown-separator {
  font-size: 2rem;
  color: var(--gold);
  font-weight: 700;
  padding-bottom: 16px;
}

/* CTA Button */
.btn-primary {
  display: inline-block;
  padding: 16px 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-deep);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  text-transform: uppercase;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.4);
  color: var(--navy-deep);
}

.hero-cta {
  margin-bottom: 40px;
}

.hero-token-info {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.token-badge {
  font-size: 0.8rem;
  padding: 6px 16px;
  background: rgba(17, 34, 64, 0.6);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 20px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* --- Mission --- */
.mission {
  background: var(--navy-mid);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.mission-card {
  background: var(--navy-deep);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: 16px;
  padding: 40px 32px;
  transition: transform 0.3s, border-color 0.3s;
}

.mission-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 168, 76, 0.3);
}

.mission-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 168, 76, 0.08);
  border-radius: 12px;
  margin-bottom: 24px;
}

.mission-card h3 {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 12px;
}

.mission-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Tokenomics --- */
.tokenomics {
  background: var(--navy-deep);
}

.tokenomics-grid {
  max-width: 800px;
  margin: 0 auto 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.token-alloc {
  background: var(--navy-mid);
  border: 1px solid rgba(201, 168, 76, 0.08);
  border-radius: 12px;
  padding: 24px 28px;
  transition: border-color 0.3s;
}

.token-alloc:hover {
  border-color: rgba(201, 168, 76, 0.2);
}

.token-alloc.highlighted {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.06);
  position: relative;
}

.token-alloc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.token-alloc-info h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}

.token-alloc-amount {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.token-alloc-note {
  display: block;
  font-size: 0.8rem;
  color: var(--gold-light);
  font-style: italic;
  margin-top: 4px;
}

.token-alloc-percent {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-light);
}

.progress-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 4px;
  transition: width 1s ease;
}

.highlight-bar {
  background: rgba(201, 168, 76, 0.15);
}

.highlight-fill {
  background: linear-gradient(90deg, var(--gold-pale), var(--gold));
}

/* Token Details Box */
.token-details-box {
  max-width: 800px;
  margin: 0 auto;
  background: var(--navy-mid);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 12px;
  padding: 32px;
}

.token-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.token-detail-row:last-child {
  border-bottom: none;
}

.token-detail-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.token-detail-value {
  font-size: 0.9rem;
  color: var(--white);
  font-weight: 600;
}

.mint-address {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.78rem;
  color: var(--gold-light);
  word-break: break-all;
}

/* --- How to Buy --- */
.how-to-buy {
  background: var(--navy-mid);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--navy-deep);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: 16px;
  padding: 36px 28px;
  position: relative;
  transition: transform 0.3s, border-color 0.3s;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 168, 76, 0.25);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-deep);
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 20px;
}

.step-card h3 {
  font-size: 1.125rem;
  color: var(--white);
  margin-bottom: 12px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.step-card a {
  font-weight: 600;
}

.mint-copy-box {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(17, 34, 64, 0.8);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 8px;
  padding: 10px 12px;
  overflow: hidden;
}

.mint-copy-box code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.65rem;
  color: var(--gold-light);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-btn {
  background: var(--gold);
  color: var(--navy-deep);
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s;
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
}

.copy-btn:hover {
  background: var(--gold-pale);
}

/* --- Roadmap --- */
.roadmap {
  background: var(--navy-deep);
}

.roadmap-timeline {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  padding-left: 40px;
}

.roadmap-timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), rgba(201, 168, 76, 0.1));
}

.roadmap-item {
  position: relative;
  margin-bottom: 48px;
}

.roadmap-item:last-child {
  margin-bottom: 0;
}

.roadmap-marker {
  position: absolute;
  left: -33px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--navy-deep);
  border: 3px solid var(--gold);
  z-index: 1;
}

.roadmap-item.active .roadmap-marker {
  background: var(--gold);
  box-shadow: 0 0 16px rgba(201, 168, 76, 0.5);
}

.roadmap-content {
  background: var(--navy-mid);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: 12px;
  padding: 28px 32px;
}

.roadmap-item.active .roadmap-content {
  border-color: rgba(201, 168, 76, 0.3);
}

.roadmap-quarter {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-light);
  margin-bottom: 8px;
  display: inline-block;
}

.roadmap-content h3 {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 16px;
}

.roadmap-content ul {
  list-style: none;
  padding: 0;
}

.roadmap-content li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 4px 0 4px 20px;
  position: relative;
}

.roadmap-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* --- Risk Disclosure --- */
.risk-disclosure {
  background: var(--navy-mid);
  padding: 80px 0;
}

.risk-box {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(12, 26, 46, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 40px;
}

.risk-box h2 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 16px;
}

.risk-box > p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.risk-box ul {
  list-style: none;
  padding: 0;
}

.risk-box li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  line-height: 1.7;
}

.risk-box li:last-child {
  border-bottom: none;
}

.risk-box li strong {
  color: var(--text-primary);
}

/* --- Footer --- */
.footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(201, 168, 76, 0.08);
  padding: 48px 0;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gold-light);
}

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

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--gold-light);
}

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

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 1024px) {
  .mission-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

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

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(12, 26, 46, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  }

  .nav-links.open {
    display: flex;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-tagline {
    font-size: 1.05rem;
    margin-bottom: 36px;
  }

  .countdown-unit {
    min-width: 60px;
    padding: 12px 14px;
  }

  .countdown-value {
    font-size: 1.8rem;
  }

  .mission-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .token-details-box {
    padding: 24px 20px;
  }

  .token-detail-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .roadmap-timeline {
    padding-left: 32px;
  }

  .roadmap-timeline::before {
    left: 11px;
  }

  .roadmap-marker {
    left: -28px;
    width: 14px;
    height: 14px;
  }

  .roadmap-content {
    padding: 24px;
  }

  .risk-box {
    padding: 28px 24px;
  }
}

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

  .countdown-timer {
    gap: 4px;
  }

  .countdown-unit {
    min-width: 52px;
    padding: 10px 8px;
  }

  .countdown-value {
    font-size: 1.5rem;
  }

  .countdown-separator {
    font-size: 1.4rem;
  }

  .hero-token-info {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary {
    padding: 14px 36px;
    font-size: 0.9rem;
  }
}
