/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Custom Font Classes */
.heading-font {
  font-family: "Courier Prime", "Courier New", monospace;
  font-weight: 500;
  letter-spacing: -0.02em;
}

body {
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  background-color: #272424;
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 120rem;
  height: 1400px;
  background: radial-gradient(
    circle,
    rgba(235, 91, 0, 0.2) 0%,
    rgba(235, 91, 0, 0.1) 20%,
    rgba(168, 85, 247, 0) 40%,
    rgba(255, 255, 255, 0) 100%
  );
  border-radius: 50%;
  z-index: -1;
  transition: all 0.5s ease;
}

body::before {
  top: -300px;
  left: -1250px;
  transform: rotate(-5deg);
}

body::after {
  top: -300px;
  right: -1250px;
  transform: rotate(5deg);
}

/* Header Styles */
header {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 1rem 2rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 40px;
  width: auto;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}

.logo a:hover {
  opacity: 0.9;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #eb5b00;
}

/* Hero Section */
.hero {
  padding: 8rem 2rem 4rem;
  text-align: center;
}

.hero h1 {
  font-family: "Baloo", monospace;
  font-weight: 500;
  font-size: 5rem;
  color: #ffffff;
}

.hero h1 span.highlight {
  color: #eb5b00;
  font-size: 5rem;
  display: inline;
  margin-bottom: 1rem;
}

.hero .highlight {
  color: #eb5b00;
  font-size: 5rem;
  display: inline;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.app-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.app-buttons img {
  height: 60px;
  transition: transform 0.3s ease;
}

.app-buttons img:hover {
  transform: scale(1.05);
}

/* Features Section */
.features {
  padding: 4rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 80rem;
  margin: 0 auto;
  gap: 6rem;
}

.feature-card {
  text-align: center;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-card h3 {
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 2rem;
}

.feature-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.feature-card-publish {
  max-width: 200px;
}

.feature-card-create {
  max-width: 300px;
}

.story-stats {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.phone-preview {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  margin: 0;
}

.phone-preview img {
  width: 100%;
  max-width: 350px;
  height: auto;
}

/* About Section */
.about {
  padding: 4rem 2rem;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.about-content {
  flex: 1;
}

.about h2 {
  font-family: "Baloo", monospace;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #eb5b00;
  font-size: 4rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.about h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
  font-weight: 500;
}

.about p {
  color: #ffffff;
  font-size: 1.1rem;
  line-height: 1.8;
}

.genre-preview {
  position: relative;
  padding: 2rem;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.genre-preview::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    rgba(235, 91, 0, 0.3) 0%,
    rgba(235, 91, 0, 0.5) 10%,
    rgba(233, 213, 255, 0) 60%,
    transparent 100%
  );
  border-radius: 50%;
  z-index: 0;
}

.genre-preview img {
  max-width: 400px;
  border-radius: 20px;
  position: relative;
  z-index: 1;
}

/* Footer */
footer {
  background: white;
  color: #333;
  padding: 0;
  width: 100%;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: #333;
}

.brand img {
  height: 24px;
  width: auto;
}

.footer-links {
  display: flex;
  gap: 3rem;
}

.footer-links a {
  color: #333;
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
}

.social-links {
  display: flex;
  gap: 2rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.social-links img {
  height: 22px;
  width: auto;
}

.social-links a:hover {
  opacity: 1;
}

.copyright {
  text-align: center;
  font-size: 0.9rem;
  opacity: 1;
  color: white;
  background: #eb5b00;
  padding: 1.25rem 0;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 span.highlight {
    font-size: 2.5rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero .highlight {
    font-size: 2.8rem;
  }

  .features {
    flex-direction: column;
    padding: 2rem;
    gap: 3rem;
  }

  .feature-card {
    max-width: 280px;
  }

  .phone-preview img {
    max-width: 280px;
  }

  .about {
    flex-direction: column;
    text-align: center;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
}

/* Legal Content Pages */
.legal-content {
  padding: 6rem 2rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  min-height: calc(
    100vh - 135px
  ); /* viewport height - (footer height + copyright height) */
  display: flex;
  flex-direction: column;
}

.legal-content h1 {
  font-family: "Courier Prime", "Courier New", monospace;
  font-size: 3rem;
  font-weight: 500;
  color: #eb5b00;
  margin-bottom: 3rem;
  text-align: center;
}

.legal-text h2 {
  font-size: 1.5rem;
  color: #fff;
  margin: 2rem 0 1rem;
}

.legal-text p {
  color: #ffffff;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.legal-text ul {
  list-style-type: disc;
  margin-left: 2rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.legal-text li {
  margin-bottom: 0.5rem;
}

/* Contact Page */
.contact-content {
  padding: 6rem 2rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  min-height: calc(
    100vh - 135px
  ); /* viewport height - (footer height + copyright height) */
  display: flex;
  flex-direction: column;
}

.contact-content h1 {
  font-family: "Courier Prime", "Courier New", monospace;
  font-size: 3rem;
  font-weight: 500;
  color: #eb5b00;
  margin-bottom: 3rem;
  text-align: center;
}

.contact-container {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

.contact-info {
  flex: 1;
}

.contact-info h2 {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: #ffffff;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.contact-details {
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.contact-item img {
  width: 24px;
  height: 24px;
}

.contact-form {
  flex: 1;
  background: #272424;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #ffffff;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #eb5b00;
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.submit-btn {
  background: #eb5b00;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  position: relative;
}

.submit-btn:hover {
  background: #9333ea;
}

.submit-btn:disabled {
  background: #d8b4fe;
  cursor: not-allowed;
}

.btn-loader {
  color: white;
}

/* Form Success/Error Messages */
.form-message {
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  text-align: center;
  display: none;
}

.form-message.success {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  border: 1px solid #16a34a;
}

.form-message.error {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid #dc2626;
}

/* Responsive Design Updates */
@media (max-width: 768px) {
  .contact-content {
    padding: 5rem 1.5rem 2rem;
    min-height: calc(100vh - 155px);
  }

  .legal-content {
    padding: 6rem 1.5rem 3rem;
  }

  .legal-content h1 {
    font-size: 2.5rem;
  }

  .contact-container {
    flex-direction: column;
    gap: 3rem;
  }

  .contact-form {
    padding: 1.5rem;
    width: 100%;
  }

  .contact-content h1 {
    font-size: 2.5rem;
  }

  .contact-info h2 {
    font-size: 1.8rem;
  }
}

/* Team Members Section */
.team-members {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
  padding: 0.5rem;
  max-width: 100%;
}

.team-member {
  background: #272424;
  padding: 1rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
  width: 180px;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member h3 {
  color: #333;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  line-height: 1.4;
}

.team-member h3 span {
  display: block;
  margin-top: 0.2rem;
}

.team-member p {
  color: #666;
  font-size: 0.8rem;
  margin: 0;
}

/* Responsive Design Updates */
@media (max-width: 768px) {
  .team-members {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .team-member {
    width: calc(50% - 0.5rem);
  }
}

@media (max-width: 480px) {
  .team-member {
    width: 100%;
  }
}
