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

:root {
  --primary-color: #6366F1;
  --secondary-color: #8B5CF6;
  --success-color: #10B981;
  --warning-color: #F59E0B;
  --dark-bg: #1F2937;
  --darker-bg: #111827;
  --text-light: #F9FAFB;
  --text-gray: #9CA3AF;
  --white: #FFFFFF;
}

html {
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-light);
  background-color: var(--darker-bg);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
  width: 100%;
}

/* Navigation Bar */
.navbar {
  background-color: var(--darker-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.navbar-logo .logo {
  height: 32px;
}

.footer-logo .logo {
  height: 32px;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.navbar-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.navbar-links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

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

.navbar-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.btn-link {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 16px;
  box-sizing: border-box;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  border-color: var(--primary-color);
  background-color: rgba(99, 102, 241, 0.1);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-white {
  background-color: var(--white);
  color: var(--primary-color);
  font-weight: 700;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(255, 255, 255, 0.3);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

/* Hero Section */
.hero-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero-title .highlight {
  color: var(--primary-color);
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-gray);
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  flex-direction: row;
  align-items: stretch;
}

.hero-actions .btn {
  height: 100%;
}

.hero-stats {
  display: flex;
  gap: 32px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-gray);
  font-size: 14px;
}

.check-icon {
  flex-shrink: 0;
}

.hero-image {
  position: relative;
}

.hero-img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background-color: var(--white);
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.badge-content {
  display: flex;
  flex-direction: column;
}

.badge-main {
  font-size: 24px;
  font-weight: 800;
  color: var(--success-color);
}

.badge-subtitle {
  font-size: 14px;
  color: var(--text-gray);
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 18px;
  color: var(--text-gray);
}

/* Features Section */
.features-section {
  padding: 80px 0;
  background-color: var(--darker-bg);
}

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

.feature-card {
  background-color: var(--dark-bg);
  padding: 32px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.feature-card p {
  color: var(--text-gray);
  margin-bottom: 20px;
  line-height: 1.6;
}

.feature-list {
  list-style: none;
  padding-inline-start: 0;
}

.feature-list li {
  color: var(--text-gray);
  margin-bottom: 8px;
  padding-left: 24px;
  position: relative;
  line-height: 1.6;
}

.feature-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success-color);
  font-weight: bold;
  line-height: 1.6;
}

/* How it Works Section */
.how-it-works-section {
  padding: 80px 0;
  background-color: var(--dark-bg);
}

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

.step-card {
  text-align: center;
  padding: 32px;
}

.step-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 28px;
  font-weight: 800;
}

.step-icon-1 {
  background: linear-gradient(135deg, #3B82F6, #2563EB);
}

.step-icon-2 {
  background: linear-gradient(135deg, #10B981, #059669);
}

.step-icon-3 {
  background: linear-gradient(135deg, #F59E0B, #D97706);
}

.step-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.step-card p {
  color: var(--text-gray);
  line-height: 1.6;
}

/* Pricing Section */
.pricing-section {
  padding: 80px 0;
  background-color: var(--darker-bg);
}

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

.pricing-card {
  background-color: var(--dark-bg);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.pricing-featured {
  border: 2px solid var(--primary-color);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
}

.pricing-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.pricing-header {
  margin-bottom: 24px;
}

.pricing-header h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-header p {
  color: var(--text-gray);
  font-size: 14px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  margin-bottom: 32px;
}

.currency {
  font-size: 24px;
  font-weight: 700;
}

.amount {
  font-size: 56px;
  font-weight: 800;
  margin: 0 4px;
}

.period {
  font-size: 18px;
  color: var(--text-gray);
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  padding-inline-start: 0;
  flex-grow: 1;
}

.pricing-features li {
  padding: 12px 0;
  padding-left: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-gray);
  position: relative;
  line-height: 1.6;
}

.pricing-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 12px;
  color: var(--success-color);
  font-weight: bold;
  line-height: 1.6;
}

.pricing-features li:last-child {
  border-bottom: none;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
  opacity: 0.3;
}

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

.cta-content h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
}

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

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 24px;
}

.cta-actions .btn {
  width: 200px;
  height: 50px;
}

.cta-note {
  font-size: 14px;
  opacity: 0.8;
  text-align: center;
}

/* Footer */
.footer {
  background-color: var(--darker-bg);
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 700;
}

.footer-logo .logo {
  height: 32px;
}

.footer-column p {
  color: var(--text-gray);
  line-height: 1.6;
}

.footer-column h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-column ul {
  list-style: none;
  padding-inline-start: 0;
}

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

.footer-column ul li a {
  color: var(--text-gray);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.social-links {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  color: var(--text-gray);
}

.social-link:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

.social-link .icon {
  width: 20px;
  height: 20px;
}

/* Responsive Design */
@media (max-width: 968px) {
  .hero-content,
  .features-grid,
  .steps-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-title {
    font-size: 36px;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .navbar-links {
    display: none;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-content h2 {
    font-size: 32px;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 28px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .amount {
    font-size: 40px;
  }
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.modal-content {
  position: relative;
  background-color: var(--dark-bg);
  border-radius: 16px;
  width: calc(100% - 40px);
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  animation: modalSlideIn 0.3s ease-out;
  box-sizing: border-box;
}

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

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-sizing: border-box;
  gap: 16px;
}

.modal-header h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  flex: 1;
  min-width: 0;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-gray);
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s;
  flex-shrink: 0;
}

.modal-close:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
}

/* Modal Body & Footer */
.modal-body {
  padding: 24px;
  box-sizing: border-box;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-sizing: border-box;
}

/* Contact Form Styles */
.contact-form {
  padding: 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

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

.form-input {
  width: 100%;
  padding: 12px 16px;
  background-color: var(--darker-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-light);
  font-size: 14px;
  transition: all 0.3s;
  font-family: inherit;
  resize: vertical;
  box-sizing: border-box;
  max-width: 100%;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-input::placeholder {
  color: var(--text-gray);
}

textarea.form-input {
  min-height: 120px;
}

.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
  box-sizing: border-box;
  flex-wrap: wrap;
}

/* Modal Responsive */
@media (max-width: 768px) {
  .modal {
    padding: 16px;
  }

  .modal-content {
    width: calc(100% - 32px);
  }

  .modal-header {
    padding: 20px;
  }

  .contact-form {
    padding: 20px;
  }
}

@media (max-width: 640px) {
  .modal {
    padding: 0;
    align-items: stretch;
  }

  .modal-content {
    width: 100%;
    max-width: 100%;
    max-height: 100vh;
    border-radius: 0;
    height: 100vh;
  }

  .modal-header {
    padding: 16px;
  }

  .modal-header h2 {
    font-size: 20px;
  }

  .contact-form {
    padding: 16px;
  }

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

  .form-actions {
    flex-direction: column-reverse;
    gap: 8px;
    margin-top: 16px;
  }

  .form-actions .btn {
    width: 100%;
  }

  .btn {
    font-size: 14px;
    padding: 8px 16px;
  }
}
