/* Base Styles */
:root {
  --primary-color: #3498db;
  --primary-dark: #2980b9;
  --secondary-color: #2c3e50;
  --accent-color: #e74c3c;
  --light-gray: #f8f9fa;
  --medium-gray: #e9ecef;
  --dark-gray: #6c757d;
  --text-color: #333;
  --white: #fff;
  --success-color: #2ecc71;
  --warning-color: #f39c12;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --border-radius: 6px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
  overflow-y: scroll;
  min-height: 100vh;
  position: relative;
}

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

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.5em;
  color: var(--secondary-color);
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

/* Section Styles */
section {
  padding: 80px 0;
  position: relative;
  clear: both;
  z-index: 1;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title:after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

/* Button Styles */
.button {
  display: inline-block;
  padding: 12px 24px;
  background: var(--light-gray);
  color: var(--secondary-color);
  border: none;
  border-radius: var(--border-radius);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.button:hover {
  background: var(--medium-gray);
  transform: translateY(-2px);
}

.button.primary {
  background: var(--primary-color);
  color: var(--white);
}

.button.primary:hover {
  background: var(--primary-dark);
}

.button.large {
  padding: 14px 28px;
  font-size: 1.1rem;
}

.button i {
  margin-right: 8px;
}

/* Header & Navigation */
header {
  background-color: var(--white);
  padding: 20px 0;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: var(--transition);
  height: auto;
}

header.sticky {
  box-shadow: var(--box-shadow);
  padding: 12px 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.logo img {
  margin-right: 10px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: var(--secondary-color);
  font-weight: 500;
  position: relative;
}

.nav-links a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-links a:hover:after {
  width: 100%;
}

/* Hero Container & Section */
.hero-container {
  padding-top: 80px;
  position: relative;
  z-index: 2;
  background-color: var(--white);
}

.hero {
  padding: 80px 0 50px;
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 20px;
  height: auto;
  min-height: auto;
  position: relative;
}

.hero-content {
  flex: 1;
}

.hero h1 {
  margin-bottom: 20px;
  font-size: 3.2rem;
  line-height: 1.2;
}

.subtitle {
  font-size: 1.3rem;
  color: var(--dark-gray);
  margin-bottom: 30px;
}

.format-badges {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}

.badge {
  background-color: var(--light-gray);
  color: var(--secondary-color);
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.screenshot {
  max-width: 90%;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.screenshot:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features {
  background-color: var(--light-gray);
  position: relative;
  z-index: 3;
  margin-top: 0;
  padding-top: 100px;
  top: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.feature-card h3 {
  margin-bottom: 15px;
}

/* How It Works Section */
.steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.step-number {
  background-color: var(--primary-color);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.step-content h3 {
  margin-bottom: 10px;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  padding: 60px 0;
  text-align: center;
  color: var(--white);
}

.cta-banner h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.cta-banner p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-banner .button {
  background-color: var(--white);
  color: var(--primary-color);
}

.cta-banner .button:hover {
  background-color: var(--light-gray);
}

/* Testimonials Section */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  padding-left: 25px;
}

.testimonial-text:before {
  content: '"';
  font-size: 4rem;
  color: var(--primary-color);
  opacity: 0.2;
  position: absolute;
  top: -20px;
  left: -10px;
  font-family: serif;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.testimonial-name {
  font-weight: 600;
}

.testimonial-role {
  font-size: 0.9rem;
  color: var(--dark-gray);
}

/* FAQ Section */
.faq {
  background-color: var(--light-gray);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.faq-item {
  background-color: var(--white);
  padding: 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.faq-item h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* Install Section */
.install-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 40px;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.install-header {
  margin-bottom: 30px;
}

.install-header img {
  margin-bottom: 15px;
}

.install-header h2 {
  margin-bottom: 5px;
}

.install-description {
  margin-bottom: 30px;
}

.install-features {
  list-style: none;
  text-align: left;
  margin: 20px 0;
}

.install-features li {
  margin-bottom: 10px;
}

.install-features i {
  color: var(--success-color);
  margin-right: 10px;
}

.install-button {
  margin-bottom: 20px;
  width: 100%;
}

.install-meta {
  display: flex;
  justify-content: center;
  gap: 30px;
  color: var(--dark-gray);
  font-size: 0.9rem;
}

.install-rating, .install-users {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stars {
  color: var(--warning-color);
}

/* Footer */
footer {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  font-size: 1.3rem;
  font-weight: 600;
}

.footer-logo img {
  margin-right: 10px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-middle {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
}

.footer-col h4:after {
  content: '';
  display: block;
  width: 30px;
  height: 3px;
  background-color: var(--primary-color);
  margin-top: 10px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-col a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-form {
  display: flex;
  margin-top: 15px;
}

.footer-form input {
  flex: 1;
  padding: 10px 15px;
  border: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.footer-form button {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 0 15px;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  cursor: pointer;
  transition: var(--transition);
}

.footer-form button:hover {
  background-color: var(--primary-dark);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero {
    flex-direction: column;
    gap: 50px;
  }
  
  .nav-links {
    display: none;
  }
}

@media (max-width: 768px) {
  .feature-grid,
  .testimonial-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-container {
    padding-top: 70px;
  }
  
  .hero {
    padding: 50px 0 30px;
    min-height: auto;
  }
  
  .hero-image {
    max-height: 180px;
    overflow: hidden;
  }
  
  .features {
    padding-top: 60px;
  }
  
  .install-meta {
    flex-direction: column;
    gap: 15px;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-card,
.testimonial-card,
.faq-item,
.step {
  animation: fadeIn 0.5s ease-out forwards;
}

.feature-card:nth-child(2),
.testimonial-card:nth-child(2),
.faq-item:nth-child(2),
.step:nth-child(2) {
  animation-delay: 0.1s;
}

.feature-card:nth-child(3),
.testimonial-card:nth-child(3),
.faq-item:nth-child(3),
.step:nth-child(3) {
  animation-delay: 0.2s;
}

.feature-card:nth-child(4),
.faq-item:nth-child(4),
.step:nth-child(4) {
  animation-delay: 0.3s;
}

.feature-card:nth-child(5),
.faq-item:nth-child(5),
.step:nth-child(5) {
  animation-delay: 0.4s;
}

.feature-card:nth-child(6),
.faq-item:nth-child(6) {
  animation-delay: 0.5s;
}