/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cabin', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    sans-serif;
  line-height: 1.6;
  color: #365261;
  background: #f7ecd0;
  min-height: 100vh;
}

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

/* Header */
.header {
  padding: 20px 0;
  background: #e5d2af;
  border-bottom: 2px solid #d65523;
}

.logo h1 {
  color: #365261;
  font-family: 'Oswald', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Hero Section */
.hero {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, #f7ecd0 0%, #e5d2af 100%);
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23B3B890' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")
    repeat;
  opacity: 0.3;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-family: 'Oswald', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #365261;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 40px;
  color: #365261;
  font-weight: 400;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  margin-top: 40px;
}

/* Buttons */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 25px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  min-width: 160px;
  height: 56px;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-button.primary {
  background: #d65523;
  color: #f7ecd0;
  box-shadow: 0 4px 15px rgba(233, 110, 70, 0.3);
  border: 2px solid #d65523;
}

.cta-button.primary:hover {
  background: #d45a3a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(233, 110, 70, 0.4);
  border-color: #d45a3a;
}

/* Sections */
section {
  padding: 80px 0;
}

.section-content {
  max-width: 1000px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  color: #365261;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Screenshots Section */
.screenshots {
  background: #e5d2af;
  position: relative;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.screenshot-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(54, 82, 97, 0.2);
  transition: transform 0.3s ease;
  background: #f7ecd0;
}

.screenshot-item:hover {
  transform: translateY(-5px);
}

.screenshot-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.screenshot-item:hover img {
  transform: scale(1.05);
}

.screenshot-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(54, 82, 97, 0.9));
  color: #f7ecd0;
  padding: 30px 20px 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.screenshot-item:hover .screenshot-overlay {
  transform: translateY(0);
}

.screenshot-overlay p {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.feature-item {
  background: #f7ecd0;
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  border: 3px solid #d65523;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(54, 82, 97, 0.1);
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(54, 82, 97, 0.2);
  border-color: #598c6f;
}

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

.feature-item h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #365261;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.feature-item p {
  color: #365261;
  line-height: 1.6;
  font-weight: 400;
}

/* Download Section */
.download {
  background: linear-gradient(135deg, #598c6f 0%, #365261 100%);
  position: relative;
  overflow: hidden;
}

.download::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f7ecd0' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")
    repeat;
  opacity: 0.5;
}

.download .section-content {
  position: relative;
  z-index: 1;
}

.download .section-title {
  color: #f7ecd0;
}

.download-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #e5d2af;
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.download-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 50px;
  max-width: 900px;
  margin: 0 auto;
}

.platform-download {
  background: #f7ecd0;
  border-radius: 20px;
  padding: 40px 30px;
  border: 3px solid #d65523;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.platform-download::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
}

.platform-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  border-radius: 20px;
}

.platform-download.ios .platform-icon {
  background: linear-gradient(135deg, #000 0%, #333 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.platform-download.android .platform-icon {
  background: linear-gradient(135deg, #3ddc84 0%, #01875f 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(1, 135, 95, 0.3);
}

.platform-info h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #365261;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.platform-subtitle {
  font-size: 0.95rem;
  color: #d65523;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.platform-description {
  color: #365261;
  line-height: 1.7;
  margin-bottom: 30px;
  font-size: 0.95rem;
  font-weight: 400;
}

.store-badge-link {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
}

.store-badge-image {
  height: 70%;
  display: block;
}

.android .store-badge-image {
  height: 100%;
}

/* Contact Section */
.contact {
  background: #f7ecd0;
  text-align: center;
  padding: 60px 0;
}

.contact-text {
  font-size: 1.1rem;
  color: #365261;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.contact-email {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #d65523;
  text-decoration: none;
  padding: 15px 30px;
  border: 3px solid #d65523;
  border-radius: 10px;
  transition: all 0.3s ease;
  text-transform: lowercase;
  letter-spacing: 0.5px;
}

.contact-email:hover {
  background: #d65523;
  color: #f7ecd0;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(214, 85, 35, 0.3);
}

/* Footer */
.footer {
  background: #365261;
  padding: 40px 0;
  text-align: center;
  border-top: 3px solid #d65523;
}

.footer-content p {
  color: #e5d2af;
  margin-bottom: 10px;
  font-weight: 400;
}

.footer-credit {
  margin-top: 20px;
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-credit a {
  color: #d65523;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-credit a:hover {
  color: #e96e46;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .screenshots-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .download-buttons {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .platform-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
  }

  .container {
    padding: 0 15px;
  }

  section {
    padding: 60px 0;
  }

  .contact-email {
    font-size: 1.2rem;
    padding: 12px 24px;
  }
}

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

  .hero-title {
    font-size: 2rem;
  }

  .logo h1 {
    font-size: 1.5rem;
  }

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

  .feature-item {
    padding: 30px 20px;
  }

  .contact-email {
    font-size: 1rem;
    padding: 10px 20px;
  }
}

/* Sign In Placeholder */
.signin-placeholder {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.signin-placeholder p {
  margin: 0;
  max-width: 600px;
  text-align: center;
}
