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

:root {
  --primary-color: #4f46e5;
  --primary-hover: #4338ca;
  --secondary-color: #ec4899;
  --dark-bg: #0f172a;
  --darker-bg: #020617;
  --light-bg: #f8fafc;
  --text-dark: #1e293b;
  --text-light: #94a3b8;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
  background-color: var(--light-bg);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.025em;
}

/* Utilities */
.text-gradient {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-primary-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.btn-primary-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
  color: white;
}

/* Navbar */
.navbar {
  padding: 1.5rem 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark) !important;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
  padding: 160px 0 100px;
  background: radial-gradient(circle at top right, rgba(236, 72, 153, 0.1), transparent 40%),
              radial-gradient(circle at bottom left, rgba(79, 70, 229, 0.1), transparent 40%);
  position: relative;
  overflow: hidden;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
}

.hero-mockup {
  position: relative;
  z-index: 10;
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.hero-mockup:hover {
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
}

/* Features */
.feature-card {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  height: 100%;
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  background: rgba(79, 70, 229, 0.1);
  color: var(--primary-color);
}

/* Pricing */
.pricing-section {
  background-color: var(--dark-bg);
  color: white;
  padding: 100px 0;
  position: relative;
}

.pricing-card {
  background: var(--darker-bg);
  border-radius: 24px;
  padding: 3rem 2rem;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 25px 50px -12px rgba(79, 70, 229, 0.25);
}

.pricing-card.popular {
  border-color: var(--primary-color);
  background: linear-gradient(to bottom, rgba(79, 70, 229, 0.1), var(--darker-bg));
}

.popular-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--primary-gradient);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.price {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.price-currency {
  font-size: 1.5rem;
  vertical-align: super;
}

.price-period {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 400;
}

.pricing-features li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  color: #cbd5e1;
}

.pricing-features li i {
  color: var(--secondary-color);
  margin-right: 0.75rem;
}

/* Anchor offset for fixed navbar */
section[id] {
  scroll-margin-top: 90px;
}

/* FAQ */
.faq-accordion .accordion-item {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px !important;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq-accordion .accordion-item:has(.accordion-button:not(.collapsed)) {
  box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.15);
}

.faq-accordion .accordion-button {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-dark);
  padding: 1.25rem 1.5rem;
  background: white;
  box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--primary-color);
  background: rgba(79, 70, 229, 0.04);
}

.faq-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.faq-accordion .accordion-body {
  color: var(--text-light);
  padding: 0.25rem 1.5rem 1.5rem;
  line-height: 1.7;
}

/* Contact */
.contact-section {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.07), rgba(236, 72, 153, 0.05));
}

.contact-panel {
  background: #fff;
  border: 1px solid rgba(79, 70, 229, 0.1);
  border-radius: 24px;
  box-shadow: 0 20px 50px -20px rgba(15, 23, 42, 0.22);
}

.contact-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #fff;
  font-size: 1.4rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.captcha-question {
  min-width: 82px;
  justify-content: center;
  color: var(--primary-color);
  font-weight: 800;
  background: rgba(79, 70, 229, 0.08);
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Legal pages */
.legal-content {
  padding-top: 118px !important;
}

.legal-card {
  max-width: 1140px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 20px;
  box-shadow: 0 18px 45px -25px rgba(15, 23, 42, 0.3);
}

.legal-page-head .badge {
  font-size: 0.72rem;
}

.legal-page-head h1 {
  font-size: 1.9rem;
}

.legal-page-head p {
  font-size: 0.9rem;
}

@media (max-width: 576px) {
  .legal-page-head h1 {
    font-size: 1.55rem;
  }
}

.legal-card h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: #64748b;
  line-height: 1.8;
}

/* Footer */
footer {
  background: var(--darker-bg);
  color: white;
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* Toggle Switch */
.form-switch .form-check-input {
  width: 3em;
  height: 1.5em;
  background-color: rgba(255,255,255,0.2);
  border-color: transparent;
}
.form-switch .form-check-input:checked {
  background-color: var(--primary-color);
}
