* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

.page {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background: url("./gradient1.png");
  background-size: 100% 100%;
  background-position: center;
}

.page-noise {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 0.7px, transparent 0.7px);
  background-size: 4px 4px;
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
}

.topbar {
  position: relative;
  z-index: 20;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 21;
}

.main-content,
.footer {
  position: relative;
  z-index: 1;
}

.reveal {
  opacity: 0;
  --reveal-y: 18px;
  transform: translateY(var(--reveal-y)) rotate(var(--bubble-rotate, 0deg)) scale(var(--bubble-scale, 1));
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  --reveal-y: 0px;
}

.topbar {
  width: 100%;
  padding: 18px 40px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.brand {
  font-size: clamp(2.8rem, 2.2vw + 1rem, 4rem);
  line-height: 1;
  text-align: left;
  margin: 0;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.small-pill,
.primary-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  box-shadow: var(--shadow-soft);
}

.small-pill {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--pill-bg);
  color: var(--text-dark);
  font-size: 0.9rem;
}

.primary-pill {
  min-height: 92px;
  padding: 0 58px;
  border-radius: 18px;
  background: var(--primary);
  color: var(--text);
  font-size: clamp(1.45rem, 1.25vw, 1.9rem);
}

.profile-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.main-content {
  width: 100%;
  padding: 24px 40px 0;
}

.hero {
  width: 100%;
  max-width: 1650px;
  margin: 0 auto;
  text-align: center;
  padding-top: 40px;
  padding-bottom: 80px;
}

.bubble-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 54px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto 20px;
}

.text-bubble {
  position: relative;
  width: 420px;
  flex: 0 0 420px;
}

.bubble-bg {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.bubble-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  font-size: 1.7rem;
  line-height: 1.08;
  color: var(--text);
  width: 78%;
  margin: auto;
}

.bubble-left {
  --bubble-rotate: -16deg;
  --bubble-scale: 2.1;
  margin-top: 22px;
}

.bubble-center {
  --bubble-rotate: -3deg;
  --bubble-scale: 2.1;
  margin-top: -18px;
}

.bubble-right {
  --bubble-rotate: 16deg;
  --bubble-scale: 2.1;
  margin-top: 10px;
}

.bubble-left .bubble-text {
  transform: translate(-6px, -30px);
}

.bubble-center .bubble-text {
  transform: translate(0px, -20px);
}

.bubble-right .bubble-text {
  transform: translate(8px, -20px);
}

.hero-title {
  margin: 10px auto 28px;
  max-width: 1200px;
  font-size: clamp(7rem, 10vw, 11rem);
  line-height: 0.92;
  font-weight: 400;
}

.hero-copy {
  max-width: 1100px;
  margin: 0 auto;
  font-size: clamp(1.45rem, 1.5vw, 1.9rem);
  line-height: 1.35;
}

.features {
  width: 100%;
  max-width: 1450px;
  margin: 0 auto;
  text-align: center;
  padding-top: 70px;
  padding-bottom: 90px;
}

.section-title {
  margin: 0 0 72px;
  font-size: clamp(4.4rem, 5.6vw, 6.8rem);
  line-height: 1;
  font-weight: 400;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(420px, 1fr));
  gap: 92px 140px;
  max-width: 1320px;
  margin: 0 auto;
}

.feature-card {
  text-align: center;
}

.feature-icon-wrap {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.feature-icon-wrap img {
  width: auto;
  height: auto;
  max-width: 400px;
  max-height: 400px;
  object-fit: contain;
}

.feature-card:nth-child(3) img {
  transform: scale(0.8) translateY(-6px);
}

.feature-card p {
  margin: 0 auto;
  max-width: 520px;
  font-size: clamp(1.2rem, 1.3vw, 2.2rem);
  line-height: 1.28;
}

.cta-section {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  text-align: center;
  padding: 90px 0 110px;
}

.cta-section h2 {
  margin: 0 0 28px;
  font-size: clamp(6rem, 8.2vw, 10rem);
  line-height: 0.95;
  font-weight: 400;
}

.cta-section p {
  max-width: 1020px;
  margin: 0 auto 42px;
  font-size: clamp(1.3rem, 1.2vw, 1.6rem);
  line-height: 1.32;
}

.footer {
  width: 100%;
  position: relative;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  padding: 24px;
  gap: 6px;
  min-height: 200px;

  background-image: url("../Frame 1.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;

  color: var(--text);
  font-family: var(--font-main);
  box-sizing: border-box;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

.footer > * {
  position: relative;
  z-index: 1;
}
.footer-block,
.footer-block-parent {
  display: flex;
  align-items: flex-start;
}

.footer-block-parent {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: auto;
  max-width: 100%;
}

.footer-block {
  padding: 0;
}

.footer-curita {
  margin: 0;
  font-size: clamp(3rem, 4vw, 4.8rem);
  line-height: 1;
  font-weight: 400;
}

.footer-found-for-you {
  margin: 0;
  font-size: clamp(1.1rem, 1.2vw, 1.5rem);
  line-height: 1.1;
  font-weight: 400;
}

.footer-curita2 {
  margin: 2px 0 0;
  font-size: clamp(1.1rem, 1.2vw, 1.4rem);
  line-height: 1.1;
  font-weight: 400;
  opacity: 0.9;
  padding-left: 0;
}

@media (max-width: 1200px) {
  .hero {
    max-width: 1400px;
    padding-top: 90px;
  }

  .bubble-row {
    gap: 26px;
    max-width: 980px;
  }

  .text-bubble {
    width: 250px;
    flex: 0 0 250px;
  }

  .bubble-text {
    font-size: 1.05rem;
    padding: 16px 20px;
    width: 78%;
    margin: auto;
  }

  .hero-title {
    font-size: clamp(5rem, 8vw, 7.5rem);
    max-width: 900px;
  }

  .hero-copy {
    font-size: 1.16rem;
    max-width: 820px;
  }

  .section-title {
    font-size: clamp(3.2rem, 5vw, 5rem);
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(300px, 1fr));
    gap: 56px 56px;
    max-width: 1000px;
  }

  .feature-icon-wrap {
    height: 160px;
  }

  .feature-icon-wrap img {
    max-width: 125px;
    max-height: 125px;
  }

  .feature-card p {
    font-size: 1.05rem;
    max-width: 380px;
  }

  .cta-section h2 {
    font-size: clamp(4.4rem, 7vw, 6.8rem);
  }

  .cta-section p {
    font-size: 1.08rem;
    max-width: 760px;
  }

  .primary-pill {
    min-height: 76px;
    padding: 0 42px;
    font-size: 1.2rem;
  }
}

@media (max-width: 900px) {
  .topbar,
  .main-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .bubble-row {
    gap: 18px;
    max-width: 900px;
  }

  .text-bubble {
    width: 200px;
    flex: 0 0 200px;
  }

  .bubble-text {
    font-size: 0.96rem;
    padding: 14px 18px;
    width: 78%;
    margin: auto;
  }

  .hero-title {
    font-size: clamp(4rem, 7vw, 6.5rem);
  }

  .hero-copy {
    font-size: 1.08rem;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 44px 34px;
  }

  .feature-icon-wrap {
    height: 150px;
  }

  .feature-icon-wrap img {
    max-width: 120px;
    max-height: 120px;
  }

  .cta-section h2 {
    font-size: clamp(3.5rem, 6vw, 5.6rem);
  }
}

@media (max-width: 640px) {
  .topbar {
    padding: 14px 16px 0;
    align-items: center;
  }

  .brand {
    font-size: 2rem;
  }

  .top-actions {
    gap: 6px;
  }

  .small-pill {
    min-height: 32px;
    padding: 0 10px;
    font-size: 0.74rem;
  }

  .profile-icon {
    width: 32px;
    height: 32px;
  }

  .main-content {
    padding: 20px 16px 0;
  }

  .hero {
    padding-top: 24px;
    padding-bottom: 40px;
  }

  .bubble-row {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
  }

  .text-bubble {
    width: min(100%, 260px);
    flex: unset;
  }

  .bubble-left,
  .bubble-center,
  .bubble-right {
    --bubble-rotate: 0deg;
    --bubble-scale: 1;
    margin-top: 0;
  }

  .bubble-text {
    font-size: 0.95rem;
    padding: 12px 18px;
    width: 78%;
    margin: auto;
  }

  .hero-title {
    font-size: clamp(2.8rem, 12vw, 4.2rem);
  }

  .hero-copy {
    max-width: 340px;
    font-size: 0.95rem;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 28px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    gap: 28px;
  }

  .feature-icon-wrap {
    height: 110px;
    margin-bottom: 10px;
  }

  .feature-icon-wrap img {
    max-width: 86px;
    max-height: 86px;
  }

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

  .cta-section {
    padding: 60px 0 70px;
  }

  .cta-section h2 {
    font-size: clamp(2.7rem, 11vw, 4rem);
  }

  .cta-section p {
    max-width: 320px;
    font-size: 0.88rem;
  }

  .primary-pill {
    min-height: 54px;
    padding: 0 24px;
    font-size: 1rem;
  }

  .footer {
    padding: 24px 16px 20px;
    gap: 10px;
  }

  .footer-curita {
    font-size: 2.4rem;
  }

  .footer-found-for-you {
    font-size: 1rem;
  }

  .footer-curita2 {
    font-size: 0.95rem;
  }
}
