:root {
  /* Color scheme based on app icon */
  --primary-blue: #3dd9fc;
  --primary-purple: #e272ff;
  --dark-bg: #0a0e17;
  --darker-bg: #04070f;
  --light-text: #f5f5f7;
  --gray-text: #86868b;
  --card-bg: rgba(30, 35, 45, 0.5);
  --border-radius: 12px;
  
  /* Typography - SF Pro weight equivalents */
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
}

body {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Text", 
    "SF Pro Display",
    "Helvetica Neue",
    Arial,
    sans-serif;
  background-color: var(--dark-bg);
  color: var(--light-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Bootstrap Overrides */
.text-muted {
  color: var(--gray-text) !important;
}

.bg-darker {
  background-color: var(--darker-bg);
}

.card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  color: #eeeeee;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.feature-card {
  cursor: pointer;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.01em;
}

h1 {
  font-weight: var(--font-weight-bold);
}

h2, h3 {
  font-weight: var(--font-weight-semibold);
}

p {
  font-weight: var(--font-weight-regular);
}

a {
  transition: all 0.3s ease;
  font-weight: var(--font-weight-medium);
}

a:hover {
  opacity: 0.8;
}

.btn {
  font-weight: var(--font-weight-medium);
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
}

.btn-outline-primary {
  color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.btn-outline-primary:hover {
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--primary-purple)
  );
  border-color: transparent;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--primary-purple)
  );
  border: none;
}

/* Navigation */
.navbar-dark {
  background-color: transparent;
}

/* Header & Hero */
.hero {
  background-color: var(--darker-bg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      circle at top right,
      rgba(61, 217, 252, 0.1),
      transparent 40%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(226, 114, 255, 0.1),
      transparent 40%
    );
  z-index: 0;
}

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

.gradient-text {
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--primary-purple)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.hero h2 {
  font-size: 2rem;
  font-weight: var(--font-weight-semibold);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.screenshot {
  border-radius: var(--border-radius);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-store-button {
  display: inline-block;
  transition: transform 0.3s ease;
}

.app-store-button:hover {
  transform: translateY(-5px);
}

.app-store-button img {
  height: 44px;
}

/* Video placeholder */
.video-placeholder {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.play-button {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--primary-purple)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Accordion Styling */
.accordion-button {
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: var(--font-weight-medium);
  letter-spacing: -0.01em;
}

.accordion-button:not(.collapsed) {
  color: var(--primary-blue);
  background-color: rgba(30, 35, 45, 0.8);
  box-shadow: none;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  border-bottom: none;
  font-weight: var(--font-weight-semibold);
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-body {
  color: var(--light-text);
  background-color: rgba(30, 35, 45, 0.7);
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  padding: 1.25rem;
  margin-top: -1px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: none;
}

/* Changelog Styling */
.release-container .badge {
  font-weight: 500;
  padding: 0.4em 0.8em;
}

.badge.bg-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple)) !important;
}

.badge.bg-info {
  background-color: #5bc0de !important;
}

.badge.bg-success {
  background-color: #4dbd74 !important;
}

.badge.bg-dark {
  background-color: rgba(30, 35, 45, 0.8) !important;
}

.change-item {
  display: flex;
  align-items: flex-start;
}

.change-item .badge {
  margin-top: 2px;
  min-width: 80px;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .hero h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero h2 {
    font-size: 1.5rem;
  }
}
