:root {
    --nav-bg: rgba(15,23,42,0.95);
    --primary-dark: #0f172a;
    --primary: #1e3a8a;
    --accent: #93c5fd;
    --light-bg: #f0f9ff;
    --text-dark: #1e293b;
    --text-light: #f9fafb;
    --card-bg: #ffffff;
    --fade-duration: 0.8s;
  }
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0; padding-top: 70px;
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
  }
  a { color: inherit; }
  nav { position: fixed; top: 0; width: 100%;
    background: var(--nav-bg); display: flex;
    justify-content: space-between; align-items: center;
    padding: 0.8rem 2rem; z-index: 1000;
    backdrop-filter: blur(6px);
  }
  nav .logo { color: var(--accent); font-size: 1.75rem; font-weight: 700; }
  nav .logo a { text-decoration: none; }
  nav .nav-links a { margin: 0 1rem; text-decoration: none; font-weight: 600; transition: color 0.3s; color: #fff; }
  nav .nav-links a:hover { color: var(--accent); }
  .menu-toggle { display: none; background: none; border: none; font-size: 1.75rem; color: var(--accent); cursor: pointer; }

  @media (max-width: 1024px) {      
    nav .nav-links a { font-size: .75rem; }
  }
  @media (max-width: 768px) {
    .menu-toggle { display: block; }
    nav .nav-links { display: none; position: absolute; top: 100%; right: 0; background: var(--nav-bg); flex-direction: column; width: 200px; margin: 0; padding: 1rem; border-radius: 0 0 8px 8px; }
    nav .nav-links.active { display: flex; }
    nav .nav-links a { margin: 0.5rem 0; }
  }
  .hero { position: relative;
    /*background: url('https://images.unsplash.com/photo-1485452499676-62ab02c20e83?auto=format&fit=crop&w=1680&q=80') center/cover no-repeat;*/
    background: url('/hero-banner1.png') center/cover no-repeat;
    height: calc(100vh - 70px); display: flex; justify-content: center; align-items: center;
    text-align: center; color: var(--text-light);
  }
  .hero::after { content:''; position:absolute; inset:0; background:rgba(0,0,0,0.4); }
  .hero-content { position: relative; max-width: 700px; padding: 0 1rem;
    animation: fadeIn var(--fade-duration) ease forwards; opacity: 0; animation-delay: 0.3s;
  }
  .hero h1 { font-size: 3.5rem; margin: 0; font-weight: 700; }
  .hero p { font-size: 1.25rem; margin: 1.5rem 0 2rem; }
  .download-buttons { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
  .download-buttons a { display: inline-flex; align-items: center; gap: 0.5rem;
    background-color: var(--accent); color: var(--primary-dark); padding: 0.75rem 1.5rem;
    border-radius: 8px; text-decoration: none; font-weight: 600;
    transition: transform 0.3s, background-color 0.3s;
  }
  .download-buttons a:hover { background-color: #60a5fa; transform: translateY(-3px); }
  .download-buttons a img { height: auto; max-height: 60px; }
  section { padding: 4rem 1rem; max-width: 1000px; margin: auto; opacity: 0;
    animation: fadeIn var(--fade-duration) ease forwards;
  }
  .hero--compact {
max-width: unset;
height: 60vh;                 /* shorter than full-screen */
min-height: 420px;
display: flex;
align-items: center;
justify-content: center;
position: relative;
overflow: hidden;
}

.hero-bg img {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
filter: brightness(.75);
}

.hero-inner {
position: relative;
z-index: 1;
text-align: center;
padding: 0 1rem;
}

.logo-wordmark {
margin: 0;
font-size: 3rem;
letter-spacing: -0.5px;
color: var(--text-light);
}

.tagline {
font-size: 1.25rem;
margin: 1rem 0 2rem;
color: var(--text-light);
}

.store-badge {
height: 52px;        /* pick the size you like */
width: auto;         /* keeps aspect ratio */
display: block;      /* removes the 4 px inline-image gap */
}

.store-badges a {
display: inline-block;
margin: 0 0.5rem;    /* optional spacing between badges */
}
.play-btn {
width: 155px;
}
.play-btn2 {
width: 120px;
}
/* === demo card that peeks out from under hero === */
.app-demo {
--lift: 62px;                 /* how much it overlaps */
margin: calc(-1 * var(--lift)) auto 3rem;
width: 60%;
max-width: 960px;
/*aspect-ratio: 9 / 16;*/         /* keeps phone-like shape */
background: var(--card-bg);

border-radius: 1rem;
box-shadow: 0 8px 32px rgba(0,0,0,.15);
overflow: auto;
display: flex;                /* optional helper */
/*align-items: center;*/
justify-content: center;
}

/* Carousel Styles */
.carousel-container { position: relative; overflow: hidden; max-width: 1000px; margin: 4rem auto; }
  .carousel-track { display: flex; transition: transform 0.5s ease; }
  .carousel-item { box-sizing: border-box; padding: 1rem; }
  .carousel-item img { width: 100%; border-radius: 20px; box-shadow: 0 8px 16px rgba(0,0,0,0.15); }
  /* Responsive slides per view */
  @media (min-width: 1024px) { .carousel-item { min-width: calc(100% / 3); } }
  @media (min-width: 768px) and (max-width: 1023px) { .carousel-item { min-width: calc(100% / 2); } }
  @media (max-width: 767px) { .carousel-item { min-width: 100%; } }
  .carousel-button { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); border: none; color: #fff; padding: 0.5rem 1rem; font-size: 1.5rem; cursor: pointer; border-radius: 4px; z-index: 10; }
  .carousel-button.prev { left: 1rem; }
  .carousel-button.next { right: 1rem; }

@media (max-width: 640px) {
.hero--compact { height: 70vh; }
.app-demo { --lift: 64px; aspect-ratio: auto; min-height: 420px; width: 80%; }
}
@media (max-width: 440px) {
.hero--compact { height: 70vh; }
.app-demo { width: 95%; }
}
  @keyframes fadeIn { to { opacity: 1; }}
  h2 { text-align: center; margin-bottom: 2rem; font-size: 2.5rem; color: var(--primary); }
  .feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
  .feature { background-color: var(--card-bg); padding: 2rem; border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1); transform: translateY(20px);
    animation: fadeIn var(--fade-duration) ease forwards;
  }
  .feature:nth-child(n) { animation-delay: calc(0.3s + var(--i) * 0.1s); }
  .feature:hover { transform: translateY(-6px); }
  .feature h3 { margin-top: 0; color: var(--primary-dark); font-size: 1.25rem; }
  .screenshots-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; justify-items: center; }
  .screenshots-gallery img { width: 100%; max-width: 220px; border-radius: 20px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15); transform: scale(0.9);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
cursor: pointer;
    animation: fadeIn var(--fade-duration) ease forwards;
  }
  .screenshots-gallery img:hover { transform: scale(1.1); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
    z-index: 2;}

    .carousel-track {
display: flex;
transition: transform 0.5s ease;
will-change: transform;
}

.carousel-item {
flex: 0 0 auto;
width: 220px; /* or your fixed width */
/*margin: 0 0.75rem;*/
overflow: hidden;
border-radius: 20px;
position: relative;
}

.carousel-item img {
width: 100%;
height: auto;
display: block;
transition: transform 0.4s ease, box-shadow 0.4s ease;
transform: scale(1);
cursor: pointer;
}

.carousel-item img:hover {
transform: scale(1.2);
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
z-index: 1;
}

  .testimonial { background-color: #fef9c3; padding: 2rem; margin: 1.5rem 0;
    border-left: 8px solid #facc15; border-radius: 8px; font-style: italic;
    animation: fadeIn var(--fade-duration) ease forwards;
  }
  .testimonial strong { display: block; margin-bottom: 0.75rem;
    color: var(--primary-dark); font-weight: 700; font-size: 1.1rem;
  }
  /* Subscribe Section Centering */
  #subscribe { background-color: #ffffff; border-radius: 12px; box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    text-align: center; padding: 3rem 1rem; margin: 0 auto;
    display: flex; flex-direction: column; align-items: center;
    animation: fadeIn var(--fade-duration) ease forwards;

  }
  #subscribe h2 { color: var(--primary-dark); margin-bottom: 1rem; }
  #subscribe form { display: flex; align-items: center; justify-content: center; margin: 1rem 0; gap: 0.5rem; flex-wrap: wrap; }
  #subscribe input[type="email"] { padding: 0.75rem; border: 1px solid #cbd5e1; border-radius: 6px; max-width: 300px; width: 100%; }
  #subscribe button { padding: 0.75rem 1.5rem; background-color: var(--accent); color: var(--primary-dark); border: none;
    border-radius: 6px; font-weight: 600; cursor: pointer; transition: background-color 0.3s;
  }
  #subscribe button:hover { background-color: #60a5fa; }
  /* Download Section Centering */
  #download { text-align: center; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 12px;
    color: var(--text-light); padding: 4rem 1rem; margin: 4rem auto;
    animation: fadeIn var(--fade-duration) ease forwards;
  }
  #download h2 { margin-bottom: 1.5rem; }
  #download .download-buttons a img { max-height: 60px; }
  footer { text-align: center; padding: 2rem 1rem; background-color: var(--primary-dark); color: var(--text-light); }
  footer a { color: var(--accent); text-decoration: none; margin: 0 0.5rem; }
  footer a:hover { text-decoration: underline; }

  .badge-wrapper {
position: relative;
display: inline-block;
}

.badge-wrapper img {
max-height: 60px;
/*height: auto;*/
display: block;
border-radius: 8px;
}

.badge-wrapper .overlay {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) rotate(-33deg);
background: rgba(30, 41, 59, 0.85); /* dark background */
color: #fff;
padding: 0.25rem 1.25rem;
font-size: 0.75rem;
font-weight: 600;
text-transform: uppercase;
pointer-events: none;
border-radius: 4px;
box-shadow: 0 2px 6px rgba(0,0,0,0.2);
white-space: nowrap;
pointer-events: none; /* so clicks go through to the badge if desired */
}

html, body {
    height: 100%;
  }
#root {
  /*height: 100%;*/
  
  padding: 15px;
}
#root > div {
 /*margin-top: 175px;*/ 
}
#root > div > div > div > div > div {
 /*overflow: hidden;*/
}

