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

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  background-attachment: fixed;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: white;
}

body {
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
}

.modern-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-navbar.scrolled {
  background: rgba(15, 23, 42, 0);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

.nav-container {
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 40px;
}

.nav-brand {
  flex: 0 0 auto;
  margin-right: auto;
}

.nav-brand a {
  text-decoration: none;
  cursor: pointer;
}

.brand-name {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  color: white;
  letter-spacing: -0.5px;
  transition: opacity 0.2s ease;
}

.nav-brand a:hover .brand-name {
  opacity: 0.8;
}

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-link {
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
  white-space: nowrap;
  color: white;
  background: transparent;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.nav-cta {
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
}

.nav-cta:hover {
  background: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
}

.hamburger-menu span {
  width: 28px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
  display: block;
}

.hamburger-menu.active span:nth-child(1),
.hamburger-menu.active span:nth-child(2),
.hamburger-menu.active span:nth-child(3) {
  display: none;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 280px;
  max-width: 80vw;
  height: 100vh;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  z-index: 999;
  transition: left 0.3s ease;
  overflow-y: auto;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
}

.mobile-menu.active {
  left: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu-header h2 {
  color: white;
  font-size: 20px;
  margin: 0;
  font-weight: 700;
}

.close-menu {
  background: transparent;
  border: none;
  color: white;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-links {
  padding: 20px 0;
}

.mobile-menu-link {
  display: block;
  padding: 16px 20px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: background 0.2s ease;
  border-left: 4px solid transparent;
}

.mobile-menu-link:hover,
.mobile-menu-link:active {
  background: rgba(255, 255, 255, 0.1);
  border-left-color: white;
}

.desktop-only {
  display: flex;
}

.hero {
  padding-top: 120px;
  text-align: center;
  padding-bottom: 3rem;
  padding-left: max(2rem, env(safe-area-inset-left));
  padding-right: max(2rem, env(safe-area-inset-right));
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 6.0rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #fff, #f0f0f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero p {
  font-size: 1.125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0.5rem auto;
  line-height: 1.6;
}

/* ========== PAYMENT SECTION ========== */
.payment-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}

.showcase-card {
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.1);
}

/* ========== PROFESSIONAL EMAIL SECTION ========== */
.professional-id-section {
  max-width: 500px;
  margin: 0 auto;
}

.professional-id-section .showcase-card {
  text-align: center;
  padding: 3rem 2rem;
}

.professional-id-section h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
  color: white;
}

.professional-id-section p {
  margin-bottom: 2rem;
  opacity: 0.9;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.professional-id-section input {
  width: 100%;
  max-width: 350px;
  padding: 14px 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  font-size: 16px;
  margin-bottom: 1.5rem;
  transition: all 0.2s ease;
}

.professional-id-section input:focus {
  outline: none;
  border-color: #007AFF;
  background: white;
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.professional-id-section input::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

.continue-btn {
  padding: 14px 32px;
  background: #007AFF;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.continue-btn:hover {
  background: #0056CC;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

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

.pricing-calculator {
  animation: fadeIn 0.4s ease-in;
}

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

.calculator-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 2.5rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pricing-summary {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.2), rgba(88, 86, 214, 0.2));
  border-radius: 16px;
  border: 2px solid rgba(0, 122, 255, 0.3);
  margin-bottom: 2.5rem;
}

.summary-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.summary-price {
  font-size: 4rem;
  font-weight: 800;
  color: white;
  margin: 0.5rem 0;
  line-height: 1;
}

.summary-details {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.slider-section {
  margin-bottom: 2.5rem;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.slider-header label {
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
}

.slider-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(0, 122, 255, 0.15);
  padding: 4px 16px;
  border-radius: 8px;
  min-width: 60px;
  text-align: center;
}

.slider {
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.2);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  margin: 1rem 0;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #007AFF;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 122, 255, 0.5);
  transition: all 0.2s ease;
}

.slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.7);
}

.slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #007AFF;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 122, 255, 0.5);
  transition: all 0.2s ease;
}

.slider::-moz-range-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.7);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  padding: 0 4px;
}

.frequency-section {
  margin-bottom: 2.5rem;
}

.section-label {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1rem;
}

.frequency-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.frequency-option {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.frequency-option:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.frequency-option.selected {
  background: rgba(0, 122, 255, 0.2);
  border-color: #007AFF;
  box-shadow: 0 4px 16px rgba(0, 122, 255, 0.3);
}

.frequency-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.frequency-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.25rem;
}

.frequency-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.frequency-price {
  font-size: 0.9rem;
  font-weight: 600;
  color: #007AFF;
}

.features-section {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
}

.feature-icon {
  font-size: 18px;
  min-width: 24px;
  font-weight: bold;
  color: #007AFF;
}

.checkout-btn {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, #007AFF, #0056CC);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 122, 255, 0.3);
  margin-bottom: 1rem;
}

.checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 122, 255, 0.5);
}

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

.checkout-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.back-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.back-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

.enterprise-section {
  margin-top: 3rem;
  animation: fadeIn 0.6s ease-in;
}

.enterprise-card {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 165, 0, 0.15));
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 2.5rem;
  border: 2px solid rgba(255, 215, 0, 0.4);
  box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
  text-align: center;
  position: relative;
}

.enterprise-badge {
  display: inline-block;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #000;
  padding: 8px 20px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 16px rgba(255, 215, 0, 0.4);
}

.enterprise-card h3 {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.75rem;
}

.enterprise-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.enterprise-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-bottom: 2rem;
  text-align: left;
}

.enterprise-feature {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 0;
}

.enterprise-clients {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.enterprise-clients-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
  font-weight: 600;
}

.enterprise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.enterprise-tag {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
}

.enterprise-tag:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.enterprise-btn {
  display: inline-block;
  width: 100%;
  max-width: 400px;
  padding: 18px 32px;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #000;
  text-decoration: none;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(255, 215, 0, 0.4);
}

.enterprise-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
  background: linear-gradient(135deg, #FFA500, #FFD700);
}

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

@media (max-width: 1024px) {
  .hamburger-menu {
    display: flex;
  }

  .desktop-only {
    display: none !important;
  }

  .modern-navbar {
    padding: 15px 0;
    background: rgba(15, 23, 42, 0.95);
  }

  .nav-container {
    padding: 0 20px;
    gap: 15px;
  }

  .brand-name {
    font-size: 18px;
  }

  .nav-cta {
    font-size: 13px;
    padding: 10px 16px;
  }

  .hero {
    padding-top: 100px;
    padding-bottom: 40px;
  }

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

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .payment-section {
    padding: 0 1rem 3rem;
  }

  .calculator-card {
    padding: 2rem 1.5rem;
  }

  .summary-price {
    font-size: 3rem;
  }

  .frequency-options {
    grid-template-columns: 1fr;
  }

  .professional-id-section .showcase-card {
    padding: 2rem 1.5rem;
  }

  .enterprise-card {
    padding: 2rem 1.5rem;
  }

  .enterprise-card h3 {
    font-size: 1.6rem;
  }

  .enterprise-features {
    grid-template-columns: 1fr;
  }

  .enterprise-tags {
    gap: 0.5rem;
  }

  .enterprise-tag {
    font-size: 0.85rem;
    padding: 6px 12px;
  }
}

@media (max-width: 480px) {
  .modern-navbar {
    padding: 12px 0;
  }

  .nav-container {
    padding: 0 15px;
  }

  .brand-name {
    font-size: 16px;
  }

  .nav-cta {
    font-size: 11px;
    padding: 8px 12px;
  }

  .hero {
    padding-top: 90px;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .summary-price {
    font-size: 2.5rem;
  }

  .calculator-card {
    padding: 1.5rem 1rem;
  }

  .slider-value {
    font-size: 1.2rem;
    min-width: 50px;
  }

  .professional-id-section input {
    max-width: 100%;
  }
}