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

:root {
  --bg-dark: #00031f;
  --text-white: #ffffff;
  --text-muted: #e6e6e9;
  --text-subtle: #8d91bf;
  --accent: #6e75bb;
  --accent-hover: #b4baff;
}

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

body {
  font-family: 'Quicksand', sans-serif;
  font-size: 16px;
  color: var(--text-white);
  background-color: var(--bg-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--text-muted);
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

nav {
  background: rgba(0, 3, 31, 0.9);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(4px);
}

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

.nav-logo {
  height: 60px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
}

.nav-links a:hover {
  color: var(--text-white);
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

.hero {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(to bottom, rgba(0, 3, 31, 0.29) 0%, rgba(0, 3, 31, 0.29) 100%),
    url('../images/forest_tunnel2.jpg') center/cover no-repeat;
  padding: 56px 0;
  text-align: center;
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.2;
}

.hero .subtitle {
  font-size: clamp(18px, 2.5vw, 48px);
  color: var(--text-muted);
  margin-bottom: 32px;
}

.store-badges {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--text-white);
  color: var(--bg-dark);
  border-radius: 4px;
  font-weight: 600;
  min-height: 56px;
  transition: all 0.3s;
}

.store-badge:hover {
  background: #f1f1f1;
  color: var(--bg-dark);
}

.section {
  padding: 56px 0;
  border-bottom: 1px solid rgba(76, 76, 76, 0.5);
}

.section:last-of-type {
  border-bottom: none;
}

.section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: 24px;
}

.section h4 {
  font-size: 1.25rem;
  margin: 24px 0 12px;
}

.section p {
  margin-bottom: 16px;
  color: var(--text-muted);
}

/* Split sections: image + content side by side */
.section-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.section-split.reverse {
  direction: rtl;
}

.section-split.reverse > * {
  direction: ltr;
}

.section-split img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.section-split .section-content {
  direction: ltr;
}

/* Video embed */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #111;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* App Store Reviews */
.reviews-section {
  text-align: center;
}

.reviews-stars {
  font-size: 2rem;
  color: #f5c518;
  letter-spacing: 4px;
  margin-bottom: 8px;
}

.reviews-rating {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.reviews-rating a {
  color: var(--accent-hover);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
}

.review-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.review-card .stars {
  color: #f5c518;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.review-card .quote {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.review-card .author {
  font-size: 0.85rem;
  color: var(--text-subtle);
}

@media (max-width: 767px) {
  .section-split,
  .section-split.reverse {
    grid-template-columns: 1fr;
    gap: 24px;
    direction: ltr;
  }

  .section-split img {
    order: -1;
  }
}

.content-page {
  padding: 48px 0 80px;
}

.content-page h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 32px;
}

.content-page h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  margin: 32px 0 16px;
}

.content-page h3 {
  font-size: 1.25rem;
  margin: 24px 0 12px;
}

.content-page p, .content-page li {
  margin-bottom: 12px;
  color: var(--text-muted);
}

.content-page ul, .content-page ol {
  margin-left: 1.5em;
  margin-bottom: 16px;
}

.contact-email {
  display: inline-block;
  padding: 16px 32px;
  background: var(--text-white);
  color: var(--bg-dark);
  border-radius: 4px;
  font-weight: 600;
  margin: 24px 0;
  transition: all 0.3s;
}

.contact-email:hover {
  background: var(--accent-hover);
  color: var(--bg-dark);
}

.about-hero {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 32px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 32px;
}

.team-card {
  text-align: center;
}

.team-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 24px;
  display: block;
}

.team-card h4 {
  margin-top: 0;
}

footer {
  background: var(--bg-dark);
  padding: 40px 0;
  margin-top: auto;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: var(--text-subtle);
  font-size: 14px;
}

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

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  color: var(--text-subtle);
  font-size: 14px;
}

.social-links a:hover {
  color: var(--accent-hover);
}

.copyright {
  color: var(--text-subtle);
  font-size: 14px;
  margin-top: 24px;
  width: 100%;
}

/* News / blog */
.news-list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
}

.news-item {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(76, 76, 76, 0.5);
}

.news-item:last-child {
  border-bottom: none;
}

.news-thumb-link {
  flex-shrink: 0;
}

.news-thumb {
  width: 160px;
  height: 120px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.news-item-body {
  flex: 1;
  min-width: 0;
}

.news-item-body > a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}

.news-item .news-date {
  color: var(--text-subtle);
  font-size: 0.9rem;
}

.news-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

@media (max-width: 767px) {
  .news-item {
    flex-direction: column;
    gap: 16px;
  }

  .news-thumb {
    width: 100%;
    height: 180px;
  }
}

.post-meta {
  color: var(--text-subtle);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.post-meta a {
  color: var(--accent-hover);
}

.post-meta a:hover {
  color: var(--text-white);
}

.post-content {
  margin-top: 24px;
}

.post-content figure {
  margin: 24px 0;
}

.post-content .post-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 4px;
}

.post-content .post-featured {
  max-width: 100%;
}

.post-content p {
  margin-bottom: 16px;
}

.post-content a {
  color: var(--accent-hover);
}

.post-content a:hover {
  color: var(--text-white);
}

@media (max-width: 767px) {
  .nav-links {
    gap: 16px;
    font-size: 14px;
  }

  .hero {
    min-height: 70vh;
    padding: 32px 0;
  }

  .store-badges {
    flex-direction: column;
    align-items: center;
  }

  .store-badge {
    width: 100%;
    max-width: 224px;
    justify-content: center;
  }
}
