@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary-color: #007aff; /* A vibrant blue, similar to family.co */
  --accent-color: #ff9500; /* A warm, inviting orange */
  --background-color: #f2f2f7; /* A light, clean background */
  --card-background: #ffffff;
  --text-color: #1d1d1f;
  --secondary-text-color: #6e6e73;
  --border-color: #e5e5ea;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

.container {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 40px 80px;
  display: flex;
  align-items: center;
  gap: 80px;
  min-height: 70vh;
  text-align: left;
}

.content {
  flex: 1;
}

.official-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card-background);
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 25px;
  color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
}

h1 {
  font-size: 3.8rem;
  font-weight: 700;
  margin: 0 0 20px;
  line-height: 1.15;
  color: var(--text-color);
}

.subtitle {
  font-size: 1.4rem;
  color: var(--secondary-text-color);
  margin-bottom: 40px;
  font-weight: 400;
  max-width: 550px;
  line-height: 1.7;
}

.download-section {
  margin-top: 40px;
}

.download-title {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--text-color);
  font-weight: 600;
}

.download-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.download-btn {
  height: 58px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1), 0 6px 6px rgba(0,0,0,0.15);
}


.visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  width: 100%;
  max-width: 300px;
  border-radius: 40px;
  box-shadow: 0 30px 60px -12px rgba(50, 50, 93, 0.25), 0 18px 36px -18px rgba(0, 0, 0, 0.3);
  border: 10px solid #111;
}

.carousel-container {
  width: 100%;
  max-width: 320px;
}

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 40px;
}

.carousel-inner {
  position: relative;
}

.carousel-item {
  min-width: 100%;
  transition: opacity 0.5s ease;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
}

.carousel-item.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.7);
  border: none;
  color: var(--text-color);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}
.carousel-control:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}
.carousel-control.prev { left: -25px; }
.carousel-control.next { right: -25px; }


.carousel-dots {
  text-align: center;
  padding-top: 20px;
}

.dot {
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0 5px;
  background-color: #ccc;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.dot.active, .dot:hover {
  background-color: var(--primary-color);
}


.featuresContainer {
  background: var(--card-background);
  padding: 80px 40px;
  text-align: center;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--accent-color);
  transition: all 0.4s ease;
}

.feature-card:hover::before {
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: rgba(179, 25, 66, 0.3);
}

.feature-icon {
  font-size: 1.8rem;
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: white;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-title {
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-color);
}

.podcast-section {
  padding: 80px 20px;
  background-color: var(--background-color);
}

.podcast-section .container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.podcast-section .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 20px;
}

.podcast-section .section-subtitle {
    font-size: 1.2rem;
    color: var(--secondary-text-color);
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.podcast-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.podcast-item {
  display: flex;
  align-items: center;
  background-color: var(--card-background);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--border-color);
}

.podcast-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.podcast-item .play-icon {
  font-size: 2.8rem;
  color: var(--primary-color);
  margin-right: 20px;
}

.podcast-item .podcast-info {
  text-align: left;
}

.podcast-item .podcast-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
}

.podcast-item .podcast-date {
    font-size: 0.9rem;
    color: var(--secondary-text-color);
    margin: 4px 0 0;
}

.podcast-item .listen-in-app {
  font-size: 0.9rem;
  color: var(--primary-color);
  margin: 8px 0 0;
  font-weight: 500;
}

.show-more-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 30px;
    transition: background-color 0.2s, transform 0.2s;
}

.show-more-btn:hover {
    background-color: #0056b3; /* Darker blue on hover */
    transform: translateY(-2px);
}


.testimonial {
    padding: 80px 40px;
    background-color: var(--card-background);
    text-align: center;
}
.testimonial-content {
    max-width: 700px;
    margin: 0 auto 40px;
}
.testimonial-text {
    font-size: 1.4rem;
    font-weight: 400;
    font-style: italic;
    color: #333;
    line-height: 1.7;
}
.testimonial-role {
    margin-top: 20px;
    font-weight: 600;
    color: var(--secondary-text-color);
}

.site-footer {
    background-color: #1d1d1f;
    color: #a1a1a6;
    padding: 50px 0;
    text-align: center;
    font-size: 0.9rem;
}
.site-footer .footer-nav {
    margin-bottom: 15px;
}
.site-footer .footer-link {
    color: #f5f5f7;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.2s ease;
}
.site-footer .footer-link:hover {
    color: var(--primary-color);
}
.site-footer .footer-copyright {
    color: #86868b;
    font-size: 0.85rem;
}

/* Page Header Styles */
.site-header {
    background-color: var(--background-color);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}
.site-header-content {
    display: flex;
    justify-content: center;
    align-items: center;
}
.site-title-link {
    text-decoration: none;
}
.site-title-text {
    font-size: 1.8rem;
    color: var(--text-color);
    font-weight: 700;
}

/* Generic Page Styles */
.page-container {
    padding: 80px 20px;
}
.page-header {
    text-align: center;
    margin-bottom: 60px;
}
.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}
.page-header p {
    font-size: 1.2rem;
    color: var(--secondary-text-color);
    max-width: 700px;
    margin: 0 auto;
}
.page-content {
    max-width: 900px;
    margin: 0 auto;
}

/* About Us Page Styles */
.about-section {
    margin-bottom: 60px;
}
.about-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    display: inline-block;
}
.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}
.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.team-member h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

/* FAQ Page Styles */
.faq-section {
    border-top: 1px solid var(--border-color);
}
.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
}
.faq-question {
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}
.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.2s ease;
}
.faq-item.active .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding-top 0.3s ease;
}
.faq-item.active .faq-answer {
    max-height: 300px; /* Adjust as needed */
    padding-top: 15px;
}


/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s 0.3s;
}
.modal-overlay.visible {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
}
.modal-content {
    background-color: var(--card-background);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
    width: 90%;
    max-width: 550px;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}
.modal-overlay.visible .modal-content {
    transform: scale(1);
}
.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 2rem;
    font-weight: 200;
    cursor: pointer;
    color: #aaa;
    line-height: 1;
}
.modal-close-btn:hover { color: #333; }
#modal-podcast-title {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: var(--text-color);
    font-weight: 600;
}
#modal-podcast-date {
    font-size: 1rem;
    color: var(--secondary-text-color);
    margin-bottom: 25px;
}
.qr-codes-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}
.download-cta {
    width: 100%;
    text-align: center;
    margin-top: 1.5rem;
    font-size: 1rem;
    color: var(--secondary-text-color);
}
.qr-code-link {
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
}
.qr-code-link:hover {
    transform: translateY(-5px);
}
.qr-code-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
}
.qr-code-box p {
    margin-top: 15px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
}

@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 50px;
        padding: 80px 30px 60px;
    }
    .content, .visual {
        max-width: 600px;
        margin: 0 auto;
    }
    .download-buttons {
        justify-content: center;
    }
    h1 { font-size: 3rem; }
    .subtitle { font-size: 1.2rem; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .subtitle { font-size: 1.1rem; }
    .podcast-list { grid-template-columns: 1fr; }
    .hero-container { padding: 60px 20px 40px; }
    .featuresContainer, .podcast-section, .testimonial { padding: 60px 20px; }
}

/* Styles for Policy/Static Pages */
.policy-container, .terms-container {
  max-width: 900px;
  margin: 20px auto;
  padding: 50px 40px; /* Updated padding */
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}

.policy-header, .terms-header {
  text-align: center;
  margin-bottom: 40px;
}

.policy-header h1, .terms-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem; /* Updated font-size */
  color: var(--primary-color);
  margin-bottom: 20px; /* Updated margin */
}

.policy-header p, .terms-header p {
  font-size: 1.05rem; /* Updated font-size */
  color: #555;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.65; /* Updated line-height */
}

.policy-content, .terms-content {
  /* Styles moved to .policy-container / .terms-container */
}

.policy-section, .terms-section {
  margin-bottom: 40px; /* Updated margin */
}

.policy-section h2, .terms-section h2 {
  color: var(--primary-color);
  font-size: 1.6rem; /* Updated font-size */
  margin-top: 0;
  margin-bottom: 20px; /* Updated margin */
  padding-bottom: 12px; /* Updated padding */
  border-bottom: 1px solid #e9ecef; /* Updated border */
}

.policy-section h3, .terms-section h3 {
  color: var(--accent-color);
  font-size: 1.25rem; /* Updated font-size */
  margin-top: 25px; /* Updated margin */
  margin-bottom: 15px; /* Updated margin */
}

.policy-section p,
.policy-section ul,
.terms-section p,
.terms-section ul {
  margin-bottom: 15px;
  color: #444;
  line-height: 1.8; /* Updated line-height */
  font-size: 1rem; /* Updated font-size */
}

.policy-section p a, .policy-section ul a,
.terms-section p a, .terms-section ul a {
    color: var(--accent-color);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.policy-section p a:hover, .policy-section ul a:hover,
.terms-section p a:hover, .terms-section ul a:hover {
    color: var(--primary-color);
    text-decoration-thickness: 2px;
}

.policy-section ul,
.terms-section ul {
  padding-left: 30px; /* Updated padding */
}

.policy-section li,
.terms-section li {
  margin-bottom: 8px;
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 0.95rem; /* Updated font-size */
  border: 1px solid #dee2e6; /* Updated border */
}

.policy-table th,
.policy-table td {
  border: 1px solid #dee2e6; /* Updated border-color */
  padding: 12px 15px; /* Updated padding */
  text-align: left;
}

.policy-table th {
  background-color: #f8f9fa; /* Updated background */
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase; /* Added */
  letter-spacing: 0.05em; /* Added */
  font-size: 0.85rem; /* Added */
}

.policy-table tr:nth-child(even) td {
  /* background-color: #fcfcfc; Removed for flatter look */
}

.last-updated {
  text-align: center;
  font-style: italic;
  color: #777;
  margin-top: 40px; /* Updated margin */
  font-size: 0.9rem; /* Updated font-size */
}
