/* ════════════════════════════════════════════════════════════════════════════
   MODERN DARK THEME CSS — Claude Design System
   ════════════════════════════════════════════════════════════════════════════ */

:root {
  --bg: #0a0c10;
  --bg2: #0e1118;
  --orange: #ff9f00;
  --orange-glow: rgba(255,159,0,0.25);
  --green: #00e96a;
  --white: #ffffff;
  --white80: rgba(255,255,255,0.8);
  --white40: rgba(255,255,255,0.4);
  --white10: rgba(255,255,255,0.06);
  --white15: rgba(255,255,255,0.10);
  --border: rgba(255,255,255,0.08);
  --border-light: rgba(255,255,255,0.14);
}

/* ── GLOBAL RESET ── */
* {
  box-sizing: border-box;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  overflow-x: hidden;
  min-height: 100vh;
}

html {
  scroll-behavior: smooth;
}

/* ── BACKGROUND GRID ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,159,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,159,0,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* ── AMBIENT ORBS ── */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: rgba(255,159,0,0.07);
  top: -200px;
  right: -100px;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(0,233,106,0.05);
  bottom: 100px;
  left: -100px;
}

/* ── NAVIGATION ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 68px;
  background: rgba(10,12,16,0.85);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  text-decoration: none;
}

.logo span {
  color: var(--orange);
}

.logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.7;
  }
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--white80);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-cta {
  background: var(--orange);
  color: #000 !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600 !important;
  box-shadow: 0 0 20px var(--orange-glow);
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  display: inline-block;
}

.nav-cta:hover {
  box-shadow: 0 0 36px rgba(255,159,0,0.5) !important;
  transform: translateY(-1px);
  color: #000 !important;
}

/* ── PROMO RIBBON ── */
.ribbon {
  background: linear-gradient(90deg, #0e1118 0%, rgba(255,159,0,0.08) 50%, #0e1118 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  height: 36px;
  display: flex;
  align-items: center;
  z-index: 10;
  position: relative;
}

.ribbon-track {
  display: flex;
  gap: 64px;
  animation: slide 22s linear infinite;
  white-space: nowrap;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.ribbon-item {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--white80);
  display: flex;
  align-items: center;
  gap: 10px;
}

.ribbon-item .tag {
  background: var(--orange);
  color: #000;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ribbon-item .tag-green {
  background: var(--green);
  color: #000;
}

/* ── HERO SECTION ── */
.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 80px 48px 100px;
  min-height: calc(100vh - 68px - 36px);
}

.hero-left {}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white10);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--white80);
  margin-bottom: 28px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  margin-top: 0;
}

.hero-title .accent {
  color: var(--orange);
}

.hero-title .dim {
  color: var(--white40);
}

.hero-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--white80);
  max-width: 420px;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.btn-primary {
  background: var(--orange);
  color: #000;
  border: none;
  cursor: pointer;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 0 28px var(--orange-glow);
  transition: box-shadow 0.25s, transform 0.2s;
  letter-spacing: -0.01em;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  box-shadow: 0 0 50px rgba(255,159,0,0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--white10);
  color: var(--white80);
  border: 1px solid var(--border-light);
  cursor: pointer;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s;
  backdrop-filter: blur(8px);
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  background: var(--white15);
  color: var(--white);
}

/* ── STATS ── */
.stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--white);
  margin: 0;
}

.stat-num .s-accent {
  color: var(--orange);
}

.stat-label {
  font-size: 0.78rem;
  color: var(--white40);
  margin-top: 4px;
  margin-bottom: 0;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── HERO RIGHT (Floating Cards) ── */
.hero-right {
  position: relative;
  height: 480px;
}

.float-card {
  position: absolute;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 18px 22px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.08);
  animation: float 6s ease-in-out infinite;
}

.float-card:nth-child(2) {
  animation-delay: -2s;
}

.float-card:nth-child(3) {
  animation-delay: -4s;
}

.float-card:nth-child(4) {
  animation-delay: -1s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.card-a {
  top: 20px;
  left: 30px;
  width: 240px;
}

.card-b {
  top: 50px;
  right: 10px;
  width: 210px;
}

.card-c {
  bottom: 80px;
  left: 10px;
  width: 200px;
}

.card-d {
  bottom: 40px;
  right: 30px;
  width: 220px;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.card-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--white40);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--green);
}

.card-status::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

.card-value {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
  margin-top: 0;
}

.card-sub {
  font-size: 0.76rem;
  color: var(--white40);
}

.card-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 10px;
}

.card-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.progress-bar {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--orange), #ffcd3c);
}

.badge-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,233,106,0.1);
  border: 1px solid rgba(0,233,106,0.25);
  border-radius: 8px;
  padding: 6px 12px;
  margin-top: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green);
}

.hero-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 1px solid rgba(255,159,0,0.12);
  box-shadow: 0 0 80px rgba(255,159,0,0.05);
  pointer-events: none;
  animation: spin-slow 30s linear infinite;
}

.hero-ring::after {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 12px var(--orange);
}

@keyframes spin-slow {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* ── SECTION BASE ── */
section {
  position: relative;
  z-index: 1;
  padding: 72px 48px;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
  margin-top: 0;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  margin-top: 0;
}

.section-desc {
  color: var(--white80);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 0;
}

/* ── TOOLS GRID ── */
.tools-header {
  margin-bottom: 40px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 44px;
}

.tool-card {
  background: var(--white10);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.tool-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255,159,0,0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

.tool-card:hover::before {
  opacity: 1;
}

.tool-card:hover {
  border-color: rgba(255,159,0,0.4);
  box-shadow: 0 0 30px rgba(255,159,0,0.1), 0 8px 32px rgba(0,0,0,0.4);
  transform: translateY(-3px);
}

.tool-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: inline-block;
}

.tool-name {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  margin-top: 0;
}

.tool-desc {
  font-size: 0.82rem;
  color: var(--white40);
  line-height: 1.6;
  margin-bottom: 0;
}

.tool-free {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--green);
  border: 1px solid rgba(0,233,106,0.3);
  border-radius: 6px;
  padding: 2px 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── PRODUCTS SECTION ── */
.products {
  background: var(--bg2);
}

.cat-grid {
  display: grid;
  gap: 24px;
  margin-top: 44px;
}

.cat-block {
  background: var(--white10);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}

.cat-head-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cat-emoji {
  font-size: 1.3rem;
}

.cat-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
}

.cat-count {
  font-size: 0.75rem;
  color: var(--white40);
  font-weight: 500;
}

.cat-link {
  font-size: 0.8rem;
  color: var(--orange);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}

.cat-link:hover {
  opacity: 0.7;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead th {
  padding: 10px 24px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--white40);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

tbody tr {
  transition: background 0.15s;
}

tbody tr:hover {
  background: rgba(255,255,255,0.03);
}

tbody td {
  padding: 13px 24px;
  font-size: 0.875rem;
  color: var(--white80);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

tbody tr:last-child td {
  border-bottom: none;
}

.price-cell {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  color: var(--orange) !important;
}

.qty-cell {
  color: var(--white40) !important;
}

.badge-hot {
  display: inline-block;
  background: rgba(255,159,0,0.15);
  color: var(--orange);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-left: 8px;
}

.badge-new {
  display: inline-block;
  background: rgba(0,233,106,0.12);
  color: var(--green);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-left: 8px;
}

/* ── FORMS ── */
.form-control {
  background: var(--white10);
  border: 1px solid var(--border);
  color: var(--white);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control::placeholder {
  color: var(--white40);
}

.form-control:focus {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,159,0,0.5);
  outline: none;
  box-shadow: 0 0 20px rgba(255,159,0,0.15);
  color: var(--white);
}

/* ── FOOTER ── */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 36px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--white40);
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1rem;
}

.footer-logo span {
  color: var(--orange);
}

footer a {
  color: var(--white40);
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover {
  color: var(--white);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav {
    padding: 0 24px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 48px 24px 64px;
    min-height: auto;
  }

  .hero-right {
    height: 300px;
  }

  section {
    padding: 52px 24px;
  }

  footer {
    padding: 24px;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .tools-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }

  .stats {
    gap: 24px;
  }

  .card-a,
  .card-b,
  .card-c,
  .card-d {
    position: static !important;
    width: 100% !important;
    margin-bottom: 16px;
  }

  .hero-ring {
    display: none;
  }
}

@media (max-width: 600px) {
  nav {
    padding: 0 16px;
    height: 60px;
  }

  .logo {
    font-size: 1.1rem;
  }

  section {
    padding: 40px 16px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-btns {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }

  table {
    font-size: 0.8rem;
  }

  thead th,
  tbody td {
    padding: 8px 12px;
  }

  footer {
    padding: 16px;
    gap: 8px;
  }
}

/* ── UTILITY CLASSES ── */
.z-1 {
  position: relative;
  z-index: 1;
}

.glass-bg {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.10);
}

.gradient-orange {
  background: linear-gradient(135deg, var(--orange), #ffcd3c);
}

.gradient-green {
  background: linear-gradient(135deg, var(--green), #00b84c);
}

.text-accent {
  color: var(--orange);
}

.text-success {
  color: var(--green);
}

.text-muted {
  color: var(--white40);
}
