:root {
  --primary-gradient: linear-gradient(135deg, #4B0082 0%, #3a7afe 100%);
  --primary-color: #3a7afe;
  --secondary-color: #4B0082;
  --bg-color: #ffffff;
  --bg-light: #f8f9fc;
  --text-main: #1a1a24;
  --text-muted: #666677;
  --white: #ffffff;
  --card-bg: #ffffff;
  --border-color: rgba(0,0,0,0.08);
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.05);
  --shadow-lg: 0 12px 30px rgba(58, 122, 254, 0.15);
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

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

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

.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  box-shadow: var(--shadow-sm);
}

.navbar.scrolled .logo strong,
.navbar.scrolled .nav-link {
  color: var(--text-main) !important;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 36px;
  filter: brightness(0) invert(1);
  transition: filter 0.3s;
}

.navbar.scrolled .logo img {
  filter: none;
}

.logo strong {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  transition: color 0.3s;
}

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

.nav-link {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-link:hover {
  color: var(--white);
}

.nav-actions {
  display: flex;
}

.btn-nav-solid {
  background: var(--white);
  color: var(--primary-color);
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn-nav-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--white);
  transition: 0.3s;
}

.navbar.scrolled .mobile-toggle span {
  background-color: var(--text-main);
}

/* Hero Section */
.hero {
  background: var(--primary-gradient);
  padding: 160px 0 100px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: white;
  clip-path: polygon(0 100%, 100% 100%, 100% 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-btns {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: var(--white);
  color: var(--primary-color);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.hero-img-wrap {
  text-align: right;
  position: relative;
}

.hero-img {
  max-width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  transform: perspective(1000px) rotateY(-5deg);
}

/* Features */
.features {
  padding: 80px 0;
  background: var(--bg-color);
}

.section-hd {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feat-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 40px;
  border-radius: 16px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.feat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(58, 122, 254, 0.2);
}

.feat-icon {
  width: 56px;
  height: 56px;
  background: rgba(58, 122, 254, 0.1);
  color: var(--primary-color);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feat-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.feat-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* About Us */
.about {
  padding: 80px 0;
  background: var(--bg-light);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq {
  padding: 80px 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 20px 0;
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-main);
}

.faq-q svg {
  transition: transform 0.3s;
}

.faq-item.active .faq-q svg {
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-a {
  max-height: 200px;
  margin-top: 15px;
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #fff;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  border-radius: 16px;
  padding: 30px;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #999;
}

.modal-close:hover {
  color: #333;
}

.modal-body h3 {
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.modal-body p, .modal-body li {
  color: var(--text-muted);
  margin-bottom: 12px;
  font-size: 0.95rem;
}

/* Download Modal specific */
.dl-modal-logo {
  text-align: center;
  margin-bottom: 15px;
}
.dl-modal-logo img {
  height: 48px;
}
.dl-modal-meta {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.dl-modal-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.modal-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--primary-gradient);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

/* Footer */
.footer {
  background: #111115;
  color: #a0a0b0;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo img {
  height: 32px;
  margin-bottom: 15px;
}

.footer-desc {
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-heading {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
}

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

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

/* Mobile Responsiveness */
@media(max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .mobile-toggle { display: flex; }
  
  .hero {
    padding: 80px 0 40px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }
  
  .hero-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin: 0 auto 20px;
  }
  
  .btn-pill {
    padding: 10px 24px;
    font-size: 0.9rem;
  }

  .hero-btns {
    justify-content: center;
  }
  
  .hero-img-wrap {
    text-align: center;
    margin-top: 20px;
  }
  
  .features, .about, .faq {
    padding: 40px 0;
  }

  .section-hd {
    margin-bottom: 30px;
  }

  .section-title {
    font-size: 1.6rem;
    margin-bottom: 10px;
  }

  .section-sub {
    font-size: 0.95rem;
  }

  .feat-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .feat-card {
    padding: 20px;
  }

  .feat-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 15px;
  }

  .feat-icon svg {
    width: 24px;
    height: 24px;
  }

  .feat-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }

  .feat-desc {
    font-size: 0.85rem;
  }

  .download-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .download-grid .feat-card {
    padding: 20px 10px;
  }

  .download-grid h4 {
    font-size: 1rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .modal-content {
    padding: 20px;
  }

  .modal-body h3 {
    font-size: 1.3rem;
  }
}

