/* Reset and Base Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.7;
  background-color: #f8f9fa;
  color: #333;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header Styles */
header {
  background: linear-gradient(135deg, #0a1733 0%, #15294a 100%);
  color: #fff;
  padding: 0;
  box-shadow: 0 2px 10px rgba(10, 23, 51, 0.2);
  position: relative;
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 25px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

header h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  position: relative;
  z-index: 1;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
  position: relative;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Navigation Styles */
nav {
  background-color: #15294a;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
}

nav a {
  color: #fff;
  padding: 16px 14px;
  text-decoration: none;
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (min-width: 769px) and (max-width: 1024px) {
  nav a {
    padding: 16px 10px;
    font-size: 0.85rem;
  }
}

nav a:hover {
  background-color: #23395d;
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

nav a.active {
  background-color: #0a1733;
  border-bottom-color: #fff;
}

/* Container Styles */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Content Styles */
.container > h2 {
  font-size: 2.5rem;
  color: #0a1733;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 15px;
  letter-spacing: -0.8px;
  line-height: 1.2;
  position: relative;
  padding-bottom: 20px;
}

.container > h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #0a1733 0%, #23395d 100%);
  border-radius: 2px;
}

.container > h3 {
  font-size: 1.6rem;
  color: #0a1733;
  font-weight: 600;
  margin-top: 45px;
  margin-bottom: 20px;
  letter-spacing: -0.4px;
  line-height: 1.3;
  position: relative;
  padding-left: 20px;
}

.container > h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: linear-gradient(180deg, #0a1733 0%, #23395d 100%);
  border-radius: 2px;
}

.container > p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.85;
  margin-bottom: 24px;
  max-width: 900px;
}

.container > p:first-of-type {
  font-size: 1.15rem;
  color: #333;
  font-weight: 400;
  line-height: 1.9;
  margin-bottom: 30px;
  padding: 25px 30px;
  background: linear-gradient(135deg, rgba(229, 237, 247, 0.5) 0%, rgba(240, 244, 250, 0.5) 100%);
  border-left: 4px solid #0a1733;
  border-radius: 8px;
  position: relative;
}

.container > p:first-of-type::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top right, rgba(10, 23, 51, 0.02) 0%, transparent 70%);
  border-radius: 8px;
  pointer-events: none;
}

.container ul {
  list-style: none;
  padding: 0;
  margin: 30px 0 40px;
  display: grid;
  gap: 12px;
}

.container ul li {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.75;
  padding: 18px 20px 18px 55px;
  position: relative;
  background: #fff;
  border: 1px solid #e0e6ed;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.container ul li:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(10, 23, 51, 0.08);
  border-color: #0a1733;
  background: linear-gradient(135deg, rgba(229, 237, 247, 0.3) 0%, rgba(255, 255, 255, 1) 100%);
}

.container ul li::before {
  content: '✓';
  position: absolute;
  left: 18px;
  top: 18px;
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, #0a1733 0%, #23395d 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(10, 23, 51, 0.2);
}

.container a {
  color: #0a1733;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  padding-bottom: 2px;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

.container a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #0a1733 0%, #23395d 100%);
  transition: width 0.3s ease;
}

.container a:hover {
  color: #23395d;
}

.container a:hover::after {
  width: 100%;
}

/* Content Section Styling */
.container > h3 + p {
  margin-top: 10px;
}

/* Resource Links Styling */
.container p a[download] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  margin: 0 2px;
  background: linear-gradient(135deg, rgba(10, 23, 51, 0.05) 0%, rgba(21, 41, 74, 0.05) 100%);
  border-radius: 4px;
  border-bottom: none;
}

.container p a[download]::after {
  display: none;
}

.container p a[download]:hover {
  background: linear-gradient(135deg, rgba(10, 23, 51, 0.1) 0%, rgba(21, 41, 74, 0.1) 100%);
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(10, 23, 51, 0.15);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #e5edf7 0%, #f0f4fa 100%);
  padding: 60px 40px;
  margin-bottom: 50px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(10, 23, 51, 0.08);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(10, 23, 51, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.hero h2 {
  margin-top: 0;
  font-size: 2.5rem;
  color: #0a1733;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #0a1733 0%, #23395d 100%);
  margin: 0 auto 30px;
  border-radius: 2px;
}

.hero-lead {
  font-size: 1.2rem;
  color: #0a1733;
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.6;
}

.hero p {
  font-size: 1.05rem;
  color: #444;
  margin-bottom: 18px;
  text-align: left;
}

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

.section-header h2 {
  font-size: 2.2rem;
  color: #0a1733;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  font-weight: 400;
  margin: 0;
}

/* Steps Grid */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.step {
  background-color: #fff;
  border: 1px solid #e0e6ed;
  border-radius: 12px;
  padding: 30px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #0a1733 0%, #23395d 100%);
  transform: scaleY(0);
  transition: transform 0.4s ease;
  transform-origin: top;
}

.step:hover {
  box-shadow: 0 8px 24px rgba(10, 23, 51, 0.12);
  transform: translateY(-4px);
  border-color: #0a1733;
}

.step:hover::before {
  transform: scaleY(1);
}

.step-number {
  font-size: 3rem;
  font-weight: 700;
  color: #e5edf7;
  line-height: 1;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
  letter-spacing: -2px;
}

.step h3 {
  margin-top: 0;
  margin-bottom: 15px;
  color: #0a1733;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

.step p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, #0a1733 0%, #15294a 100%);
  border-radius: 12px;
  margin: 60px 0 40px;
  padding: 50px 30px;
  box-shadow: 0 8px 30px rgba(10, 23, 51, 0.2);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

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

.cta h3 {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 15px;
  letter-spacing: -0.5px;
}

.cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin: 0 0 30px;
}

.cta .button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background-color: #fff;
  color: #0a1733;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta .button:hover {
  background-color: #f0f4fa;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.cta .button svg {
  transition: transform 0.3s ease;
}

.cta .button:hover svg {
  transform: translateX(4px);
}

/* Footer Styles */
footer {
  background: linear-gradient(135deg, #15294a 0%, #0a1733 100%);
  color: #fff;
  text-align: center;
  padding: 30px 20px;
  margin-top: 60px;
  box-shadow: 0 -2px 10px rgba(10, 23, 51, 0.1);
}

footer p {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    padding: 20px 15px;
  }

  header h1 {
    font-size: 1.6rem;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  nav {
    position: relative;
  }

  .nav-container {
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: #15294a;
  }

  nav.menu-open .nav-container {
    max-height: 1000px;
    transition: max-height 0.4s ease-in;
  }

  nav a {
    padding: 16px 20px;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid transparent;
    white-space: normal;
  }

  nav a:hover {
    background-color: #23395d;
    border-left-color: rgba(255, 255, 255, 0.5);
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }

  nav a.active {
    background-color: #0a1733;
    border-left-color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }

  .container {
    padding: 30px 15px;
  }

  .hero {
    padding: 40px 25px;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero-lead {
    font-size: 1.1rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .step {
    padding: 25px;
  }

  .cta {
    padding: 40px 25px;
  }

  .cta h3 {
    font-size: 1.6rem;
  }

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

  .container > h2 {
    font-size: 1.9rem;
    padding-bottom: 15px;
  }

  .container > h2::after {
    width: 60px;
    height: 3px;
  }

  .container > h3 {
    font-size: 1.35rem;
    margin-top: 35px;
    padding-left: 18px;
  }

  .container > h3::before {
    width: 3px;
    height: 20px;
  }

  .container > p {
    font-size: 1.05rem;
  }

  .container > p:first-of-type {
    font-size: 1.1rem;
    padding: 20px 25px;
  }

  .container ul li {
    font-size: 1rem;
    padding: 16px 18px 16px 50px;
  }

  .container ul li::before {
    left: 16px;
    top: 16px;
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .hero h2 {
    font-size: 1.7rem;
  }

  .step-number {
    font-size: 2.5rem;
  }

  .container > h2 {
    font-size: 1.7rem;
    padding-bottom: 12px;
  }

  .container > h2::after {
    width: 50px;
    height: 3px;
  }

  .container > h3 {
    font-size: 1.25rem;
    padding-left: 16px;
  }

  .container > h3::before {
    width: 3px;
    height: 18px;
  }

  .container > p:first-of-type {
    padding: 18px 20px;
    font-size: 1.05rem;
  }

  .container ul li {
    padding: 14px 16px 14px 48px;
  }

  .container ul li::before {
    left: 14px;
    top: 14px;
    width: 22px;
    height: 22px;
  }
}

/* Login & Checkout Styles */
.login-container,
.checkout-container {
  max-width: 500px;
  margin: 60px auto;
  padding: 0 20px;
}

.login-box,
.checkout-box {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(10, 23, 51, 0.1);
  border: 1px solid #e0e6ed;
}

.login-box h2,
.checkout-box h2 {
  font-size: 2rem;
  color: #0a1733;
  margin-top: 0;
  margin-bottom: 20px;
  text-align: center;
}

.login-info,
.checkout-description {
  text-align: center;
  color: #666;
  margin-bottom: 30px;
  font-size: 1rem;
}

.login-form {
  margin-top: 30px;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  color: #0a1733;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e0e6ed;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus {
  outline: none;
  border-color: #0a1733;
  box-shadow: 0 0 0 3px rgba(10, 23, 51, 0.1);
}

.form-group small {
  display: block;
  margin-top: 6px;
  color: #666;
  font-size: 0.85rem;
}

.button-full {
  width: 100%;
  justify-content: center;
}

.button-large {
  padding: 18px 32px;
  font-size: 1.1rem;
}

.login-footer {
  margin-top: 25px;
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid #e0e6ed;
}

.login-footer p {
  margin: 0;
  color: #666;
}

.alert {
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.alert-error {
  background: #fee;
  border: 1px solid #fcc;
  color: #c33;
}

.alert-warning {
  background: #fff9e6;
  border: 1px solid #ffd;
  color: #996;
}

.alert p {
  margin: 0;
  font-size: 0.95rem;
}

.pricing-box {
  background: linear-gradient(135deg, #e5edf7 0%, #f0f4fa 100%);
  border-radius: 12px;
  padding: 30px;
  margin: 30px 0;
  border: 1px solid #d6e0f0;
}

.pricing-header {
  text-align: center;
  margin-bottom: 25px;
}

.pricing-header h3 {
  font-size: 1.5rem;
  color: #0a1733;
  margin: 0 0 10px;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  color: #0a1733;
  margin: 10px 0;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-features li {
  padding: 12px 0;
  color: #444;
  font-size: 1rem;
  border-bottom: 1px solid rgba(10, 23, 51, 0.1);
}

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

.payment-security {
  text-align: center;
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid #e0e6ed;
}

.payment-security p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .login-container,
  .checkout-container {
    margin: 40px auto;
  }

  .login-box,
  .checkout-box {
    padding: 30px 25px;
  }

  .login-box h2,
  .checkout-box h2 {
    font-size: 1.7rem;
  }

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