/* Modern Apple Design Style CSS */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #1d1d1f;
  background: #ffffff;
  min-height: 100vh;
}

/* Smooth Animations */
* {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Header Styles */
.modern-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

.modern-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.modern-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: #1d1d1f;
  text-decoration: none;
}

.modern-logo img {
  width: 32px;
  height: 32px;
  margin-right: 0.5rem;
  border-radius: 8px;
}

.modern-nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.modern-nav-links a {
  color: #1d1d1f;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.modern-nav-links a:hover {
  background: rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

.modern-nav-links a.active {
  background: #007aff;
  color: white;
}

/* Hero Section */
.modern-hero {
  text-align: center;
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.modern-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
  opacity: 0.3;
}

.modern-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.modern-hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease-out;
}

.modern-hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.modern-hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.4s both;
}

/* Buttons */
.modern-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.modern-btn-primary {
  background: #007aff;
  color: white;
  box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3);
}

.modern-btn-primary:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 122, 255, 0.4);
}

.modern-btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.modern-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.modern-btn-outline {
  background: transparent;
  color: #007aff;
  border: 2px solid #007aff;
}

.modern-btn-outline:hover {
  background: #007aff;
  color: white;
  transform: translateY(-2px);
}

/* Cards */
.modern-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.modern-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.modern-card-header {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1d1d1f;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modern-card-body {
  color: #6e6e73;
  line-height: 1.6;
}

/* Container */
.modern-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Sections */
.modern-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.modern-section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.modern-section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 1rem;
}

.modern-section-title p {
  font-size: 1.125rem;
  color: #6e6e73;
  max-width: 600px;
  margin: 0 auto;
}

/* Grid Layouts */
.modern-grid {
  display: grid;
  gap: 2rem;
}

.modern-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.modern-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Feature Cards */
.modern-feature {
  text-align: center;
  padding: 2rem;
}

.modern-feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #007aff, #5856d6);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 1.5rem;
}

.modern-feature h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1d1d1f;
}

.modern-feature p {
  color: #6e6e73;
  line-height: 1.6;
}

/* Forms */
.modern-form {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.modern-form-group {
  margin-bottom: 1.5rem;
}

.modern-form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #1d1d1f;
}

.modern-form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e5e7;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.8);
}

.modern-form-input:focus {
  outline: none;
  border-color: #007aff;
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

/* Tables */
.modern-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.modern-table th,
.modern-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.modern-table th {
  background: rgba(0, 0, 0, 0.02);
  font-weight: 600;
  color: #1d1d1f;
}

.modern-table tr:hover {
  background: rgba(0, 122, 255, 0.05);
}

/* Code Blocks */
.modern-code {
  background: #1d1d1f;
  color: #f5f5f7;
  padding: 1.5rem;
  border-radius: 12px;
  font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
  font-size: 0.875rem;
  line-height: 1.6;
  overflow-x: auto;
  margin: 1rem 0;
}

/* Footer */
.modern-footer {
  background: #1d1d1f;
  color: #f5f5f7;
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
  border-top: 1px solid #2d2d2f;
}

.modern-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.modern-footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.modern-footer-section h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #f5f5f7;
}

.modern-footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.modern-footer-section li {
  margin-bottom: 0.5rem;
}

.modern-footer-section a {
  color: #86868b;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.875rem;
}

.modern-footer-section a:hover {
  color: #007aff;
}

.modern-footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #2d2d2f;
  color: #86868b;
  font-size: 0.875rem;
}

.modern-footer-bottom a {
  color: #86868b;
  text-decoration: none;
  transition: color 0.3s ease;
}

.modern-footer-bottom a:hover {
  color: #007aff;
  text-decoration: underline;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
  .modern-nav {
    flex-direction: column;
    gap: 1rem;
  }
  
  .modern-nav-links {
    gap: 1rem;
  }
  
  .modern-hero h1 {
    font-size: 2.5rem;
  }
  
  .modern-hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .modern-section {
    padding: 2rem 1rem;
  }
  
  .modern-section-title h2 {
    font-size: 2rem;
  }
  
  /* Documentation responsive */
  .modern-docs-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .modern-docs-sidebar {
    position: static;
    order: 2;
  }
  
  .modern-docs-content {
    order: 1;
  }
  
  .modern-docs-header h1 {
    font-size: 2rem;
  }
  
  .modern-table-header,
  .modern-table-row {
    grid-template-columns: 1fr;
  }
  
  .modern-table-cell {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  .modern-step-header {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .modern-code-block {
    font-size: 0.75rem;
    padding: 1rem;
  }
}

/* Login Buttons */
.modern-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  border: 2px solid #e5e5e7;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: #1d1d1f;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-bottom: 0.75rem;
  width: 100%;
  max-width: 300px;
}

.modern-login-btn:hover {
  border-color: #007aff;
  background: rgba(0, 122, 255, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.modern-login-btn img {
  width: 20px;
  height: 20px;
}

/* Success Panel */
.modern-success {
  background: linear-gradient(135deg, #34c759, #30d158);
  color: white;
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 30px rgba(52, 199, 89, 0.3);
}

.modern-success h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
}

/* Loading Animation */
.modern-loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #007aff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Sidebar Navigation */
.modern-sidebar {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 100px;
}

.modern-sidebar-item {
  display: block;
  padding: 0.75rem 1rem;
  color: #6e6e73;
  text-decoration: none;
  border-radius: 8px;
  margin-bottom: 0.25rem;
  transition: all 0.3s ease;
}

.modern-sidebar-item:hover,
.modern-sidebar-item.active {
  background: #007aff;
  color: white;
  transform: translateX(4px);
}

/* Page Wrapper */
.modern-page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.modern-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.modern-nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* Mobile Menu */
.modern-mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #1d1d1f;
  cursor: pointer;
}

@media (max-width: 768px) {
  .modern-mobile-menu-btn {
    display: block;
  }
  
  .modern-nav-links {
    display: none;
  }
}

/* Documentation Styles */
.modern-doc {
  flex: 1;
  padding: 2rem 0;
}

.modern-doc-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.modern-doc-sidebar {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 100px;
  height: fit-content;
}

.modern-doc-nav {
  list-style: none;
}

.modern-doc-nav-item {
  margin-bottom: 0.5rem;
}

.modern-doc-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  color: #6e6e73;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.modern-doc-nav-link:hover,
.modern-doc-nav-link.active {
  background: #007aff;
  color: white;
  transform: translateX(4px);
}

.modern-doc-content {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.modern-doc-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f0f0f0;
}

.modern-doc-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 0.5rem;
}

.modern-doc-subtitle {
  font-size: 1.125rem;
  color: #6e6e73;
  margin-bottom: 1rem;
}

.modern-doc-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
  color: #8e8e93;
}

.modern-doc-section {
  margin-bottom: 3rem;
}

.modern-doc-section h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e5e5e7;
}

.modern-doc-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1d1d1f;
  margin: 1.5rem 0 0.75rem;
}

.modern-doc-section p {
  color: #6e6e73;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.modern-doc-section ul,
.modern-doc-section ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.modern-doc-section li {
  color: #6e6e73;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

/* Agreement Styles */
.modern-agreement {
  flex: 1;
  padding: 2rem 0;
}

.modern-agreement-header {
  text-align: center;
  margin-bottom: 3rem;
}

.modern-agreement-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 0.5rem;
}

.modern-agreement-meta {
  color: #6e6e73;
  font-size: 1rem;
}

.modern-agreement-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.modern-agreement-sidebar {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 100px;
  height: fit-content;
}

.modern-agreement-toc {
  list-style: none;
}

.modern-agreement-toc li {
  margin-bottom: 0.5rem;
}

.modern-agreement-toc a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: #6e6e73;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-size: 0.875rem;
}

.modern-agreement-toc a:hover {
  background: rgba(0, 122, 255, 0.1);
  color: #007aff;
}

.modern-agreement-content {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.modern-welcome-card {
  background: linear-gradient(135deg, #007aff, #5856d6);
  color: white;
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 30px rgba(0, 122, 255, 0.3);
}

.modern-important-notice {
  background: linear-gradient(135deg, #ff9500, #ff6b35);
  color: white;
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 30px rgba(255, 149, 0, 0.3);
}

.modern-agreement-article {
  margin-bottom: 3rem;
}

.modern-agreement-section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #f0f0f0;
}

.modern-agreement-section-content {
  color: #6e6e73;
  line-height: 1.7;
}

.modern-terms-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.modern-term-card {
  background: rgba(247, 247, 247, 0.8);
  border-radius: 12px;
  padding: 1.5rem;
  border-left: 4px solid #007aff;
}

.modern-term-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.modern-term-number {
  background: #007aff;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
}

.modern-understanding-card {
  background: rgba(52, 199, 89, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1rem;
  border-left: 4px solid #34c759;
}

.modern-understanding-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #34c759;
  margin-bottom: 0.75rem;
}

.modern-understanding-list {
  list-style: none;
  padding: 0;
}

.modern-understanding-list li {
  padding: 0.25rem 0;
  color: #6e6e73;
}

.modern-rights-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.modern-right-card {
  background: rgba(247, 247, 247, 0.8);
  border-radius: 12px;
  padding: 1.5rem;
  border-left: 4px solid #5856d6;
}

.modern-right-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.modern-right-number {
  background: #5856d6;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
}

.modern-right-content {
  color: #6e6e73;
  line-height: 1.6;
}

.modern-subsection {
  margin: 1rem 0;
  padding-left: 1rem;
  border-left: 2px solid #e5e5e7;
}

.modern-subsection-number {
  font-weight: 600;
  color: #5856d6;
  margin-bottom: 0.5rem;
}

/* Test Page Styles */
.modern-test {
  flex: 1;
  padding: 2rem 0;
}

.modern-test-layout {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.modern-test-header {
  text-align: center;
  margin-bottom: 3rem;
}

.modern-test-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 0.5rem;
}

.modern-test-subtitle {
  color: #6e6e73;
  font-size: 1.125rem;
}

.modern-test-logo {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.modern-success-card {
  background: linear-gradient(135deg, #34c759, #30d158);
  color: white;
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 40px rgba(52, 199, 89, 0.3);
}

.modern-success-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.modern-success-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.modern-user-info {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.modern-user-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.modern-user-details h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.modern-user-meta {
  opacity: 0.9;
  font-size: 0.875rem;
}

.modern-data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.modern-data-item {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
}

.modern-data-item label {
  display: block;
  font-size: 0.75rem;
  opacity: 0.8;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modern-data-value {
  font-weight: 600;
  font-size: 0.875rem;
  word-break: break-all;
}

.modern-copy-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-size: 0.75rem;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: all 0.3s ease;
}

.modern-copy-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.modern-test-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.modern-login-section {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.modern-login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.modern-login-header h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 0.5rem;
}



.modern-test-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.modern-info-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.modern-info-card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 0.75rem;
}

.modern-info-card p {
  color: #6e6e73;
  line-height: 1.6;
  font-size: 0.875rem;
}

/* Back to Top Button */
.modern-back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: #007aff;
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 122, 255, 0.3);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

.modern-back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.modern-back-to-top:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 122, 255, 0.4);
}

/* ==================== Agreement 页面样式 ==================== */
.modern-agreement {
	padding: 2rem 0;
	min-height: 100vh;
	background: #ffffff;
	margin-top: 80px;
}
.modern-agreement-header {
	text-align: center;
	color: #334155;
	margin-bottom: 3rem;
}

.modern-agreement-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 16px;
  background: #1e293b;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modern-agreement-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 8px;
}

.modern-agreement-meta {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 0.95rem;
  opacity: 0.8;
}

.modern-agreement-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.modern-agreement-sidebar {
  position: sticky;
  top: 120px;
  height: fit-content;
}

.modern-agreement-toc {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.modern-agreement-toc h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #1d1d1f;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modern-agreement-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.modern-agreement-toc li {
  margin-bottom: 8px;
}

.modern-agreement-toc a {
  display: block;
  padding: 8px 12px;
  color: #6e6e73;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.modern-agreement-toc a:hover,
.modern-agreement-toc a.active {
  background: #007aff;
  color: white;
  transform: translateX(4px);
}

.modern-agreement-content {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.modern-agreement-article {
  padding: 40px;
  border-bottom: 1px solid #e5e5e7;
}

.modern-agreement-article:last-child {
  border-bottom: none;
}

.modern-agreement-section-header {
  margin-bottom: 24px;
}

.modern-agreement-section-header h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #1d1d1f;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.modern-agreement-section-content {
  line-height: 1.7;
  color: #6e6e73;
}

.modern-welcome-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 32px;
  border-radius: 12px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.modern-welcome-icon {
  font-size: 2.5rem;
  opacity: 0.9;
}

.modern-welcome-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.modern-important-notice {
  background: #fef3cd;
  border: 1px solid #fecf4a;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 24px;
}

.modern-important-notice-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #8b5a00;
}

.modern-important-notice-header i {
  font-size: 1.2rem;
}

.modern-important-notice-header h4 {
  font-weight: 600;
  margin: 0;
}

.modern-terms-grid {
  display: grid;
  gap: 20px;
  margin: 24px 0;
}

.modern-term-card {
  background: #f8fafc;
  border: 1px solid #e5e5e7;
  border-radius: 8px;
  padding: 20px;
}

.modern-term-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.modern-term-number {
  background: #007aff;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

.modern-term-header h4 {
  font-weight: 600;
  color: #1d1d1f;
  margin: 0;
}

.modern-understanding-card {
  background: #e0f2fe;
  border: 1px solid #81d4fa;
  border-radius: 8px;
  padding: 20px;
  margin-top: 24px;
}

.modern-understanding-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #0277bd;
}

.modern-understanding-header i {
  font-size: 1.2rem;
}

.modern-understanding-header h4 {
  font-weight: 600;
  margin: 0;
}

.modern-understanding-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.modern-understanding-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  line-height: 1.6;
}

.modern-understanding-list li:before {
  content: '•';
  position: absolute;
  left: 0;
  color: #0277bd;
  font-weight: bold;
}

.modern-rights-grid {
  display: grid;
  gap: 24px;
}

.modern-right-card {
  background: #f8fafc;
  border: 1px solid #e5e5e7;
  border-radius: 8px;
  padding: 24px;
}

.modern-right-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.modern-right-number {
  background: #007aff;
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
}

.modern-right-header h4 {
  font-weight: 600;
  color: #1d1d1f;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modern-right-content {
  line-height: 1.6;
}

.modern-subsection {
  margin-bottom: 16px;
  padding-left: 20px;
  position: relative;
}

.modern-subsection-number {
  background: #e2e8f0;
  color: #1d1d1f;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-right: 8px;
}

.modern-subsection.modern-important {
  background: #fef3cd;
  border-left: 4px solid #fecf4a;
  padding: 16px;
  border-radius: 0 8px 8px 0;
  margin: 16px 0;
}

.modern-termination-grid,
.modern-notice-grid,
.modern-other-grid {
  display: grid;
  gap: 20px;
  margin: 24px 0;
}

.modern-termination-card,
.modern-notice-card,
.modern-other-card {
  background: #f8fafc;
  border: 1px solid #e5e5e7;
  border-radius: 8px;
  padding: 20px;
}

.modern-termination-header,
.modern-notice-header,
.modern-other-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.modern-termination-number,
.modern-notice-number,
.modern-other-number {
  background: #007aff;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

.modern-termination-header h4,
.modern-notice-header h4,
.modern-other-header h4 {
  font-weight: 600;
  color: #1d1d1f;
  margin: 0;
}

.modern-agreement-end {
  text-align: center;
  padding: 40px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 12px;
  margin-top: 24px;
}

.modern-agreement-end-content i {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.9;
}

.modern-agreement-end-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.modern-agreement-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 24px;
}

.modern-agreement-actions .modern-btn {
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==================== Test 页面样式 ==================== */
.modern-test {
  min-height: 100vh;
  background: #ffffff;
  padding: 120px 0 60px;
}

.modern-test-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.modern-test-header {
  text-align: center;
  margin-bottom: 60px;
  color: #334155;
}

.modern-test-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 16px;
  background: #1e293b;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.modern-test-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
}

.modern-test-content {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.modern-success-card {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 32px;
  text-align: center;
}

.modern-success-header {
  margin-bottom: 32px;
}

.modern-success-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  opacity: 0.9;
}

.modern-success-header h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.modern-user-info {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 32px;
  text-align: left;
}

.modern-user-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.modern-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modern-user-details h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.modern-user-meta {
  display: flex;
  gap: 16px;
  font-size: 0.9rem;
  opacity: 0.9;
}

.modern-user-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.modern-data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.modern-data-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 20px;
}

.modern-data-item label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.modern-data-value {
  display: flex;
  gap: 8px;
}

.modern-data-value input {
  flex: 1;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 0.9rem;
  color: #1d1d1f !important;
  font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', monospace;
  text-shadow: none;
  -webkit-text-fill-color: #1d1d1f;
}

.modern-data-value input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.7);
  background: white;
  color: #1d1d1f !important;
  -webkit-text-fill-color: #1d1d1f;
}

.modern-copy-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  border-radius: 6px;
  padding: 10px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
}

.modern-copy-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.modern-copy-btn.copied {
  background: rgba(16, 185, 129, 0.8);
  border-color: rgba(16, 185, 129, 0.8);
}

.modern-test-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.modern-test-actions .modern-btn {
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.modern-test-actions .modern-btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.modern-test-actions .modern-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-2px);
}

.modern-test-actions .modern-btn-primary {
  background: rgba(255, 255, 255, 0.9);
  color: #007aff;
}

.modern-test-actions .modern-btn-primary:hover {
  background: white;
  transform: translateY(-2px);
}

.modern-login-section {
  margin-top: 32px;
}

.modern-login-header {
  text-align: center;
  margin-bottom: 32px;
}

.modern-login-header h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.modern-login-header p {
  color: #6e6e73;
  font-size: 1rem;
}

.modern-login-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
  justify-items: center;
}

@media (min-width: 768px) {
  .modern-login-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    max-width: none;
  }
}

@media (min-width: 1024px) {
  .modern-login-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

.modern-login-btn {
  background: white;
  border: 2px solid #e5e5e7;
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  opacity: 0;
  transform: translateY(20px);
}

.modern-login-btn:hover {
  border-color: #007aff;
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.modern-login-btn.loading {
  opacity: 0.6;
  pointer-events: none;
}

.modern-login-btn-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modern-login-btn-content span {
  font-weight: 500;
  color: #1d1d1f;
  font-size: 1rem;
}

.modern-login-btn i {
  color: #6e6e73;
  transition: all 0.2s ease;
}

.modern-login-btn:hover i {
  color: #007aff;
  transform: translateX(4px);
}

.modern-test-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.modern-info-card {
  background: #f8fafc;
  border: 1px solid #e5e5e7;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  gap: 16px;
  opacity: 0;
  transform: translateY(20px);
}

.modern-info-card i {
  font-size: 1.5rem;
  color: #007aff;
  margin-top: 4px;
}

.modern-info-card h4 {
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 8px;
}

.modern-info-card p {
  color: #6e6e73;
  line-height: 1.5;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .modern-doc-layout,
  .modern-agreement-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .modern-doc-sidebar,
  .modern-agreement-sidebar {
    position: static;
    order: 2;
  }
  
  .modern-doc-content,
  .modern-agreement-content {
    padding: 2rem;
  }
  
  .modern-user-info {
    flex-direction: column;
    text-align: center;
  }
  
  .modern-data-grid {
    grid-template-columns: 1fr;
  }
  
  .modern-test-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* Container */
.modern-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Documentation Styles */
.modern-docs {
  padding: 2rem 0;
  min-height: calc(100vh - 200px);
}

.modern-docs-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 20px;
}

.modern-docs-header h1 {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 1rem;
	color: white;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
	letter-spacing: 0.5px;
}

.modern-docs-header p {
  font-size: 1.125rem;
  opacity: 0.9;
}

.modern-docs-layout {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 3rem;
	margin-top: 2rem;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.modern-docs-sidebar {
  position: sticky;
  top: 120px;
  height: fit-content;
}

.modern-docs-nav {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.modern-docs-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: #6e6e73;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.modern-docs-nav-item:hover {
  background: rgba(0, 122, 255, 0.1);
  color: #007aff;
  transform: translateX(4px);
}

.modern-docs-nav-item.active {
  background: #007aff;
  color: white;
}

.modern-docs-nav-item i {
  width: 16px;
  text-align: center;
}

.modern-docs-content {
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(20px);
	border-radius: 20px;
	padding: 2rem;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
	width: 100%;
	min-width: 0;
}

.modern-docs-article {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.modern-docs-article:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.modern-docs-article-header {
  margin-bottom: 1.5rem;
}

.modern-docs-article-header h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #1d1d1f;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.modern-docs-article-content {
  color: #6e6e73;
  line-height: 1.8;
}

.modern-docs-article-content p {
  margin-bottom: 1rem;
}

.modern-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.modern-info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(0, 122, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(0, 122, 255, 0.1);
}

.modern-info-item i {
  color: #007aff;
  width: 20px;
  text-align: center;
}

.modern-info-item .label {
  font-weight: 600;
  color: #1d1d1f;
}

.modern-info-item .value {
  color: #007aff;
  font-weight: 500;
}

/* Code Blocks for Documentation */
.modern-code-block {
  background: #1d1d1f;
  color: #f5f5f7;
  padding: 1.5rem;
  border-radius: 12px;
  font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
  font-size: 0.875rem;
  line-height: 1.6;
  overflow-x: auto;
  margin: 1rem 0;
}

.modern-code-block code {
  color: #f5f5f7;
  background: none;
  padding: 0;
  font-size: inherit;
}

.modern-code-block pre {
  margin: 0;
  color: #f5f5f7;
  background: none;
}

/* Documentation Tables */
.modern-table {
	width: 100%;
	margin: 1.5rem 0;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	table-layout: fixed;
}

/* Bootstrap Table Styling */
.table {
	width: 100%;
	margin: 1.5rem 0;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	background: white;
	border-collapse: separate;
	border-spacing: 0;
}

.table thead th {
	background: #f8f9fa;
	font-weight: 600;
	color: #1d1d1f;
	padding: 1rem;
	border: none;
	border-bottom: 2px solid #e9ecef;
}

.table tbody td {
	padding: 1rem;
	border: none;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
	color: #6e6e73;
	word-wrap: break-word;
	word-break: break-all;
	white-space: normal;
	overflow-wrap: break-word;
}

.table-hover tbody tr:hover {
	background: rgba(0, 122, 255, 0.05);
}

.table-striped tbody tr:nth-of-type(odd) {
	background: rgba(248, 249, 250, 0.5);
}

.table-bordered {
	border: 1px solid #e9ecef;
}

.table-sm th,
.table-sm td {
	padding: 0.75rem;
}

.modern-table-header {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  background: #f8f9fa;
  font-weight: 600;
  color: #1d1d1f;
}

.modern-table-body {
  background: white;
}

.modern-table-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.modern-table-row:hover {
  background: rgba(0, 122, 255, 0.05);
}

.modern-table-cell {
	padding: 1rem;
	border-right: 1px solid rgba(0, 0, 0, 0.05);
	word-wrap: break-word;
	word-break: break-all;
	white-space: normal;
	overflow-wrap: break-word;
}

.modern-table-cell:last-child {
  border-right: none;
}

/* Documentation Steps */
.modern-step {
  margin: 2rem 0;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.modern-step-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.modern-step-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #007aff, #5856d6);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.125rem;
}

.modern-step-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1d1d1f;
  margin: 0;
}

.modern-step-content {
  color: #6e6e73;
  line-height: 1.6;
}

.modern-step-content p {
  margin-bottom: 1rem;
}

.modern-step-content strong {
  color: #1d1d1f;
  font-weight: 600;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.w-full { width: 100%; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.rounded { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }

/* 全局响应式优化 */
@media (max-width: 480px) {
  /* 超小屏幕优化 */
  .modern-container {
    padding: 0.75rem;
  }
  
  .modern-hero h1 {
    font-size: 2rem;
  }
  
  .modern-hero p {
    font-size: 1rem;
  }
  
  .modern-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .modern-card {
    padding: 1rem;
  }
  
  .modern-login-btn {
    padding: 1rem;
    font-size: 0.9rem;
  }
  
  .modern-docs-sidebar {
    padding: 1rem;
  }
  
  .modern-docs-content {
    padding: 1rem;
  }
}

@media (max-width: 360px) {
  /* 极小屏幕优化 */
  .modern-container {
    padding: 0.5rem;
  }
  
  .modern-hero h1 {
    font-size: 1.75rem;
  }
  
  .modern-login-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .modern-login-btn {
    padding: 0.875rem;
  }
}