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

/* Quantify font for app bar brand */
@font-face {
  font-family: 'Quantify';
  src: url('assets/fonts/Quantify.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

:root {
  --main-bg: #0D1021;
  --alt-bg: #141933;
  --brand1: #35D7CA;
  --brand2: #356D62;
  --brand3: #F39E43;
  --white: #fff;
  --gray: #222;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Oxanium', Arial, sans-serif;
  background: var(--main-bg);
  color: var(--white);
}

a { color: inherit; text-decoration: none; }

header {
  background: var(--alt-bg);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  background-image: linear-gradient(rgba(20,25,51,1), rgba(20,25,51,1)), url('assets/images/Circuit Pattern.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10px;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(to top, rgba(53,215,202,0.7) 0%, rgba(53,215,202,0) 100%);
  opacity: 1;
  filter: none;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: transparent;
}

header::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('assets/images/Circuit Pattern.png') center/cover no-repeat;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}
header, .navbar {
  position: relative;
  z-index: 1;
}

.brand {
  display: flex;
  align-items: center;
  font-family: 'Quantify', 'Oxanium', Arial, sans-serif;
  font-size: 1.7rem;
  font-weight: bold;
  color: #fff;
  letter-spacing: 1px;
}

.logo {
  width: 40px;
  height: 40px;
  margin-right: 0.5rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  display: flex;
  align-items: center;
}

.download-btn {
  background: var(--brand1);
  color: var(--main-bg);
  padding: 0.5em 1.2em;
  border-radius: 24px;
  font-weight: bold;
  transition: background 0.2s;
}

.download-btn:hover {
  background: var(--brand3);
  color: var(--main-bg);
}

.nav-toggle, .nav-toggle-label {
  display: none;
}

/* Hero Section */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 30%, rgba(53,109,98,0.5) 40%, var(--main-bg) 98%);
  min-height: 600px;
  padding: 3rem 2rem 2rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('assets/images/KH_Logo_NoBgr.png') center/cover no-repeat;
  opacity: 0.01;
  pointer-events: none;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('assets/images/Wave_Interference_Desat2.png') center/cover no-repeat;
  opacity: 0.01;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
}

.hero > * {
  position: relative;
  z-index: 2;
}

.hero-content {
  flex: 1 1 350px;
  max-width: 500px;
  z-index: 2;
  margin-left: 120px;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--brand1);
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5), 0 1px 2px rgba(0,0,0,0.5);
  line-height: 0.8;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--white);
  text-shadow: 0 2px 8px rgba(0,0,0,0.5), 0 1px 2px rgba(0,0,0,0.5);
}

.store-badges {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.store-badges img {
  height: 48px;
  width: auto;
  border-radius: 8px;
  background: #fff;
}

.hero-image {
  flex: 1 1 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
}

.hero-image img {
  max-width: 350px;
  width: 100%;
  border-radius: 24px;
}

/* Features Section */
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background: var(--main-bg);
  padding: 3rem 1rem;
  gap: 2rem;
  position: relative;
}

.features::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 10px;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(to bottom, rgba(53,215,202,0.7) 0%, rgba(53,215,202,0) 100%);
  opacity: 1;
}

.feature {
  background: var(--alt-bg);
  color: var(--white);
  width: 250px;
  text-align: center;
  margin: 1rem 0;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(53,215,202,0.07);
  padding: 2rem 1.4rem 2rem 1.4rem;
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 0.5rem;
  color: var(--brand1);
}

/* YouTube Transcripts */
.yt-transcripts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  background: var(--alt-bg);
  padding: 3rem 1rem;
  gap: 2rem;
  position: relative;
}

.yt-transcripts-image {
  flex: 1 1 350px;
  min-width: 250px;
  max-width: 400px;
}

.yt-transcripts-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(53,215,202,0.10);
}

.yt-transcripts-content {
  flex: 2 1 350px;
  min-width: 250px;
  max-width: 500px;
}

.yt-transcripts-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--brand1);
}

.yt-transcripts-content p,
.yt-transcripts-content ul {
  text-align: left;
}

.yt-transcripts-content ul {
  margin: 1rem 0 0 1.2rem;
  padding: 0;
  color: var(--white);
}

.yt-transcripts-content ul li {
  margin-bottom: 1em;
}

.desktop-disclaimer {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 24px;
  background: rgba(20, 25, 51, 0.85);
  color: #aaa;
  padding: 0.7em 1.5em;
  border-radius: 10px;
  font-size: 0.97em;
  text-align: center;
  max-width: 90vw;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  z-index: 10;
}

/* Use AI Section */
.use-ai {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  background: var(--main-bg);
  padding: 3rem 1rem;
  gap: 2rem;
  position: relative;
}

.use-ai-content {
  flex: 2 1 350px;
  min-width: 250px;
  max-width: 500px;
  order: 1;
}

.use-ai-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--brand1);
  text-align: center;
}

.use-ai-content ul {
  margin: 1rem 0 0 1.2rem;
  padding: 0;
  color: var(--white);
}

.use-ai-content ul li {
  margin-bottom: 1em;
}

.use-ai-image {
  flex: 1 1 350px;
  min-width: 250px;
  max-width: 400px;
  order: 2;
}

.use-ai-image img {
  max-height: 700px;
  width: auto;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(53,215,202,0.10);
}

/* Stats Section */
.stats {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--alt-bg);
  padding: 2.5rem 1rem;
  gap: 3rem;
}

.stats > div {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  color: var(--brand3);
}

.stat-label {
  display: block;
  font-size: 1rem;
  color: var(--white);
  opacity: 0.8;
}

/* Reviews Section */
.reviews {
  background: var(--main-bg);
  padding: 3rem 1rem 0.2rem 1rem;
  text-align: center;
}

.reviews h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--brand1);
}

.reviews-slider {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.review-card {
  background: var(--brand2);
  color: var(--white);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(53,215,202,0.10);
  padding: 1.5rem 1rem;
  width: 300px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.review-card h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--brand3);
}

.review-card p {
  font-size: 1rem;
  margin: 0 0 1rem 0;
  flex: 1;
}

.stars {
  color: var(--brand3);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.author {
  font-size: 0.95rem;
  color: var(--white);
  opacity: 0.9;
}

/* CTA Section */
.cta {
  position: relative;
  background: var(--main-bg);
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0rem 1rem 2rem 1rem;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    linear-gradient(to bottom, rgba(13,16,33,0.1) 0%, rgba(13,16,33,0.05) 100%),
    linear-gradient(to bottom, rgba(13,16,33,1) 0%, rgba(13,16,33,0) 10%),
    url('assets/images/night_sky_arrows.png') center bottom/cover no-repeat;
  opacity: 0.7;
  z-index: 1;
}

.cta-bg::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 100%;
  width: 100vw;
  pointer-events: none;
  z-index: 2;
  background:
    radial-gradient(ellipse 400% 30% at 50% 0%, rgba(13,16,33,0.8) 30%, rgba(13,16,33,0.2) 70%, rgba(13,16,33,0) 100%),
    radial-gradient(ellipse 60% 60% at 50% 0%, rgba(13,16,33,0.9) 0%, rgba(13,16,33,0.7) 30%, rgba(13,16,33,0.3) 70%, rgba(13,16,33,0) 100%);
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 700px;
  margin-top: 0px;
}

.cta-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--brand1);
  text-shadow: 0 2px 8px #000;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--white);
  text-shadow: 0 2px 8px #000;
}

/* Footer */
footer {
  background: var(--main-bg);
  color: var(--white);
  padding: 2rem 1rem 1rem 1rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 1rem auto;
}

.footer-app {
  min-width: 200px;
  margin-bottom: 1rem;
}

.footer-app strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--brand1);
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links div {
  min-width: 120px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--white);
  opacity: 0.9;
  font-size: 1rem;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
  color: var(--brand3);
}

.footer-bottom {
  text-align: center;
  font-size: 0.95rem;
  color: #ccc;
  margin-top: 1rem;
}

.footer-bottom a {
  color: var(--brand1);
  margin-left: 1rem;
  font-weight: bold;
}

/* Responsive Styles */
@media (max-width: 1100px) {
  .hero, .yt-transcripts, .use-ai, .stats {
    flex-direction: column;
    text-align: center;
  }
  .hero-image, .yt-transcripts-image, .use-ai-image, .share-export-image {
    margin: 0.5rem 0 0 0;
  }
  .footer-top {
    flex-direction: column;
    align-items: center;
  }
  .footer-links {
    flex-direction: column;
    align-items: center;
  }
  .hero-content {
    margin-left: 0;
  }
  .use-ai-content, .use-ai-image {
    order: unset;
  }
  .use-ai-content {
    text-align: left;
  }
  .yt-disclaimer {
    order: 99;
    width: 100%;
  }
  .yt-transcripts-content {
    order: 1;
  }
  .yt-transcripts-image {
    order: 2;
  }
  .yt-transcripts-content,
  .use-ai-content {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }
  .yt-transcripts,
  .use-ai {
    gap: 0;
  }
  .share-export-content {
    order: 1;
  }
  .share-export-image {
    order: 2;
  }
}

@media (max-width: 800px) {
  .navbar {
    flex-direction: row;
    padding: 1rem;
  }
  .nav-links {
    position: absolute;
    top: 64px;
    right: 0;
    background: var(--alt-bg);
    flex-direction: column;
    width: 200px;
    display: none;
    box-shadow: 0 2px 8px #000;
    z-index: 100;
  }
  .nav-links li {
    margin: 1rem 0;
  }
  .nav-toggle:checked + .nav-toggle-label + .nav-links {
    display: flex;
  }
  .nav-toggle-label {
    display: block;
    cursor: pointer;
    width: 32px;
    height: 32px;
    position: relative;
  }
  .nav-toggle-label span,
  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    display: block;
    background: var(--brand1);
    height: 4px;
    width: 100%;
    border-radius: 2px;
    position: absolute;
    transition: all 0.3s;
  }
  .nav-toggle-label span {
    top: 14px;
  }
  .nav-toggle-label span::before {
    content: '';
    top: -10px;
  }
  .nav-toggle-label span::after {
    content: '';
    top: 10px;
  }
  .desktop-disclaimer {
    display: none;
  }
  .mobile-disclaimer {
    display: block;
    margin-top: 1em;
    font-size: 0.95em;
    color: #aaa;
    text-align: center;
  }
  .hero-image, .yt-transcripts-image, .use-ai-image, .share-export-image {
    margin: 0.5rem 0 0 0;
  }
  .yt-disclaimer {
    order: 99;
    width: 100%;
  }
  .yt-transcripts-content {
    order: 1;
  }
  .yt-transcripts-image {
    order: 2;
  }
  .share-export-content {
    order: 1;
  }
  .share-export-image {
    order: 2;
  }
  .share-export-content-2 {
    order: 3;
  }
  .share-export-content-wrapper {
    display: contents;
  }
}

@media (min-width: 801px) {
  .desktop-disclaimer {
    display: block;
    font-size: 0.95em;
    color: #aaa;
    text-align: center;
  }
  .mobile-disclaimer {
    display: none;
  }
  .yt-transcripts {
    padding-bottom: 4.8rem;
  }
  .use-ai-content h2 {
    text-align: left;
  }
  .share-export-content h2,
  .share-export-content-2 h2 {
    text-align: left;
  }
}

@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  .cta-content h2, .yt-transcripts-content h2, .use-ai-content h2, .reviews h2 {
    font-size: 1.7rem;
  }
  .hero, .features, .yt-transcripts, .use-ai, .reviews, .cta, .stats {
    padding: 1.5rem 0.5rem;
  }
  .review-card {
    width: 95vw;
    min-width: 0;
  }
  .footer-top {
    flex-direction: column;
    gap: 1rem;
  }
  .play-icon {
    top: 7px !important;
    left: -4px !important;
  }
}

.play-icon {
  display: inline-flex;
  align-items: center;
  margin-left: 0.1em;
  color: var(--brand1);
  position: relative;
  top: 11px;
  left: -6px;
}

/* Share Export Section (copied from yt-transcripts) */
.share-export {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  background: var(--alt-bg);
  padding: 3rem 1rem;
  gap: 2rem;
  position: relative;
}

.share-export-image {
  flex: 1 1 350px;
  min-width: 250px;
  max-width: 400px;
}

.share-export-image img {
  max-height: 800px;
  width: auto;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(53,215,202,0.10);
}

.share-export-content {
  flex: 2 1 350px;
  min-width: 250px;
  max-width: 500px;
}

.share-export-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--brand1);
}

.share-export-content p,
.share-export-content ul {
  text-align: left;
}

.share-export-content ul {
  margin: 1rem 0 0 1.2rem;
  padding: 0;
  color: var(--white);
}

.share-export-content ul li {
  margin-bottom: 1em;
}

.share-export-content ul li:last-child {
  margin-bottom: 0;
}

@media (max-width: 1100px) {
  .share-export-image {
    margin-top: 0.2rem;
  }
}

@media (max-width: 800px) {
  .share-export-image {
    margin-top: 0.2rem;
  }
  .share-export-content h2,
  .share-export-content-2 h2 {
    text-align: center;
  }
}

@media (min-width: 801px) {
  .share-export {
    padding-bottom: 4.8rem;
  }
}

.share-export-content-2 {
  flex: 2 1 350px;
  min-width: 250px;
  max-width: 500px;
}
.share-export-content-2 h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--brand1);
}
.share-export-content-2 p,
.share-export-content-2 ul {
  text-align: left;
}
.share-export-content-2 ul {
  margin: 1rem 0 0 1.2rem;
  padding: 0;
  color: var(--white);
}
.share-export-content-2 ul li {
  margin-bottom: 1em;
}
.share-export-content-2 ul li:last-child {
  margin-bottom: 0;
}
@media (min-width: 1100px) {
  .share-export {
    flex-direction: row;
    align-items: center;
  }
  .share-export-image {
    order: 1;
  }
  .share-export-content-wrapper {
    display: flex;
    flex-direction: column;
    flex: 2 1 350px;
    min-width: 250px;
    max-width: 500px;
    gap: 2rem;
    order: 2;
    justify-content: center;
    height: 100%;
  }
  .share-export-content, .share-export-content-2 {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
  }
}
@media (max-width: 1099px) {
  .share-export-content {
    order: 1;
  }
  .share-export-image {
    order: 2;
  }
  .share-export-content-2 {
    order: 3;
  }
  .share-export-content-2 {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }
} 