html,
body {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  scroll-behavior: smooth;
   overflow-x: hidden; 
  overflow-y: auto; 
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  background-color: #fbfbf2;
  color: #111;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.container {
  width: 90%;
  max-width: 320px;
  margin: 0 auto;
}

/*Header*/
.bg-topper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100svh;
  height: auto;
  background: url("../pics/living-room-bg.jpg") center/cover no-repeat;
  background-color: rgba(0, 0, 0, 0.3);
  background-blend-mode: darken;
  z-index: -1;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem 1rem;
  position: relative;
  z-index: 100;
  background-color: transparent;
}

.logo-container {
  color: white;
  display: flex;
  align-items: center;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-link svg {
  display: inline-block;
  vertical-align: middle;
  width: 24px;
  height: 24px;
}

.logo-text {
  font-family: "Vollkorn", serif;
  font-size: 1.5rem;
  font-weight: 300;
  margin-left: 0.5rem;
}

nav {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3.5rem;
  background: #000;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 1000;
}

nav.show {
  opacity: 1;
  pointer-events: auto;
}

nav a {
  color: inherit;
  font-size: 2.5rem;
  font-family: "EB Garamond", serif;
}

/* Hamburger base */
#hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1100;
  margin-top: 0.375rem;
}

#hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

#hamburger.active span {
  background-color: #fff;
}

#hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

#hamburger.active span:nth-child(2) {
  opacity: 0;
}

#hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

body.no-scroll {
  overflow: hidden;
  height: 100svh;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 2rem 0;
}

.hero-image {
  display: none;
}

.hero-content h1 {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
  margin-top: 0.25rem;
  color: white;
  font-weight: 350;
}

.hero-content p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: white;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease; 
}

.btn-primary {
  background-color: #fff;
  color: #111;
}

.btn-secondary {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-primary:hover {
  background-color: #e0e0e0; 
  color: #111;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.4); 
  color: #fff;
  border-color: #fff;
}

#verseGlass {
  position: relative;
  padding: 0rem 1.5rem 4rem 1.5rem;
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  max-width: 320px;
  margin: 1rem auto 0 auto;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

/* Features section */
.features {
  padding: 2rem 0;
}

.features-header {
  text-align: center;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  position: relative;
  margin-top: 2rem;
}

.features-header h2 {
  font-size: 1.525rem;
  color: #345c83;
}

.btn-get-started {
  background-color: #345c83;
  color: #fff;
  padding: 0.5rem 4.5rem;
  font-weight: 500;
  border: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-get-started:hover {
  background-color: #2c4a6a;
  transform: translateY(-2px); 
}

.feature-modules {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-image-wrap {
  text-align: center;
  margin-bottom: 1.5rem;
}

.feature-image {
  width: 100%;
  max-width: 320px;
  border-radius: 8px;
}

.feature-module svg {
  stroke: #345c83;
  background-color: #dbe5ef;
  padding: 0.5rem;
  border-radius: 6px;
  display: inline-block;
  width: auto;
  height: auto;
}

.feature-module h3 {
  color: #345c83;
}

.feature-module p {
  color: #53799d;
}

/* FOOTER */
.site-footer {
  width: 100%;
  background-color: #345c83;
  color: #fff;
  padding: 1.5rem;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
  text-align: center;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}


.footer-brand h2 {
  font-size: 1.4rem;
  margin: 0 0 0.25rem 0;
}

.footer-brand p {
  font-size: 0.95rem;
  margin: 0;
}


.footer-links h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 0.4rem;
}

.footer-links ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block; 
  padding: 0.2rem 0.5rem;
  border-radius: 4px; 
}

.footer-links ul li a:hover {
  color: #d1e4f2;
  background-color: rgba(255, 255, 255, 0.1); 
}

.footer-social h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.footer-social .social-icons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.footer-social svg {
  width: 24px;
  height: 24px;
  stroke: #fff;
  transition: stroke 0.3s;
}

.footer-social a:hover svg {
  stroke: #d1e4f2;
}

.footer-bottom {
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 0.75rem;
  font-size: 0.85rem;
}

/* Small-Medium phones */
@media (min-width: 375px) {
  .features-header h2 {
    margin-top: 1.75rem;
  }
}

/* Large phones */
@media (min-width: 414px) {
  body {
    font-size: 1.05rem;
  }

  h1 {
    font-size: 4.7rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  p {
    font-size: 1.05rem;
    line-height: 1.6;
  }

  .features-header h2 {
    margin-top: 1rem;
    font-size: 1.71rem;
  }

  .verseGlass {
    transform: scale(1.05);
  }
}

@media (min-width: 640px) {
  body {
    font-size: 1.125rem;
    max-width: 100%;
    margin: 0 auto;
  }
  .container {
    max-width: 600px;
    width: 90%;
    margin: 0 auto;
  }

  .hero-content h1 {
    font-size: 4rem;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 1.25rem;
    line-height: 1.6;
  }

  .hero-buttons {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    justify-content: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 12rem;
    max-width: 80%;
  }

  #verseGlass {
    width: 20rem;
    padding: 2rem;
  }

  .feature-modules {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
  }

  .features-header h2 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .features-header p {
    font-size: 1.125rem;
  }

  .feature-card {
    padding: 2rem;
    font-size: 1rem;
  }

  .site-footer {
    width: 100vw;
    margin: 0;
    padding: 1.5rem 1rem;
    box-sizing: border-box;
  }

  .footer-container {
    max-width: 100%;
    width: 100%;
    padding: 0 1rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }

  .footer-links ul {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    padding: 0;
    margin: 0;
  }

  .footer-links ul li {
    margin: 0;
  }

  .footer-links ul li a {
    font-size: 0.95rem;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
  }

  .footer-links ul li a:hover {
    color: #d1e4f2;
  }
}

/* Tablets */
@media (min-width: 768px) {
  .container {
    max-width: 90%;
    width: 90%;
  }

  .hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    text-align: center;
    padding: 2rem;
  }

  .hero-content h1 {
    font-size: 5rem;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 1.7rem;
    line-height: 1.6;
  }

  .features-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .features-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    min-height: 40vh;
  }

  .features-header h2 {
    font-size: 2.5rem;
    line-height: 1.3;
  }

  .features-header p {
    font-size: 1.25rem;
    line-height: 1.6;
  }

  .feature-card {
    padding: 2rem;
  }

  .feature-card h3 {
    font-size: 1.5rem;
  }

  .feature-card p {
    font-size: 1.125rem;
  }
}

@media (min-width: 1024px) {
  header {
    align-items: center;
  }

  .logo-container {
    display: flex;
    align-items: center;
    margin-top: 0.7rem;
  }

  #hamburger {
    display: none;
  }

  nav {
    position: absolute;
    top: 0.5rem;
    left: 50%;
    transform: translateX(-40%);
    display: flex;
    flex-direction: row;
    gap: 2rem;
    background: transparent;
    opacity: 1;
    pointer-events: auto;
  }

  nav a {
    font-size: 1.5rem;
    line-height: 1;
    text-decoration: none;
    color: white;
    font-weight: 500;
    padding: 0.3125rem 0.9375rem;
    position: relative;
  }

  nav a::before,
  nav a::after {
    content: "";
    position: absolute;
    display: block;
    border: 0 solid transparent;
    width: 0%;
    height: 0%;
    transition: all 0.3s ease;
  }

  nav a::after {
    top: 0;
    left: 0;
    border-top: 0.125rem solid transparent;
    border-left: 0.125rem solid transparent;
  }

  nav a::before {
    right: 0;
    bottom: 0;
    border-bottom: 0.125rem solid transparent;
    border-right: 0.125rem solid transparent;
  }

  nav a:hover::before,
  nav a:hover::after {
    width: 0.625rem;
    height: 0.625rem;
    border-color: black;
  }

  body.no-scroll {
    overflow: auto;
    height: auto;
  }

  .hero-content h1 {
    font-size: 5.2rem;
  }
  .hero-content p {
    font-size: 1.5rem;
  }

  .bg-topper {
    background-color: rgba(0, 0, 0, 0.1);
  }

  .features-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    margin-left: 2rem;
  }

  .features-header h2 {
    font-size: 3.6rem;
    margin: 0;
    line-height: 1.2;
    font-family: "EB Garamond", serif;
    font-weight: 900;
  }

  .btn-get-started {
    margin: 0;
    padding: 0.5rem 4.5rem;
    margin-top: 4rem;
  }
}

/* Desktops (1280px and up) */
@media (min-width: 1280px) {
  .logo-text {
    font-family: "EB Garamond", serif;
  }
  nav {
    position: absolute;
    top: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    gap: 2rem;
    background: transparent;
    opacity: 1;
    pointer-events: auto;
  }

  .bg-topper {
    background-color: rgba(0, 0, 0, 0);
  }

  .hero-content h1 {
    text-align: right;
    margin-right: 3rem;
    font-size: 5.5rem;
    margin-top: -15rem;
  }

  .hero-content p {
    text-align: right;
    margin-right: 3rem;
    font-size: 1.5rem;
    margin-top: -0.5rem;
  }

  .hero-buttons {
    justify-content: flex-end;
    margin-right: 10rem;
    gap: 0.5rem;
    margin-top: -0.5rem;
  }

  .btn-primary,
  .btn-secondary {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    width: auto;
  }

  .hero-image {
    display: block;
    position: absolute;
    left: 4%;
    top: 36%;
    transform: translateY(-50%);
    width: 20%;
    max-width: 200px;
    border-radius: 8px;
    z-index: 50;
  }

  #verseGlass {
    position: absolute;
    left: 5%;
    top: 70%;
    transform: translateY(-50%);
    max-width: 300px;
    padding: 1.5rem 2rem;
  }

  .features-header h2{
    text-align: left;
  }
  .features-row {
  display: flex;
  gap: 2rem; 
  margin-left: -8rem; 
  align-items: flex-start;
}


.feature-image-wrap {
  flex: 0 0 45%;
}

.feature-image-wrap img {
  width: 100%; 
  height: auto;
  border-radius: 8px;
}

.feature-modules {
  flex: 1; 
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  grid-template-rows: auto auto;  
  gap: 2rem;
  align-items: start; 
}


}

/* Large desktops / wide screens (1440px and up) */
@media (min-width: 1440px) {
  .hero-content h1 {
    font-size: 7rem;
    margin-top: -10rem;
  }

  .hero-content p {
    font-size: 1.75rem;
  }

  .hero-image {
    width: 15%; 
    max-width: 250px; 
    position: absolute;
    left: 8.6%; 
    top: 34.5%; 
    transform: translateY(-50%) scaleX(-1); 
    border-radius: 8px;
    z-index: 50;
  }

  #verseGlass {
    width: auto;
    height: auto;
    padding: 2rem;
  }

  .features-header h2 {
    font-size: 5.2rem;
  }
  .btn-get-started{
    margin-bottom: -3rem;
  }
  
}

/* Extra-large screens (1920px and up) */
@media (min-width: 1920px) {

  nav a {
    font-size: 2rem;
  }

  .logo-link svg{
    width: 30px;
    height: 30px;
  }
  .logo-text{
    font-size: 1.9rem;
  }
  .hero-content h1 {
    font-size: 8rem;
    margin-right: -5rem; 
    margin-top: -18rem; 
  }

  .hero-content p {
    font-size: 2rem;
    margin-right: -3rem;
    margin-top: -1rem;
  }

  .hero-buttons {
    margin-right: 12rem;
    gap: 0.5rem;
    margin-top: -1rem;
  }

  .btn-primary,
  .btn-secondary {
    padding: 0.5rem 2rem;
    font-size: 1rem;
    width: auto;
  }

  .hero-image {
    width: 17%; 
    max-width: 280px; 
    position: absolute;
    right: 4%; 
    top: 33.2%;
    transform: translateY(-50%) scaleX(-1);
    border-radius: 8px;
    z-index: 50;
  }

  #verseGlass {
    left: 5%;
    top: 70%;
    transform: translateY(-50%);
    max-width: 350px;
    padding: 1.5rem 2rem;
  }

  
  .features-header h2{
    font-size: 6.25rem;  
    line-height: 1.2;
    margin-top: 2.5rem;
  }

  .btn-get-started {
    margin-top: 8rem;   
    padding: 0.5rem 9rem; 
    font-size: 1.25rem; 
  }
  .features-row {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
  }

  .feature-image-wrap {
    flex: 1;
  }

  .feature-modules {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    flex: 2;
  }
}

