:root {
  --purple: #6638C7;
  --white: #ffffff;
}

/* === Hamburger button (hidden on desktop) === */
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: .5rem;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

/* Keep desktop nav centered */
.menubar nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}
.menu-items { display: flex; align-items: center; gap: 2rem; }
.flex-spacer { margin-left: auto; }

/* === Mobile layout === */
@media (max-width: 768px) {
  .menubar nav {
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
  }
  .menu-toggle { display: block; font-size: 0; } /* hide button text */
  .menu-items {
    position: fixed;
    top: 64px;               /* ~ menubar height */
    left: 0;
    right: 0;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(8px);
    transform: translateY(-120%);
    transition: transform .25s ease;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }
  .menu-items.open { transform: translateY(0); }
  .menu-items a { font-size: 1.1rem; padding: .25rem 0; }

  /* Spacer not needed in column mode */
  .flex-spacer { display: none; }
}

/* Dark variant when the purple section is behind the header */
.menubar-dark .menu-items {
  background: rgba(18, 0, 45, 0.96);
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.12);
}
.menubar-dark .menu-items a { color: #fff; text-shadow: 0 1px 0 #000; }

/* Optional: prevent background scroll when menu is open */
body.noscroll { overflow: hidden; }body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  padding-top: 70px; /* adjust to menu height */
}

/* Headings and paragraphs spacing */
h1 {
  font-size: 2.8rem;        /* bigger main headline */
  font-weight: 700;
  margin-bottom: 1rem;    /* more space below */
}

h2 {
  font-size: 2.2rem;     /* larger section headline */
  font-weight: 600;
  margin-top: 2rem;       /* more top spacing before sub-sections */
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.6rem;     /* larger sub-headline */
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

h4 {
  font-size: 1.2rem;     /* larger sub-headline */
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

p {
  font-size: 1.2rem;     /* slightly bigger body text */
  line-height: 1.7;       /* more comfortable reading */
  margin-top: 0.5rem;     /* ensure gap above if directly under h */
  margin-bottom: 1.5rem;  /* more vertical spacing after paragraphs */
}

/* Default lists (used in Privacy Policy etc.) */
ul {
  list-style: disc;         /* normal bullet */
  padding-left: 1.5rem;     /* standard indent */
  margin: 1rem 0;
}

ul li {
  margin-bottom: 0.6rem;
}

/* Feature list styling */
ul.features {
  list-style: none;         /* remove default bullets */
  padding-left: 0;
}

ul.features li {
  margin-bottom: 0.6rem;
  padding-left: 1.6rem;
  position: relative;
}

ul.features li::before {
  content: "✅";            /* checkmark bullet */
  position: absolute;
  left: 0;
  top: 0;
}

.get-button {
  display: inline-block;
  padding: 14px 32px;
  background-color: #7a3ff2; /* CalSum purple */
  color: white;
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 9999px; /* full pill shape */
  box-shadow: 0 4px 12px rgba(122, 63, 242, 0.3);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.get-button:hover {
  background-color: #692ed6;
  box-shadow: 0 6px 16px rgba(122, 63, 242, 0.4);
}

.menubar {
  color: #000;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.1); /* transparent */
  padding: 1rem 2rem;
  z-index: 1000;
}

.menubar nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.menubar a {
  font-weight: 600;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

.menubar a:hover {
  opacity: 0.7;
}

.menubar-dark {
  color: #fff;
  text-shadow: 0 1px 0 #000;
}

.menubar-dark a {
  color: #fff;
  text-shadow: 0 1px 0 #000;
}
.section {
  width: 100%;
  display: flex;
  justify-content: center; 
  align-items: flex-start; /* top-align columns */
  padding: 4rem 0;
}

.column {
  width: 40%;
  margin: 0 1rem;
  /* border: 1px solid; */
}

.widecolumn {
  width: 82.5%;
  margin: 0 1rem;
  /* border: 1px solid; */
}

.supercentered {
  text-align: center;
}

/* App logo – independently styled */
.applogo {
  width: 20%;
  height: auto;
  display: block;
  margin: 0 auto;
  box-shadow: none;
  border-radius: 0;
  filter: drop-shadow(0 0 120px rgba(255, 255, 255, 0.5));
}

/* Regular images inside columns */
.column img {
  display: block;
  max-height: 450px;
  width: auto;
  margin: 0.5rem auto;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  border-radius: 32px;
}

/* When grouping multiple images in one row */
.img-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* alternate backgrounds + text colors */
.section:nth-of-type(odd) {
  background: #ffffff;
  color: #000;
}

.section:nth-of-type(even) {
  background: #6638C7;
  color: #fff;
}


@media (max-width: 768px) {
  .section {
    flex-direction: column;        /* stack vertically */
    padding: 2rem 0;               /* slightly tighter spacing */
  }

  .column, .widecolumn {
    width: 90%;                    /* full-width feel on mobile */
    margin: 1rem auto;             /* center horizontally */
  }

  .menubar nav {
    flex-wrap: wrap;               /* allow nav to wrap */
    justify-content: center;       /* keep centered */
    gap: 1rem;
  }

  .applogo {
    width: 40%;                    /* reduce logo size for small screens */
  }

  .get-button {
    width: 100%;
    text-align: center;
  }

  img {
    max-width: 100%;
    height: auto;
    margin: 0.5rem auto;
    display: block;                /* full width images stack nicely */
  }
}

