@font-face {
  font-family: Vbooks;
  src: url(fonts/SVN-Sofia-Pro-Regular.otf);
  src: local("â˜º"), url(fonts/SVN-Sofia-Pro-Regular.ttf) format("truetype");
}

@font-face {
  font-family: Vbooks;
  src: url(fonts/SVN-Sofia-Pro-Medium.otf);
  src: local("â˜º"), url(fonts/SVN-Sofia-Pro-Medium.ttf) format("truetype");
  font-weight: 500;
}

@font-face {
  font-family: Vbooks;
  src: url(fonts/SVN-Sofia-Pro-SemiBold.otf);
  src: local("â˜º"), url(fonts/SVN-Sofia-Pro-SemiBold.ttf) format("truetype");
  font-weight: 600;
}

@font-face {
  font-family: Vbooks;
  src: url(fonts/SVN-Sofia-Pro-Bold.otf);
  src: local("â˜º"), url(fonts/SVN-Sofia-Pro-Bold.ttf) format("truetype");
  font-weight: 700;
}

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

html,
body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: Vbooks, sans-serif;
  background-color: #1c1c1c;
  color: white;
  line-height: 1.4;
}

.container {
  max-width: 1540px;
  margin: auto;
  padding: 0 20px;
}

img {
  /* General rule for responsive images */
  max-width: 100%;
  height: auto;
  display: block;
  /* Fixes potential spacing issues */
}

/* Header */
header {
  padding: 60px 0 8px;
  /* Adjusted padding for potentially smaller screens */
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;
  /* Slightly smaller logo for general */
  width: auto;
}

/* Hero Section */
.hero {
  padding-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.hero-content {
  flex: 1;
  max-width: 485px;
  width: 100%;
}

.hero h1 {
  font-size: 44px;
  /* Slightly adjusted base size */
  font-weight: 700;
  margin-bottom: 24px;
}

.hero p {
  margin-bottom: 42px;
  font-size: 18px;
  /* Slightly adjusted base size */
  line-height: 1.6;
}

.btn-primary {
  background-color: #f86b2b;
  color: white;
  padding: 12px 36px;
  border-radius: 8px;
  border: none;
  font-size: 22px;
  /* Slightly adjusted base size */
  font-weight: 600;
  text-align: center;
  /* display: flex; /* Removed as block with min-content is used */
  /* justify-content: center; */
  /* align-items: center; */
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: block;
  width: min-content;
  white-space: nowrap;
}

.btn-primary:hover {
  background-color: #e55a1f;
  transform: translateY(-2px);
}

.hero-image {
  position: relative;
  max-width: 832px;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-glow-out {
  aspect-ratio: 1 / 1;
  position: absolute;
  width: 100%;
  border-radius: 50%;
  overflow: hidden;
  background-color: rgba(248, 107, 43, 0.1);
}

.hero-glow-mid {
  aspect-ratio: 1 / 1;
  position: absolute;
  width: 82%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  overflow: hidden;
  background-color: rgba(248, 107, 43, 0.2);
}

.hero-glow-in {
  aspect-ratio: 1 / 1;
  position: absolute;
  width: 77%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  overflow: hidden;
  background-color: rgba(248, 107, 43, 0.3);
}

.hero-image {
  flex: 1;
}

.hero-image img {
  /* phone-top.png */
  position: relative;
  z-index: 1;
  width: 100%;
  /* Allow it to scale within its container */
  max-width: 353px;
}

/* .hero-glow and .hero-phone were unused or overridden by .hero-image structure */

/* Partner Logos */
.partners {
  background-color: #232428;
  padding: 34px 0;
  overflow: hidden;
  margin-bottom: 40px;
}

.marquee {
  display: flex;
  animation: scroll 25s linear infinite;
  white-space: nowrap;
}

.marquee span {
  color: #666;
  margin: 0 60px;
  font-size: 48px;
  font-weight: 700;
  flex-shrink: 0;
  /* Prevent shrinking if container is too small temporarily */
}

@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.header-logo {
  background-color: #232428;
  padding: 34px 0;
  overflow: hidden;
  margin-top: -35px;
}

.marquee-wrapper {
  display: flex;
  overflow: hidden;
}
.marquee-wrapper:hover .marquee {
  animation-play-state: paused;
}

.marquee {
  display: flex;
  min-width: 200%; /* two copies side-by-side */
  animation: marquee 20s linear infinite;
}

.marquee-content {
  display: flex;
  flex: 0 0 auto;
}

.logo-vpnt {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Your existing logo styles */
.svg-vnpt {
  width: 322.56px;
  height: 60px;
  margin-left: 36px;
}

.svg-vbooks {
  width: 244px;
  height: 40px;
  margin-left: 20px;
}

.svg-icon {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background-color: #666666;
  margin-left: 33px;
}

/* Responsive tweaks if needed */
@media (max-width: 768px) {
  .svg-vnpt {
    width: 180px;
    height: auto;
    margin-left: 24px;
  }

  .svg-vbooks {
    width: 140px;
    height: auto;
    margin-left: 16px;
  }

  .svg-icon {
    height: 16px;
    width: 16px;
    margin-left: 20px;
  }
}

/* Features Section */
.features {
  position: relative;
  z-index: 1;
  padding: 40px 0;
  /* Add some default padding */
}

.section-sub-title {
  text-align: center;
  font-size: 22px;
  /* Adjusted */
  color: #f86b2b;
  margin-bottom: 8px;
}

.section-title {
  text-align: center;
  font-size: 44px;
  /* Adjusted */
  font-weight: 700;
  margin-bottom: 40px;
}

.features-grid {
  display: flex;
  /* Changed from grid to flex for easier wrapping */
  gap: 26px;
  justify-content: center;
  align-items: stretch;
  /* Ensure items have same height if content differs */
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 250px;
  /* Fixed width, will wrap */
  text-align: center;
  padding: 20px;
  /* Added padding */
  /* aspect-ratio: 5 / 4; /* Can lead to inconsistent heights with text, remove or adjust */
  min-height: 200px;
  /* Ensure a minimum height */
  background-color: #232428;
  border-radius: 24px;
  /* font-size: 32px; /* This was too large for content inside */
  transition: transform 0.3s;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-item img {
  margin-bottom: 16px;
  width: 48px;
  /* Explicit size for icons */
  height: 48px;
}

.feature-item h3 {
  color: #f86b2b;
  font-size: 22px;
  /* Adjusted */
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-item p {
  color: #999;
  font-size: 16px;
}

/* App Features */
.app-features {
  display: flex;
  padding-top: 40px;
  gap: 26px;
  align-items: center;
  /* Vertically align items */
}

.app-features-half {
  flex: 1;
  /* margin: auto; /* Removed, align-items on parent handles it */
  position: relative;
}

.app-features-half.mockup-image img {
  /* phone-x2.png */
  position: relative;
  z-index: 1;
  width: 100%;
  /* Ensure it scales */
}

.app-features-bg-1 {
  position: absolute;
  aspect-ratio: 1 / 1;
  width: 80%;
  border-radius: 50%;
  background-color: #f86b2b;
  opacity: 0.2;
  filter: blur(50px);
  top: -40px;
  right: -40px;
  z-index: 0;
}

.app-features-bg-2 {
  position: absolute;
  aspect-ratio: 1 / 1;
  width: 40%;
  border-radius: 50%;
  background-color: #f86b2b;
  opacity: 0.2;
  filter: blur(50px);
  bottom: 0px;
  left: 50px;
  z-index: 0;
}

.app-features-header {
  margin-bottom: 52px;
  /* flex: 1; /* Removed, as parent is .app-features-half */
}

.app-features-header span {
  color: #f86b2b;
  font-size: 20px;
  /* Adjusted */
  text-transform: uppercase;
  text-align: left;
  display: block;
  /* Ensure it takes its own line */
  margin-bottom: 8px;
}

.app-features-header .section-title {
  text-align: left;
}

.features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 80px;
}

.feature-tag {
  display: flex;
  align-items: center;
  gap: 16px;
  /* Adjusted gap */
  transition: transform 0.3s;
}

.feature-tag:hover {
  transform: translateY(-3px);
}

.feature-tag-icon {
  width: 70px;
  /* Adjusted size */
  height: 70px;
  background-color: #2a2a2a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f86b2b;
  padding: 18px;
  /* Adjusted padding */
  flex-shrink: 0;
  /* Prevent icon from shrinking */
}

.feature-tag-icon img {
  width: 100%;
  height: 100%;
}

.feature-tag span {
  font-size: 16px;
  font-weight: 500;
}

/* .app-showcase was commented out, not addressing for now */

/* Podcast Section */
.podcast {
  background-color: #232428;
  padding: 30px;
  border-radius: 40px;
  display: flex;
  gap: 18px;
  margin-top: 60px;
  /* Added margin */
  margin-bottom: 60px;
}

.podcast-content {
  /* Left part */
  flex: 2;
  /* Give more space initially */
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.podcast-text-wrapper {
  gap: 26px;
  padding: 26px;
  background-color: #1c1c1c;
  border-radius: 16px;
  display: flex;
  align-items: center;
  /* Align items vertically */
}

.podcast-text {
  flex: 1;
  /* padding-left: 20px; /* Removed, handled by gap on parent */
}

.podcast-text span {
  /* Subtitle */
  color: #f86b2b;
  font-size: 20px;
  /* Adjusted */
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.podcast-text h2 {
  font-size: 36px;
  /* Adjusted */
  font-weight: 700;
  margin-bottom: 24px;
  /* Adjusted */
}

.podcast-text p {
  font-size: 18px;
  /* Adjusted */
}

.podcast-gallery {
  /* Image next to text */
  /* aspect-ratio: 1 / 1; /* Can be restrictive, let image define it */
  flex-shrink: 0;
  /* Prevent image from shrinking too much */
}

.podcast-gallery img {
  /* podcast.png */
  max-width: 280px;
  /* Adjusted max-width */
  width: 100%;
  border-radius: 15px;
  transition: transform 0.3s;
}

.podcast-visual {
  /* Bottom part of left column */
  flex: 1;
  /* Grow to fill available space */
  position: relative;
  display: flex;
  gap: 18px;
  align-items: center;
  /* Make children same height */
}

.podcast-bg {
  /* book-open.png wrapper */
  /* aspect-ratio: 534 / 401; /* Let image define */
  flex: 1;
  display: flex;
  /* To center image if needed */
  align-items: center;
  justify-content: center;
}

.podcast-bg img {
  object-fit: contain;
}

.podcast-video {
  /* Video block */
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 10px;
  background-color: #1c1c1c;
  border-radius: 16px;
  flex: 1;

  /* Allow it to take space */
}

.podcast-video-img {
  /* video.png */
  /* aspect-ratio: 47 / 27; /* Let image define */
  /* max-width: 470px; /* Will be constrained by flex item */
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  /* Add rounding to image too */
}

.podcast-video a {
  /* Button */
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid #666666;
  color: #fff;
  background: transparent;
  font-size: 20px;
  /* Adjusted */
  padding: 15px 20px;
  /* Adjusted */
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  /* Push to bottom */
}

.podcast-video a:hover {
  background-color: #666666;
}

.podcast-video a img {
  /* Arrow icon */
  width: 24px;
  height: 24px;
}

.podcast-review {
  /* Right part - phone-review.png */
  /* flex: 1; */
  /* Take available space */
  display: flex;
  /* align-items: center; */

  /* Center phone vertically */
  justify-content: center;
  /* Center phone horizontally */
}

.podcast-review img {
  /* phone-review.png */
  /* max-width: 300px; */
  /* Control size */
  width: 100%;
  max-width: 345px;
}

/* hero-part3 */
.container .hero-part3 {
  margin-top: 30px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-part3-h4 {
  color: #f86b2b;
  font-size: 24px;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  margin-top: 35px;
}

.hero-part3-h1 {
  color: #ffffff;
  font-size: 44px;
  font-weight: 500;
  display: flex;
  justify-content: center;
}

.hero-part3-content {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 60px auto;
}

.hero-part3-img {
  position: relative;
}

.hero-part3-img img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-part3-img .overlay-right {
  position: absolute;
  top: -1px;
  right: 0;
  left: 3%;
  width: 100%;
  height: 101%;
  background: linear-gradient(to left top, #1c1c1c, transparent);
  pointer-events: none;
}

.hero-part3-img .overlay-left {
  position: absolute;
  top: -1px;
  right: 0;
  left: -3%;
  width: 110%;
  height: 101%;
  background: linear-gradient(to right top, #1c1c1c, transparent);
  pointer-events: none;
}

.img1-hero-part3 {
  width: 100%;
  max-width: 170px;
}

.img5-hero-part3 {
  width: 100%;
  max-width: 170px;
}

.img2-hero-part3 {
  width: 100%;
  max-width: 240px;
}

.img4-hero-part3 {
  width: 100%;
  max-width: 240px;
}

.img3-hero-part3 {
  width: 100%;
  max-width: 340px;
}

.hero-part3-icon {
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon-form-part3 {
  display: flex;
  justify-content: space-around;
  width: 164px;
  height: 20px;
  margin: 24px auto 0;
  display: none;
}

.icon1-hero-part3 {
  height: 20px;
  width: 20px;
  background-color: #f86b2b;
  border-radius: 50%;
}

.icon2-hero-part3 {
  height: 20px;
  width: 20px;
  background-color: #666666;
  border-radius: 50%;
}

/* Video Reviews */
.video-reviews {
  padding: 80px 0;
  /* Adjusted padding */
}

.video-reviews-header {
  text-align: center;
  margin-bottom: 60px;
  /* Adjusted margin */
}

.video-reviews-header span {
  color: #f86b2b;
  font-size: 20px;
  /* Adjusted */
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

/* Targeting the div with inline display:flex for the phone strip */
.video-reviews .container > div[style*="display: flex"] {
  overflow-x: auto;
  /* Enable horizontal scrolling */
  padding-bottom: 15px;
  /* Space for scrollbar */
  margin-left: -15px;
  /* Extend to container edges for full bleed feel */
  margin-right: -15px;
  -webkit-overflow-scrolling: touch;
  /* Momentum scrolling for iOS */
  scrollbar-width: thin;
  /* For Firefox */
  scrollbar-color: #f86b2b #333;
  /* For Firefox */
}

.video-reviews .container > div[style*="display: flex"]::-webkit-scrollbar {
  height: 8px;
}

.video-reviews
  .container
  > div[style*="display: flex"]::-webkit-scrollbar-thumb {
  background-color: #f86b2b;
  border-radius: 4px;
}

.video-reviews
  .container
  > div[style*="display: flex"]::-webkit-scrollbar-track {
  background-color: #333;
}

.video-reviews .container > div[style*="display: flex"] > * {
  /* Direct children: phone wrappers and images */
  flex-shrink: 0;
  /* Prevent items from shrinking */
  margin: 0 8px !important;
  /* Override inline margin for consistent spacing */
}

.video-reviews .container > div[style*="display: flex"] img {
  /* All images in the strip */
  height: 380px;
  /* Consistent height for phones */
  width: auto !important;
  /* Override inline style to maintain aspect ratio */
  object-fit: contain !important;
  /* Override inline style */
  border-radius: 18px;
  /* Consistent border radius */
}

/* Specific for the wrapper divs (first and last phone) */
.video-reviews
  .container
  > div[style*="display: flex"]
  > div[style*="position: relative"] {
  /* margin already handled by > * selector */
}

.video-reviews
  .container
  > div[style*="display: flex"]
  > div[style*="position: relative"]
  > div[style*="position: absolute"] {
  /* Gradient overlays */
  border-radius: 18px;
  /* Match image */
}

/* The .video-grid and .video-item styles are for commented out HTML, so no changes needed there unless it's used. */
/* Pagination is also part of the commented out section. */

/* Community */
.community {
  /* background-color: #1a1a1a; */
  /* Slightly different from body for distinction if needed */
  padding: 80px 0;
}

.community-content {
  display: flex;
  align-items: center;
  gap: 60px;
  /* Adjusted gap */
}

.community-text {
  flex: 1;
}

.community-text span {
  color: #f86b2b;
  font-size: 20px;
  /* Adjusted */
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.community-text h2 {
  font-size: 40px;
  /* Adjusted */
  font-weight: 700;
  margin-bottom: 30px;
  /* Adjusted */
}

.community-text p {
  margin-bottom: 24px;
  font-size: 18px;
  /* Adjusted */
}

.community-text .btn-primary {
  /* Ensure button inherits well */
  font-size: 20px;
  padding: 10px 30px;
}

.community-image {
  flex: 1;
}

.community-image img {
  /* hands.png */
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Partners Section (Hợp tác chính thống) */
.partners-section {
  padding: 0 0;
}

.partners-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.partners-visual {
  /* brands.png wrapper */
  flex: 1;
  text-align: center;
  /* position: relative; /* Not needed unless children are absolute */
  /* aspect-ratio: 1 / 1; /* Let image define */
  max-width: 600px;
  /* Control max size */
}

.partners-visual img {
  width: 100%;
}

.partners-text {
  flex: 1;
}

.partners-text span {
  color: #f86b2b;
  font-size: 20px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.partners-text h2 {
  font-size: 40px;
  margin-bottom: 30px;
  font-weight: 700;
}

.partners-text p {
  margin-bottom: 25px;
  font-size: 18px;
}

/* Download Section */
/* .download background gradient was commented out */
.download {
  padding: 0 0;
}

.download-head {
  font-size: 250px;
  font-weight: 700;
  color: #232428;
  margin-bottom: -40px;
}

/* Large "VBOOKS" background text */
.download .container .download-head {
  font-size: 200px !important;
  /* Responsive font size */
  font-weight: 700 !important;
  color: #232428 !important;
  margin-bottom: -3vw !important;
  /* Relative margin */
  /* text-align: center; */
  /* Center it for all screen sizes */
  /* line-height: 1 !important; */
  /* Adjust line height */
}

.download-content {
  display: flex;
  align-items: center;
  /* Vertically align items */
  gap: 40px;
  /* Reduced gap for flexibility */
  padding: 40px;
  /* Adjusted padding */
  border-radius: 24px;
  background-color: #f86b2b;
  position: relative;
  /* overflow: hidden; */
  /* Important if image is absolutely positioned and might peek out */

  width: 100%;
  height: 450px;
  /* add height, delete max-width */
  margin: auto;
}

.download-text {
  flex: 1.5;
  /* Give text more space initially */
  max-width: 584px;
  position: relative;
  /* Ensure it's above the absolute image if stacking happens */
  z-index: 1;
}

.download-text span {
  color: #1c1c1c;
  font-size: 20px;
  font-weight: 500;
  display: block;
  margin-bottom: 8px;
}

.download-text h2 {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 30px;
  color: #fff;
  /* Ensure contrast on orange background */
}

.download-text p {
  color: #fff;
  margin-bottom: 40px;
  /* Adjusted margin */
  font-size: 18px;
}

.download-buttons {
  display: flex;
  gap: 20px;
  /* Adjusted gap */
}

.download-btn {
  transition: all 0.3s;
  display: inline-block;
  /* Ensure proper layout */
}

.download-btn img {
  /* app-store.svg, google-play.svg */
  width: 100%;
  height: auto;
  /* Let width control size, maintain aspect ratio */
  max-height: 60px;
  /* Max height for buttons */
  object-fit: contain;
  object-position: center;
}

.download-btn:hover {
  opacity: 0.9;
  transform: translateY(-3px);
}

.download-image {
  /* phone-bottom.png wrapper */
  flex: 1;
  /* Take up remaining space */
  /* text-align: center; /* Handled by flex on parent */
  position: absolute;
  right: 20px;
  /* Adjust positioning */
  bottom: 0;
  /* aspect-ratio: 706 / 501; /* Let image define */
  max-width: 450px;
  /* Adjusted max width */
  width: 40%;
  /* Relative width */
}

.download-image img {
  width: 100%;
  object-fit: contain;
  /* margin-bottom: -6px; */
  /* Keep if it's for visual alignment */
  display: block;
  /* Ensure no extra space */
}

.download .container .download-img-bottom {
  width: 501px;

  position: relative;
  left: 325px;
  bottom: 112px;
}

/* Testimonials (Commented Out) */
/* .testimonials, .testimonials-grid, .testimonial, .stars, .star, .testimonial-author, .author-avatar, .author-info styles are for commented out HTML */

/* Footer */
footer {
  padding: 80px 0 40px;
  /* Adjusted padding */
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  /* Adjusted gap */
  font-size: 16px;
}

.footer-brand {
  max-width: 500px;
}

.footer-brand .logo {
  margin-bottom: 25px;
}

.footer-brand .logo img {
  /* logo-white.svg */
  height: 36px;
  /* Adjusted size */
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-from {
  display: flex;
  column-gap: 12px;
}

.footer-info .info-item {
  display: flex;
  gap: 12px;
  /* Adjusted gap */
  align-items: flex-start;
  /* Align icon with start of text */
  text-decoration: none;
  color: #fff;
}

.footer-info a.info-item:hover {
  color: #f86b2b;
}

.footer-info .info-item img {
  /* Footer icons */
  width: 20px;
  /* Set explicit size for icons */
  height: 20px;
  flex-shrink: 0;
  /* Prevent shrinking */
}

.footer-column h3 {
  margin-bottom: 20px;
  /* Adjusted */
  font-size: 18px;
  /* Adjusted */
  font-weight: 600;
  color: #f86b2b;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 12px;
  /* Adjusted */
}

.footer-column ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 15px;
  /* Adjusted */
}

.footer-column ul li a:hover {
  color: #f86b2b;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 30px;
  /* Adjusted */
  margin-top: 40px;
  /* Added margin top */
  text-align: center;
  color: #666;
  font-size: 14px;
  /* Adjusted */
}

@media (min-width: 1440px) {
  .container {
    max-width: 1540px;
    margin: 0 auto;
    padding: 0 120px;
  }

  .hero-image {
    position: relative;
    max-width: 832px;
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero-content {
    flex: 1;
    max-width: 440px;
    width: 100%;
  }

  .hero p {
    margin-bottom: 42px;
    font-size: 19px;
    line-height: 1.6;
  }

  .hero h1 {
    font-size: 46px;
    font-weight: 700;
    margin-bottom: 24px;
  }

  .podcast-review img {
    max-width: 315px;
    width: 100%;
  }
}

@media (min-width: 1201px) and (max-width: 1439px) {
  .hero p {
    margin-bottom: 42px;
    font-size: 16px;
    line-height: 1.6;
  }

  .hero h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 24px;
  }

  .hero-content {
    flex: 1;
    max-width: 360px;
    width: 100%;
  }

  .podcast-review img {
    max-width: 300px;
    width: 100%;
  }

  .download .container .download-head {
    font-size: 16vw !important;
    font-weight: 700 !important;
    color: #232428 !important;
    margin-bottom: -3vw !important;
    /* text-align: center; */
    /* line-height: 1 !important; */
  }

  .download-image {
    flex: 1;
    position: absolute;
    right: -8px;
    bottom: 0;
    max-width: 450px;
    width: 40%;
  }
}

/* Mobile Responsiveness */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
    /* Adjusted */
    padding: 0 25px;
    /* Adjusted */
  }

  /* fix cirle - phone */

  .hero-content {
    flex: 1;
    max-width: 327px;
    width: 100%;
  }

  .hero-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 235px;
  }

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

  .hero p {
    font-size: 16px;
  }

  .btn-primary {
    font-size: 20px;
    padding: 10px 30px;
  }

  .section-title {
    font-size: 38px;
  }

  .section-sub-title {
    font-size: 20px;
  }

  .features-list {
    gap: 15px;
  }

  .feature-tag-icon {
    width: 60px;
    height: 60px;
    padding: 15px;
  }

  .feature-tag span {
    font-size: 15px;
  }

  .features-grid {
    flex-wrap: nowrap;
  }

  .podcast-text h2 {
    font-size: 32px;
    margin-bottom: 5px;
  }

  .podcast-text p {
    font-size: 16px;
  }

  .podcast-gallery img {
    max-width: 249px;
  }

  .podcast-review img {
    max-width: 260px;
    width: 100%;
  }

  .podcast-video a {
    font-size: 18px;
    padding: 12px 18px;
  }

  .download-content {
    gap: 30px;
    padding: 30px;
    height: 321px;
  }

  .download-text h2 {
    font-size: 36px;
  }

  .download-text p {
    font-size: 16px;
  }

  .download .container .download-head {
    font-size: 152px !important;
  }

  .download-image {
    width: 35%;
    right: 2px;
  }
}

@media (max-width: 992px) {
  /* Tablet breakpoint */
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 50px 0;
    gap: 40px;
  }

  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-image {
    max-width: 500px;
    /* Control size of glow on tablets */
  }

  .hero-image img {
    /* phone-top.png */
    max-width: 230px;
    /* Control phone size within glow */
  }

  .app-features {
    flex-direction: column;
    gap: 40px;
  }

  .app-features-half {
    width: 100%;
    max-width: 500px;
    /* Limit width of content when stacked */
  }

  .app-features-half.mockup-image {
    order: -1;
    /* Image first on mobile */
  }

  .app-features-header .section-title,
  .app-features-header span {
    text-align: center;
  }

  .features-list {
    grid-template-columns: repeat(3, 1fr);
    /* Stays 2-col */
    max-width: 500px;
    /* Center the list if container is wider */
    margin-left: auto;
    margin-right: auto;
  }

  .podcast {
    flex-direction: column;
    gap: 30px;
  }

  .podcast-review {
    order: -1;
    /* Phone review image first */
    margin-bottom: -30px;
  }

  .podcast-review img {
    max-width: 250px;
    display: none;
  }

  .podcast-text-wrapper {
    flex-direction: row;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
  }

  .podcast-gallery img {
    margin-top: 20px;
    /* Space when stacked */
  }

  .podcast-visual {
    margin: 0 auto;
    flex-direction: row;
    align-items: center;
  }

  .podcast-bg {
    width: 100%;
    max-width: 400px;
  }

  .podcast-video {
    width: 100%;
    max-width: 400px;
  }

  .podcast-text {
    text-align: start;
  }

  .community-content,
  .partners-content {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .community-image,
  .partners-visual {
    order: -1;
    /* Image first */
  }

  .community-text .btn-primary {
    margin: 0 auto;
  }

  /* Center button */

  .download-content {
    flex-direction: column;
    text-align: center;
    /* padding-bottom: 280px; */
    /* Space for absolutely positioned image */
  }

  .download-text {
    max-width: 100%;
  }

  .download-buttons {
    justify-content: center;
    /* Center buttons */
  }

  .download-image {
    position: absolute;
    /* Keep absolute */
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
    /* Position at bottom */
    width: auto;
    /* Let height and aspect ratio define width */
    max-height: 250px;
    /* Control height */
    max-width: 80%;
    /* Ensure it doesn't overflow container width */
  }

  .download-image img {
    display: none;
  }

  .download .container .download-head {
    font-size: 20vw !important;
    margin-bottom: -4vw !important;
  }

  .features-grid {
    display: flex;
    gap: 26px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
  }

  .feature-item {
    width: 290px;
  }

  .footer-content {
    /* grid-template-columns: repeat(2, 1fr); */
    /* 2 columns for tablet */
    /* text-align: left; */
    /* Keep text aligned left */

    /* display flex */
    display: flex;
  }

  .footer-brand {
    grid-column: span 2;
    /* Brand takes full width */
    text-align: center;
    /* Center brand info */
  }

  .footer-info {
    /* justify-content: center;
        align-items: center; */
    /* Center info items for brand */
  }

  .footer-info .info-item {
    flex-direction: row;
    /* Ensure items are row */
    text-align: left;
  }
}

@media (max-width: 768px) {
  /* post-card */
  .podcast-text-wrapper {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    flex-direction: column;
    text-align: center;
  }

  /*  */

  .footer-brand {
    margin: auto;
  }

  .footer-brand .logo img {
    margin: auto;
  }

  .container {
    padding: 0 20px;
  }

  /* nav { display: none; } /* Assuming no nav toggle implemented here */
  /* .menu-toggle { display: block; } */

  .hero {
    padding: 40px 0;
  }

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

  .hero p {
    font-size: 16px;
  }

  .btn-primary {
    font-size: 18px;
    padding: 10px 25px;
  }

  .hero-image {
    max-width: 350px;
  }

  .hero-image img {
    max-width: 160px;
  }

  .hero-part3-h1 {
    font-size: 34px;
  }

  .podcast-visual {
    margin: 0px auto;
    flex-direction: column;
    align-items: center;
  }

  .podcast-text {
    text-align: center;
  }

  .section-title {
    font-size: 30px;
  }

  .section-sub-title {
    font-size: 18px;
  }

  .marquee span {
    font-size: 32px;
    margin: 0 30px;
  }

  /* Potentially adjust @keyframes scroll's translateX percentage if content width changes drastically */

  .features-grid {
    /* Already flex-wrap, items will flow. */
    /* Consider making .feature-item width 100% or 45% */
  }

  .feature-item {
    width: calc(50% - 13px);
    /* Two items per row, accounting for gap */
    min-height: 180px;
  }

  .feature-item h3 {
    font-size: 20px;
  }

  .feature-item p {
    font-size: 14px;
  }

  .app-features-half.mockup-image img {
    /* phone-x2.png */
    max-width: 320px;
    /* Further control size */
    margin: 0 auto;
    /* Center if parent is wider */
  }

  .app-features-header .section-title {
    font-size: 28px;
  }

  .features-list {
    grid-template-columns: 1fr;
    /* Single column for list items */
    gap: 20px;
  }

  .feature-tag {
    gap: 12px;
    padding: 10px;
    background-color: #2a2a2a;
    /* Add bg for better touch target feel */
    border-radius: 12px;
  }

  .feature-tag-icon {
    width: 50px;
    height: 50px;
    padding: 12px;
  }

  .features-grid {
    display: flex;
    gap: 26px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
  }

  /* .app-showcase was commented out */

  .podcast-text h2,
  .community-text h2,
  .partners-text h2,
  .download-text h2 {
    font-size: 28px;
  }

  .podcast-text p,
  .community-text p,
  .partners-text p,
  .download-text p {
    font-size: 15px;
  }

  .video-reviews .container > div[style*="display: flex"] img {
    /* Phone strip images */
    height: 300px;
    border-radius: 15px;
  }

  .download-buttons {
    /* flex-direction: column; */
    align-items: center;
    gap: 15px;
  }

  .download-btn img {
    max-height: 50px;
  }

  .download-content {
    /* padding-bottom: 250px; */
    /* Adjust for smaller image */
  }

  .download-image {
    max-height: 220px;
  }

  .download .container .download-head {
    font-size: 22vw !important;
    margin-bottom: -5vw !important;
  }

  /* .testimonials-grid (commented out) handled by grid-template-columns: 1fr; */

  .footer-content {
    grid-template-columns: 1fr;
    /* Single column for footer */
    text-align: center;
    gap: 30px;
  }

  .footer-brand {
    grid-column: span 1;
  }

  /* Reset span */
  .footer-info span {
    text-align: center;
  }
  .footer-info .info-item {
    justify-content: center;
    /* Center individual info items */
  }

  .footer-content {
    /* grid-template-columns: repeat(2, 1fr); */
    /* 2 columns for tablet */

    /* Keep text aligned left */

    /* display flex */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-column h3 {
    text-align: center;
  }

  /* .partners-logos (commented out) grid-template-columns: repeat(3, 1fr); */
}

@media (max-width: 480px) {
  .header {
    padding: 30px 0 8px;
  }

  .logo img {
    height: 32px;
  }

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

  .hero p {
    font-size: 15px;
  }

  .btn-primary {
    font-size: 16px;
    padding: 8px 20px;
  }

  .hero-image {
    max-width: 280px;
  }

  .hero-image img {
    max-width: 125px;
  }

  .hero-part3-h4 {
    font-size: 16px;
  }

  .hero-part3-title .hero-part3-h1 {
    font-size: 21px;
  }

  .hero-part3-img .img1-hero-part3 {
    display: none;
  }

  .hero-part3-img .img5-hero-part3 {
    display: none;
  }

  .marquee span {
    font-size: 24px;
    margin: 0 20px;
  }

  .section-title {
    font-size: 24px;
  }

  .section-sub-title {
    font-size: 16px;
  }

  .feature-item {
    width: 100%;
    /* Full width for smallest screens */
    min-height: auto;
    /* Let content define height */
    padding: 25px;
  }

  .app-features-header .section-title {
    font-size: 22px;
  }

  .app-features-header span {
    font-size: 16px;
  }

  .podcast-text h2,
  .community-text h2,
  .partners-text h2,
  .download-text h2 {
    font-size: 22px;
  }

  .podcast-text p,
  .community-text p,
  .partners-text p,
  .download-text p {
    font-size: 14px;
  }

  .podcast-gallery img {
    max-width: 200px;
  }

  .video-reviews .container > div[style*="display: flex"] img {
    /* Phone strip images */
    height: 250px;
    border-radius: 12px;
  }

  .video-reviews .container > div[style*="display: flex"] {
    margin-left: -10px;
    margin-right: -10px;
  }

  .video-reviews .container > div[style*="display: flex"] > * {
    margin: 0 5px !important;
  }

  .download-content {
    padding: 25px;
    /* padding-bottom: 200px; */
    /* Adjust for even smaller image */
  }

  .download-image {
    max-height: 180px;
  }

  .download .container .download-head {
    font-size: 22vw !important;
    margin-bottom: -6vw !important;
    text-align: center;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    /* 2 columns for tablet */
    text-align: left;
    /* Keep text aligned left */
  }

  .footer-column {
    text-align: center;
  }

  .footer-column h3 {
    font-size: 16px;
  }

  .footer-column ul li a {
    font-size: 14px;
  }

  .footer-bottom {
    font-size: 12px;
  }

  /* .partners-logos (commented out) grid-template-columns: repeat(2, 1fr); */
}
