/* Font setup */
@font-face {
  font-family: 'Space Mono';
  src: url('../fonts/SpaceMono-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Space Mono';
  src: url('../fonts/SpaceMono-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Space Mono';
  src: url('../fonts/SpaceMono-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'Space Mono';
  src: url('../fonts/SpaceMono-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Space Mono", monospace, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #F9F9F9;
  overflow-x: hidden;
}

/* Site Header */
.site-header {
  padding: 1.5rem 0;
  background: transparent;
}

.header-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.brand:hover {
  opacity: 0.8;
}

.brand-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.brand-text {
  font-size: 1.5rem;
  font-weight: 900;
  color: #000;
  letter-spacing: -0.5px;
  padding-left: -0.5rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Product Hunt Banner - removed */

/* Hero section */
.hero {
  text-align: center;
  padding: 1rem 1rem 5rem;
}

.logo {
  font-size: 3.5rem;
  font-weight: 900;
  color: #000;
  letter-spacing: -1px;
}

.tagline {
  font-size: 3.5rem;
  font-weight: 600;
  color: #3B594D;
  margin-bottom: 1rem;
  letter-spacing: -1px;
  margin-top: -1rem;
}

.subtitle {
  font-size: 1rem;
  font-weight: 400;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.reviews-image {
  margin: 0rem 0 0.5rem 0;
}

.reviews-image img {
  max-width: 125px;
  width: 100%;
  height: auto;
}

/* iPhone showcase */
.phone-showcase {
  display: flex;
  justify-content: center;
  margin: 2rem 0 5rem;
}

.iphone {
  position: relative;
  width: 280px;
  height: 580px;
  background: #222;
  border-radius: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  padding: 10px;
  border: 1px solid #444;
  overflow: hidden;
}

.iphone-notch {
  position: absolute;
  width: 100px;
  height: 25px;
  background: #222;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  z-index: 2;
}

.iphone-screen {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
}

.iphone-button {
  position: absolute;
  width: 110px;
  height: 5px;
  background: #444;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 3px;
}

.hero-cta {
  margin-top: 2rem;
  margin-bottom: -2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.hero-cta .app-store-badge {
  display: inline-block;
  transition: transform 0.3s ease;
}

.hero-cta .app-store-badge:hover {
  transform: scale(1.05);
}

.hero-cta .app-store-badge img {
  height: 50px;
  width: auto;
}

#app-demo {
  width: 101%;
  height: 101%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-position: center;
}

/* Features section */
.features {
  padding: 4rem 0;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 2.5rem;
  font-weight: 600;
  color: #222;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin: 0 auto;
  max-width: 1000px;
}

.feature {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.feature-icon .material-symbols-outlined {
  font-size: 3rem;
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 48;
  color: #D28EE3;
}

.feature h3 {
  margin-bottom: 1rem;
  font-weight: 600;
  color: #333;
  font-size: 1.4rem;
}

.feature p {
  color: #555;
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 5rem 0;
  max-width: 800px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #222;
}

.cta-section p {
  color: #555;
  margin-bottom: 2.5rem;
  font-size: 1.2rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.app-store-badge {
  display: inline-block;
}

.app-store-badge img {
  height: 50px;
  transition: transform 0.3s ease;
}

.app-store-badge img:hover {
  transform: scale(1.05);
}

/* Policy Pages Styling */
.page-title {
  font-size: 2.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 2rem;
  letter-spacing: -0.5px;
}

/* Contact Page Styling */
.contact-content,
.thanks-content {
  max-width: 800px;
  margin: 0 auto 4rem;
  padding: 0 20px;
}

.contact-intro {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 2.5rem;
  text-align: center;
}

.contact-form-container {
  background: rgba(255, 255, 255, 0.4);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.6);
  margin: 0 auto;
  max-width: 600px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
  color: #444;
}

.form-group input,
.form-group textarea {
  padding: 0.8rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #333;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

.submit-button {
  background: #222;
  color: white;
  border: none;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  text-transform: lowercase;
  font-weight: 500;
  margin-top: 1rem;
  align-self: center;
}

.submit-button:hover,
.back-button:hover {
  background: #000;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Thanks Page Styling */
.thanks-card {
  background: rgba(255, 255, 255, 0.4);
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.6);
  margin: 2rem auto;
  max-width: 500px;
}

.thanks-icon {
  font-size: 3rem;
  color: #4caf50;
  margin-bottom: 1.5rem;
  height: 70px;
  width: 70px;
  line-height: 70px;
  background: rgba(76, 175, 80, 0.1);
  border-radius: 50%;
  display: inline-block;
}

.thanks-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #333;
}

.thanks-card p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
}

.back-button {
  background: #222;
  color: white;
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  border-radius: 50px;
  display: inline-block;
  transition: all 0.3s ease;
  font-family: inherit;
  text-transform: lowercase;
  font-weight: 500;
}

.policy-content {
  max-width: 800px;
  margin: 0 auto 4rem;
  padding: 0 20px;
}

.effective-date {
  font-size: 1.5rem;
  color: #666;
  margin-bottom: 2rem;
  /* font-style: italic; */
}

.policy-section {
  margin-bottom: 2.5rem;
}

.policy-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #333;
}

.policy-section p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.policy-section ul {
  padding-left: 2rem;
  margin-bottom: 1rem;
}

.policy-section li {
  margin-bottom: 0.5rem;
}

.privacyMail {
  color: #333;
}

/* Blog styles */
.blog-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 20px 4rem;
}

.blog-container h1 {
  font-size: 2.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 2rem;
  letter-spacing: -0.5px;
}

.blog-intro {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 3rem;
  text-align: center;
}

.blog-posts {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.blog-card {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.blog-card h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.blog-card h2 a {
  color: #333;
  text-decoration: none;
}

.blog-card h2 a:hover {
  color: #3B594D;
}

.post-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
}

.reading-time::before {
  content: "•";
  margin-right: 0.5rem;
}

.read-more {
  color: #3B594D;
  text-decoration: none;
  font-weight: 500;
}

.read-more:hover {
  text-decoration: underline;
}

/* Blog post styles */
.blog-post {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem 20px 4rem;
}

.blog-post header {
  margin-bottom: 3rem;
}

.blog-post h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.post-content {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #333;
}

.post-content h2 {
  font-size: 2rem;
  margin: 2.5rem 0 1rem;
}

.post-content h3 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
}

.post-content p {
  margin-bottom: 1.5rem;
}

.post-content ul,
.post-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.post-content li {
  margin-bottom: 0.5rem;
}

.post-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.back-to-blog {
  color: #3B594D;
  text-decoration: none;
  font-weight: 500;
}

.back-to-blog:hover {
  text-decoration: underline;
}

/* Author page styles */
.author-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 20px 4rem;
}

.author-header {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.author-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.author-info h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.author-title {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 1rem;
}

.author-bio {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

.author-posts h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: #333;
}

.post-author {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-author:hover {
  color: #3B594D;
}

.post-author-with-image {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.post-author-image {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: middle;
}

@media (max-width: 768px) {
  .author-header {
    flex-direction: column;
    text-align: center;
  }

  .author-image {
    width: 100px;
    height: 100px;
  }
}

/* FAQ Specific Styles */
.faq-header {
  text-align: center;
  padding: 3rem 1rem;
  margin-bottom: 3rem;
}

.faq-header h1 {
  font-size: 2.5rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.faq-subtitle {
  font-size: 1.2rem;
  color: #666;
  font-weight: 400;
}

.faq-content {
  max-width: 800px;
  margin: 0 auto 4rem;
  padding: 0 20px;
}

.faq-section {
  background: rgba(255, 255, 255, 0.4);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
}

.faq-item {
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 2rem;
}

.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.question {
  font-size: 1.3rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.3s ease;
}

.question:hover {
  color: #3B594D;
}

.answer {
  color: #555;
  line-height: 1.7;
  padding-left: 1rem;
}

.answer ol,
.answer ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.answer li {
  margin-bottom: 0.5rem;
}

.answer strong {
  color: #333;
  font-weight: 600;
}

.answer a {
  color: #3f90e8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.answer a:hover {
  text-decoration: underline;
}

.toggle-icon {
  font-size: 1.2rem;
  color: #999;
  transition: transform 0.3s;
}

.faq-item.expanded .toggle-icon {
  transform: rotate(45deg);
}

.answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-item.expanded .answer {
  max-height: 1000px;
}

@media (max-width: 768px) {
  .faq-header h1 {
    font-size: 2rem;
  }

  .faq-section {
    padding: 1.5rem;
  }

  .question {
    font-size: 1.1rem;
  }
}

/* Footer */
footer {
  text-align: center;
  padding: 3rem 0;
  margin-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-links {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.footer-links a {
  color: #555;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #222;
}

.copyright {
  color: #999;
  font-size: 0.9rem;
}

/* Media Queries */
@media (max-width: 768px) {
  .site-header {
    padding: 1rem 0;
  }

  .brand-icon {
    width: 28px;
    height: 28px;
  }

  .brand-text {
    font-size: 1.25rem;
  }

  .hero {
    padding: 1rem 1rem;
  }

  .logo {
    font-size: 1.6rem;
  }

  .tagline {
    font-size: 1.6rem;
    margin-top: 0;
    margin-bottom: 0.8rem;
  }

  .subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .reviews-image img {
    max-width: 130px;
  }

  .hero-cta {
    margin-top: 1.5rem;
    margin-bottom: 0;
    flex-wrap: wrap;
  }

  .hero-cta .app-store-badge img {
    height: 40px;
  }

  .features {
    flex-direction: column;
  }

  .feature {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }

  .header-container {
    padding: 0 10px;
  }

  .brand-icon {
    width: 24px;
    height: 24px;
  }

  .brand-text {
    font-size: 1.1rem;
  }

  .hero {
    padding: 1rem 0;
  }

  .logo {
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 0.1rem;
    white-space: normal;
    padding: 0;
  }

  .tagline {
    font-size: 1.5rem;
    line-height: 1.2;
  }

  .subtitle {
    font-size: 0.8rem;
  }

  .reviews-image img {
    max-width: 100px;
  }

  .hero-cta {
    gap: 0.5rem;
    padding-top: -1rem;
  }

  .hero-cta .app-store-badge img {
    height: 35px;
  }

  .app-store-badge img {
    height: 35px;
  }
}

/* Animation for subtle hover effects */
@keyframes gentle-float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

.iphone:hover {
  animation: gentle-float 3s ease infinite;
}
