/* Apply this class to the body or a wrapper element */
.dark-graph {
  min-height: 100vh;
  margin: 0;

  /* Base dark color */
  background-color: #0b0d0e;

  /*
    Layers (top → bottom):
    1-2) subtle thin vertical/horizontal grid lines (fine)
    3-4) slightly stronger grid lines used as accents (larger spacing)
    5) soft green radial glow in the top-left
    6) subtle vertical darkening to add depth
  */
  background-image:
    linear-gradient(to right, rgba(0, 200, 120, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 200, 120, 0.03) 1px, transparent 1px),
    linear-gradient(to right, rgba(0, 200, 120, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 200, 120, 0.06) 1px, transparent 1px),
    radial-gradient(700px 700px at 6% 8%, rgba(0, 160, 110, 0.08), rgba(0,0,0,0) 35%),
    linear-gradient(180deg, rgba(255,255,255,0.01), rgba(0,0,0,0.25));

  /* Match ordering above: sizes for each layer */
  background-size:
    48px 48px,   /* fine vertical lines spacing */
    48px 48px,   /* fine horizontal lines spacing */
    240px 240px, /* accent vertical lines every ~5 cells */
    240px 240px, /* accent horizontal lines */
    cover,
    cover;

  background-repeat: repeat, repeat, repeat, repeat, no-repeat, no-repeat;
  background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;

  /* make content readable on top */
  color: #e6f7ea;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* tiny demo content */
.demo {
  padding: 48px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  font-size: 18px;
}

.gradient-text {
  background: linear-gradient(90deg, #00ff7f, #7fff00);
  -webkit-background-clip: text; /* Safari/Chrome */
  -webkit-text-fill-color: transparent; 
  background-clip: text; /* Standard */
  color: transparent;
}

.gradient-icon {
  font-size: 1.2em; /* adjust as needed */
  
  background: linear-gradient(90deg, #00ff7f, #7fff00); /* your gradient */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent; /* fallback */
  
  margin-left: 6px;
  vertical-align: -0.1em; /* align with text baseline */
}

.app-card {
  margin-left: 50px;
  background: radial-gradient(
    circle,
    rgba(0, 0, 0, 0.2) 0%,   /* center more translucent */
    rgba(0, 0, 0, 0.6) 100%   /* edges more opaque */
  );
  border: 1px solid rgba(255, 255, 255, 0.10); /* subtle border */
  border-radius: 16px;
  padding: 24px;
  width: 400px;
  text-align: center;

  /* optional shadow */
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  font-size: 18px;
}

.app-card-link {
  text-decoration: none !important;
  color: inherit !important;
  display: block;
}

.app-card-link:visited,
.app-card-link:active,
.app-card-link:focus,
.app-card-link:hover {
  text-decoration: none !important;
  color: inherit !important;
}

.app-card-link:hover .app-card {
  transform: scale(1.02);      /* optional hover effect */
  transition: transform 0.2s ease-in-out;
}

/* hover effect */
.app-card:hover {
  transform: translateY(-4px); /* subtle lift */
  border-color: #00ff88; /* neon green border */
  box-shadow:
    0 0 10px rgba(0, 255, 136, 0.6),
    0 0 20px rgba(0, 255, 136, 0.4),
    0 0 40px rgba(0, 255, 136, 0.2);
}

.app-card-icon {
  width: 128px;
  height: 128px;
  border-radius: 12px;
  margin-bottom: 8px;
  border: 4px solid rgba(255, 255, 255, 0.1); /* light, semi-transparent border */
}

.app-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 -10px 0;
}

.app-card-subtitle {
  font-size: 1.25rem;
  color: #fff;
  margin: 0;
  text-align: left;
  padding-left: 50px;
}

/* Container to hold cards side by side */
.app-card-container {
  display: flex;
  justify-content: center;   /* center horizontally */
  gap: 24px;                 /* space between cards */
  margin-top: 32px;
  flex-wrap: wrap;           /* allows stacking on small screens */
}

/* Price styling */
.price {
  font-size: 1.5rem;         /* ~24px */
  font-weight: 700;
  color: #4ade80;            /* green-400 */
  margin: 8px 0;
}

.price-sub {
  font-size: 0.9rem;         /* ~14px */
  font-weight: 400;
  color: #9ca3af;            /* gray-400 */
}

h1 {
  font-size: clamp(2.0rem, 4vw, 2.5rem); 
}

.mockup-row {
  display: flex;
  justify-content: center;   /* center the row */
  align-items: flex-start;
  gap: 32px;                 /* spacing between mockups */
  background: #0b0d0e;
  padding: 0 20px;
  flex-wrap: nowrap;         /* prevents shrinking onto multiple lines */
}

.mockup-container {
  flex: 0 0 auto;            /* prevent shrinking */
}

.mockup-frame {
  width: 300px;              /* fixed size for consistency */
  height: auto;
  display: block;
}


@media (max-width: 768px) {
  .app-card {
    padding: 16px;
    font-size: 16px;
    width: 250px;
    margin-left: 0px;
  }

  .app-card-title {
    font-size: 1.25rem;
  }

  .app-card-subtitle {
    font-size: 1rem;
    padding-left: 0px;
  }

  .app-card-container {
    margin-top: -20px;
  }

  .app-card-link {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
  }

  .app-card-link:visited,
  .app-card-link:active,
  .app-card-link:focus,
  .app-card-link:hover {
    text-decoration: none !important;
    color: inherit !important;
  }

  .app-card-link,
  .app-card-link * {
    text-decoration: none !important;
    border: none !important;
  }
  .mockup-row {
    flex-direction: column;   /* stack items */
    align-items: center;      /* center them */
  }

  .mockup-frame {
    width: 80%;   /* take most of the screen width */
    max-width: 350px;  /* but don’t get too big */
    margin: 0 auto;           /* ensure horizontal centering */
    display: block;
  }

}