@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Colors */
  --bg-dark: #070913;
  --bg-deep: #0b0f19;
  --bg-card: rgba(13, 18, 36, 0.5);
  --bg-card-hover: rgba(20, 27, 54, 0.7);
  
  --primary: #8B5CF6;       /* Vibrant Purple */
  --primary-glow: rgba(139, 92, 246, 0.15);
  --primary-hover: #7C3AED;
  
  --secondary: #6366F1;     /* Navy-adjacent Indigo */
  --secondary-glow: rgba(99, 102, 241, 0.15);
  
  --accent: #D946EF;        /* Pink Accent */
  --accent-cyan: #06B6D4;   /* Cyan Accent */
  
  --text-primary: #F9FAFB;
  --text-secondary: #E5E7EB;
  --text-muted: #9CA3AF;
  
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);
  --border-active: rgba(139, 92, 246, 0.4);
  
  /* Fonts */
  --font-sans: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  
  /* Layout */
  --container-max: 1200px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Background Ambient Orbs */
body::before, body::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  filter: blur(140px);
  opacity: 0.15;
}

body::before {
  top: -100px;
  right: -100px;
  background: radial-gradient(circle, var(--primary), transparent 70%);
  animation: pulse-orb-1 15s infinite alternate ease-in-out;
}

body::after {
  bottom: 10%;
  left: -150px;
  background: radial-gradient(circle, var(--secondary), transparent 70%);
  animation: pulse-orb-2 18s infinite alternate ease-in-out;
}

.ambient-orb-3 {
  position: absolute;
  top: 45%;
  right: -100px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent), transparent 70%);
  z-index: -1;
  pointer-events: none;
  filter: blur(150px);
  opacity: 0.08;
  animation: pulse-orb-3 20s infinite alternate ease-in-out;
}

@keyframes pulse-orb-1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-80px, 100px) scale(1.1); }
}

@keyframes pulse-orb-2 {
  0% { transform: translate(0, 0) scale(1.1); }
  100% { transform: translate(100px, -50px) scale(0.9); }
}

@keyframes pulse-orb-3 {
  0% { transform: translate(0, 0) scale(0.9); }
  100% { transform: translate(-150px, 80px) scale(1.2); }
}

/* Layout Elements */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

header {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 9, 19, 0.85);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo-icon {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

.logo-text span {
  background: linear-gradient(135deg, #A855F7, #D946EF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, #7073F9, #9D6EFA);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), #F43F5E);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(217, 70, 239, 0.25);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(217, 70, 239, 0.4);
}

.btn-full {
  width: 100%;
  padding: 1rem;
  font-size: 1.05rem;
}

/* Glassmorphic Card */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.08), 0 10px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(-4px);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--secondary), var(--primary), transparent);
  opacity: 0;
  transition: var(--transition-normal);
}

.card:hover::before {
  opacity: 0.8;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.badge-purple {
  background: rgba(139, 92, 246, 0.1);
  color: #C084FC;
  border-color: rgba(139, 92, 246, 0.2);
}

.badge-cyan {
  background: rgba(6, 182, 212, 0.1);
  color: #22D3EE;
  border-color: rgba(6, 182, 212, 0.2);
}

.badge-outline {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
  border-color: var(--border);
}

/* Headings */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--text-primary);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 2.75rem;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, #F9FAFB 30%, #E5E7EB 60%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rainbow-text {
  background: linear-gradient(90deg, #A855F7, #6366F1, #06B6D4, #D946EF, #A855F7);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 8s linear infinite;
}

@keyframes shine {
  to { background-position: 200% center; }
}

/* Form Styling */
.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(10, 15, 30, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition-fast);
  backdrop-filter: blur(4px);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
  background: rgba(10, 15, 30, 0.85);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-align-center {
  align-items: center;
}

/* Hero Base */
.hero {
  padding: 5rem 0 4rem 0;
  text-align: center;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 1.25rem auto 2rem auto;
}

/* Icons for AI Tools */
.tool-icon-container {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.tool-badge {
  background: rgba(13, 18, 36, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.85rem;
  backdrop-filter: blur(8px);
  transition: var(--transition-fast);
}

.tool-badge:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  background: rgba(20, 27, 54, 0.8);
  box-shadow: 0 8px 20px var(--primary-glow);
}

.tool-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Pricing Switcher styling */
.pricing-switch-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2.5rem 0 1.5rem 0;
}

.switch-label {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.switch-label.active {
  color: var(--text-primary);
}

.pricing-switch {
  position: relative;
  width: 60px;
  height: 32px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  padding: 4px;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: var(--transition-fast);
}

.pricing-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: var(--transition-fast);
}

.pricing-switch.active::after {
  left: 31px;
}

.pricing-switch.active {
  background: rgba(139, 92, 246, 0.2);
  border-color: var(--primary);
}

/* Accordion (FAQ) */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  margin: 3rem auto 0 auto;
}

.faq-item {
  background: rgba(13, 18, 36, 0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  text-align: left;
  font-weight: 600;
  font-size: 1.05rem;
  font-family: var(--font-sans);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-answer-inner {
  padding-bottom: 1.25rem;
}

.faq-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-active);
  background: rgba(13, 18, 36, 0.7);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-item.active .faq-answer {
  max-height: 200px; /* Adjust according to content size */
}

/* Footer styling */
footer {
  margin-top: 6rem;
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  background: rgba(5, 7, 15, 0.9);
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

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

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

/* Modal Checkout */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 5, 12, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: var(--bg-deep);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(139, 92, 246, 0.15);
  transform: translateY(20px);
  transition: transform var(--transition-normal);
  position: relative;
}

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

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--text-primary);
}

/* Payment tabs */
.payment-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
  margin-top: 1rem;
}

.payment-tab {
  flex: 1;
  padding: 0.75rem 0.5rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: var(--transition-fast);
  text-align: center;
}

.payment-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.payment-pane {
  display: none;
}

.payment-pane.active {
  display: block;
}

.bank-transfer-info {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.bank-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.bank-row:last-child {
  border-bottom: none;
}

.bank-label {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.bank-value {
  font-weight: 600;
  color: var(--text-primary);
  font-family: var(--font-mono);
}

/* Confetti canvas */
#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999;
}

/* Features Grid details */
.feature-card-icon {
  width: 44px;
  height: 44px;
  background: rgba(139, 92, 246, 0.1);
  border-radius: var(--radius-md);
  border: 1px solid rgba(139, 92, 246, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

/* Pricing Grid Layout */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.pricing-card-price {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.pricing-card-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-card-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pricing-card-features li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pricing-card-features li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 800;
}

.pricing-card.popular {
  border-color: var(--primary);
  background: radial-gradient(circle at top right, rgba(139, 92, 246, 0.1), transparent), var(--bg-card);
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.12);
}

.pricing-card-pop-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
}

/* Download Vault styling */
.download-vault {
  margin-top: 3rem;
}

.download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.download-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-align: left;
}

.pdf-icon {
  width: 50px;
  height: 50px;
  background: rgba(239, 68, 68, 0.1);
  border-radius: var(--radius-md);
  border: 1px solid rgba(239, 68, 68, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #EF4444;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.download-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.download-meta {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Responsive adjustments */
@media (max-width: 968px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
  h1 { font-size: 1.85rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .download-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .download-card .btn {
    width: 100%;
  }
  .pricing-switch-container {
    flex-wrap: wrap;
  }
}

#systeme-form-container {
  width: 100%;
  min-height: 250px;
  position: relative;
  overflow: hidden;
}
#systeme-form-container iframe {
  opacity: 0;
  transition: opacity 0.4s ease;
  width: 100% !important;
  display: block;
}
