@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  --primary: #1a73e8;
  --primary-dark: #0d47a1;
  --secondary: #34a853;
  --accent: #f1f8fe;
  --text: #333333;
  --text-light: #787878;
  --white: #ffffff;
  --light-bg: #f9fafc;
  --shadow: 0 10px 20px rgba(26, 115, 232, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background-color: var(--light-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Section */
.header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 40px 0 0;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 0 80px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px 20px;
}

.logo {
  font-weight: 700;
  font-size: 24px;
  color: var(--white);
  text-decoration: none;
}

.menu-btn {
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  display: none;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: opacity 0.3s;
}

.nav-links a:hover {
  opacity: 0.8;
}

.hero {
  display: flex;
  align-items: center;
  padding: 40px 20px 80px;
}

.hero-content {
  flex: 1;
  padding-right: 40px;
}

.hero-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cta-btn {
  display: inline-block;
  background-color: var(--white);
  color: var(--primary);
  padding: 14px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  box-shadow: var(--shadow);
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(26, 115, 232, 0.2);
}

.cta-secondary {
  color: var(--white);
  background: transparent;
  border: 2px solid var(--white);
}

.hero-image {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
}

.app-screenshot {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: perspective(800px) rotateY(-10deg);
  transition: transform 0.5s;
}

.app-screenshot:hover {
  transform: perspective(800px) rotateY(0deg);
}

/* Features Section */
.features {
  padding: 100px 0;
  background-color: var(--white);
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 60px;
  color: var(--primary-dark);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: var(--white);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
  border: 1px solid #eaeaea;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
  font-size: 24px;
}

.feature-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-dark);
}

.feature-desc {
  color: var(--text-light);
  line-height: 1.6;
}

/* Download Section */
.download {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 80px 0;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.download::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQ0MCIgaGVpZ2h0PSI3NDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSI4MCUiIHkxPSIwJSIgeDI9IjAlIiB5Mj0iMTAwJSIgaWQ9ImEiPjxzdG9wIHN0b3AtY29sb3I9IiNGRkZGRkYiIHN0b3Atb3BhY2l0eT0iLjEiIG9mZnNldD0iMCUiLz48c3RvcCBzdG9wLWNvbG9yPSIjRkZGRkZGIiBzdG9wLW9wYWNpdHk9Ii4wNSIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PHBhdGggZD0iTTAgMGgxNDQwdjc0MEgweiIgZmlsbD0idXJsKCNhKSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+");
  background-size: cover;
  opacity: 0.2;
}

.download-content {
  position: relative;
  z-index: 1;
}

.download-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
}

.download-desc {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 40px;
  opacity: 0.9;
}

.store-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  align-items: center;
  background-color: var(--white);
  color: var(--primary-dark);
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s;
}

.store-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.store-icon {
  font-size: 24px;
  margin-right: 10px;
}

.store-text {
  text-align: left;
}

.store-text span {
  display: block;
}

.store-text .small {
  font-size: 12px;
  font-weight: 400;
}

.store-text .big {
  font-size: 16px;
  font-weight: 600;
}

/* Footer */
.footer {
  background-color: var(--white);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--primary-dark);
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid #eaeaea;
  padding-top: 30px;
  margin-top: 30px;
  text-align: center;
  color: var(--text-light);
  font-size: 14px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s;
}

.social-link:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-bottom: 60px;
  }

  .hero-content {
    padding-right: 0;
    margin-bottom: 40px;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-title {
    font-size: 36px;
  }

  .app-screenshot {
    transform: perspective(800px) rotateY(0);
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .menu-btn {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--primary-dark);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s ease-in-out;
    z-index: 100;
  }

  .nav-links.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .nav-links li {
    margin: 15px 0;
  }

  .section-title {
    font-size: 28px;
  }

  .feature-card {
    padding: 20px;
  }

  .download-title {
    font-size: 28px;
  }

  .store-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 30px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .app-screenshot {
    max-width: 100%;
  }
}

/* Content Section Styling (for Terms, Privacy, Contact pages) */
.content-section h1 {
  font-size: 32px; /* Slightly smaller than hero titles */
  color: var(--primary-dark);
  margin-bottom: 25px;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 10px;
}

.content-section h2 {
  font-size: 24px;
  color: var(--primary);
  margin-top: 30px;
  margin-bottom: 15px;
}

.content-section p {
  margin-bottom: 15px;
  line-height: 1.7;
  color: var(--text);
}

.content-section ul {
  margin-left: 20px;
  margin-bottom: 15px;
  list-style: disc; /* Ensure standard disc bullets */
}

.content-section li {
  margin-bottom: 8px;
  color: var(--text);
}

.content-section a {
  color: var(--primary);
  text-decoration: underline;
}

.content-section a:hover {
  color: var(--primary-dark);
}

/* About Section */
.about {
  padding: 80px 0;
  background-color: var(--white);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
}

.about-text p {
  color: var(--text-light);
  font-size: 16px;
  margin-bottom: 20px;
}
