/* ============================================
   MyCryptex – style.css
   ============================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --accent: #E8450A;
  --accent-hov: #c93a09;
  --dark: #0d0d0d;
  --dark2: #141414;
  --dark3: #1a1a1a;
  --card-bg: #ffffff;
  --text-light: #ffffff;
  --text-muted: #b0b0b0;
  --font: 'Inter', sans-serif;
  --nav-h: 68px;
  --radius: 12px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  border-radius: var(--radius);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ==============================
   NAVBAR
============================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s;
}

.navbar.scrolled {
  background: rgba(5, 5, 5, 0.98);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 1.5px;
  color: #fff;
}

.logo-icon {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: #ccc;
  transition: color 0.2s;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.btn-signup {
  background: var(--accent);
  color: #fff;
  padding: 9px 22px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
}

.btn-signup:hover {
  background: var(--accent-hov);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 24px 28px;
  background: rgba(10, 10, 10, 0.97);
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 999;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}

.mobile-nav.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.mobile-nav a {
  font-size: 1rem;
  font-weight: 500;
  color: #ddd;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* ==============================
   BUTTONS
============================== */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
  background: var(--accent-hov);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: #fff;
  border: 1px solid var(--accent);
  padding: 13px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  transition: background 0.2s, transform 0.2s;
}

.btn-secondary:hover {
  background: rgba(232, 69, 10, 0.2);
  transform: translateY(-2px);
}

.btn-text {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  font-size: 1rem;
}

.btn-text:hover {
  text-decoration: underline;
  color: var(--accent-hov);
}

.btn-block {
  display: block;
  width: 100%;
  margin-top: 15px;
}

/* ==============================
   TYPOGRAPHY & SECTIONS
============================== */
.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: #fff;
}

.section-subtitle,
.section-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

/* ==============================
   HERO
============================== */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  margin-top: var(--nav-h);
  padding: 60px 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
  border-radius: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 5%;
  max-width: 800px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-subhead {
  font-size: 1.25rem;
  font-weight: 500;
  color: #eee;
  margin-bottom: 20px;
  line-height: 1.5;
}

.hero-body {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
}

/* ==============================
   WHY MYCRYPTEX
============================== */
.why-mycryptex {
  background: var(--dark2);
  padding: 80px 0;
}

.why-content p {
  font-size: 1.1rem;
  color: #bbb;
  margin-bottom: 20px;
  max-width: 800px;
}

.why-buttons {
  margin-top: 30px;
  display: flex;
  gap: 15px;
}

/* ==============================
   WALLETS SECTION
============================== */
.wallets-section {
  padding: 90px 0;
  background: var(--dark);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.product-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  color: #111;
  display: flex;
  flex-direction: column;
}

.card-img-wrap {
  height: 220px;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.3s;
}

.product-card:hover .card-img {
  transform: scale(1.05);
}

.card-body {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 5px;
}

.card-subtitle {
  font-size: 1.05rem;
  font-weight: 500;
  color: #666;
  margin-bottom: 15px;
}

.card-desc {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tag {
  background: #f0f0f0;
  color: #333;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.grid-footer {
  background: var(--dark2);
  padding: 40px;
  border-radius: var(--radius);
  text-align: center;
}

.grid-footer h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.grid-footer p {
  color: #bbb;
  margin-bottom: 25px;
}

.grid-footer-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* ==============================
   COMPARE SECTION
============================== */
.compare-section {
  padding: 80px 0;
  background: var(--dark2);
  border-top: 1px solid #222;
}

.compare-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

.compare-row {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: #111;
  padding: 30px;
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.compare-item {
  font-size: 1.1rem;
  padding: 15px;
  background: #1a1a1a;
  border-radius: 8px;
  border-left: 4px solid var(--accent);
}

.compare-footer-copy {
  text-align: center;
  color: #aaa;
  margin-bottom: 30px;
}

.compare-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* ==============================
   WAITLIST
============================== */
.waitlist-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #1f0b03 0%, #111 100%);
  text-align: center;
}

.waitlist-content {
  max-width: 700px;
  margin: 0 auto;
}

.waitlist-content p {
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 30px;
}

.waitlist-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* ==============================
   FAQ
============================== */
.faq-section {
  padding: 80px 0;
  background: var(--dark);
}

.faq-accordion {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: var(--dark2);
  border-radius: 8px;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
}

/* ==============================
   FOOTER
============================== */
.footer {
  padding: 60px 0 30px;
  background: #050505;
  border-top: 1px solid #222;
}

.disclaimer-block {
  background: #111;
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 40px;
}

.disclaimer-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffeb3b;
  margin-bottom: 10px;
}

.disclaimer-copy {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 10px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-heading {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  color: #888;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #222;
  color: #666;
  font-size: 0.9rem;
}

/* ==============================
   MOBILE/DESKTOP TOGGLE
============================== */
.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}