/* --- reset & base --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Montserrat', sans-serif;
  background: #0b0d12;
  color: #eef2f7;
  overflow-x: hidden;
  line-height: 1.5;
}
a {
  text-decoration: none;
  color: inherit;
}
.grain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.06;
  mix-blend-mode: overlay;
}
.atmosphere {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(30, 60, 120, 0.2), transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(10, 40, 80, 0.25), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* --- nav --- */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  background: rgba(11, 13, 18, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.nav-brand {
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}
.nav-brand span {
  color: #7aa9ff;
  font-weight: 300;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-links a {
  opacity: 0.7;
  transition: 0.2s;
}
.nav-links a:hover {
  opacity: 1;
}
.nav-cta {
  background: #2a6df4;
  padding: 8px 20px;
  border-radius: 60px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: 0.2s;
}
.nav-cta:hover {
  background: #1a5adf;
  transform: scale(1.02);
}
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}
.toggle-bar {
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 4px;
  transition: 0.2s;
}
.mobile-menu {
  position: fixed;
  inset: 0;
  background: #0b0d12;
  z-index: 999;
  transform: translateX(100%);
  transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 80px 30px 40px;
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}
.mobile-menu-link {
  font-size: 1.8rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
}
.mobile-menu-link::after {
  content: attr(data-index);
  font-weight: 300;
  opacity: 0.3;
  font-size: 1rem;
}
.mobile-menu-footer {
  margin-top: auto;
  display: flex;
  gap: 20px;
  opacity: 0.5;
  font-size: 0.85rem;
}

/* side panels */
.side-panel {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  opacity: 0.3;
  transition: 0.3s;
}
.side-panel:hover {
  opacity: 0.8;
}
.side-panel.left {
  left: 16px;
}
.side-panel.right {
  right: 16px;
}
.side-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}
.side-track {
  width: 1px;
  height: 100px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
}
.side-track-fill {
  width: 100%;
  background: #7aa9ff;
  height: 0%;
  transition: 0.1s;
}
.side-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: 0.3s;
}
.side-dot.active {
  background: #7aa9ff;
  box-shadow: 0 0 8px #2a6df4;
}
.side-readout {
  font-family: monospace;
  letter-spacing: 0.05em;
  font-size: 0.7rem;
  margin-top: 6px;
}

/* main */
.main {
  position: relative;
  z-index: 1;
  padding-top: 80px;
}

/* sections common */
.section {
  padding: 80px 40px;
  max-width: 1280px;
  margin: 0 auto;
}
.section-center {
  text-align: center;
}
.section-tag {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #7aa9ff;
  margin-bottom: 12px;
  font-weight: 600;
}
.section-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-title strong {
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #b3d0ff, #7aa9ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-body {
  font-size: 1.1rem;
  opacity: 0.7;
  max-width: 640px;
  margin: 0 auto 40px;
  font-weight: 300;
}
.silk-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  margin: 0 auto;
}

/* reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 {
  transition-delay: 0.05s;
}
.reveal-d2 {
  transition-delay: 0.12s;
}
.reveal-d3 {
  transition-delay: 0.2s;
}
.reveal-d4 {
  transition-delay: 0.28s;
}

/* hero */
.hero {
  padding: 60px 40px 100px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  opacity: 0.3;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(42, 109, 244, 0.12);
  border: 1px solid rgba(42, 109, 244, 0.2);
  padding: 6px 18px 6px 12px;
  border-radius: 60px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #b3d0ff;
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: #2a6df4;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.4);
  }
}
.hero h1 {
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #b3d0ff, #4a8aff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  max-width: 640px;
  margin: 20px auto 36px;
  font-size: 1.15rem;
  opacity: 0.7;
  font-weight: 300;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  background: #2a6df4;
  padding: 14px 36px;
  border-radius: 60px;
  font-weight: 600;
  transition: 0.2s;
  border: none;
  color: white;
  cursor: pointer;
  font-family: inherit;
  display: inline-block;
}
.btn-primary:hover {
  background: #1a5adf;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(42, 109, 244, 0.3);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  padding: 14px 36px;
  border-radius: 60px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: 0.2s;
  color: white;
  display: inline-block;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}
.hero-metrics {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 60px;
  flex-wrap: wrap;
}
.metric-value {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.metric-value span:last-child {
  font-weight: 300;
  opacity: 0.5;
  margin-left: 2px;
}
.metric-label {
  opacity: 0.5;
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: 4px;
}

/* logo ticker */
.logo-ticker {
  padding: 20px 40px 60px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.logo-ticker-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.4;
  margin-bottom: 20px;
}
.ticker-track {
  display: flex;
  gap: 24px;
  flex-wrap: nowrap;
  overflow: hidden;
  animation: ticker-scroll 30s linear infinite;
  width: max-content;
}
.ticker-item {
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
  opacity: 0.5;
  padding: 6px 12px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.02);
}
.ticker-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: #2a6df4;
  border-radius: 50%;
  opacity: 0.3;
  margin: 0 4px;
}
@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* features */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}
.feature.reverse {
  direction: rtl;
}
.feature.reverse .feature-content {
  direction: ltr;
}
.feature-visual img {
  width: 100%;
  border-radius: 24px;
  background: #161b24;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.6);
}
.feature-number {
  font-size: 3rem;
  font-weight: 800;
  opacity: 0.06;
  line-height: 1;
  margin-bottom: -10px;
}
.feature-content .section-tag {
  margin-bottom: 8px;
}
.feature-content .section-title {
  font-size: 1.8rem;
  margin-bottom: 12px;
}
.feature-content .section-body {
  margin: 0;
  font-size: 1rem;
  opacity: 0.7;
}

/* pricing */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 20px 0 40px;
}
.toggle-switch {
  width: 52px;
  height: 28px;
  background: #222a36;
  border-radius: 40px;
  position: relative;
  cursor: pointer;
  transition: 0.2s;
}
.toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: #7aa9ff;
  border-radius: 50%;
  transition: 0.25s;
}
.toggle-switch.active::after {
  left: 27px;
  background: #2a6df4;
}
.pricing-toggle-label {
  font-weight: 500;
  opacity: 0.4;
  transition: 0.2s;
}
.pricing-toggle-label.active {
  opacity: 1;
}
.save-badge {
  background: rgba(42, 109, 244, 0.15);
  padding: 4px 14px;
  border-radius: 40px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #7aa9ff;
  margin-left: 4px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}
.pricing-card {
  background: #11171f;
  border-radius: 28px;
  padding: 32px 24px 28px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: 0.25s;
  text-align: left;
  position: relative;
}
.pricing-card.featured {
  border-color: #2a6df4;
  background: #141c28;
  transform: scale(1.02);
}
.pricing-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: #2a6df4;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 40px;
  letter-spacing: 0.05em;
}
.pricing-tier {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.price-option {
  display: none;
}
.price-option.active {
  display: block;
}
.price-option-left {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.price-currency {
  font-size: 1.2rem;
  font-weight: 500;
}
.price-amount {
  font-size: 2.8rem;
  font-weight: 700;
}
.price-period {
  opacity: 0.4;
  font-size: 0.9rem;
}
.price-label {
  font-size: 0.7rem;
  opacity: 0.4;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.price-yearly {
  font-size: 0.8rem;
  opacity: 0.3;
  margin-top: 4px;
}
.pricing-desc {
  margin: 16px 0 20px;
  font-size: 0.9rem;
  opacity: 0.6;
}
.pricing-features {
  list-style: none;
  margin-bottom: 28px;
}
.pricing-features li {
  padding: 6px 0;
  font-size: 0.9rem;
  opacity: 0.7;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}
.pricing-features li::before {
  content: '✓';
  color: #2a6df4;
  margin-right: 10px;
  font-weight: 700;
}

/* testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  text-align: left;
}
.testimonial-card {
  background: #11171f;
  padding: 28px 24px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}
.testimonial-quote {
  font-size: 1rem;
  font-weight: 300;
  opacity: 0.8;
  margin-bottom: 24px;
  line-height: 1.6;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #2a3a50;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.testimonial-name {
  font-weight: 600;
  font-size: 0.95rem;
}
.testimonial-role {
  font-size: 0.75rem;
  opacity: 0.4;
}

/* integrations */
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.integration-item {
  background: #11171f;
  padding: 20px 12px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.02);
  transition: 0.2s;
}
.integration-item:hover {
  background: #1a232e;
  transform: translateY(-4px);
}
.integration-icon {
  opacity: 0.6;
}
.integration-name {
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.5;
}

/* faq */
.faq-list {
  max-width: 740px;
  margin: 40px auto 0;
  text-align: left;
}
.faq-controls {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
}
.faq-toggle-all {
  background: transparent;
  border: none;
  color: #7aa9ff;
  font-size: 0.8rem;
  cursor: pointer;
  font-weight: 500;
}
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.faq-question {
  background: transparent;
  border: none;
  width: 100%;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.faq-icon {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}
.faq-icon::before {
  width: 2px;
  height: 14px;
  top: 3px;
  left: 9px;
}
.faq-icon::after {
  width: 14px;
  height: 2px;
  top: 9px;
  left: 3px;
}
.faq-item.open .faq-icon::before {
  height: 0;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: 0.3s ease;
}
.faq-answer-inner {
  padding: 0 0 24px;
  opacity: 0.7;
  font-weight: 300;
  line-height: 1.7;
}
.faq-item.open .faq-answer {
  max-height: 300px;
}

/* footer cta */
.footer-cta {
  padding: 80px 40px 40px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.footer-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}
.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.8rem;
  opacity: 0.4;
}
.footer-links {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

/* responsive */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
  .integrations-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 820px) {
  .feature {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .feature.reverse {
    direction: ltr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
  }
  .pricing-card.featured {
    transform: scale(1);
  }
  .integrations-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .side-panel {
    display: none;
  }
  .hero-metrics {
    gap: 30px;
  }
}
@media (max-width: 500px) {
  .top-nav {
    padding: 12px 20px;
  }
  .section {
    padding: 50px 20px;
  }
  .hero {
    padding: 40px 20px 60px;
  }
  .integrations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}



.modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.7);

    justify-content: center;
    align-items: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: #fff;
    width: 420px;
    max-width: 90%;
    padding: 30px;
    border-radius: 10px;
    color: #000;
}

.modal-content input{
    width:100%;
    padding:12px;
    margin-bottom:15px;
}

.close{
    float:right;
    font-size:28px;
    cursor:pointer;
}