/* ==========================================================================
   DARK MINIMALIST STYLESHEET - rm -rf
   ========================================================================== */

:root {
  --bg-primary: #09090b;
  --bg-secondary: #121215;
  --bg-tertiary: #1a1a1e;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(255, 255, 255, 0.25);
  
  --text-main: #e4e4e7;
  --text-muted: #8e8e93;
  --text-dark: #52525b;
  
  --accent-gold: #c5a880;
  --accent-gold-glow: rgba(197, 168, 128, 0.15);
  --accent-red: #ef4444;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Cinzel', serif;
  --font-mono: 'Fira Code', monospace;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
}

body {
  position: relative;
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, #17171c 0%, var(--bg-primary) 70%);
}

/* Background Effects */
#canvas-dust {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}

.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 2;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 4rem;
  background: rgba(9, 9, 11, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
}

.nav-brand {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: -0.5px;
  color: var(--text-main);
}

.prompt-sym {
  color: var(--accent-gold);
  margin-right: 4px;
}

.blink {
  animation: blinkAnim 1s infinite;
}

@keyframes blinkAnim {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-item {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.nav-item:hover {
  color: var(--text-main);
}

.nav-btn {
  padding: 0.5rem 1.2rem;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.85rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.nav-btn:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 0 15px var(--accent-gold-glow);
}

/* Hero Section */
.hero {
  min-height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  z-index: 10;
  text-align: center;
}

.hero-container {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Avatar Frame */
.avatar-frame {
  position: relative;
  width: 170px;
  height: 170px;
  margin-bottom: 2.5rem;
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 5;
  filter: grayscale(30%) contrast(110%);
  border: 1px solid var(--border-color);
  transition: filter 0.5s ease;
}

.avatar-frame:hover .avatar-img {
  filter: grayscale(0%) contrast(105%);
}

.avatar-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-gold-glow) 0%, transparent 70%);
  filter: blur(15px);
  z-index: 1;
}

.avatar-ring {
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 50%;
  border: 1px dashed rgba(197, 168, 128, 0.3);
  animation: rotateRing 30s linear infinite;
}

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

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.3rem 0.9rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

/* Typography */
.hero-title {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: #f4f4f5;
  margin-bottom: 1rem;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  font-weight: 300;
  max-width: 620px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

/* Buttons */
.hero-actions {
  display: flex;
  gap: 1.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.8rem 1.8rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-primary {
  background: #e4e4e7;
  color: #09090b;
  border: 1px solid #e4e4e7;
}

.btn-primary:hover {
  background: #ffffff;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

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

/* Terminal Preview */
.terminal-section {
  max-width: 850px;
  margin: 0 auto 6rem;
  padding: 0 1.5rem;
  position: relative;
  z-index: 10;
}

.terminal-window {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.terminal-header {
  background: #0d0d10;
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.terminal-dots {
  display: flex;
  gap: 6px;

  .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;

    &.red { background: #ef4444; }
    &.yellow { background: #f59e0b; }
    &.green { background: #10b981; }
  }
}

.terminal-title {
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dark);
}

.terminal-body {
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-main);
  line-height: 1.8;
  min-height: 180px;
}

.terminal-body .line {
  margin-bottom: 6px;
}

.terminal-body .usr { color: var(--accent-gold); }
.terminal-body .path { color: #60a5fa; }
.terminal-body .dim { color: var(--text-dark); }
.terminal-body .success { color: #34d399; }
.terminal-body .cursor { color: var(--accent-gold); animation: blinkAnim 1s infinite; }

/* Sections Common */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 2rem;
  position: relative;
  z-index: 10;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-gold);
  letter-spacing: 2px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  letter-spacing: 2px;
  color: var(--text-main);
  margin-top: 0.5rem;
}

/* Grid Layout */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: var(--border-focus);
  transform: translateY(-4px);
  background: var(--bg-tertiary);
}

.card-icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 500;
  color: #f4f4f5;
  margin-bottom: 0.6rem;
}

.card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Table */
.command-table-wrapper {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow-x: auto;
}

.command-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.command-table th {
  background: #0d0d10;
  color: var(--text-muted);
  font-weight: 500;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.command-table td {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
}

.command-table tr:last-child td {
  border-bottom: none;
}

.command-table code {
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  color: var(--accent-gold);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 3rem 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dark);
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-mono);
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .navbar { padding: 1rem 1.5rem; }
  .hero-title { font-size: 2.4rem; }
  .footer-container { flex-direction: column; gap: 1rem; }
}

/* Offer Card Styling */
.offer-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2.2rem 2.5rem;
  margin-top: 1.5rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.offer-card:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 0 25px var(--accent-gold-glow);
  transform: translateY(-3px);
}

.offer-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: #f4f4f5;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
}

.offer-duration {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.2rem;
}

.offer-price {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 0.4rem;
  line-height: 1;
}

.offer-note {
  font-size: 0.82rem;
  color: var(--text-dark);
  margin-bottom: 1.8rem;
}

.offer-btn {
  width: 100%;
  justify-content: center;
  padding: 0.9rem;
}
