/* Basic Reset & Defaults */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --font-family: "Open Sans", sans-serif;
  --primary-color: #065d8e;
  --secondary-color: #6c96b8;
  --header-color: #f0f0f0;
  --footer-color: #0e2f54;
  --primary-gr: radial-gradient(
    60.87% 192.99% at 50% 50%,
    #fefefd 0%,
    #cbf7fb 100%
  );
}

body {
  font-family: var(--font-family);
  line-height: 1.3;
  color: #333333;
}

.container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header */
header {
  padding: 12px 0;
  background-color: var(--header-color);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header .logo {
  height: 38px;
}
header .logo img {
  max-height: 38px;
}
/* main */
main {
  padding: 50px 0 80px;
}
/* badge button */
.know-before-you-buy {
  background-color: transparent;
  border: 1px solid #959595;
  padding: 10px 16px;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 0.9em;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 24px;
}

.know-before-you-buy svg {
  margin-right: 8px;
  color: var(--primary-color);
}

/* Hero Section */
.hero-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.hero-text {
  flex: 1.7;
  max-width: 631px;
}

.hero-text h1 {
  color: var(--primary-color);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-text p {
  font-size: clamp(16px, 2vw, 22px);
  color: #333333;
  font-weight: 500;
}

.hero-text p strong {
  color: var(--primary-color);
}

.hero-image {
  flex: 1;
  text-align: center;
}
.hero-image img {
  width: 100%;
  max-width: 365px;
  margin: 0 auto;
}

/* Features Section */
.feature-wrapper {
  max-width: 400px;
  margin: 0 auto;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 30px;
  background: var(--primary-gr);
  border: 1px solid var(--secondary-color);
  border-radius: 6px;
  text-align: center;
}
.feature-item {
  flex: 1;
  max-width: 270px;
  margin: 0 auto;
}
.feature-item .icon {
  height: 88px;
  width: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.feature-item .icon img {
  max-height: 88px;
}
.feature-item p {
  font-family: Open Sans;
  font-weight: 600;
  font-size: 16px;
  line-height: 120%;
  letter-spacing: -4%;
  text-align: center;
  vertical-align: middle;
  text-transform: uppercase;
  color: var(--primary-color);
  font-weight: bold;
}
.feature-wrapper .separator {
  display: none;
  width: 1px;
  height: 183px;
  background-color: var(--secondary-color);
}
/* Footer */
footer {
  background-color: var(--footer-color);
  color: #fff;
  padding: 80px 0 40px;
  font-size: 12px;
}
.footer-text p {
  margin-bottom: 15px;
  line-height: 1.5;
}

.footer-nav {
  margin-top: 40px;
  text-align: center;
}

.footer-nav a {
  color: #eee;
  text-decoration: none;
  margin: 0 10px;
}

.footer-nav a:hover {
  text-decoration: underline;
}

/* --- Responsive Styles --- */
@media (min-width: 768px) {
  header {
    padding: 16px 0;
  }
  header .logo {
    height: 50px;
  }
  header .logo img {
    max-height: 50px;
  }
  main {
    padding: 80px 0;
  }
  .hero-wrapper {
    flex-direction: row;
    gap: 20px;
  }
  .hero-text h1 {
    margin-bottom: 32px;
  }
  .feature-wrapper {
    max-width: 100%;
    flex-direction: row;
  }
  .feature-wrapper .separator {
    display: block;
  }

  .feature-item {
    margin-bottom: 30px;
  }

  .feature-item:last-child {
    margin-bottom: 0;
  }
  .know-before-you-buy {
    /* Maybe make it full width or adjust */
  }

  .footer-text {
    text-align: center; /* Center text on mobile */
  }
}

/* Smaller Mobile (e.g., screens below 480px) */
@media (max-width: 480px) {
  .feature-item .icon {
    font-size: 2.5em;
  }
}
