/* ==========================================================================
   RANDEMU DEMO PLATFORM — BRAND KIT & CSS STYLESHEET
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  /* Color Palette */
  --bg-primary: #0B0E1A;
  --bg-secondary: #12162B;
  --bg-tertiary: #1A1F3A;

  --accent-primary: #6C5CE7;
  --accent-secondary: #8B7FFF;
  --accent-gold: #E8B75E;

  --text-primary: #F5F6FA;
  --text-secondary: #9497B0;
  --text-muted: #5A5E78;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(108, 92, 231, 0.35);

  --success: #4ADE80;
  --gradient-hero: linear-gradient(135deg, rgba(108, 92, 231, 0.25) 0%, rgba(11, 14, 26, 0.95) 70%);
  --gradient-card-hover: linear-gradient(135deg, rgba(108, 92, 231, 0.15), rgba(232, 183, 94, 0.08));
}

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

html {
  scroll-behavior: smooth;
}

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

/* Typography Headings */
h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
  font-family: 'Space Grotesk', sans-serif;
}

/* Container & Layout */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(11, 14, 26, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  position: relative;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon-img {
  height: 68px;
  max-height: 72px;
  width: auto;
  object-fit: contain;
  filter: none !important;
  transition: transform 0.2s ease;
}

.footer .logo-icon-img {
  height: 76px;
  max-height: 84px;
}

.logo-brand:hover .logo-icon-img {
  transform: scale(1.06);
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
}

.logo-text span {
  color: var(--accent-primary);
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
  color: var(--text-primary);
}

.mobile-only-cta {
  display: none;
}

.header-desktop-cta {
  display: flex;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
  background: var(--accent-primary);
  color: #FFF;
  box-shadow: 0 4px 20px rgba(108, 92, 231, 0.35);
}

.btn-primary:hover {
  background: var(--accent-secondary);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(108, 92, 231, 0.5);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, #E8B75E 0%, #D97706 100%);
  color: #000;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(232, 183, 94, 0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232, 183, 94, 0.5);
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: 0 12px 40px rgba(108, 92, 231, 0.2);
  background: var(--gradient-card-hover);
}

/* Sector Accent Strips */
.sector-accent-strip {
  height: 4px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

/* Badges & Tags */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-purple {
  background: rgba(108, 92, 231, 0.15);
  color: var(--accent-secondary);
  border: 1px solid rgba(108, 92, 231, 0.3);
}

.badge-gold {
  background: rgba(232, 183, 94, 0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(232, 183, 94, 0.3);
}

/* Hero Section */
.hero-section {
  padding: 160px 0 100px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: 56px;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-title span {
  background: linear-gradient(135deg, #FFF 0%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
}

/* Sector Grid */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.sector-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.sector-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.sector-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
}

.sector-card-title {
  font-size: 22px;
  margin-bottom: 8px;
}

.sector-card-desc {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 24px;
}

.sector-meta-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

/* 10 Core Modules Grid (2 rows x 5 columns) */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 30px;
}

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

@media (max-width: 600px) {
  .modules-grid {
    grid-template-columns: 1fr;
  }
}

.module-pill {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  padding: 16px 20px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.module-pill:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
  background: var(--bg-tertiary);
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.pricing-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-card.popular {
  border-color: var(--accent-gold);
  box-shadow: 0 10px 40px rgba(232, 183, 94, 0.15);
}

.pricing-price {
  font-size: 44px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 20px 0;
}

.pricing-price span {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  margin: 30px 0;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--text-secondary);
}

.pricing-features li.active {
  color: var(--text-primary);
}

.icon-check {
  color: var(--success);
}

/* Feature Matrix Table */
.table-wrapper {
  overflow-x: auto;
  margin-top: 40px;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background: var(--bg-secondary);
}

.matrix-table th, .matrix-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 14px;
}

.matrix-table th {
  background: var(--bg-tertiary);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
}

/* Theme Gallery */
.theme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 30px;
}

.theme-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.theme-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
}

.theme-preview-box {
  height: 210px;
  background: var(--bg-tertiary);
  position: relative;
  overflow: hidden;
}

.theme-preview-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.theme-card:hover .theme-preview-box img {
  transform: scale(1.04);
}

.theme-card-body {
  padding: 24px;
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 40px;
  margin-top: 120px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-bottom {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 30px;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }

  .header-desktop-cta {
    display: none;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(11, 14, 26, 0.98);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  }

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

  .mobile-only-cta {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
  }

  .sector-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 36px;
    text-align: center;
  }

  .footer .logo-brand {
    justify-content: center;
  }

  .footer p {
    margin-left: auto;
    margin-right: auto;
  }

  .panel-tour-item {
    grid-template-columns: 1fr !important;
  }
}

/* Journey Grid Responsive */
.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 768px) {
  .journey-grid {
    grid-template-columns: 1fr !important;
  }
}

.whatsapp-float-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}
