* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

:root {
  --primary-blue: #3498db;
  --primary-purple: #9b59b6;
  --gradient: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--primary-purple)
  );
  --dark-bg: #1a1a2e;
  --light-text: #f8f9fa;
}

body {
  color: var(--light-text);
  background: var(--dark-bg);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
header {
  background: rgba(26, 26, 46, 0.9);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 28px;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo i {
  margin-right: 10px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  color: var(--light-text);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-blue);
}

.download-btn {
  background: var(--gradient);
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

/* Hero Section */
.hero {
  padding: 150px 0 100px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%233498db" fill-opacity="0.2" d="M0,128L48,138.7C96,149,192,171,288,186.7C384,203,480,213,576,202.7C672,192,768,160,864,138.7C960,117,1056,107,1152,112C1248,117,1344,139,1392,149.3L1440,160L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>')
    no-repeat bottom;
  background-size: cover;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-text {
  flex: 1;
  padding-right: 50px;
}

.hero-text h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #b3b3cc;
}

.app-badges {
  display: flex;
  gap: 15px;
}

.badge {
  background: rgba(255, 255, 255, 0.1);
  padding: 12px 25px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.badge:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.badge i {
  font-size: 24px;
  margin-right: 10px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge-text {
  display: flex;
  flex-direction: column;
}

.badge-text span:first-child {
  font-size: 12px;
}

.badge-text span:last-child {
  font-weight: 600;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-mockup {
  width: 300px;
  height: 550px;
  background: var(--gradient);
  border-radius: 40px;
  padding: 15px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.phone-mockup:hover {
  transform: perspective(1000px) rotateY(0) rotateX(0);
}

.screen {
  width: 100%;
  height: 100%;
  background: #2d2d4e;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
}

.screen-content {
  padding: 20px;
  color: white;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.app-name {
  font-weight: 700;
  font-size: 20px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.chat-item {
  display: flex;
  align-items: center;
  padding: 10px;
  border-radius: 15px;
  margin-bottom: 15px;
  background: rgba(255, 255, 255, 0.05);
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient);
  margin-right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.chat-details {
  flex: 1;
}

.chat-details h4 {
  margin-bottom: 5px;
}

.chat-details p {
  font-size: 14px;
  color: #a0a0c0;
}

/* Features Section - Redesigned */
.features {
  padding: 100px 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%239b59b6" fill-opacity="0.2" d="M0,128L48,138.7C96,149,192,171,288,186.7C384,203,480,213,576,202.7C672,192,768,160,864,138.7C960,117,1056,107,1152,112C1248,117,1344,139,1392,149.3L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>')
    no-repeat top;
  background-size: cover;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title p {
  font-size: 1.2rem;
  color: #b3b3cc;
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(50px);
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.feature-card:hover h3 {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-card p {
  color: #b3b3cc;
  line-height: 1.6;
}

/* New Feature Layout - Zigzag Pattern */
.feature-alt {
  display: flex;
  align-items: center;
  margin-bottom: 80px;
  opacity: 0;
  transition: all 0.8s ease;
}

.feature-alt:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-alt.visible {
  opacity: 1;
}

.feature-alt-content {
  flex: 1;
  padding: 0 40px;
}

.feature-alt-content h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-alt-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #b3b3cc;
  margin-bottom: 20px;
}

.feature-alt-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.feature-alt-image .phone-mockup {
  width: 250px;
  height: 510px;
}

/* Screenshots Section */
.screenshots {
  padding: 100px 0;
  background: var(--dark-bg);
}

.screenshots-slider {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.screenshot {
  width: 250px;
  height: 510px;
  background: var(--gradient);
  border-radius: 40px;
  padding: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: all 0.3s ease;
  opacity: 0;
}

.screenshot.visible {
  opacity: 1;
  transform: perspective(1000px) rotateY(0) rotateX(0);
}

.screenshot:hover {
  transform: perspective(1000px) rotateY(0) rotateX(0) scale(1.05);
}

.screenshot-screen {
  width: 100%;
  height: 100%;
  background: #2d2d4e;
  border-radius: 30px;
  overflow: hidden;
}

/* CTA Section */
.cta {
  padding: 100px 0;
  text-align: center;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%233498db" fill-opacity="0.2" d="M0,128L48,138.7C96,149,192,171,288,186.7C384,203,480,213,576,202.7C672,192,768,160,864,138.7C960,117,1056,107,1152,112C1248,117,1344,139,1392,149.3L1440,160L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>')
    no-repeat bottom;
  background-size: cover;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta p {
  font-size: 1.2rem;
  color: #b3b3cc;
  max-width: 600px;
  margin: 0 auto 40px;
}

/* Footer */
footer {
  background: rgba(26, 26, 46, 0.9);
  padding: 40px 0;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-info {
  margin-bottom: 20px;
}

.contact-info a {
  color: var(--light-text);
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-info a:hover {
  color: var(--primary-blue);
}

.copyright {
  color: #b3b3cc;
  font-size: 14px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    padding-right: 0;
    margin-bottom: 50px;
  }

  .app-badges {
    justify-content: center;
  }

  .phone-mockup {
    transform: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-alt {
    flex-direction: column !important;
    text-align: center;
  }

  .feature-alt-content {
    padding: 20px 0;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .screenshot {
    width: 200px;
    height: 400px;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 22px;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .app-badges {
    flex-direction: column;
    align-items: center;
  }

  .badge {
    width: 100%;
    max-width: 250px;
    margin-bottom: 10px;
  }

  .phone-mockup {
    width: 250px;
    height: 510px;
  }

  .screenshot {
    width: 160px;
    height: 320px;
    border-radius: 30px;
  }

  .screenshot-screen {
    border-radius: 20px;
  }
}
