/* ===========================
   CSS CUSTOM PROPERTIES
   =========================== */
:root {
  --bg-primary: #0d0d2b;
  --bg-secondary: #111130;
  --bg-card: #1a1a3e;
  --bg-card-hover: #1f1f4a;
  --border: rgba(123, 94, 167, 0.25);
  --border-hover: rgba(123, 94, 167, 0.55);

  --purple: #7B5EA7;
  --purple-light: #9d7ecf;
  --orange: #F97316;
  --coral: #EF4444;
  --gradient: linear-gradient(135deg, #F97316 0%, #EF4444 100%);
  --gradient-text: linear-gradient(135deg, #F97316, #EF4444);

  --text-white: #ffffff;
  --text-gray: #a8b4d0;
  --text-muted: #6b7a99;

  --font: 'Poppins', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
  --container: 1200px;
  --section-pad: 100px;
}

/* ===========================
   RESET & BASE
   =========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background-color: var(--bg-primary);
  color: var(--text-gray);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ===========================
   TYPOGRAPHY
   =========================== */
h1, h2, h3, h4 {
  color: var(--text-white);
  font-weight: 700;
  line-height: 1.2;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--purple-light);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 20px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-gray);
  max-width: 600px;
  margin-bottom: 48px;
  line-height: 1.7;
}

/* ===========================
   LAYOUT
   =========================== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text-white);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
  border-color: var(--purple);
  background: rgba(123, 94, 167, 0.12);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn-full {
  width: 100%;
}

/* ===========================
   NAVIGATION
   =========================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.nav-scrolled {
  background: rgba(13, 13, 43, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 40px;
  height: 56px;
  overflow: hidden;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  overflow: hidden;
}

.nav-logo img {
  height: 34px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.nav-logo-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav-links a {
  color: var(--text-gray);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text-white);
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: var(--transition);
}

.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;
  padding: 140px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(123, 94, 167, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 94, 167, 0.07) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.hero-glow-1 {
  width: 700px;
  height: 700px;
  background: rgba(123, 94, 167, 0.28);
  top: -150px;
  right: -150px;
  opacity: 0.6;
}

.hero-glow-2 {
  width: 500px;
  height: 500px;
  background: rgba(249, 115, 22, 0.18);
  bottom: -50px;
  left: 50px;
  opacity: 0.5;
}

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

.hero-content {
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(123, 94, 167, 0.15);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--purple-light);
  margin-bottom: 28px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple-light);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-gray);
  max-width: 620px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero-partners {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.partners-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.partners-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.partner-tag {
  padding: 4px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===========================
   PROBLEM / SOLUTION
   =========================== */
.problem-solution {
  padding: var(--section-pad) 0;
  background: var(--bg-secondary);
}

.ps-grid {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 48px;
}

.ps-arrow {
  font-size: 2rem;
  color: var(--purple);
  text-align: center;
  line-height: 1;
}

.ps-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.ps-card.ps-solution {
  border-color: rgba(249, 115, 22, 0.3);
}

.ps-icon {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.ps-card h3 {
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.ps-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.ps-list li:last-child {
  border-bottom: none;
}

.ps-list li::before {
  content: '•';
  color: var(--purple-light);
  flex-shrink: 0;
  margin-top: 1px;
}

.ps-card.ps-solution .ps-list li::before {
  content: '✓';
  color: #4ade80;
}

/* ===========================
   MODULES OVERVIEW
   =========================== */
.modules-overview {
  padding: var(--section-pad) 0;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
  margin-bottom: 32px;
}

.module-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
}

.module-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.module-icon {
  width: 52px;
  height: 52px;
  background: var(--purple);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px;
  flex-shrink: 0;
}

.module-icon svg {
  width: 100%;
  height: 100%;
  color: white;
}

.module-card h3 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

.module-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.module-link {
  font-size: 0.82rem;
  color: var(--purple-light);
  margin-top: auto;
  transition: var(--transition);
  font-weight: 500;
}

.module-card:hover .module-link {
  color: var(--orange);
}

.modules-tagline {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
  max-width: 700px;
  margin: 0 auto;
}

/* ===========================
   MODULE DETAILS
   =========================== */
.module-detail {
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--border);
}

.module-detail-alt {
  background: var(--bg-secondary);
}

.module-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.module-detail-grid.reverse {
  direction: rtl;
}

.module-detail-grid.reverse > * {
  direction: ltr;
}

.module-detail-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--purple-light);
  margin-bottom: 16px;
}

.module-detail h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  margin-bottom: 24px;
}

.module-quote {
  border-left: 3px solid var(--purple);
  padding-left: 20px;
  margin-bottom: 24px;
  font-size: 1rem;
  font-style: italic;
  color: var(--text-white);
  line-height: 1.65;
}

.module-detail p {
  margin-bottom: 24px;
  font-size: 0.95rem;
  line-height: 1.8;
}

.feature-list {
  margin-bottom: 32px;
}

.feature-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li::before {
  content: '✓';
  color: var(--purple-light);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.module-detail-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-gray);
  line-height: 1.55;
}

/* Deadline visual */
.module-detail-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.deadline-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  width: 100%;
  max-width: 400px;
}

.deadline-visual-title {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.deadline-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.875rem;
  color: var(--text-gray);
}

.deadline-item:last-child {
  border-bottom: none;
}

.deadline-status {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.status-done {
  background: rgba(74, 222, 128, 0.12);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.3);
}

.status-soon {
  background: rgba(249, 115, 22, 0.12);
  color: var(--orange);
  border: 1px solid rgba(249, 115, 22, 0.3);
}

.status-open {
  background: rgba(123, 94, 167, 0.12);
  color: var(--purple-light);
  border: 1px solid var(--border);
}

/* ===========================
   STATS SECTION
   =========================== */
.stats-section {
  padding: var(--section-pad) 0;
  text-align: center;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.big-stat {
  padding: 44px 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.big-stat:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.big-stat-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 14px;
}

.big-stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 10px;
}

.big-stat-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===========================
   NOTIFY SECTION
   =========================== */
.notify-section {
  padding: 90px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.notify-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(123, 94, 167, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.notify-content {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.notify-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 16px;
}

.notify-content p {
  font-size: 1rem;
  color: var(--text-gray);
  margin-bottom: 36px;
}

.notify-form {
  display: flex;
  gap: 12px;
}

/* ===========================
   FORMS
   =========================== */
.form-input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-white);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--purple);
  background: rgba(123, 94, 167, 0.08);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

/* ===========================
   CONTACT SECTION
   =========================== */
.contact-section {
  padding: var(--section-pad) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-gray);
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  cursor: pointer;
  color: var(--text-gray);
  transition: var(--transition);
}

.checkbox-label:hover {
  color: var(--text-white);
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--purple);
  cursor: pointer;
  flex-shrink: 0;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: sticky;
  top: 100px;
}

.contact-info-card h3 {
  font-size: 1.05rem;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.expectation-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.expectation-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
}

.expectation-icon {
  color: #4ade80;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: #08081f;
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 280px;
  line-height: 1.65;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--text-white);
}

.footer-contact a {
  font-size: 0.875rem;
  color: var(--purple-light);
  transition: var(--transition);
}

.footer-contact a:hover {
  color: var(--orange);
}

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

/* ===========================
   RESPONSIVE — TABLET
   =========================== */
@media (max-width: 1024px) {
  .ps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ps-arrow {
    text-align: center;
    font-size: 1.5rem;
    padding: 8px 0;
    transform: rotate(90deg);
  }

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

  .module-detail-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .module-detail-grid.reverse {
    direction: ltr;
  }

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

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

  .contact-info-card {
    position: static;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ===========================
   RESPONSIVE — MOBILE
   =========================== */
@media (max-width: 768px) {
  :root {
    --section-pad: 64px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: rgba(13, 13, 43, 0.98);
    backdrop-filter: blur(20px);
    padding: 28px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    border-bottom: 1px solid var(--border);
    z-index: 999;
  }

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

  .nav-links a {
    font-size: 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-container .btn {
    display: none;
  }

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

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

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

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .big-stat {
    padding: 32px 24px;
  }

  .notify-form {
    flex-direction: column;
  }

  .notify-form .btn {
    width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: auto;
  }
}
