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

:root {
  --primary: rgb(29, 29, 29);
  --white: #ffffff;
  --gold: #d4af37;
  --light-grey: rgba(255, 255, 255, 0.1);
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background-color: var(--primary);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  position: relative;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.1) 0%, var(--primary) 70%);
}

.logo {
  width: 150px;
  height: 150px;
  margin-bottom: 30px;
  animation: fadeInDown 1s ease-out;
}

.chalice-icon {
  width: 120px;
  height: 120px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  animation: fadeInDown 1s ease-out;
}

.chalice-icon svg {
  width: 60px;
  height: 60px;
  fill: var(--primary);
}

h1 {
  font-size: clamp(2.5rem, 8vw, 4rem);
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  animation: fadeInUp 1s ease-out 0.2s both;
}

h2 {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--white);
}

.tagline {
  font-size: clamp(1rem, 3vw, 1.5rem);
  font-style: italic;
  opacity: 0.9;
  margin-bottom: 15px;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.scripture {
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  opacity: 0.7;
  margin-bottom: 50px;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 1s ease-out 0.8s both;
}

.btn {
  padding: 16px 40px;
  font-size: 1.1rem;
  border: 2px solid var(--white);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  border-radius: 4px;
  font-weight: 500;
}

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

.btn-primary {
  background: var(--white);
  color: var(--primary);
}

.btn-primary:hover {
  background: transparent;
  color: var(--white);
}

/* Features Section */
.features {
  padding: 100px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 70px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: var(--gold);
  margin: 20px auto 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-bottom: 80px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 40px 30px;
  border-radius: 8px;
  border: 1px solid var(--light-grey);
  transition: all 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.08);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  opacity: 0.9;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--gold);
}

.feature-card p {
  opacity: 0.8;
  line-height: 1.8;
}

/* App Preview Section */
.app-preview {
  padding: 100px 20px;
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}

.preview-container {
  max-width: 1000px;
  margin: 50px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.phone-mockup {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--light-grey);
  border-radius: 20px;
  padding: 20px;
  transition: transform 0.3s ease;
}

.phone-mockup:hover {
  transform: scale(1.05);
}

.phone-mockup img {
  width: 100%;
  border-radius: 10px;
}

/* Languages Section */
.languages {
  padding: 100px 20px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.language-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
}

.language-tag {
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--light-grey);
  border-radius: 30px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.language-tag:hover {
  background: var(--gold);
  color: var(--primary);
  border-color: var(--gold);
}

/* Content Container for Text Pages */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

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

.header .logo {
  width: 200px;
  margin-bottom: 20px;
}

/* Content Wrapper for Text Pages */
.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 20px;
}

.content-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--light-grey);
  border-radius: 12px;
  padding: 60px 40px;
  animation: fadeInUp 0.8s ease-out;
}

.content-section {
  margin-bottom: 50px;
}

.content-section:last-child {
  margin-bottom: 0;
}

.content-section h2 {
  color: var(--gold);
  font-size: 1.8rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.content-section p {
  line-height: 1.8;
  opacity: 0.9;
  margin-bottom: 15px;
}

.styled-list {
  list-style: none;
  padding-left: 0;
}

.styled-list li {
  padding-left: 30px;
  margin-bottom: 15px;
  position: relative;
  line-height: 1.8;
  opacity: 0.9;
}

.styled-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: bold;
  font-size: 1.2rem;
}

.numbered-list {
  counter-reset: item;
}

.numbered-list li::before {
  content: counter(item) ".";
  counter-increment: item;
  color: var(--gold);
  font-weight: bold;
  font-size: 1.1rem;
}

.highlight-box {
  background: rgba(212, 175, 55, 0.1);
  border: 2px solid var(--gold);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
}

.highlight-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.highlight-box p {
  font-size: 1.1rem;
  font-weight: 500;
  opacity: 1;
}

/* Text Content Styling */
p,
ul {
  margin-bottom: 20px;
}

ul {
  padding-left: 20px;
}

li {
  margin-bottom: 10px;
}

strong {
  color: var(--white);
}

a {
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid var(--white);
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.8;
}

/* Footer */
.footer {
  padding: 60px 20px 40px;
  text-align: center;
  border-top: 1px solid var(--light-grey);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

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

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.copyright {
  opacity: 0.6;
  font-size: 0.9rem;
}

.nav-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.nav-buttons a {
  padding: 10px 20px;
  border: 1px solid var(--white);
  border-radius: 4px;
  border-bottom: 1px solid var(--white);
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    min-height: 90vh;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }

  .btn {
    width: 100%;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .preview-container {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  /* Updated Responsive for Content Pages */
  .content-card {
    padding: 40px 25px;
  }

  .content-section h2 {
    font-size: 1.5rem;
  }

  .styled-list li {
    padding-left: 25px;
  }
}