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

/* Variables */
:root {
  --primary-color: #2563eb;
  --primary-dark: #1e40af;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --border-color: #e5e7eb;
  --bg-light: #f9fafb;
  --bg-white: #ffffff;
  --warning-bg: #fef3c7;
  --warning-border: #fbbf24;
  --warning-text: #92400e;
  --success-color: #10b981;
}

/* Base */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-white);
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Disclaimer Banner */
.disclaimer-banner {
  background: var(--warning-bg);
  border-bottom: 2px solid var(--warning-border);
  padding: 12px 0;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.disclaimer-banner p {
  color: var(--warning-text);
  font-size: 14px;
  font-weight: 500;
  margin: 0;
}

.disclaimer-banner i {
  margin-right: 8px;
}

.disclaimer-banner a {
  color: var(--warning-text);
  text-decoration: underline;
}

/* Main Content */
.main-content {
  padding: 60px 0;
}

/* Title Section */
.title-section {
  text-align: center;
  margin-bottom: 4rem;
  padding: 3rem 1rem;
}

.main-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
  margin-bottom: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.license-selection-text {
  font-size: 1.125rem;
  color: #4a5568;
  margin-bottom: 2.5rem;
  font-weight: 500;
}

.cta-buttons-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  max-width: 500px;
  margin: 0 auto;
}

.cta-button-container {
  width: 100%;
}

.cta-button {
  display: inline-block;
  width: 100%;
  padding: 1.25rem 3rem;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.3s ease;
  text-align: center;
  border: 0;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.cta-button:active {
  transform: translateY(0);
}

/* Content Sections */
.content-sections {
  max-width: 800px;
  margin: 0 auto;
}

.content-section {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 24px;
  transition: box-shadow 0.3s ease;
}

.content-section:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--bg-light);
}

.section-header i {
  color: var(--primary-color);
  font-size: 24px;
}

.section-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.section-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.section-content p:last-child {
  margin-bottom: 0;
}

.section-content strong {
  color: var(--text-primary);
  font-weight: 600;
}

.service-note {
  background: #ecfdf5;
  border-left: 3px solid var(--success-color);
  padding: 16px;
  border-radius: 4px;
  margin-top: 20px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.service-note i {
  color: var(--success-color);
  margin-top: 2px;
}

/* Legal Pages */
.legal-content .content-section {
  border: none;
  box-shadow: none;
  padding: 0;
}

.legal-content .content-section:hover {
  box-shadow: none;
}

.legal-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-color);
}

.legal-content p, .legal-content li {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-content ul {
  list-style-position: inside;
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}

.legal-content a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.legal-content a:hover {
  text-decoration: underline;
}

/* Back button */
.back-button-container {
  margin-bottom: 2rem;
  text-align: left;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background-color: var(--bg-light);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.back-button:hover {
  background-color: var(--bg-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.back-button i {
  transition: transform 0.3s ease;
}

.back-button:hover i {
  transform: translateX(-3px);
}

/* Final Disclaimer */
.final-disclaimer {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 32px;
  text-align: center;
  margin-top: 48px;
}

.final-disclaimer p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.final-disclaimer p:first-child {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 15px;
}

/* Footer */
.footer {
  background: var(--text-primary);
  color: rgba(255, 255, 255, 0.8);
  padding: 48px 0 24px;
  margin-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 32px;
}

.footer-section-title {
  color: white;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-section-text {
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
}

.footer-info {
  margin-bottom: 16px;
}

.footer-info p {
  font-size: 13px;
  margin-bottom: 4px;
}

.footer-disclaimer-text {
  padding: 12px;
  border-radius: 6px;
  display: inline-block;
}

.footer-disclaimer-text p {
  font-size: 13px;
  /* color: #fbbf24; */
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .main-title {
    font-size: 26px;
  }

  .content-section {
    padding: 24px;
  }

  .section-title {
    font-size: 20px;
  }

  .cta-button {
    padding: 14px 32px;
    font-size: 16px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .main-content {
    padding: 40px 0;
  }

  .main-title {
    font-size: 22px;
  }

  .content-section {
    padding: 20px;
  }

  .important-notice {
    padding: 20px;
  }

  .disclaimer-banner p {
    font-size: 12px;
  }
}

@media (min-width: 768px) {
  .main-title {
    font-size: 3rem;
  }

  .cta-buttons-wrapper {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
    max-width: 700px;
  }

  .cta-button-container {
    width: auto;
    flex: 1;
    max-width: 250px;
  }
}

@media (max-width: 767px) {
  .title-section {
    padding: 2rem 1rem;
  }

  .main-title {
    font-size: 1.875rem;
  }

  .license-selection-text {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .cta-button {
    padding: 1rem 2rem;
    font-size: 1.125rem;
  }
}

