:root {
  --bg-primary: #0a0f12;
  --bg-secondary: #0d1419;
  --bg-accent: #111b21;
  --text-primary: #f2f5f8;
  --text-secondary: #a3b8cc;
  --accent-emerald: #0ae29a;
  --accent-coral: #ff7b72;
  --accent-gold: #f2c94c;
  --glass-bg: rgba(17, 27, 33, 0.65);
  --glass-border: rgba(255, 255, 255, 0.08);
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --transition-normal: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --container-width: 1200px;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-normal);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

.section-padding {
  padding: 100px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
  border: 1px solid var(--accent-emerald);
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-emerald), #059b66);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.86, 0, 0.07, 1);
}

.btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn:hover {
  border-color: transparent;
  color: #000;
  box-shadow: 0 10px 20px rgba(10, 226, 154, 0.2);
}

.heading-secondary {
  font-size: 3rem;
  margin-bottom: 24px;
  background: linear-gradient(to right, var(--text-primary), var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mb-small { margin-bottom: 16px; }
.mb-medium { margin-bottom: 40px; }
.mb-large { margin-bottom: 80px; }
.text-center { text-align: center; }

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 0;
  background: rgba(10, 15, 18, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-normal);
}

header.scrolled {
  padding: 16px 0;
  background: rgba(10, 15, 18, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--accent-emerald);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-emerald);
  transition: var(--transition-normal);
}

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

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

.hero {
  height: 100vh;
  min-height: 800px;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/hero.png');
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(10, 15, 18, 0.95) 0%, rgba(10, 15, 18, 0.7) 50%, rgba(10, 15, 18, 0.3) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 650px;
  animation: fadeUp 1s ease forwards;
}

.hero-tagline {
  display: inline-block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-coral);
  margin-bottom: 24px;
  font-weight: 600;
}

.hero-title {
  font-size: 4.5rem;
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 48px 32px;
  border-radius: 8px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-emerald);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(10, 226, 154, 0.3);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--accent-emerald);
  margin-bottom: 24px;
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 1rem;
}

.split-section {
  display: flex;
  align-items: center;
  gap: 64px;
}

.split-content {
  flex: 1;
}

.split-image {
  flex: 1;
  position: relative;
}

.img-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.img-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  pointer-events: none;
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.img-wrapper:hover img {
  transform: scale(1.05);
}

.accent-box {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: 32px;
  border-radius: 8px;
  z-index: 2;
  border-left: 3px solid var(--accent-coral);
}

.accent-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-style: italic;
}

.stats-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 32px;
  background: linear-gradient(135deg, var(--bg-accent), #0f181d);
  padding: 64px;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.testimonials {
  background-color: var(--bg-secondary);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.testimonial-card {
  background: var(--glass-bg);
  padding: 40px;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  position: relative;
}

.quote-icon {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.05);
  font-family: var(--font-heading);
  line-height: 1;
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 24px;
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--accent-emerald);
}

.author-details h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.author-details span {
  font-size: 0.9rem;
  color: var(--accent-coral);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--glass-border);
  padding: 24px 0;
}

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

.faq-icon {
  font-size: 1.5rem;
  color: var(--accent-emerald);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  color: var(--text-secondary);
  padding-top: 0;
}

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

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-top: 16px;
}

.form-section {
  position: relative;
  padding: 120px 0;
}

.form-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/form-bg.png');
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.form-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 15, 18, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: -1;
}

.multi-step-form {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 56px;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.progress-bar {
  display: flex;
  margin-bottom: 40px;
  position: relative;
}

.progress-bar::before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--glass-border);
  z-index: 1;
}

.progress-track {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  height: 2px;
  background: var(--accent-emerald);
  z-index: 2;
  transition: width 0.4s ease;
}

.step-indicator {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-accent);
  border: 2px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: bold;
  position: relative;
  z-index: 3;
  margin: auto;
  transition: var(--transition-normal);
}

.step-indicator.active {
  background: var(--accent-emerald);
  border-color: var(--accent-emerald);
  color: #000;
  box-shadow: 0 0 15px rgba(10, 226, 154, 0.4);
}

.step-indicator.completed {
  background: var(--accent-emerald);
  border-color: var(--accent-emerald);
  color: transparent;
}

.step-indicator.completed::after {
  content: '✓';
  position: absolute;
  color: #000;
  font-size: 1.2rem;
}

.form-step {
  display: none;
  animation: fadeIn 0.5s ease;
}

.form-step.active {
  display: block;
}

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

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 16px 20px;
  background: rgba(13, 20, 25, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-normal);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent-emerald);
  background: rgba(13, 20, 25, 0.8);
  box-shadow: 0 0 0 3px rgba(10, 226, 154, 0.1);
}

.radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.radio-label {
  display: flex;
  background: rgba(13, 20, 25, 0.6);
  border: 1px solid var(--glass-border);
  padding: 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-normal);
  align-items: center;
}

.radio-label:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.radio-input {
  display: none;
}

.radio-input:checked + .radio-text {
  color: var(--accent-emerald);
}

.radio-label:has(.radio-input:checked) {
  border-color: var(--accent-emerald);
  background: rgba(10, 226, 154, 0.05);
}

.form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--glass-border);
  position: static;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--glass-border);
  color: var(--text-primary);
  box-shadow: none;
}

.btn-secondary::before {
  display: none;
}

footer {
  background-color: #070a0c;
  padding: 80px 0 40px;
  border-top: 1px solid var(--glass-border);
}

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

.footer-desc {
  color: var(--text-secondary);
  margin-top: 24px;
  max-width: 400px;
}

.footer-heading {
  font-size: 1.25rem;
  margin-bottom: 24px;
  font-family: var(--font-body);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

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

.contact-info {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-info p {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.copy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.legal-links {
  display: flex;
  gap: 24px;
}

.legal-page {
  padding: 160px 0 100px;
}

.legal-content {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 56px;
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h1 {
  margin-bottom: 24px;
}

.legal-content h2 {
  font-size: 1.8rem;
  margin: 40px 0 16px;
  color: var(--text-primary);
}

.legal-content p, .legal-content ul {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.legal-content ul {
  padding-left: 24px;
  list-style: disc;
}

.success-container {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.success-box {
  background: var(--glass-bg);
  border: 1px solid var(--accent-emerald);
  padding: 64px;
  border-radius: 12px;
  max-width: 600px;
  box-shadow: 0 0 40px rgba(10, 226, 154, 0.1);
}

.success-icon {
  font-size: 4rem;
  color: var(--accent-emerald);
  margin-bottom: 24px;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

@media (max-width: 992px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .split-section { flex-direction: column; }
  .hero-title { font-size: 3.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .radio-group { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.8rem; }
  .multi-step-form { padding: 32px; }
  .footer-grid { grid-template-columns: 1fr; }
  .copy { flex-direction: column; gap: 16px; text-align: center; }
}
