
/*CSS Variables */
:root {
  
  --bg:           #09090f;                  
  --bg-card:      #111118;                   
  --border:       rgba(255, 255, 255, 0.07); 
  --accent:       #7c3aed;                 
  --accent-glow:  rgba(124, 58, 237, 0.3);   
  --accent-2:     #06b6d4;                   
  --text:         #e8e8f0;                   
  --text-muted:   #6b6b80;                   
  --white:        #ffffff;


  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;


  --section-pad:  7rem 0;
  --radius:       14px;
  --radius-sm:    8px;
  --nav-h:        68px;       
}


/* RESET & BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth; 
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden; }
a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}


/*  BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0.65rem 1.4rem;
  border-radius: 50px;          
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}


.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 0 20px var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px var(--accent-glow);
}
.btn-primary:active {
  transform: translateY(0);
}


.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}
.btn-ghost:hover {
  color: var(--white);
}


.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline:active {
  transform: translateY(0);
}


.btn-lg {
  padding: 0.85rem 1.9rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
  margin-top: auto; 
}


/* SECTION HEADER */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem auto; 
}


.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.75rem); 
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}


/* NAVBAR  */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;

  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.navbar.scrolled {
  background: rgba(9, 9, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);  
  border-bottom-color: var(--border);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
}

.nav-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Logo */
.logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.logo-icon {
  color: var(--accent);
  font-size: 1.4rem;
}

/* Navlink that hide on mobilebut visible desktop */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-left: auto; 
}

.nav-links a {
  padding: 0.4rem 0.85rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-radius: 50px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.nav-links a.nav-active {
  color: var(--white);
  background: rgba(124, 58, 237, 0.15);
}

/* Navbar CTA button right side */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* shown on mobile */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}


/* HERO SECTION */
.hero {
  min-height: 100vh;   
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  


  padding: calc(var(--nav-h) + 4rem) 5% 5rem 5%;
  position: relative;
  overflow: hidden;
}


.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.22;
  pointer-events: none;  /* don't block mouse events */
  animation: blobDrift 12s ease-in-out infinite alternate;
}

.blob-1 {
  width: 520px;
  height: 520px;
  background: var(--accent);
  top: -10%;
  left: -10%;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: var(--accent-2);
  bottom: -5%;
  right: -5%;
  animation-delay: -6s; 

}

@keyframes blobDrift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, 20px) scale(1.08); }
}

.hero-content {
  max-width: 580px;
  z-index: 1; 
}

/* Pill badge above headline */
.badge {
  display: inline-block;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
  color: #a78bfa;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

/* Main headline */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 460px;
  margin-bottom: 2rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

/*  below CtA lins */
.hero-social-proof {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-social-proof span {
  color: var(--text);
  font-weight: 500;
}


.hero-visual {
  flex-shrink: 0;
  z-index: 1;
}

/* Dashboard */
.dashboard-card {
  width: 360px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px var(--accent-glow);
}


.dash-header {
  background: #0d0d14;
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border);
}


.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red    { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green  { background: #27c93f; }

.dash-title {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-left: 4px;
}

.dash-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}


.chart-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 110px;
}

.bar {
  flex: 1;
  height: var(--h);       
  background: rgba(124, 58, 237, 0.3);
  border-radius: 4px 4px 0 0;
 
  animation: barGrow 1s ease forwards;
  transform-origin: bottom;
}


.bar-active {
  background: var(--accent);
}

@keyframes barGrow {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}


.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.stat-chip {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.28rem 0.7rem;
  font-size: 0.73rem;
  color: var(--text);
  white-space: nowrap;
}


/* FEATURES SECTIOn */
.features {
  padding: var(--section-pad);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  cursor: default;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 20px 50px rgba(124, 58, 237, 0.12);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}


/*  PRICING SECTION */
.pricing {
  padding: var(--section-pad);
  background: linear-gradient(180deg, var(--bg) 0%, #0d0d18 100%);
}

/* Monthly / Yearly billing toggle */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.toggle-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/*  toggle switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  cursor: pointer;
}


.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.slider {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  transition: background 0.3s ease;
}


.slider::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  background: var(--white);
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: transform 0.3s ease;
}

.toggle-switch input:checked + .slider {
  background: var(--accent);
}
.toggle-switch input:checked + .slider::after {
  transform: translateX(20px);
}

.save-badge {
  font-style: normal;
  font-size: 0.72rem;
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-2);
  padding: 2px 8px;
  border-radius: 50px;
  margin-left: 4px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.card-featured {
  border-color: var(--accent);
  background: linear-gradient(145deg, #1a0d2e 0%, #111118 100%);
  box-shadow: 0 0 50px rgba(124, 58, 237, 0.2);
}

.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 4px 14px;
  border-radius: 50px;
  white-space: nowrap;
}

.plan-name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.plan-price {
  display: flex;
  align-items: flex-end;
  gap: 4px;
}


.price-amount {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.2s ease;
  display: inline-block; /
}

.price-custom {
  font-size: 1.9rem;
}

.price-per {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.plan-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
  flex: 1;
}

.plan-features li {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}


.check {
  color: #10b981; 
  font-weight: 700;
  flex-shrink: 0;
}


/* TESTIMONIALS SECTION*/
.testimonials {
  padding: var(--section-pad);
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding-bottom: 1.25rem;
  scroll-snap-type: x mandatory;
  /* thin purple scrollbar */
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}

.testimonials-track::-webkit-scrollbar {
  height: 4px;
}
.testimonials-track::-webkit-scrollbar-track {
  background: transparent;
}
.testimonials-track::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  min-width: 300px;
  max-width: 330px;
  flex-shrink: 0;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.3s ease;
}

.testi-card:hover {
  border-color: var(--accent);
}

.testi-stars {
  color: #f59e0b; /* gold */
  letter-spacing: 2px;
  font-size: 0.88rem;
}

.testi-card > p {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.7;
  flex: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.author-info strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text);
}

.author-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
}


/*  FAQ SECTION */
.faq {
  padding: var(--section-pad);
}

.faq-container {
  max-width: 700px !important; }

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.3s ease, color 0.3s ease;
  line-height: 1;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 250px;   padding-bottom: 1.25rem;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.75;
}


/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 4.5rem 0 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.87rem;
  color: var(--text-muted);
  max-width: 260px;
  line-height: 1.7;
}

.social-links {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.social-links a:hover {
  border-color: var(--accent);
  color: var(--white);
}
 
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.footer-col a {
  font-size: 0.87rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.built-by {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.built-by strong {
  color: var(--text);
}


/* /* SCROLL REVEAL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


.reveal-delay {
  transition-delay: 0.18s;
}


/* RESPONSIVE BREAKPOINTS */


@media (max-width: 768px) {

  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: calc(var(--nav-h) + 3rem);
    gap: 2.5rem;
  }

  .hero-sub,
  .hero-social-proof {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  
  .dashboard-card {
    width: 100%;
    max-width: 380px;
  }

 
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

 .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1; 
  }
}

/* MOBILE  */
@media (max-width: 480px) {

  
  .nav-links {
    display: none;
  }

  .nav-cta .btn-ghost {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(9, 9, 15, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.25rem;
    border-bottom: 1px solid var(--border);
    z-index: 99;
  }

  .nav-links.mobile-open a {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    width: 100%;
  }


  .hero-title {
    font-size: 2.1rem;
  }

 
  .features-grid {
    grid-template-columns: 1fr;
  }

 
  .pricing-grid {
    grid-template-columns: 1fr;
  }


  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / 1; /* reset from tablet override */
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}