@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap");
:root {
  --red-primary: #e74c3c;
  --blue-dark: #2c3e50;
  --teal-accent: #18bc9c;
  --white: #ffffff;
  --black-soft: #151515;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Manrope", sans-serif;
}

body {
  background: var(--black-soft);
  color: var(--white);
  line-height: 1.7;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(21, 21, 21, 0.85);
  border-bottom: 1px solid #222;
  z-index: 100;
}

.nav {
  max-width: 1200px;
  margin: auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  cursor: pointer;
}

.logo span {
  color: var(--red-primary);
}

nav a {
  margin-left: 28px;
  font-size: 14px;
  font-weight: 500;
  color: #ccc;
  text-decoration: none;
}

nav a:hover {
  color: var(--red-primary);
}

/* Hero */
.hero {
  padding: 160px 24px 120px;
  text-align: center;
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero h1 span {
  color: var(--red-primary);
}

.hero p {
  max-width: 760px;
  margin: 20px auto;
  font-size: 18px;
  color: #cfcfcf;
}

/* Buttons */
.actions {
  margin-top: 40px;
}

.btn {
  padding: 14px 30px;
  border-radius: 6px;
  font-weight: 700;
  margin: 8px;
  display: inline-block;
  text-decoration: none;
}

.btn.primary {
  background: var(--red-primary);
  color: #fff;
}

.btn.secondary {
  border: 1px solid #444;
  color: #ddd;
}

.btn.disabled {
  background: #333;
  color: #666;
  pointer-events: none;
}

/* Sections */
.section {
  max-width: 1200px;
  margin: auto;
  padding: 80px 24px;
  text-align: center;
}

.section.dark {
  background: #111;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
}

.section h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
}

.subtitle {
  color: #bdbdbd;
  max-width: 700px;
  margin: auto;
}
#contact p {
  margin-top: 16px;
}

#contact .subtitle {
  margin-top: 24px;
}

#contact .btn {
  margin-top: 40px;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.card {
  background: #1c1c1c;
  border: 1px solid #262626;
  padding: 36px;
  border-radius: 12px;
  transition: 0.3s ease;
  text-align: left;
}

.card:hover {
  border-color: var(--red-primary);
  transform: translateY(-6px);
}

.card h3 {
  color: var(--teal-accent);
  margin-bottom: 12px;
  font-weight: 700;
}

/* Footer */
footer {
  border-top: 1px solid #222;
  background: #111;
}

.footer-content {
  max-width: 1200px;
  margin: auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
}

.footer-logo {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-logo span {
  color: var(--red-primary);
}

.footer-brand p {
  color: #bdbdbd;
  font-size: 14px;
  max-width: 360px;
}

/* Footer links */
.footer-links h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.footer-links a {
  display: block;
  font-size: 14px;
  color: #bdbdbd;
  text-decoration: none;
  margin-bottom: 10px;
}

.footer-links a:hover {
  color: var(--red-primary);
}

/* Bottom line */
.footer-bottom {
  text-align: center;
  padding: 20px 24px;
  font-size: 13px;
  color: #888;
  border-top: 1px solid #222;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    margin: auto;
  }
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* AppSource Grid */
.appsource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.app-card {
  background: #161616;
  border: 1px solid #262626;
  border-radius: 14px;
  padding: 32px;
  text-align: left;
  transition: all 0.3s ease;
}

.app-card:hover {
  border-color: var(--red-primary);
  transform: translateY(-6px);
}

.app-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 12px 0;
}

.app-card p {
  font-size: 15px;
  color: #cfcfcf;
  margin-bottom: 20px;
}

/* Category Tag */
.tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(231, 76, 60, 0.15);
  color: var(--red-primary);
}

/* Link */
.link {
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.link:hover {
  color: var(--red-primary);
}

.link.disabled {
  color: #666;
  pointer-events: none;
}

/* Tags container */
.tags {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

/* Base tag */
.tag {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

/* Platform tag */
.tag.platform {
  background: rgba(44, 62, 80, 0.35); /* blue-dark */
  color: #cfd8dc;
  border: 1px solid rgba(44, 62, 80, 0.6);
}

/* Status tags */
.tag.status.live {
  background: rgba(24, 188, 156, 0.15); /* teal */
  color: #18bc9c;
  border: 1px solid rgba(24, 188, 156, 0.4);
}

.tag.status.preview {
  background: rgba(231, 76, 60, 0.15); /* red */
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.4);
}

.tag.status.coming {
  background: rgba(255, 193, 7, 0.15); /* amber */
  color: #ffc107;
  border: 1px solid rgba(255, 193, 7, 0.4);
}

/* Legal pages base */
.legal-page {
  max-width: 900px;
  margin: auto;
  padding: 160px 24px 100px;
  text-align: left;
}

/* Headings */
.legal-page h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 16px;
}

.legal-page h3 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 12px;
  color: #ffffff;
}

/* Intro / subtitle */
.legal-page .subtitle {
  font-size: 16px;
  color: #bdbdbd;
  margin-bottom: 40px;
  max-width: 720px;
}

/* Paragraphs */
.legal-page p {
  font-size: 15px;
  line-height: 1.8;
  color: #cfcfcf;
  margin-bottom: 16px;
}

/* Links */
.legal-page a {
  color: var(--red-primary);
  text-decoration: none;
  font-weight: 500;
}

.legal-page a:hover {
  text-decoration: underline;
}

/* Footer note (last updated) */
.legal-page .legal-meta {
  margin-top: 48px;
  font-size: 13px;
  color: #888;
  border-top: 1px solid #222;
  padding-top: 16px;
}

/* Responsive */
@media (max-width: 768px) {
  .legal-page {
    padding: 140px 20px 80px;
  }

  .legal-page h1 {
    font-size: 32px;
  }
}
