/* --------------------------------------------------
   Custom Design System & Variables (Vanilla CSS)
   -------------------------------------------------- */
:root {
  --bg-darker: #080511;
  --bg-dark: #0e0a24;
  --primary: #8b5cf6;
  --primary-glow: rgba(139, 92, 246, 0.45);
  --secondary: #ec4899;
  --secondary-glow: rgba(236, 72, 153, 0.35);
  --cyan: #06b6d4;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.08);
  --font-header: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-darker);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* --------------------------------------------------
   Reusable Elements & Typography
   -------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-header);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #c084fc;
  margin-bottom: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 30px;
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--primary-glow), 0 4px 20px var(--secondary-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.glow-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  margin-right: 8px;
}

/* --------------------------------------------------
   Navigation Header
   -------------------------------------------------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(8, 5, 17, 0.7);
  border-bottom: 1px solid var(--card-border);
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-header);
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

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

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

/* --------------------------------------------------
   Hero Section
   -------------------------------------------------- */
.hero {
  padding: 160px 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  background: linear-gradient(135deg, #fff 40%, #c084fc 80%, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* --------------------------------------------------
   Apps & Showcase Section
   -------------------------------------------------- */
.section-title-wrap {
  max-width: 1200px;
  margin: 80px auto 40px;
  padding: 0 24px;
}

.section-title {
  font-size: 2.2rem;
  color: #fff;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.showcase-container {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 24px;
}

/* Flagship Showcase Card */
.showcase-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 48px;
  backdrop-filter: blur(8px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.showcase-card::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.app-logo-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 1.5rem;
}

.app-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  object-fit: cover;
}

.app-title {
  font-size: 2.5rem;
  color: #fff;
}

.app-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.feature-icon {
  color: #10b981;
  font-weight: bold;
}

/* Mockup Display Carousel */
.mockup-gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.mockup-screen-container {
  width: 100%;
  max-width: 320px;
  border-radius: 36px;
  padding: 10px;
  background: #1e1b4b;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), inset 0 0 10px rgba(255, 255, 255, 0.1);
  border: 4px solid #312e81;
  position: relative;
}

.mockup-screen-container::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 12px;
  background: #000;
  border-radius: 10px;
  z-index: 10;
}

.mockup-img {
  width: 100%;
  border-radius: 28px;
  display: block;
  transition: opacity 0.5s ease-in-out;
}

.gallery-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
}

/* --------------------------------------------------
   Extensible Portfolio / Upcoming Grid
   -------------------------------------------------- */
.portfolio-grid {
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.grid-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 30px;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.grid-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.05);
}

.card-header-icon {
  font-size: 1.8rem;
  margin-bottom: 1.25rem;
}

.card-title {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.card-footer-link {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-locked {
  opacity: 0.55;
  position: relative;
}

.card-locked::after {
  content: '🔮 UPCOMING';
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(236, 72, 153, 0.1);
  border: 1px solid rgba(236, 72, 153, 0.25);
  color: #f472b6;
}

/* --------------------------------------------------
   Legal Documents & Compliance Section
   -------------------------------------------------- */
.legal-section {
  background: radial-gradient(circle at center, rgba(14, 10, 36, 0.8) 0%, var(--bg-darker) 100%);
  border-top: 1px solid var(--card-border);
  padding: 80px 24px;
}

.legal-container {
  max-width: 1200px;
  margin: 0 auto;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.legal-card {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.legal-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.025);
}

.legal-card h3 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.legal-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.legal-card a {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
}

/* --------------------------------------------------
   Footer Section
   -------------------------------------------------- */
footer {
  border-top: 1px solid var(--card-border);
  padding: 40px 24px;
  background-color: #06040d;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

/* Responsive adjustments */
@media (max-width: 900px) {
  .showcase-card {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 32px;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .footer-container {
    flex-direction: column;
  }
}
