:root {
  --bg-color: #fdfdf5;
  --text-color: #1d1d35;
  --primary-magenta: #f50057;
  --primary-cyan: #00bcd4;
  --primary-orange: #ff6d00;
  --primary-blue: #3d5afe;
  --primary-yellow: #ffeb3b;
  --border-color: #1d1d35;
  --card-bg: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(253, 253, 245, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--text-color);
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ai-page-logo {
  height: 40px;
  width: auto;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-menu {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  font-size: 15px;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--primary-magenta);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-cyan);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--text-color);
  padding: 6px 10px;
  cursor: pointer;
  border-radius: 4px;
}

/* Hero Section - No Images */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
  background: var(--bg-color);
}

.hero-bg-shape {
  position: absolute;
  border-radius: 20px;
  z-index: 0;
  opacity: 0.8;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: var(--primary-yellow);
  top: -50px;
  right: -50px;
  transform: rotate(15deg);
  animation: float 6s ease-in-out infinite;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: var(--primary-cyan);
  bottom: 50px;
  left: -30px;
  border-radius: 50%;
  animation: float 8s ease-in-out infinite reverse;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: var(--primary-magenta);
  top: 40%;
  right: 20%;
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(15deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 24px;
  font-weight: 900;
  letter-spacing: -1px;
}

.hero h1 .highlight-m {
  color: var(--primary-magenta);
}

.hero h1 .highlight-c {
  background: var(--primary-cyan);
  color: var(--text-color);
  padding: 0 12px;
  display: inline-block;
  transform: rotate(-2deg);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  color: #444;
}

.hero-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border: 3px solid var(--text-color);
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 4px 4px 0px var(--text-color);
}

.btn-primary {
  background: var(--primary-yellow);
  color: var(--text-color);
}

.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px var(--text-color);
  background: var(--primary-orange);
}

.btn-secondary {
  background: var(--bg-color);
  color: var(--text-color);
}

.btn-secondary:hover {
  background: var(--primary-cyan);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px var(--text-color);
}

/* Section Base */
section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 60px;
  font-weight: 900;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: '';
  display: block;
  width: 60%;
  height: 8px;
  background: var(--primary-yellow);
  margin-top: 8px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 4px;
}

.text-center {
  text-align: center;
}

/* About Us */
.about-section {
  background: #ffffff;
  border-top: 3px solid var(--text-color);
  border-bottom: 3px solid var(--text-color);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.about-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.feature-tag {
  background: var(--primary-cyan);
  color: var(--text-color);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  border: 2px solid var(--text-color);
}

/* Service System */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--card-bg);
  border: 3px solid var(--text-color);
  padding: 32px;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 4px 4px 0px var(--text-color);
}

.service-card:nth-child(1) { background: #e3f2fd; }
.service-card:nth-child(2) { background: #fce4ec; }
.service-card:nth-child(3) { background: #fff3e0; }
.service-card:nth-child(4) { background: #e8f5e9; }

.service-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0px var(--text-color);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--text-color);
}

.service-card p {
  color: #333;
}

/* Process Section */
.process-section {
  background: #f0f4c3;
  position: relative;
  overflow: hidden;
}

.process-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.process-item {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  border: 3px solid var(--text-color);
  box-shadow: 6px 6px 0px var(--text-color);
  transition: transform 0.3s ease;
}

.process-item:hover {
  transform: scale(1.02);
}

.process-num {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: var(--primary-magenta);
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 3px solid var(--text-color);
}

.process-item:nth-child(2) .process-num { background: var(--primary-cyan); color: var(--text-color); }
.process-item:nth-child(3) .process-num { background: var(--primary-orange); }

.process-content h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

/* Software Intro */
.software-intro {
  background: var(--text-color);
  color: #fff;
}

.software-intro .section-title {
  color: #fff;
}

.software-intro .section-title::after {
  background: var(--primary-magenta);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.intro-card {
  border: 2px solid #555;
  padding: 24px;
  border-radius: 12px;
  background: #2a2a48;
  transition: border-color 0.3s ease;
}

.intro-card:hover {
  border-color: var(--primary-cyan);
}

.intro-card h3 {
  color: var(--primary-yellow);
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.intro-card p {
  color: #ccc;
  font-size: 0.95rem;
}

/* Solutions Grid */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.solution-item {
  text-align: center;
  padding: 30px 15px;
  background: #fff;
  border: 2px dashed var(--text-color);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.solution-item:hover {
  background: var(--primary-yellow);
  border-style: solid;
  transform: translateY(-5px);
}

.solution-item h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

/* Case Center */
.case-section {
  background: #e0f7fa;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.case-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid var(--text-color);
  box-shadow: 4px 4px 0px var(--text-color);
}

.case-img-box {
  width: 100%;
  overflow: hidden;
  border-bottom: 3px solid var(--text-color);
}

.case-img-box img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.case-card:hover .case-img-box img {
  transform: scale(1.05);
}

.case-info {
  padding: 20px;
}

.case-info h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

/* Review Section */
.review-section {
  background: #fff3e0;
}

.review-box {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  border: 3px solid var(--text-color);
  box-shadow: 8px 8px 0px var(--primary-orange);
}

.score {
  font-size: 4rem;
  font-weight: 900;
  color: var(--primary-orange);
  line-height: 1;
  margin: 20px 0;
}

.stars {
  color: var(--primary-yellow);
  font-size: 2rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 0px var(--text-color);
}

.stars span {
  display: inline-block;
  margin: 0 5px;
}

.progress-bar-bg {
  width: 100%;
  height: 30px;
  background: #eee;
  border-radius: 15px;
  overflow: hidden;
  border: 2px solid var(--text-color);
  margin-top: 20px;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-yellow), var(--primary-orange));
  width: 0%;
  transition: width 1.5s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  font-weight: bold;
  color: var(--text-color);
}

/* User Reviews */
.reviews-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.review-card {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  border-left: 6px solid var(--primary-magenta);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.review-card:nth-child(2n) { border-left-color: var(--primary-cyan); }
.review-card:nth-child(3n) { border-left-color: var(--primary-orange); }

.review-card:hover {
  transform: translateY(-5px);
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  gap: 12px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  background: var(--primary-blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.review-card:nth-child(2n) .review-avatar { background: var(--primary-cyan); color: var(--text-color); }
.review-card:nth-child(3n) .review-avatar { background: var(--primary-magenta); }

.review-name {
  font-weight: bold;
}

.review-stars {
  color: var(--primary-orange);
}

.review-text {
  color: #555;
  font-size: 0.95rem;
}

/* Needs & Token */
.needs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.needs-card {
  padding: 30px;
  border-radius: 12px;
  border: 3px solid var(--text-color);
  background: #fff;
}

.needs-card h3 {
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--text-color);
}

.token-table {
  width: 100%;
  border-collapse: collapse;
}

.token-table th, .token-table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
}

.token-table th {
  background: var(--primary-yellow);
  font-weight: bold;
}

/* Training */
.training-section {
  background: #3d5afe;
  color: #fff;
}

.training-section .section-title {
  color: #fff;
}

.training-section .section-title::after {
  background: var(--primary-yellow);
}

.training-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.training-item {
  background: rgba(255,255,255,0.1);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: background 0.3s ease;
}

.training-item:hover {
  background: rgba(255,255,255,0.2);
}

/* Standard Process */
.std-steps {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.std-step {
  flex: 1;
  min-width: 150px;
  text-align: center;
  position: relative;
}

.std-step-circle {
  width: 60px;
  height: 60px;
  background: var(--primary-magenta);
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 50%;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--text-color);
}

/* Tech Standard */
.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.tech-badge {
  padding: 10px 20px;
  background: #fff;
  border: 2px solid var(--text-color);
  border-radius: 25px;
  font-weight: 600;
  box-shadow: 3px 3px 0px var(--text-color);
}

/* Service Network */
.network-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
  text-align: center;
}

.network-item {
  padding: 15px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-weight: 600;
  transition: all 0.3s ease;
}

.network-item:hover {
  background: var(--primary-cyan);
  color: #fff;
}

/* Help Center */
.help-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.faq-item {
  margin-bottom: 15px;
  border: 2px solid var(--text-color);
  border-radius: 8px;
  overflow: hidden;
}

.faq-q {
  padding: 15px 20px;
  background: #fff;
  cursor: pointer;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-q::after {
  content: '+';
  font-size: 1.5rem;
}

.faq-item.active .faq-q::after {
  content: '-';
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: #f9f9f9;
}

.faq-item.active .faq-a {
  max-height: 200px;
  padding: 15px 20px;
}

.help-sidebar h3 {
  margin-bottom: 15px;
  border-bottom: 2px solid var(--text-color);
  padding-bottom: 5px;
}

.help-sidebar ul {
  list-style: none;
  margin-bottom: 30px;
}

.help-sidebar ul li {
  margin-bottom: 10px;
}

.help-sidebar ul li a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.help-sidebar ul li a:hover {
  color: var(--primary-magenta);
}

/* Contact */
.contact-section {
  background: #1d1d35;
  color: #fff;
}

.contact-section .section-title {
  color: #fff;
}

.contact-section .section-title::after {
  background: var(--primary-cyan);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  background: #2a2a48;
  border: 1px solid #555;
  color: #fff;
  border-radius: 4px;
}

.contact-form button {
  width: 100%;
  padding: 14px;
  background: var(--primary-magenta);
  color: #fff;
  border: none;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: var(--primary-orange);
}

.contact-info p {
  margin-bottom: 15px;
}

.contact-qr {
  display: flex;
  gap: 30px;
  margin-top: 20px;
}

.qr-item img {
  width: 120px;
  height: auto;
  border: 4px solid #fff;
  border-radius: 8px;
}

/* Footer */
.site-footer {
  background: #fdfdf5;
  padding: 40px 0;
  border-top: 3px solid var(--text-color);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 30px;
  gap: 20px;
}

.footer-links a {
  color: var(--text-color);
  text-decoration: none;
  margin-right: 15px;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--primary-magenta);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #ddd;
  color: #666;
  font-size: 14px;
}

/* Hidden Elements */
.hidden-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .nav-menu { display: none; }
  .menu-toggle { display: block; }
  .about-grid, .needs-grid, .help-grid, .contact-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 1.8rem; }
  .std-steps { flex-direction: column; }
}

/* Animation Utils */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}