@import url(https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700&display=swap);

/* ================================
   VARIABLES
================================= */
:root {
  --bg: #ffffff;
  --fg: #000000;
  --subtle: rgba(0, 0, 0, 0.55);
  --accent: #624836;
  --card-bg: #fff;
  --card-shadow: rgba(0, 0, 0, 0.08);
  --border-radius: 32px;

  --soft-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  --hover-lift: translateY(-6px);
}

/* ================================
   RESET & BODY
================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scrollbar-width: thin;
  font-family: "Inter", sans-serif;
  transition: 0.3s;
  user-select: none;
  -webkit-user-select: none;
  text-overflow: ellipsis;
  word-break: normal;
  overflow-wrap: break-word;
  text-rendering: optimizeLegibility;
  text-overflow: clip;
}

html,
body {
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--fg);
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ================================
   HEADER
================================= */
header {
  width: 100%;
  padding: 10px 40px;
  display: flex;
  gap: 25px;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 1000;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 1px;
}

.logo a {
  color: var(--fg);
  text-decoration: none;
}

.logo img {
  width: 32px;
  height: 32px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #000;
  border-radius: 2px;
  transition: 0.3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

nav {
  min-width: fit-content;
  gap: 10px;
  display: flex;
  flex-wrap: wrap;
  flex: 1;
  justify-content: space-evenly;
}

nav a {
  text-decoration: none;
  color: var(--fg);
  font-weight: 400;
  opacity: 0.5;
  transition: opacity 0.2s ease;
  cursor: pointer;
  padding: 20px;
}

nav a:hover {
  opacity: 1;
}

/* ================================
   CAROUSEL WRAPPER
================================= */
#carousel-wrapper {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

.carousel-page {
  min-width: 100vw;
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding: 0 40px 60px;
}

/* ================================
   HERO / HOME
================================= */
.hero {
  max-width: 860px;
  text-align: center;
  padding: 100px 20px 40px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 68px;
  font-weight: 200;
  letter-spacing: 2px;
  line-height: 1.12;
}

.hero p {
  margin-top: 24px;
  font-size: 21px;
  color: var(--subtle);
  line-height: 1.65;
}

.hero-buttons {
  margin-top: 45px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn {
  background: rgba(0, 0, 0, 0.06);
  color: var(--fg);
  padding: 14px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  outline: 2px solid transparent;
  transition: all 0.2s ease;
  text-align: center;
  align-content: center;
  text-decoration: none;
}

.btn:hover {
  outline-color: rgba(0, 0, 0, 0.2);
  outline-offset: 2px;
  transition: 0s;
}

.btn-primary {
  color: #c2b25b;
  font-weight: 900;
  background: #000;
  opacity: 0.8;
}

.btn-primary:hover {
  outline-color: #c2b25b;
}

.preview-section {
  margin-top: 90px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.preview-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--card-bg);
  width: 520px;
  height: 520px;
  gap: 20px;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--soft-shadow);
  position: relative;
}

.preview-text {
  font-weight: 200;
  font-size: 26px;
  text-align: center;
  padding: 0 20px;
  opacity: 0.85;
}

.wave {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 120%;
  height: 80%;
  overflow: hidden;
  pointer-events: none;
}

/* ================================
   PAGE HEADERS
================================= */
.page-header {
  max-width: 860px;
  text-align: center;
  padding: 100px 20px 40px;
  margin: 0 auto;
}

.page-header h1 {
  font-size: 60px;
  font-weight: 200;
  letter-spacing: 2px;
}

.page-header p {
  margin-top: 20px;
  font-size: 20px;
  color: var(--subtle);
  line-height: 1.6;
}

.section-title {
  color: var(--subtle);
  font-weight: 300;
  letter-spacing: 3px;
  padding: 0px 20px;
  text-align: center;
}

/* ================================
   CONTAINERS
================================= */
.container {
  width: 100%;
  max-width: 1040px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 40px 20px 120px;
  margin: 0 auto;
  justify-content: center;
  overflow: hidden;
}

.list {
  width: 100%;
  max-width: 1040px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 40px 20px 120px;
  margin: 0 auto;
  justify-content: center;
  overflow: hidden;
}

/* ================================
   CARD (UNIVERSAL)
================================= */
.card {
  background: var(--card-bg);
  padding: 34px;
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: 0.5s;
  outline: 2px solid rgba(0, 0, 0, 0.05);
  flex: 1 1 220px;
  min-width: 300px;
  max-width: 300px;
  height: fit-content;
  overflow: hidden;
  position: relative;
}

.card:hover {
  outline-color: rgba(0, 0, 0, 0.2);
  transition: 0s;
}

.card h3 {
  font-size: 22px;
  font-weight: 500;
}

.card p,
.card li {
  color: var(--subtle);
  line-height: 1.55;
  font-size: 16px;
}

.card ul {
  margin-top: 10px;
  padding-left: 20px;
  z-index: 1;
}

.card li {
  margin-bottom: 8px;
}

.card .price {
  text-align: center;
  margin-top: 10px;
  margin-bottom: -10px;
}

/* ================================
   LISTING
================================= */
.listing {
  background: var(--card-bg);
  padding: 10px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  border-left: 2px solid rgba(0, 0, 0, 0.05);
  transition: 0.5s;
}

.listing:hover {
  border-color: rgba(0, 0, 0, 0.2);
  transition: 0s;
}

.listing h3 {
  font-size: 22px;
  font-weight: 500;
}

.listing p,
.listing li {
  color: var(--subtle);
  line-height: 1.55;
  font-size: 16px;
}

.listing ul {
  margin-top: 10px;
  padding-left: 20px;
}

.listing li {
  margin-bottom: 8px;
}

/* ================================
   FAQ GRID
================================= */
.faq-grid {
  width: 100%;
  max-width: 840px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px 20px 120px;
  margin: 0 auto;
}

/* ================================
   FOOTER
================================= */
footer {
  text-align: center;
  font-size: 14px;
  padding: 40px;
  color: var(--subtle);
  display: grid;
  gap: 10px;
}

footer a {
  display: block;
  color: #4db3b1;
  text-decoration: none;
}

/* ================================
   RESPONSIVE
================================= */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  nav {
    display: none;
    position: absolute;
    text-align: center;
    top: 70px;
    right: 20px;
    gap: 15px;
    background: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    opacity: 0;
    outline: 2px solid rgba(0, 0, 0, 0.05);
    animation: show 0.3s ease forwards;
  }

  nav.open {
    display: grid;
  }

  nav.open:hover {
    outline-color: rgba(0, 0, 0, 0.2);
    transition: 0s;
  }

  .hero h1 {
    font-size: 46px;
  }

  .page-header h1 {
    font-size: 42px;
  }

  .preview-box {
    width: 400px;
    height: 400px;
  }
}

@media (max-width: 500px) {
  .hero h1 {
    font-size: 36px;
  }

  .page-header h1 {
    font-size: 32px;
  }

  .preview-box {
    width: 320px;
    height: 320px;
  }
}

/* ================================
   EFFECTS
================================= */
.rainbow {
  animation: rainbow 3s linear infinite;
}

/* ================================
   ANIMATIONS
================================= */
@keyframes rainbow {
  0% {
    filter: hue-rotate(0deg) brightness(0.95);
  }
  100% {
    filter: hue-rotate(360deg) brightness(0.95);
  }
}
@keyframes show {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
