/*----- CONSTANTS -----*/

:root {
  /* --primary-color: #3498db; */
  --appGridHMargin: 20px; /* Define a default value */
  /* --margin: 20px; /* Define a padding value */
  /*--gap: 20px;
  --headerHeight:30px;
  --borderRadius: 5px; */
  --accentColor: whitesmoke;
  /* --accentIntensity1: color(display-p3 0.55 0.541 0.681);
  --accentIntensity2: color(display-p3 0.74 0.733 0.799);
  --accentIntensity3: color(display-p3 0.874 0.875 0.886 / 1); */
  --backgroundColor: color(display-p3 0.05 0.05 0.05);
  /* --secondaryColor: rgb(40, 40, 40);
  --secondaryColorIntensity2: rgb(60, 60, 60);
  --secondaryColorIntensity3: rgb(80, 80, 80);
  --secondaryColorIntensity4: rgb(233, 233, 233);
  --standardTextFontSize: 0.95rem;
  --labelFontSize: 1.1rem;
  --labelFontWeight:500;
  --fontFamily: 'Avenir'; */
}

* {
  box-sizing: border-box;
  /* As opposed to content box, which excludes padding and margin from width 100% */
}

/*----- GRID -----*/

.centerWrapper{
  display: flex;
  justify-content: center;
  width: 100%;
}
.gridContainer{ 
  display: grid;
  /* minmax(500px, calc(100vh - 530px)) */
  grid-template-rows: 650px auto auto auto auto auto 50px;
  grid-template-columns: repeat(3, 1fr);
  height: 100vh; /* Takes up full viewport height */
  gap: 10px;
  /* Below these two we should change how we show the info w. media */
  min-width: 100%;    /* Changed from 880px to 100% */
  min-height: 740px;   /* or whatever minimum height you want */ 
  max-width: 1200px;
  padding-left: var(--appGridHMargin);
  padding-right: var(--appGridHMargin);
}

/*----- MAIN -----*/
.block{
	justify-self: center;
}

.blockOfValueProp{
  justify-self: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
}

.blockOfValueProp .valuePropItem{
  width: 50%;
}

.blockOfValueProp h2 {
  text-align: left;
  width: 100%;
  margin-bottom: 20px;
  padding-left: 20px;
}

#valueProp{
	display: flex;
	align-items: center;
	justify-content: center;
  grid-column: 1 / -1;
  flex-direction: column;
}

#valueProp2{
	display: flex;
	align-items: center;
	justify-content: center;
  grid-column: 1 / -1;
  flex-direction: column;
}

#valueProp3{
	display: flex;
	align-items: center;
	justify-content: center;
  grid-column: 1 / -1;
  flex-direction: column;
  width: 100%;
}

#valueProp3 h2 {
  width: 100%;
  text-align: left;
  padding-left: 20px;
  margin-bottom: 20px;
}

#valueProp3 .valuePropItems {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

#valueProp3 .valuePropItem {
  width: auto;
  flex: 1;
  max-width: 300px;
}

#valueProp4{
	display: flex;
	align-items: center;
	justify-content: center;
  grid-column: 1 / -1;
  flex-direction: column;
}

#valueProp5{
	display: flex;
	align-items: center;
	justify-content: center;
  grid-column: 1 / -1;
  flex-direction: column;
}

.valuePropItems{
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}

.valuePropItem{
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	width: 33%;
	padding: 0 20px;
	text-align: left;
}

.valuePropItem .roles-image {
  width: 75%;
  align-self: center;
  height: auto;
  margin-bottom: 15px;
  border-radius: 8px;
}

.valuePropItem h3 {
  text-align: left;
  width: 100%;
  margin-bottom: 5px;
}

.valuePropItem p {
  margin-top: 5px;
  line-height: 1.5;
  text-align: left;
  color: darkgrey;
  height: 120px;
}

body{
	background-color: var(--backgroundColor);
	font-family: Verdana, sans-serif;
	color: var(--accentColor);
	text-align: center;
}


/* Add this subtle glow effect */
body::before {
  content: "";
  position: absolute;
  top: 25%;
  left: 50%;
  width: 900px;
  height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, 
    rgba(0, 150, 255, 0.15) 0%,
    rgba(0, 150, 255, 0.08) 35%,
    rgba(0, 0, 0, 0) 70%
  );
  pointer-events: none;
  z-index: 0;
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0% { opacity: 0.8; }
  50% { opacity: 1; }
  100% { opacity: 0.8; }
}

/* Replace grid with modern dot pattern */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 1px 1px, rgba(0, 150, 255, 0.05) 1px, transparent 0);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 1;
}

#introAndCTA{
	display: flex;
	align-items: center;
	justify-content: center;
	grid-row: 1;
	grid-column: 1 / -1;
	flex-direction: column;
	/* background-color: yellowgreen; */
}

#introAndCTA .logo {
  width: auto;
  height: 250px;
  margin-bottom: 0px;
}

#introAndCTA h1 {
  margin: 0 0 10px 0;
  font-size: 3.5rem;
}

#introAndCTA h2 {
  margin: 0 0 10px 0;
  font-weight: 300;
  font-size: 1.8rem;
}

#introAndCTA h3 {
  margin: 20px 0 10px 0;
  font-size: 1.2rem;
  font-weight: 300;
}

#introAndCTA h4 {
  margin: 10px 0 10px 0;
  font-size: 1rem;
  color: darkgray;
  font-weight: 300;
}

#introAndCTAInput {
  margin: 20px 0 10px 0;
  padding: 10px;
  border-radius: 12px;
  border: none;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

#introAndCTAInput input {
  padding: 12px 24px;
  border-radius: 8px;
  border: 1px solid rgba(0, 150, 255, 0.3);
  background: rgba(0, 150, 255, 0.1);
  color: var(--accentColor);
  font-size: 1rem;
  transition: all 0.3s ease;
  width: 250px;
  height: 48px;
  line-height: 24px;
}

#introAndCTAInput input:focus {
  outline: none;
  border-color: rgba(0, 150, 255, 0.5);
  background: rgba(0, 150, 255, 0.15);
  box-shadow: 0 0 0 2px rgba(0, 150, 255, 0.1);
}

#introAndCTAInput input::placeholder {
  color: rgba(255, 255, 255, 0.5);
  line-height: 24px;
}

#introAndCTAInput .button {
  background: rgba(0, 150, 255, 0.1);
  border: 1px solid rgba(0, 150, 255, 0.3);
  color: var(--accentColor);
  padding: 12px 24px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

#introAndCTAInput .button:hover {
  background: rgba(0, 150, 255, 0.2);
  transform: translateY(-2px);
}

.button {
  background-color: var(--accentColor);
  border: none;
  color: var(--backgroundColor);
  padding: 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  border-radius: 12px;
}

/* Pricing section styles */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 0.9rem;
}

.pricing-toggle span {
  color: darkgrey;
}

.pricing-toggle .yearly-savings {
  color: darkgray; /* rgba(0, 150, 255, 0.8); */
  font-size: 0.9em;
}

/* Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.1);
  transition: .4s;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: darkgray; /* rgba(0, 150, 255, 0.8); */
  transition: .4s;
}

input:checked + .slider {
  background-color: rgba(255, 255, 255, 0.1);
}

input:checked + .slider:before {
  transform: translateX(20px);
}

.slider.round {
  border-radius: 28px;
}

.slider.round:before {
  border-radius: 50%;
}

/* Price display logic */
.pricing-card .price-yearly {
  display: inline;
}

.pricing-card .price-monthly {
  display: none;
}

input:checked ~ .pricing-card .price-yearly {
  display: none;
}

input:checked ~ .pricing-card .price-monthly {
  display: inline;
}

.pricing-cards {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.pricing-card {
  flex: 1;
  max-width: 300px;
  padding: 30px;
  border-radius: 16px;
  background: radial-gradient(circle at center, rgba(0, 150, 255, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 150, 255, 0.2);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
  transform: scale(1.05);
  background: radial-gradient(circle at center, rgba(0, 150, 255, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  margin-left: 20px;
  margin-right: 20px;
  border: 1px solid rgba(0, 150, 255, 0.3);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin: 0;
  color: var(--accentColor);
}

.pricing-card .price {
  font-size: 2.5rem;
  margin: 10px 0;
  color: var(--accentColor);
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.pricing-card .period {
  font-size: 1rem;
  color: darkgrey;
  margin-left: 4px;
}

.pricing-card .features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  flex-grow: 1;
  margin-bottom: 10px;
}

.pricing-card .features-list li {
  margin: 12px 0;
  color: darkgrey;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-card .features-list li::before {
  content: "✓";
  color: rgba(0, 150, 255, 0.8);
  font-weight: bold;
}

.pricing-card .button {
  background: rgba(0, 150, 255, 0.1);
  border: 1px solid rgba(0, 150, 255, 0.3);
  color: var(--accentColor);
  padding: 12px 24px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  margin-top: auto;
  align-self: center;
  width: 80%;
}

.pricing-card .button:hover {
  background: rgba(0, 150, 255, 0.2);
  transform: translateY(-2px);
}

.pricing-card.featured .button {
  background: rgba(0, 150, 255, 0.2);
  border-color: rgba(0, 150, 255, 0.4);
}

.pricing-card.featured .button:hover {
  background: rgba(0, 150, 255, 0.3);
}

#iPadVersion{
  max-height: 300px;
  width: auto;
  max-width: 100%;
}

/* Media Queries for Mobile Responsiveness */
@media screen and (max-width: 1179px) {
  .gridContainer {
    grid-template-columns: 1fr;
    min-width: auto;
    padding-left: 10px;
    padding-right: 10px;
    height: auto;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
  }

  #iPadVersion{
    max-height: 400px;
    width: auto;
    max-width: 100%;
  }
  
  .valuePropItems {
    flex-direction: column;
    width: 100%;
  }
  
  .valuePropItem {
    width: 100%;
    margin-bottom: 30px;
  }
  
  .blockOfValueProp .valuePropItem {
    width: 100%;
  }
  
  #introAndCTA h1 {
    font-size: 2.5rem;
  }
  
  #introAndCTA .logo {
    height: 180px;
  }
  
  #introAndCTAInput {
    flex-direction: column;
    width: 100%;
  }
  
  #introAndCTAInput input {
    width: 100%;
    margin-bottom: 10px;
  }
  
  .pricing-cards {
    flex-direction: column;
    align-items: center;
  }
  
  .pricing-card {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
  }
  
  .pricing-card.featured {
    margin-left: 0;
    margin-right: 0;
    transform: scale(1);
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-5px);
  }
  
  body::before {
    width: 100%;
    height: 100%;
  }
  
  .pricing-toggle {
    flex-direction: column;
    gap: 15px;
  }
  
  .pricing-card .features-list li {
    margin: 10px 0;
  }
  
  .valuePropItem p {
    height: auto;
    min-height: 120px;
  }
  
  .valuePropItem .roles-image {
    width: 100%;
    max-width: 400px;
  }

  #valueProp3 .valuePropItem {
    width: auto;
    flex: 1;
    width: 400px;
  }
}

@media screen and (max-width: 580px) {
  .gridContainer {
    padding-left: 5px;
    padding-right: 5px;
  }
  
  #introAndCTA h1 {
    font-size: 2rem;
  }
  
  #introAndCTA h2 {
    font-size: 1.5rem;
  }
  
  .pricing-card {
    padding: 20px;
  }
  
  .pricing-card .price {
    font-size: 2rem;
  }
  
  .valuePropItem .roles-image {
    max-width: 100%;
  }
  
  #iPadVersion {
    max-width: 100%;
  }
}







