/* NEGENSYS⁻¹ Custom Stylesheet */
:root {
  --bg: #0b0a0f;
  --bg-darker: #070609;
  --card-bg: rgba(20, 18, 28, 0.45);
  --card-border: rgba(255, 255, 255, 0.06);
  --card-border-hover: rgba(83, 74, 183, 0.4);
  --ink: #f4f4f6;
  --ink-soft: #a19fb0;
  --ink-faint: #636173;
  --purple: #796ff0;
  --purple-dark: #534ab7;
  --purple-glow: rgba(83, 74, 183, 0.15);
  --purple-tint: rgba(121, 111, 240, 0.1);
  --teal: #1d9e75;
  --teal-glow: rgba(29, 158, 117, 0.15);
  --teal-tint: rgba(29, 158, 117, 0.08);
  --radius: 16px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Manrope', sans-serif;
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(83, 74, 183, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(29, 158, 117, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(121, 111, 240, 0.03) 0%, transparent 50%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: #252330;
  border-radius: 999px;
  border: 2px solid var(--bg-darker);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--purple-dark);
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography & Visual Accents */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, #a19fb0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-purple {
  background: linear-gradient(135deg, #9f96ff 0%, #796ff0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-teal {
  background: linear-gradient(135deg, #38ef7d 0%, #1d9e75 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header & Navigation */
header {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--card-border);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 10, 15, 0.7);
  transition: var(--transition);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo svg {
  flex-shrink: 0;
}

.logo .word {
  font-family: var(--font-heading);
  line-height: 1;
}

.logo .word .a {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--ink);
}

.logo .word .b {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--purple);
}

.logo .word .sup {
  display: inline-block;
  position: relative;
  top: -10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--purple);
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover {
  color: var(--ink);
}

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

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

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: var(--purple-tint);
  border: 1px solid var(--purple-dark);
  border-radius: 8px;
  color: var(--purple);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.nav-btn:hover {
  background: var(--purple);
  color: white;
  box-shadow: 0 0 15px var(--purple-glow);
}

/* Hero Section */
.hero {
  padding: 96px 0 64px;
  text-align: center;
  position: relative;
}

.badge {
  display: inline-block;
  background: var(--purple-tint);
  color: #a19fb0;
  border: 1px solid rgba(121, 111, 240, 0.2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
  animation: float 4s ease-in-out infinite;
}

.hero h1 {
  font-size: 56px;
  max-width: 900px;
  margin: 0 auto 24px;
  line-height: 1.15;
}

.hero p {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--purple);
  color: white;
  border: 1px solid var(--purple);
  box-shadow: 0 4px 20px rgba(83, 74, 183, 0.3);
}

.btn-primary:hover {
  background: var(--purple-dark);
  border-color: var(--purple-dark);
  box-shadow: 0 8px 30px rgba(83, 74, 183, 0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--card-border-hover);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--ink-soft);
}

/* Sections General */
section.main-section {
  padding: 80px 0;
  border-top: 1px solid var(--card-border);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-head .mini {
  color: var(--purple);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: 38px;
  margin-bottom: 16px;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 16px;
}

.billing-toggle-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  padding: 6px 16px;
  border-radius: 99px;
}

.toggle-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: var(--transition);
  user-select: none;
}

.toggle-label.active {
  color: var(--ink);
  font-weight: 600;
}

.billing-toggle {
  width: 50px;
  height: 26px;
  background: #252330;
  border: 1px solid var(--card-border);
  border-radius: 99px;
  position: relative;
  cursor: pointer;
  outline: none;
  transition: var(--transition);
}

.billing-toggle-slider {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: var(--purple);
  border-radius: 50%;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateX(24px); /* Default: Annual (Right) */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.billing-toggle.monthly-active .billing-toggle-slider {
  transform: translateX(0); /* Monthly (Left) */
  background: var(--ink-soft);
}

.discount-badge {
  background: var(--teal-tint);
  color: var(--teal);
  border: 1px solid rgba(29, 158, 117, 0.2);
  font-size: 10.5px;
  padding: 2px 8px;
  border-radius: 99px;
  margin-left: 6px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.price-box .annual-total-detail {
  font-size: 12.5px;
  color: var(--purple);
  margin-top: 4px;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

/* Cards & Glassmorphism */
.glass-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
  pointer-events: none;
}

.glass-card:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(83, 74, 183, 0.05);
}

/* Value Props Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: var(--purple-tint);
  color: var(--purple);
}

.feature-card:nth-child(2) .feat-icon {
  background: var(--teal-tint);
  color: var(--teal);
}

.feature-card:nth-child(3) .feat-icon {
  background: var(--purple-tint);
  color: var(--purple);
}

.feature-card:nth-child(4) .feat-icon {
  background: var(--teal-tint);
  color: var(--teal);
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.55;
}

/* How It Works Section */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40px;
  width: 2px;
  background: linear-gradient(180deg, var(--purple) 0%, var(--teal) 50%, var(--card-border) 100%);
}

.timeline-item {
  position: relative;
  padding-left: 90px;
  margin-bottom: 48px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-number {
  position: absolute;
  left: 20px;
  top: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-darker);
  border: 2px solid var(--purple);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 0 10px var(--purple-glow);
  z-index: 2;
  transition: var(--transition);
}

.timeline-item:nth-child(even) .timeline-number {
  border-color: var(--teal);
  color: var(--teal);
  box-shadow: 0 0 10px var(--teal-glow);
}

.timeline-item:hover .timeline-number {
  transform: scale(1.1);
  background: var(--purple);
  color: white;
}

.timeline-item:nth-child(even):hover .timeline-number {
  background: var(--teal);
  color: white;
}

.timeline-content h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.timeline-content p {
  color: var(--ink-soft);
  font-size: 15px;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.price-card {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border: 2px solid var(--purple);
  box-shadow: 0 8px 30px rgba(83, 74, 183, 0.2);
  background: linear-gradient(180deg, rgba(83, 74, 183, 0.05) 0%, rgba(20, 18, 28, 0.45) 100%);
}

.price-card.featured:hover {
  box-shadow: 0 16px 40px rgba(83, 74, 183, 0.3);
}

.price-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--purple-tint);
  color: var(--purple);
  border: 1px solid rgba(121, 111, 240, 0.2);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 99px;
  margin-bottom: 16px;
}

.price-card:nth-child(even) .price-badge {
  background: var(--teal-tint);
  color: var(--teal);
  border-color: rgba(29, 158, 117, 0.2);
}

.price-card .name {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}

.price-card .desc {
  color: var(--ink-soft);
  font-size: 13.5px;
  margin-bottom: 24px;
  min-height: 42px;
}

.price-box {
  margin-bottom: 24px;
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 20px;
}

.price-box .impl {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
}

.price-box .impl-label {
  font-size: 11px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.price-box .monthly {
  font-size: 16px;
  color: var(--ink-soft);
}

.price-box .monthly strong {
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 20px;
}

.price-box .monthly-label {
  font-size: 11px;
  color: var(--ink-soft);
}

.price-card .price-btn {
  margin-bottom: 24px;
}

.feat-title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-card ul {
  list-style: none;
}

.price-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-bottom: 12px;
  line-height: 1.45;
}

.price-card li svg {
  flex-shrink: 0;
  margin-top: 3px;
}

/* FAQ Section */
.faq-wrap {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--card-border);
  border-radius: 12px;
  background: var(--card-bg);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--card-border-hover);
}

.faq-trigger {
  width: 100%;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.faq-trigger svg {
  transition: transform 0.3s var(--transition);
  color: var(--ink-soft);
  flex-shrink: 0;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 24px;
  color: var(--ink-soft);
  font-size: 15px;
  border-top: 1px solid transparent;
}

.faq-item.active {
  background: rgba(20, 18, 28, 0.6);
  border-color: rgba(121, 111, 240, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.faq-item.active .faq-trigger svg {
  transform: rotate(180deg);
  color: var(--purple);
}

.faq-item.active .faq-content {
  max-height: 300px;
  padding: 0 24px 24px;
  border-top-color: var(--card-border);
}

/* Contact Form Section */
.contact-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px;
}

.form-group {
  margin-bottom: 24px;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  background: rgba(7, 6, 9, 0.6);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 10px rgba(121, 111, 240, 0.15);
  background: rgba(7, 6, 9, 0.8);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a19fb0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-checkbox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 30px;
  cursor: pointer;
  user-select: none;
}

.form-checkbox input {
  margin-top: 4px;
  accent-color: var(--purple);
  width: 16px;
  height: 16px;
}

.form-checkbox span {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.4;
}

.form-checkbox a {
  color: var(--purple);
  text-decoration: none;
}

.form-checkbox a:hover {
  text-decoration: underline;
}

/* Feedback states */
.form-feedback {
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 24px;
  display: none;
}

.form-feedback.success {
  display: block;
  background: rgba(29, 158, 117, 0.15);
  border: 1px solid var(--teal);
  color: #a3ffd4;
}

.form-feedback.error {
  display: block;
  background: rgba(255, 76, 76, 0.12);
  border: 1px solid #ff4c4c;
  color: #ffb3b3;
}

.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 0.8s ease-in-out infinite;
  margin-right: 10px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Footer */
footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--card-border);
  color: var(--ink-faint);
  font-size: 13px;
  text-align: center;
  background: var(--bg-darker);
}

footer .wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.footer-disclaimer {
  max-width: 800px;
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  width: 100%;
  border-top: 1px solid rgba(255,255,255,0.03);
  padding-top: 24px;
  margin-top: 12px;
}

.footer-copy {
  font-size: 13.5px;
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-links a {
  color: var(--ink-faint);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--ink-soft);
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 44px;
  }
  .section-head h2 {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 16px;
    padding: 16px 0;
  }
  .nav-links {
    gap: 16px;
  }
  .hero {
    padding: 64px 0 40px;
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero p {
    font-size: 16px;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    max-width: 300px;
    margin: 0 auto;
  }
  .contact-wrap {
    padding: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  .timeline::before {
    left: 20px;
  }
  .timeline-item {
    padding-left: 54px;
  }
  .timeline-number {
    left: 0;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 30px;
  }
}
