/* Remove old device styles */
/* .device { ... } */
/* .device-screen { ... } */
/* .device-showcase .device { ... } */
/* .download-device .device { ... } */
/* @media (max-width: 768px) { .device { ... } } */
/* @media (max-width: 768px) { .device-showcase .device { ... } } */
/* @media (max-width: 768px) { .download-device .device { ... } } */

/* Simple Phone Mockup CSS */
.phone-mockup {
  position: relative;
  border: 10px solid #333; /* Frame border */
  border-radius: 40px; /* Rounded corners */
  background-color: #333; /* Frame background */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /* Subtle shadow */
  overflow: hidden; /* Hide overflowing screen content */
  padding-top: 20px; /* Space for notch/top bar */
  box-sizing: border-box;
  /* Sizing will be handled per section */
}

.phone-mockup::before { /* Notch */
  content: '';
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 40%; 
  height: 15px; /* Notch height */
  background-color: #333;
  border-radius: 0 0 10px 10px;
  z-index: 2;
}

.phone-screen {
  background-color: #fff; /* Screen background */
  overflow: hidden;
  position: relative;
  z-index: 1;
  /* The image inside will size itself */
}

.phone-screen img {
  display: block; /* Remove extra space below image */
  width: 100%;
  height: auto;
}

/* --- Sizing adjustments per section --- */

.hero-image .phone-mockup {
  max-width: 300px;
  margin: 0 auto;
}

/* Removed old device showcase styles */
/* 
.device-showcase .phone-mockup {
  max-width: 200px;
  margin: 0;
}
*/

.download-device .phone-mockup {
  max-width: 250px;
  margin: 0 auto 1rem;
}

/* --- Responsive adjustments --- */

@media (max-width: 768px) {
  /* Add rule to hide specific nav items */
  .hide-on-mobile {
    display: none;
  }

  .hero > .container { /* Adjust container on mobile */
    flex-direction: column;
    text-align: center;
    gap: 1rem; /* Reduce gap when stacked */
  }
  
  .hero-content {
    flex-basis: auto; /* Reset flex-basis */
    padding-right: 0;
    margin-bottom: 1rem; /* Reduce bottom margin slightly */
  }
  
  .hero-image {
      flex-basis: auto; /* Reset flex-basis */
  }

  .hero-image .phone-mockup {
    max-width: 250px;
    margin: 1rem auto;
  }

  .hero-welcome-image {
    margin-bottom: 1.5rem;
  }

  .welcome-image {
    max-width: 150px;
  }
  
  .device-showcase {
     flex-direction: column;
     align-items: center;
   }

  .device-showcase .phone-mockup {
    max-width: 220px;
    margin: 0 auto;
  }

  .download-device .phone-mockup {
    max-width: 200px;
    margin: 0 auto 1rem;
  }

  .testimonial-cards { /* Adjust parent container on mobile */
    padding: 0; /* Remove padding */
    gap: 0; /* Remove gap */
  }

  .testimonial-card {
     flex: 0 0 100%; /* Explicitly set width to 100%, don't shrink/grow */
     scroll-snap-align: start; /* Align to start instead */
     padding: 1.5rem; 
   }

  .quote-marks {
    font-size: 3rem; /* Slightly smaller quote marks on mobile */
  }

  .quote-text {
    font-size: 0.9rem; /* Slightly smaller quote text on mobile */
    margin-bottom: 1rem; /* Adjust spacing */
  }

  .carousel-btn.prev {
    left: -5px; /* Adjust position for mobile */
  }

  .carousel-btn.next {
    right: -5px; /* Adjust position for mobile */
  }

  .download-screenshots-row .phone-mockup {
    flex-basis: 120px; /* Adjust size further for mobile */
  }

  .testimonial-carousel { /* Add overflow hidden on mobile */
    overflow: hidden;
  }

  .feature-row,
  .feature-row-reverse {
    flex-direction: column; /* Stack vertically */
    gap: 2rem;
    margin-bottom: 3rem;
    text-align: center; /* Center text on mobile */
  }

  /* Explicitly ensure reverse row stacks */
  .feature-row-reverse {
    flex-direction: column !important; /* Reiterate stacking with !important */
  }

  /* Force image above text in all rows on mobile */
  .feature-row .feature-image, 
  .feature-row-reverse .feature-image {
    order: 1; 
  }
  .feature-row .feature-text,
  .feature-row-reverse .feature-text {
    order: 2;
  }

  .feature-mockup {
    max-width: 250px; /* Slightly smaller on mobile */
  }

  .feature-text .feature-card {
    padding: 1.5rem; /* Adjust padding for mobile if needed */
  }

  .feature-text .feature-card,
  .feature-text .feature-card h3,
  .feature-text .feature-card p,
  .feature-text .feature-icon {
    text-align: center; /* Center text and icon on mobile */
  }
}

/* Add breakpoint for tablet-like view */
@media (max-width: 1024px) {
  .testimonial-card {
    flex-basis: 45%; /* Show ~2 cards */
  }

  .download-screenshots-row .phone-mockup {
    flex-basis: 140px; /* Adjust size */
  }
}

/* --- New Feature Row Styles --- */
.feature-row-container {
  margin-top: 3rem;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 4rem;
}

.feature-row-reverse {
  flex-direction: row-reverse;
}

.feature-image,
.feature-text {
  flex: 1; /* Each takes half the width */
}

.feature-image {
  display: flex;
  justify-content: center;
}

.feature-mockup {
  max-width: 280px; /* Adjust size as needed */
}

.feature-text .feature-card { /* Target feature card within the text column */
  padding: 2.5rem; /* Increased padding */
  text-align: left; /* Align text to the left */
  /* Resetting styles that might conflict from original .feature-card */
  margin: 0; 
  border-radius: 20px; /* Increased border-radius */
  transition: none;
  /* Optionally add a subtle background or border if needed */
  background-color: var(--white); /* Added back background */
  box-shadow: var(--shadow); /* Added back shadow */
  /* border: 1px solid var(--light-gray); */
}

.feature-text .feature-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  display: inline-block; /* Adjust display if needed */
  text-align: left; /* Ensure icon aligns left */
}

.feature-text .feature-card h3 {
  font-size: 1.5rem; /* Make heading larger */
  margin-bottom: 0.8rem;
  text-align: left;
  /* Remove conflicting styles from original .feature-card h3 */
  box-shadow: none; 
  overflow: visible; /* Reset overflow */
  padding: 0; /* Reset padding */
}

.feature-text .feature-card p {
  font-size: 1rem;
  text-align: left;
}

/* Testimonial Section */
.testimonial-card {
  .download-screenshots-row .phone-mockup {
    max-width: 220px; /* Adjust screenshot size in row on mobile */
  }

  .testimonial-carousel { /* Add overflow hidden on mobile */
    overflow: hidden;
  }

  .download-screenshots-row .phone-mockup {
    max-width: 240px; /* Adjust screenshot size in row on tablet */
  }
}

/* Correcting the potentially misplaced rules - these seem related to responsive adjustments */
@media (max-width: 768px) {
  .download-screenshots-row .phone-mockup {
     /* This rule was likely intended for the mobile media query */
     /* Original value was max-width: 220px; Let's keep flex-basis: 120px from above */
     /* flex-basis: 120px; <-- Already defined above */
  }
  .testimonial-carousel { 
    /* Already defined above */
    /* overflow: hidden; */
  }
}

@media (max-width: 1024px) {
   .download-screenshots-row .phone-mockup {
     /* This rule was likely intended for the tablet media query */
     /* Original value was max-width: 240px; Let's keep flex-basis: 140px from above */
     /* flex-basis: 140px; <-- Already defined above */
  }
}

/* Original image styling (still no longer used) */

:root {
  --primary-color: #00ACC1;
  --background-color: #F9FAFB;
  --text-color: #333333;
  --light-gray: #E0E0E0;
  --white: #FFFFFF;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --border-radius: 12px;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header */
header {
  background-color: #fcfcfc; /* Changed background color */
  box-shadow: var(--shadow);
  padding: 1rem 0; /* Restored vertical padding */
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #000; /* Changed color to black */
  /* Added style for logo image */
  display: flex; /* Use flex to help center image if needed */
  align-items: center;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  padding: 4rem 0;
}

.hero > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero-content {
  flex: 0 1 45%;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.hero-image {
  flex: 0 1 55%; /* Take up slightly more space */
  display: flex;
  justify-content: center; /* Keep centering the phone */
}

/* Welcome Image Styles */
.hero-welcome-image {
  text-align: center;
  margin-bottom: 2rem;
}

.welcome-image {
  max-width: 200px;
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.welcome-image:hover {
  transform: scale(1.05);
}

/* Store Button Styles */
.hero-app-buttons, .app-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.store-button {
  display: inline-flex; /* Use flex for alignment */
  align-items: center;
  padding: 0.5rem 1.2rem;
  background-color: #000; /* Black background like official buttons */
  color: #fff; /* White text */
  text-decoration: none;
  border-radius: 8px; /* Slightly rounded corners */
  font-family: inherit;
  transition: background-color 0.3s;
}

.store-button:hover {
  background-color: #333; /* Darken slightly on hover */
}

.store-button i {
  font-size: 1.8rem; /* Icon size */
  margin-right: 0.8rem;
}

.store-button div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.store-button div span:first-child {
  font-size: 0.7rem; /* Smaller top text */
  text-transform: uppercase;
}

.store-button div span:last-child {
  font-size: 1.1rem; /* Larger bottom text */
  font-weight: 600;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 172, 193, 0.4);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features {
  padding: 4rem 0;
  background-color: var(--white);
}

/* Device Showcase */
.device-showcase {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 3rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.section-title p {
  color: var(--text-color);
  max-width: 600px;
  margin: 0 auto;
  margin-bottom: 1.5rem; /* Added space below the paragraph */
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  transition: transform 0.3s;
}

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

.feature-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  overflow: auto;
  padding: 1rem;
}

.feature-card p {
  color: #666;
}

/* Testimonial Section - Swiper Layout */
.testimonial {
  padding: 4rem 0;
  background-color: var(--background-color);
}

.testimonial .section-title {
  margin-bottom: 2rem; 
}

/* Swiper specific styles */
.swiper-container {
  width: 100%;
  padding: 10px 0 40px; /* Add padding bottom for potential pagination/scrollbar */
  overflow: hidden; /* Swiper handles overflow */
}

.swiper-slide {
  height: auto; /* Allow slides to size based on content */
  display: flex; /* Ensure card inside takes full height */
  align-items: stretch;
}

.testimonial-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  width: 100%; /* Make card fill the slide */
  min-height: 280px; /* Re-add min-height */
}

.quote-marks {
  font-size: 4rem;
  color: var(--light-gray);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.quote-text {
  font-size: 1rem;
  color: var(--text-color);
  line-height: 1.6;
  flex-grow: 1; /* Allow text to take available space */
  margin-bottom: 1.5rem;
}

.author-info {
  display: flex;
  align-items: center;
  margin-top: auto; /* Push to bottom */
}

.author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 1rem;
  object-fit: cover;
}

.author-name {
  display: block;
  font-weight: bold;
  color: var(--text-color);
}

.author-location {
  display: block;
  font-size: 0.9rem;
  color: #666;
}

/* Style Swiper Navigation Arrows (Scoped) */
.testimonial-carousel .swiper-button-prev, 
.testimonial-carousel .swiper-button-next {
  color: var(--primary-color); /* Use theme color */
  top: auto; /* Reset default top */
  bottom: 0; /* Position at bottom */
  height: 20px; /* Adjust size */
}
.testimonial-carousel .swiper-button-prev {
  left: calc(50% - 30px); /* Position left of center */
}
.testimonial-carousel .swiper-button-next {
  right: calc(50% - 30px); /* Position right of center */
}

.testimonial-carousel .swiper-button-prev::after,
.testimonial-carousel .swiper-button-next::after {
  font-size: 1.5rem; /* Adjust arrow size */
}

/* Blog Section */
.blog {
  padding: 4rem 0;
  background-color: var(--background-color);
}

.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.blog-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.blog-image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-content {
  padding: 1.5rem;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.blog-category {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-date {
  color: #666;
  font-weight: 500;
}

.blog-content h3 {
  margin-bottom: 1rem;
  line-height: 1.4;
}

.blog-content h3 a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s;
}

.blog-content h3 a:hover {
  color: var(--primary-color);
}

.blog-content h3 a:visited {
  color: var(--text-color);
}

.blog-content h3 a:active {
  color: var(--text-color);
}

/* Also fix the h2 links on the main blog page */
.blog-content h2 a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s;
}

.blog-content h2 a:hover {
  color: var(--primary-color);
}

.blog-content h2 a:visited {
  color: var(--text-color);
}

.blog-content h2 a:active {
  color: var(--text-color);
}

.blog-content p {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.read-more {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s;
}

.read-more:hover {
  gap: 0.75rem;
}

.blog-cta {
  text-align: center;
}

/* Blog Page Styles */
.blog-header {
  padding: 3rem 0;
  background-color: var(--white);
  text-align: center;
}

.blog-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  padding: 4rem 0;
}

.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}

.pagination-btn {
  padding: 0.5rem 1rem;
  background-color: var(--white);
  color: var(--text-color);
  text-decoration: none;
  border-radius: 5px;
  border: 1px solid var(--light-gray);
  transition: all 0.3s;
}

.pagination-btn:hover,
.pagination-btn.active {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

/* Blog Post Styles */
.blog-post-header {
  padding: 3rem 0;
  background-color: var(--white);
}

.blog-post-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #666;
}

.blog-post-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.blog-post-excerpt {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
}

.blog-post-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--border-radius);
  margin: 2rem 0;
}

.blog-post-content {
  padding: 2rem 0;
  max-width: 800px;
  margin: 0 auto;
}

.blog-post-content h2 {
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
  color: var(--text-color);
}

.blog-post-content h3 {
  font-size: 1.4rem;
  margin: 1.5rem 0 0.75rem;
  color: var(--text-color);
}

.blog-post-content p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.blog-post-content ul,
.blog-post-content ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.blog-post-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.blog-post-content blockquote {
  background-color: var(--background-color);
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.back-to-blog {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 2rem;
  transition: gap 0.3s;
}

.back-to-blog:hover {
  gap: 0.75rem;
}

.related-posts {
  background-color: var(--background-color);
  padding: 3rem 0;
}

.related-posts .blog-preview-grid {
  margin-bottom: 0;
}

/* Responsive Blog Styles */
@media (max-width: 768px) {
  .blog-preview-grid,
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .blog-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .blog-post-title {
    font-size: 2rem;
  }
  
  .blog-post-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .blog-post-content {
    padding: 1rem;
  }
}

/* Download Section */
.download {
  padding: 4rem 0;
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
}

.download h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.download p {
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.download-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%; /* Ensure content takes full width */
}

.download-screenshots-row {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem; /* Add padding for spacing */
  margin-bottom: 2rem; /* Space before buttons */
  width: 100%; /* Take full width */
  justify-content: center; /* Center items if they don't overflow */
  
  /* Optional: Hide scrollbar (like testimonials) */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.download-screenshots-row::-webkit-scrollbar { 
  display: none;
}

/* Styling for phone mockups within the download row */
.download-screenshots-row .phone-mockup {
  flex: 0 0 150px; /* Set a fixed base width, adjust as needed */
  /* Remove max-width if using fixed flex-basis */
}

.app-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.store-button {
  display: inline-flex; /* Use flex for alignment */
  align-items: center;
  padding: 0.5rem 1.2rem;
  background-color: #000; /* Black background like official buttons */
  color: #fff; /* White text */
  text-decoration: none;
  border-radius: 8px; /* Slightly rounded corners */
  font-family: inherit;
  transition: background-color 0.3s;
}

.store-button:hover {
  background-color: #333; /* Darken slightly on hover */
}

.store-button i {
  font-size: 1.8rem; /* Icon size */
  margin-right: 0.8rem;
}

.store-button div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.store-button div span:first-child {
  font-size: 0.7rem; /* Smaller top text */
  text-transform: uppercase;
}

.store-button div span:last-child {
  font-size: 1.1rem; /* Larger bottom text */
  font-weight: 600;
}

/* Footer */
footer {
  background-color: #333;
  color: var(--white);
  padding: 2rem 0;
}

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

.footer-links {
  list-style: none;
  display: flex;
}

.footer-links li {
  margin-left: 1.5rem;
}

.footer-links li a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links li a:hover {
  color: var(--primary-color);
}

/* Privacy Policy Page */
.privacy-content {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin: 2rem 0;
}

.privacy-content h2 {
  margin: 2rem 0 1rem;
  color: var(--text-color);
}

.privacy-content h2:first-child {
  margin-top: 0;
}

.privacy-content p {
  margin-bottom: 1rem;
}

.privacy-content ul {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero > .container { /* Adjust container on mobile */
    flex-direction: column;
    text-align: center;
    gap: 1rem; /* Reduce gap when stacked */
  }
  
  .hero-content {
    flex-basis: auto; /* Reset flex-basis */
    padding-right: 0;
    margin-bottom: 1rem; /* Reduce bottom margin slightly */
  }
  
  .hero-image {
      flex-basis: auto; /* Reset flex-basis */
  }

  .hero-image .phone-mockup {
    max-width: 250px;
    margin: 1rem auto;
  }
  
  .device-showcase {
     flex-direction: column;
     align-items: center;
   }

  .device-showcase .phone-mockup {
    max-width: 220px;
    margin: 0 auto;
  }

  .download-device .phone-mockup {
    max-width: 200px;
    margin: 0 auto 1rem;
  }

  .testimonial-cards { /* Adjust parent container on mobile */
    padding: 0; /* Remove padding */
    gap: 0; /* Remove gap */
  }

  .testimonial-card {
     flex: 0 0 100%; /* Explicitly set width to 100%, don't shrink/grow */
     scroll-snap-align: start; /* Align to start instead */
     padding: 1.5rem; 
   }

  .quote-marks {
    font-size: 3rem; /* Slightly smaller quote marks on mobile */
  }

  .quote-text {
    font-size: 0.9rem; /* Slightly smaller quote text on mobile */
    margin-bottom: 1rem; /* Adjust spacing */
  }

  .carousel-btn.prev {
    left: -5px; /* Adjust position for mobile */
  }

  .carousel-btn.next {
    right: -5px; /* Adjust position for mobile */
  }

  .download-screenshots-row .phone-mockup {
    flex-basis: 120px; /* Adjust size further for mobile */
  }

  .testimonial-carousel { /* Add overflow hidden on mobile */
    overflow: hidden;
  }

  .feature-row,
  .feature-row-reverse {
    flex-direction: column; /* Stack vertically */
    gap: 2rem;
    margin-bottom: 3rem;
    text-align: center; /* Center text on mobile */
  }

  /* Explicitly ensure reverse row stacks */
  .feature-row-reverse {
    flex-direction: column !important; /* Reiterate stacking with !important */
  }

  /* Force image above text in all rows on mobile */
  .feature-row .feature-image, 
  .feature-row-reverse .feature-image {
    order: 1; 
  }
  .feature-row .feature-text,
  .feature-row-reverse .feature-text {
    order: 2;
  }

  .feature-mockup {
    max-width: 250px; /* Slightly smaller on mobile */
  }

  .feature-text .feature-card {
    padding: 1.5rem; /* Adjust padding for mobile if needed */
  }

  .feature-text .feature-card,
  .feature-text .feature-card h3,
  .feature-text .feature-card p,
  .feature-text .feature-icon {
    text-align: center; /* Center text and icon on mobile */
  }
}

/* Add breakpoint for tablet-like view */
@media (max-width: 1024px) {
  .testimonial-card {
    flex-basis: 45%; /* Show ~2 cards */
  }

  .download-screenshots-row .phone-mockup {
    flex-basis: 140px; /* Adjust size */
  }
}

/* --- New Feature Row Styles --- */
.feature-row-container {
  margin-top: 3rem;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 4rem;
}

.feature-row-reverse {
  flex-direction: row-reverse;
}

.feature-image,
.feature-text {
  flex: 1; /* Each takes half the width */
}

.feature-image {
  display: flex;
  justify-content: center;
}

.feature-mockup {
  max-width: 280px; /* Adjust size as needed */
}

.feature-text .feature-card { /* Target feature card within the text column */
  padding: 2.5rem; /* Increased padding */
  text-align: left; /* Align text to the left */
  /* Resetting styles that might conflict from original .feature-card */
  margin: 0; 
  border-radius: 20px; /* Increased border-radius */
  transition: none;
  /* Optionally add a subtle background or border if needed */
  background-color: var(--white); /* Added back background */
  box-shadow: var(--shadow); /* Added back shadow */
  /* border: 1px solid var(--light-gray); */
}

.feature-text .feature-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  display: inline-block; /* Adjust display if needed */
  text-align: left; /* Ensure icon aligns left */
}

.feature-text .feature-card h3 {
  font-size: 1.5rem; /* Make heading larger */
  margin-bottom: 0.8rem;
  text-align: left;
  /* Remove conflicting styles from original .feature-card h3 */
  box-shadow: none; 
  overflow: visible; /* Reset overflow */
  padding: 0; /* Reset padding */
}

.feature-text .feature-card p {
  font-size: 1rem;
  text-align: left;
}

/* Testimonial Section */
.testimonial-card {
  .download-screenshots-row .phone-mockup {
    max-width: 220px; /* Adjust screenshot size in row on mobile */
  }

  .testimonial-carousel { /* Add overflow hidden on mobile */
    overflow: hidden;
  }

  .download-screenshots-row .phone-mockup {
    max-width: 240px; /* Adjust screenshot size in row on tablet */
  }
}

/* Correcting the potentially misplaced rules - these seem related to responsive adjustments */
@media (max-width: 768px) {
  .download-screenshots-row .phone-mockup {
     /* This rule was likely intended for the mobile media query */
     /* Original value was max-width: 220px; Let's keep flex-basis: 120px from above */
     /* flex-basis: 120px; <-- Already defined above */
  }
  .testimonial-carousel { 
    /* Already defined above */
    /* overflow: hidden; */
  }
}

@media (max-width: 1024px) {
   .download-screenshots-row .phone-mockup {
     /* This rule was likely intended for the tablet media query */
     /* Original value was max-width: 240px; Let's keep flex-basis: 140px from above */
     /* flex-basis: 140px; <-- Already defined above */
  }
}