:root {
  --primary: #0fa49c;
  --primary-dark: #0b7a74;
  --primary-light: #e6f7f6;
  --accent: #2dd4bf;
  --accent-glow: rgba(45, 212, 191, 0.15);
  --text-main: #1e293b;
  --text-muted: #64748b;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --radius: 12px;
  --shadow-sm: 0 2px 8px rgba(15, 164, 156, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 164, 156, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ai-page-logo {
  max-height: 42px;
  width: auto;
}

.brand-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-links a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 6px;
}

.nav-links a:hover {
  color: var(--primary);
  background-color: var(--primary-light);
}

.header-action {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #0fa49c 0%, #0b7a74 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 164, 156, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 164, 156, 0.35);
  color: #ffffff;
}

.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: #ffffff;
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  transition: var(--transition);
}

.hero-section {
  padding: 70px 0 50px;
  background: radial-gradient(circle at 50% 0%, #d8f5f2 0%, #f8fafc 70%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  background: #ffffff;
  border: 1px solid #cceee9;
  border-radius: 30px;
  font-size: 13px;
  color: var(--primary-dark);
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-size: 38px;
  line-height: 1.3;
  font-weight: 800;
  color: #0f172a;
  max-width: 860px;
  margin: 0 auto 20px;
  letter-spacing: -0.5px;
}

.hero-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 36px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.stat-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.stat-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

.section-padding {
  padding: 70px 0;
}

.section-bg-alt {
  background-color: #ffffff;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 30px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

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

.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}

.feature-box:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-box h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.feature-box p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.model-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 30px;
}

.model-badge {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: #334155;
  transition: var(--transition);
}

.model-badge:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary-dark);
}

.img-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  background: #ffffff;
}

.img-container img {
  display: block;
  width: 100%;
  height: auto;
  transition: var(--transition);
}

.img-container:hover img {
  transform: scale(1.02);
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.step-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
}

.step-num {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

.step-item h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-item p {
  font-size: 13px;
  color: var(--text-muted);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 650px;
}

.custom-table th, .custom-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
}

.custom-table th {
  background-color: #f1f5f9;
  font-weight: 700;
  color: #0f172a;
}

.custom-table tr:last-child td {
  border-bottom: none;
}

.highlight-row {
  background-color: var(--primary-light);
  font-weight: 600;
  color: var(--primary-dark);
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  background: #fef08a;
  color: #854d0e;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
}

.review-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-card p {
  font-size: 14px;
  color: #334155;
  font-style: italic;
  margin-bottom: 16px;
  line-height: 1.6;
}

.review-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px dashed var(--border-color);
  padding-top: 12px;
}

.author-role {
  font-size: 12px;
  color: var(--text-muted);
}

.author-name {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  font-size: 18px;
  transition: transform 0.3s;
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  padding-bottom: 18px;
  max-height: 200px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--primary);
}

.form-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

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

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #334155;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 14px;
  color: var(--text-main);
  background: #f8fafc;
  outline: none;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 14px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qr-box {
  margin-top: 16px;
  text-align: center;
  display: inline-block;
  background: #f1f5f9;
  padding: 16px;
  border-radius: 8px;
}

.qr-box img {
  width: 140px;
  height: 140px;
  display: block;
  margin: 0 auto 8px;
  border-radius: 4px;
}

.site-footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 50px 0 30px;
  font-size: 14px;
}

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

.footer-top h5 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a:hover {
  color: var(--accent);
}

.friend-links-area {
  border-top: 1px solid #1e293b;
  border-bottom: 1px solid #1e293b;
  padding: 20px 0;
  margin-bottom: 24px;
}

.friend-links-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.friend-links-wrapper a {
  color: #94a3b8;
  font-size: 13px;
}

.friend-links-wrapper a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  font-size: 13px;
  color: #64748b;
}

.floating-contact {
  position: fixed;
  right: 20px;
  bottom: 80px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floating-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.floating-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

@media (max-width: 992px) {
  .cards-grid-3, .cards-grid-4, .hero-stats-grid, .steps-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-bottom: 1px solid var(--border-color);
  }
  .nav-links.show {
    display: flex;
  }
  .hero-title {
    font-size: 26px;
  }
  .cards-grid-3, .cards-grid-4, .hero-stats-grid, .steps-container {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .hero-buttons {
    flex-direction: column;
    padding: 0 20px;
  }
  .hero-buttons .btn {
    width: 100%;
  }
}