:root {
  --indigo-50: #f0f0ff;
  --indigo-100: #e0dfff;
  --indigo-300: #c2c0f5;
  --indigo-500: #7370e8;
  --indigo-600: #4c48da;
  --indigo-700: #3733c9;
  --indigo-900: #1a1766;
  --text-900: #0a0a0a;
  --text-700: #2d2d2d;
  --text-600: #595959;
  --text-500: #737373;
  --line: #e5e5e5;
  --line-light: #f5f5f5;
  --bg: #ffffff;
  --bg-subtle: #fafafa;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 60px rgba(76, 72, 218, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text-900);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 600;
  font-size: 20px;
  color: var(--text-900);
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: opacity 0.2s;
}

.logo:hover {
  opacity: 0.7;
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  color: var(--text-700);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

nav a:after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--indigo-600);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

nav a:hover {
  color: var(--indigo-600);
}
nav a:hover:after {
  transform: scaleX(1);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--indigo-600), var(--indigo-700));
  color: #fff;
  box-shadow: 0 4px 14px rgba(76, 72, 218, 0.25);
}

.btn-primary:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--indigo-700), var(--indigo-900));
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(76, 72, 218, 0.35);
}

.btn-primary:hover:before {
  opacity: 1;
}
.btn-primary span {
  position: relative;
  z-index: 1;
}

.btn-ghost {
  background: transparent;
  color: var(--text-700);
  border: 1.5px solid var(--line);
}

.btn-ghost:hover {
  background: var(--bg-subtle);
  border-color: var(--text-700);
}

/* Hero */
.hero {
  padding: 180px 0 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero:before {
  content: "";
  position: absolute;
  top: -50%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(76, 72, 218, 0.08),
    transparent 70%
  );
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--text-900), var(--text-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle {
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--text-600);
  margin-bottom: 12px;
  font-weight: 500;
  animation: fadeInUp 0.8s ease 0.1s backwards;
}

.hero-meta {
  font-size: 14px;
  color: var(--text-500);
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.3s backwards;
}

/* Trust Strip */
.trust-strip {
  padding: 32px 0;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--bg-subtle),
    transparent
  );
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: white;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-700);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.badge:before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--indigo-600);
  color: white;
  border-radius: 50%;
  font-size: 11px;
}

.badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Section */
.section {
  padding: 120px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text-900);
}

.section-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-600);
  max-width: 700px;
  margin: 0 auto;
}

/* Cards */
.card-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--indigo-50), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--indigo-300);
}

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

.card-content {
  position: relative;
  z-index: 1;
}

.card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--indigo-600), var(--indigo-700));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-md);
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-900);
  margin-bottom: 12px;
}

.card-text {
  font-size: 15px;
  color: var(--text-600);
  line-height: 1.6;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.feature {
  text-align: center;
  padding: 24px;
}

.feature-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--indigo-600), var(--indigo-700));
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-xl);
}

.feature-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-900);
  margin-bottom: 8px;
}

.feature-text {
  font-size: 15px;
  color: var(--text-600);
}

/* Comparison Table */
.comparison {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 28px 32px;
  border-bottom: 1px solid var(--line-light);
  transition: background 0.2s;
}

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

.comparison-row:hover {
  background: var(--bg-subtle);
}

.comparison-label {
  font-weight: 600;
  color: var(--text-900);
  display: flex;
  align-items: center;
  gap: 12px;
}

.comparison-label:before {
  content: "×";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #fee;
  color: #c00;
  border-radius: 50%;
  flex-shrink: 0;
  font-weight: 700;
}

.comparison-value {
  color: var(--text-600);
  display: flex;
  align-items: center;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--indigo-900), var(--indigo-700));
  color: white;
  border-radius: var(--radius-xl);
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.cta-section:before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
}

.cta-section .btn-primary {
  background: white;
  color: var(--indigo-700);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.cta-section .btn-primary:hover {
  background: var(--indigo-50);
}

/* Form */
.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

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

.form-label {
  display: block;
  font-weight: 600;
  color: var(--text-900);
  margin-bottom: 8px;
  font-size: 14px;
}

.form-input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 16px;
  transition: all 0.3s;
  background: white;
}

.form-input:focus {
  outline: none;
  border-color: var(--indigo-600);
  box-shadow: 0 0 0 4px rgba(76, 72, 218, 0.1);
}

.form-help {
  font-size: 13px;
  color: var(--text-500);
  margin-top: 8px;
}

.form-submit {
  width: 100%;
}

/* Footer */
footer {
  background: var(--bg-subtle);
  border-top: 1px solid var(--line);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--text-600);
  font-size: 14px;
}

.footer-links h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-900);
}

.footer-links a {
  display: block;
  color: var(--text-600);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 12px;
  transition: color 0.2s;
}

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

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--text-500);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  .header-inner {
    height: 64px;
  }
  nav {
    display: none;
  }
  .hero {
    padding: 140px 0 80px;
  }
  .section {
    padding: 80px 0;
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .comparison-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .cta-section {
    padding: 48px 24px;
  }
}

/* Animations */
.fade-in {
  animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.slide-up {
  animation: slideUp 0.6s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
