

/* Base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'DMSans', sans-serif;
  color: #595050;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

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

img {
  max-width: 100%;
  height: auto;
}

/* Main container */
.container {
  width: 100%;
  overflow-x: hidden;
}

/* Section styling */
section {
  width: 100%;
  padding: clamp(2rem, 4vw, 4rem) clamp(1rem, 2vw, 2rem);
  overflow-x: hidden;
}

/* Hero section */
.hero {
  background-color: #EDEDED;
  position: relative;
}

.hero-content {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
  position: relative;
  overflow: visible;
}

/* Header */
.header {
  grid-column: 1 / 13;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  width: 100%;
}

.logo {
  height: clamp(40px, 6vw, 69.11px);
}

.logo img {
  height: 100%;
  object-fit: contain;
}

.sign-in-btn {
  background-color: #0BA80B;
  color: white;
  padding: 0.5rem 2rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  /* Remove negative margins that cause overflow */
}

/* Hero text */
.hero-text {
  grid-column: 1 / 7;
  display: flex;
  flex-direction: column;
  z-index: 2;
}

.hero-headline {
  font-size: clamp(2rem, 5vw, 48px);
  font-family: 'SafiraMarch', sans-serif;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.hero-description {
  font-family: 'DMSans', sans-serif;
  font-size: 24px;
  line-height: 33px;
  margin: 1.5rem 0;
  max-width: 90%;
  color: rgb(89, 80, 80);
}

.cta-container {
  display: flex;
  align-items: center;
  margin-top: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.avatar {
  width: clamp(60px, 8vw, 80px);
  height: clamp(60px, 8vw, 80px);
  object-fit: contain;
}

.cta-button {
  background-color: #017EFD;
  color: white;
  padding: 0.75rem 6rem;
  border-radius: 8px;
  font-weight: 700;
  max-width: fit-content;
  cursor: pointer;
  white-space: nowrap;
}

/* Hero images */
.hero-images {
  grid-column: 7 / 13;
  position: relative;
  height: clamp(400px, 50vw, 600px);
  overflow: visible;
}

.phone-left {
  position: absolute;
  left: 0;
  top: -50px;
  width: clamp(150px, 50%, 300px);
  height: 100%;
  background-size: contain;
  border-radius: 48px;
  background-repeat: no-repeat;
  background-position: center top;
  z-index: 2;
}

.phone-right {
  position: absolute;
  right: 0;
  top: -30px;
  width: clamp(150px, 50%, 300px);
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center top;
  z-index: 1;
}

.circle-graphic {
  position: absolute;
  left: -45%;
  top: -30%;
  width: 80%;
  height: 80%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 0;
  opacity: 0.7;
}

/* Features section */
.features {
  background-color: #FFFFFF;
  position: relative;
}

.features-content {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
}

.features-text {
  grid-column: 1 / 7;
  display: flex;
  flex-direction: column;
  z-index: 4;
}

.features-headline-small {
  font-family: 'SafiraMarch2', sans-serif;
  font-size: clamp(5rem, 5vw, 48px);
  line-height: 86px;
  font-weight: normal;
  letter-spacing: 0.03em;
}

.features-headline-large {
  font-family: 'SafiraMarch2', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 2rem;
}

.features-description {
  font-size: 28.4464px;
  color: rgb(89, 80, 80);
  line-height: 38px;
  padding-top: 1rem;
}

.features-images {
  grid-column: 7 / 13;
  position: relative;
  height: clamp(300px, 60vw, 600px);
  overflow: hidden;
}

.chat-screen {
  position: absolute;
  right: -65px;
  bottom: 0;
  width: 143%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 3;
}

/* Savings section */
.savings {
  background-color: #ededed;
  position: relative;
}

.savings-content {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
}

.savings-text {
  grid-column: 1 / 7;
  display: flex;
  flex-direction: column;
}

.savings-headline {
  font-family: 'SafiraMarch2', sans-serif;
  font-size: clamp(5rem, 5vw, 48px);
  line-height: 86px;
  font-weight: normal;
  letter-spacing: 0.03em;
}

.savings-description {
  font-size: 29.7798px;
  color: rgb(89, 80, 80);
  line-height: 34px;
}

.savings-images {
  grid-column: 7 / 13;
  position: relative;
  height: clamp(300px, 60vw, 600px);
  overflow: hidden;
}

.app-mockup {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-mockup img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Try now section */
.try-now {
  background-color: #fffaf0;
  position: relative;
}

.try-now-content {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
}

.video-container {
  grid-column: 1 / 7;
  height: clamp(250px, 40vw, 500px);
}

.video-box {
  width: 100%;
  height: 100%;
  background-color: #333;
  border-radius: 10px;
  position: relative;
}



.try-now-text {
  grid-column: 7 / 13;
  display: flex;
  flex-direction: column;
  padding: 2rem 0;
}

.try-now-headline {
  font-family: 'SafiraMarch2', sans-serif;
  font-size: clamp(5rem, 5vw, 48px);
  line-height: 86px;
  font-weight: normal;
  letter-spacing: 0.03em;
}

.help-info {
  margin-top: 4rem;
}

.help-info p {
  font-size: 26.6666px;
  color: rgb(89, 80, 80);
  line-height: 37px;
  font-weight: 100;
}

.partners {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;

  gap: 2rem;
}



.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  align-items: center;
}

.partner-logo {
  height: 100%;
  display: flex;
  align-items: center;
}

.partner-logo img {
  max-width: 100%;
  max-height: 50px;
  object-fit: contain;
}

.sendai-privy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sendai-privy img {
  max-height: 30px;
}

.partners-section {
  padding-top: 0rem;
  background-color: #fffaf0;
  position: relative;
}

.partners h3 {
  font-size: 26.6666px;
  color: rgb(89, 80, 80);
  line-height: 37px;
  font-weight: normal;
}

@media (max-width: 768px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .partners-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive adjustments */
@media (max-width: 1024px) {

  .hero-text,
  .features-text,
  .savings-text {
    grid-column: 1 / 8;
  }

  .hero-images,
  .features-images,
  .savings-images {
    grid-column: 8 / 13;
  }

  .chat-screen {
    width: 100%;
    background-position: center;
  }
}

@media (max-width: 992px) {
  section {
    padding: 2rem 1rem;
  }

  .hero-text,
  .features-text,
  .savings-text,
  .video-container,
  .try-now-text {
    grid-column: 1 / -1;
  }

  .hero-images {
    grid-column: 1 / -1;
    height: clamp(300px, 50vw, 500px);
    margin-top: 2rem;
    margin-bottom: 1rem;
  }

  .phone-left {
    left: 10%;
    top: 0;
  }

  .phone-right {
    right: 10%;
    top: 0;
  }

  .features-images {
    grid-column: 1 / -1;
    height: clamp(300px, 60vw, 500px);
    margin-top: 2rem;
  }

  .chat-screen {
    right: 0;
    bottom: -262px;
    background-position: center;
    background-size: contain;
    height: 165%;

  }

  .savings-images {
    grid-column: 1 / -1;
    height: clamp(300px, 60vw, 450px);
    margin-top: 2rem;
  }

  .hero-description,
  .features-description,
  .savings-description {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .header {
    margin-bottom: 1rem;
  }

  .sign-in-btn {
    padding: 0.4rem 1.2rem;
    font-size: 14px;
  }

  .hero-headline,
  .features-headline-large,
  .features-headline-small,
  .savings-headline,
  .try-now-headline {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    line-height: 1.3;
  }

  .cta-button {
    padding: 0.5rem 1.5rem;
    font-size: 14px;
  }

  .hero-images {
    height: clamp(250px, 60vw, 400px);
  }

  .features-images {
    height: clamp(250px, 60vw, 400px);
  }

  .savings-images {
    height: clamp(250px, 60vw, 400px);
  }

  .cta-container {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .try-now-content {
    gap: 1rem;
  }

  .video-container {
    height: clamp(200px, 40vw, 300px);
  }
}

@media (max-width:606px) {
  .chat-screen {
    bottom: -159px;
  }
}

@media (max-width: 576px) {
  section {
    padding: 1.5rem 1rem;
  }

  .hero-content,
  .features-content,
  .savings-content,
  .try-now-content {
    gap: 1rem;
  }

  .logo {
    height: 40px;
  }

  .sign-in-btn {
    padding: 0.3rem 1rem;
  }

  .hero-images {
    height: 300px;
    margin-bottom: 0;
  }

  .phone-left,
  .phone-right {
    background-position: top center;
  }

  .phone-left {
    left: 0;
  }

  .phone-right {
    right: 0;
  }

  .features-images {
    height: 250px;
  }

  .savings-images {
    height: 250px;
  }


}

@media (max-width: 420px) {
  .header {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .sign-in-btn {
    margin-left: auto;
  }

  .hero-headline {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .hero-description {
    font-size: 0.9rem;
  }

  .hero-images {
    height: 220px;
  }

  .features-headline-small,
  .features-headline-large,
  .savings-headline,
  .try-now-headline {
    font-size: 1.3rem;
  }

  .features-description,
  .savings-description,
  .help-info p {
    font-size: 0.9rem;
  }

  .features-images,
  .savings-images {
    height: 200px;
  }

  .try-now-text .cta-button {
    width: 100%;
    text-align: center;
  }

  .partners-grid {
    gap: 0.8rem;
  }


}