:root {
    font-family: 'Inter', sans-serif;
    background-color: rgb(50, 0, 255); /* Windows BSOD-like bright blue */
}

@import url('https://fonts.googleapis.com/css2?family=Geist+Mono:wght@100..900&family=Instrument+Serif:ital@0;1&family=Inter:ital,wght@0,100..900;1,100..900&display=swap');

.elegant-heading {
  margin-top: 50px;
  font-family: 'Instrument Serif', serif;
  font-weight: 400; /* This font usually looks best at its natural weight */
  font-size: 3rem;  /* It's a "display" font, so bigger is better! */
  text-align: left;
}
.elegant-heading:hover {
    text-decoration: underline;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: .85rem;

  /* text-align: right; */

  /* max-width: 1500px; */
  margin: 0 auto;
  padding: 0;
  /* This creates a 5% margin on the sides and 50px at the top/bottom */
  padding: 40px 20px;
  box-sizing: border-box; /* Crucial: makes sure padding doesn't cause horizontal scrolling */
}

.body-center{
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: .85rem;
  text-align: center;

  max-width: 900px;    /* Limits how wide the text gets (standard for readability) */
  margin: 0 auto;      /* The magic line: centers the box horizontally */
  padding: 40px 20px;
  box-sizing: border-box;
}

.body-mono {
  font-family: 'Geist Mono', monospace;
  padding: 40px 20px;
  box-sizing: border-box;
}

.hero-heading {
  font-family: 'Instrument Serif', serif;
  font-size: 3rem;

  font-weight: 400;
  text-align: center;

  max-width: 900px;    /* Limits how wide the text gets (standard for readability) */
  margin: 0 auto;      /* The magic line: centers the box horizontally */
  padding: 40px 20px;
  box-sizing: border-box;
}
.superhero-heading:hover {
  text-decoration: underline;
}











/* ---- Landing page styles (added) ---- */
html, body {
  height: 100%;
}
body {
  margin: 0;
  background-image: none;
  
  color: #ffffff;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.landing-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  padding: 2rem;
}





/* Hero container: no dark box, center content responsively */
.hero {
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}
.logo svg {
  width: 160px;
  height: auto;
  display: block;
  margin: 0 0 0.5rem 0;
  /* softer shadow when no dark panel is used */
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.25));
}
.tagline {
  font-family: 'Instrument Serif', serif;
  font-size: 1.75rem;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}
.elegant-heading, .hero-heading, .tagline, h1, h2, h3 {
  font-family: 'Instrument Serif', serif;
  color: #ffffff;
}
.cta-links {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.link-text {
  color: rgba(255,255,255,0.95);
  text-decoration: underline;
  font-size: 1rem;
  padding: 0.5rem;
}
.btn {
  padding: 0.6rem 1.1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: transform 160ms ease, filter 160ms ease;
}
.btn-download {
  background: #2563eb;
  color: #fff;
  box-shadow: 0 3px 8px rgba(37,99,235,0.24);
}
.btn-download:hover {
  filter: brightness(0.95);
  transform: translateY(-1px);
}
.btn-web {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
}
.btn-web:hover { background: rgba(255,255,255,0.12); }






/* Products Section */
.products-section {
  background-color: #2a2a2a;
  padding: 4rem 2rem;
  width: 100%;
  box-sizing: border-box;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  padding: 1.2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.product-card {
  display: flex;
  flex-direction: column; /* Stack header top, blurb bottom */
  min-height: 400px;
  padding: 24px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;

  background-color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.5s ease;
  cursor: pointer;
}

/* The Background Image Logic */
.product-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transition: transform box-shadow 0.5s ease;
}
.product-card:hover::before {
  transform: scale(1.05); /* Subtle zoom effect like Udara's site */
}

/* ---------------------- */


/* Gradient Overlay to make text pop */
.product-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,0.7) 100%);
  z-index: 1;
}

/* Content Styling */
.card-description, .card-buttons {
  position: relative;
  z-index: 2; /* Keeps text above the image and overlay */
  text-align: left; /* Align left to match Udara's style */
}

.card-header {
  display: flex;
  flex-direction: row; /* Icon left, Text right */
  align-items: center;
  justify-content: flex-start; /* Align to the left */
  gap: 12px;
  margin-bottom: 0;
  text-align: left;
}

/* -------------------- */

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: box-shadow 0.5s ease;
}

.tesseract-card {
  /* background: linear-gradient(135deg, #A161EA 0%, rgba(161, 97, 234, 0.1) 100%); */
  background-color: #623199;
}

.prism-card {
  /* background: linear-gradient(135deg, #64FA53 0%, rgba(100, 250, 83, 0.1) 100%); */
  background-color: #41c532;
}

.niko-card {
  /* background: linear-gradient(135deg, #4169E1 0%, rgba(65, 105, 225, 0.1) 100%); */
  background-color: #3860d8;
}

.secret-card {
  background-color: #000000;
}


.card-header {
  flex-direction: row; /* Icon next to title */
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 12px;
}

.card-icon-container {
  width: 60px;
  height: 60px;
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon {
  width: 40px;
  height: 40px;
}

.card-title {
  font-family: 'Instrument Serif', serif;
  font-size: 1.8rem;
  font-weight: 400;
  margin: 0;
  color: #ffffff;
  text-transform: lowercase;
}

.card-description {
  font-family: 'Inter', sans-serif;

  font-weight: 400;
  color: #ffffff;
  opacity: 0.9;
  text-transform: lowercase;

  margin-top: auto;
  line-height: 1.4;
  font-size: 1rem;
  text-align: left;
}

.card-buttons {
  display: flex;
  gap: 1rem;
  margin-top: auto;
  flex-wrap: wrap;
}

.btn-card {
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
  backdrop-filter: blur(5px);
}

.btn-download-card {
  background-color: #2563eb;
  color: #ffffff;
}

.btn-download-card:hover {
  background-color: rgb(64, 124, 255);
  transform: translateY(-1px);
}

.btn-learn-card {
  background-color: rgb(231, 231, 231);
  color: #000000;
  border: 1px solid rgba(255, 255, 255,);
}

.btn-learn-card:hover {
  background-color: rgba(255, 255, 255);
  transform: translateY(-1px);
}