:root {
      --primary-color: #4f46e5;
      --primary-light: #6366f1;
      --secondary-color: #06b6d4;
      --dark-text: #0f172a;
      --muted-text: #475569;
      --light-bg: #f8fafc;
      --white: #ffffff;
      --border-color: #e2e8f0;
      --card-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
      --hover-shadow: 0 20px 30px -10px rgba(79, 70, 229, 0.15);
      --radius-sm: 8px;
      --radius-md: 14px;
      --radius-lg: 20px;
      --transition: all 0.3s ease;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      background-color: #f1f5f9;
      color: var(--dark-text);
      line-height: 1.6;
    }

    body {
      background-color: #ffffff;
      overflow-x: hidden;
    }

    /* Common Container */
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
      width: 100%;
    }

    /* Typography & Titles */
    h1, h2, h3, h4 {
      color: var(--dark-text);
      font-weight: 700;
      line-height: 1.3;
    }

    .section-header {
      text-align: center;
      margin-bottom: 50px;
    }

    .section-tag {
      display: inline-block;
      padding: 6px 16px;
      background-color: #eeef2e1a;
      background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
      color: var(--primary-color);
      border-radius: 50px;
      font-size: 0.875rem;
      font-weight: 600;
      margin-bottom: 12px;
      border: 1px solid rgba(79, 70, 229, 0.15);
    }

    .section-title {
      font-size: 2.2rem;
      color: var(--dark-text);
      margin-bottom: 15px;
    }

    .section-subtitle {
      font-size: 1.05rem;
      color: var(--muted-text);
      max-width: 700px;
      margin: 0 auto;
    }

    /* Buttons */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 12px 28px;
      border-radius: var(--radius-sm);
      font-size: 1rem;
      font-weight: 600;
      text-decoration: none;
      transition: var(--transition);
      cursor: pointer;
      border: none;
      gap: 8px;
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
      color: var(--white);
      box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(79, 70, 229, 0.45);
    }

    .btn-secondary {
      background-color: #f1f5f9;
      color: var(--dark-text);
      border: 1px solid var(--border-color);
    }

    .btn-secondary:hover {
      background-color: #e2e8f0;
      color: var(--primary-color);
      transform: translateY(-2px);
    }

    /* Top Bar */
    .top-bar {
      background: linear-gradient(90deg, #1e1b4b 0%, #312e81 100%);
      color: #e0e7ff;
      font-size: 0.85rem;
      padding: 8px 0;
      text-align: center;
    }

    .top-bar a {
      color: #67e8f9;
      text-decoration: underline;
      margin-left: 8px;
    }

    /* Header Nav */
    .header {
      position: sticky;
      top: 0;
      z-index: 1000;
      background-color: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--border-color);
      padding: 15px 0;
    }

    .nav-wrapper {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .brand-logo {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
    }

    .ai-page-logo {
      height: 40px;
      width: auto;
    }

    .brand-title {
      font-size: 1.3rem;
      font-weight: 800;
      background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .nav-menu {
      display: flex;
      align-items: center;
      list-style: none;
    }

    .nav-link {
      text-decoration: none;
      color: var(--dark-text);
      font-size: 0.95rem;
      font-weight: 500;
      transition: var(--transition);
      padding: 6px 4px;
    }

    .nav-link:hover {
      color: var(--primary-color);
    }

    .ai-page-home-link {
      color: var(--primary-color) !important;
      font-weight: 700;
    }

    .nav-toggle {
      display: none;
      background: none;
      border: none;
      font-size: 1.5rem;
      color: var(--dark-text);
      cursor: pointer;
    }

    /* Section Styling */
    .section-padding {
      padding: 80px 0;
      border-bottom: 1px solid var(--border-color);
    }

    .bg-light {
      background-color: var(--light-bg);
    }

    /* Hero Section (NO IMAGES ALLOWED HERE) */
    .hero-section {
      padding: 100px 0 80px;
      background: radial-gradient(circle at top right, rgba(6, 182, 212, 0.08), transparent 40%),
                  radial-gradient(circle at bottom left, rgba(79, 70, 229, 0.08), transparent 40%),
                  #ffffff;
      text-align: center;
      position: relative;
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background-color: #eef2ff;
      border: 1px solid #c7d2fe;
      color: var(--primary-color);
      padding: 6px 18px;
      border-radius: 50px;
      font-size: 0.9rem;
      font-weight: 600;
      margin-bottom: 25px;
    }

    .hero-title {
      font-size: 2.8rem;
      line-height: 1.25;
      margin-bottom: 20px;
      letter-spacing: -0.5px;
    }

    .hero-subtitle {
      font-size: 1.2rem;
      color: var(--muted-text);
      max-width: 820px;
      margin: 0 auto 35px;
      line-height: 1.7;
    }

    .hero-actions {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 16px;
      margin-bottom: 60px;
      flex-wrap: wrap;
    }

    .hero-stats-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 20px;
      margin-top: 30px;
    }

    .stat-card {
      background-color: var(--white);
      padding: 24px 20px;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-color);
      box-shadow: var(--card-shadow);
      text-align: center;
      transition: var(--transition);
    }

    .stat-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--hover-shadow);
      border-color: #c7d2fe;
    }

    .stat-number {
      font-size: 2.2rem;
      font-weight: 800;
      color: var(--primary-color);
      margin-bottom: 6px;
    }

    .stat-label {
      font-size: 0.95rem;
      color: var(--muted-text);
    }

    /* About & Platform Intro */
    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      align-items: center;
    }

    .about-content p {
      margin-bottom: 18px;
      color: var(--muted-text);
      font-size: 1.05rem;
    }

    .feature-check-list {
      list-style: none;
      margin-top: 20px;
    }

    .feature-check-list li {
      position: relative;
      padding-left: 28px;
      margin-bottom: 12px;
      font-weight: 600;
      color: var(--dark-text);
    }

    .feature-check-list li::before {
      content: "✓";
      position: absolute;
      left: 0;
      top: 0;
      color: var(--secondary-color);
      font-weight: 900;
    }

    /* Models Grid */
    .models-cloud {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      justify-content: center;
      margin-top: 30px;
    }

    .model-tag {
      background: var(--white);
      border: 1px solid var(--border-color);
      padding: 10px 20px;
      border-radius: var(--radius-sm);
      font-weight: 600;
      color: var(--dark-text);
      box-shadow: 0 2px 5px rgba(0,0,0,0.03);
      transition: var(--transition);
    }

    .model-tag:hover {
      border-color: var(--primary-color);
      color: var(--primary-color);
      transform: translateY(-2px);
    }

    /* Grid Layouts for Services, Solutions, Scenarios */
    .cards-grid-3 {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 28px;
    }

    .service-card {
      background: var(--white);
      border-radius: var(--radius-md);
      padding: 30px;
      border: 1px solid var(--border-color);
      box-shadow: var(--card-shadow);
      transition: var(--transition);
    }

    .service-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--hover-shadow);
      border-color: rgba(79, 70, 229, 0.3);
    }

    .service-icon {
      width: 54px;
      height: 54px;
      background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(6, 182, 212, 0.1));
      color: var(--primary-color);
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      font-weight: bold;
      margin-bottom: 20px;
    }

    .service-card h3 {
      font-size: 1.3rem;
      margin-bottom: 12px;
    }

    .service-card p {
      color: var(--muted-text);
      font-size: 0.95rem;
      margin-bottom: 16px;
    }

    /* Image Wrapper Rules */
    .media-card {
      background: var(--white);
      border-radius: var(--radius-md);
      overflow: hidden;
      border: 1px solid var(--border-color);
      box-shadow: var(--card-shadow);
    }

    .media-card-img-wrap {
      width: 100%;
      overflow: hidden;
      aspect-ratio: 16 / 9;
      background: #f1f5f9;
    }

    .ai-page-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.5s ease;
    }

    .media-card:hover .ai-page-image {
      transform: scale(1.04);
    }

    .media-card-body {
      padding: 24px;
    }

    /* Workflow Timeline */
    .workflow-steps {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 20px;
      position: relative;
    }

    .step-card {
      background: var(--white);
      padding: 28px;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-color);
      box-shadow: var(--card-shadow);
      position: relative;
    }

    .step-number {
      font-size: 2.5rem;
      font-weight: 900;
      color: rgba(79, 70, 229, 0.15);
      position: absolute;
      top: 15px;
      right: 20px;
    }

    /* Comparison Section */
    .rating-banner {
      background: linear-gradient(135deg, #1e1b4b, #312e81);
      color: var(--white);
      padding: 30px;
      border-radius: var(--radius-md);
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 40px;
      flex-wrap: wrap;
      gap: 20px;
    }

    .rating-score {
      display: flex;
      align-items: center;
      gap: 15px;
    }

    .stars {
      color: #fbbf24;
      font-size: 1.5rem;
    }

    .score-num {
      font-size: 2.5rem;
      font-weight: 900;
      color: #67e8f9;
    }

    .table-responsive {
      width: 100%;
      overflow-x: auto;
    }

    .comparison-table {
      width: 100%;
      border-collapse: collapse;
      background: var(--white);
      border-radius: var(--radius-md);
      overflow: hidden;
      box-shadow: var(--card-shadow);
    }

    .comparison-table th, .comparison-table td {
      padding: 16px 20px;
      text-align: left;
      border-bottom: 1px solid var(--border-color);
    }

    .comparison-table th {
      background-color: #f8fafc;
      font-weight: 700;
      color: var(--dark-text);
    }

    .comparison-table tr:hover {
      background-color: #f1f5f9;
    }

    .highlight-col {
      background-color: rgba(79, 70, 229, 0.04);
      font-weight: 600;
      color: var(--primary-color);
    }

    /* FAQ Accordion */
    .faq-grid {
      max-width: 900px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .faq-item {
      background: var(--white);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      overflow: hidden;
      box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    }

    .faq-question {
      padding: 20px 24px;
      font-weight: 700;
      font-size: 1.05rem;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      background-color: var(--white);
      user-select: none;
    }

    .faq-question::after {
      content: "+";
      font-size: 1.4rem;
      color: var(--primary-color);
      transition: transform 0.3s ease;
    }

    .faq-item.active .faq-question::after {
      transform: rotate(45deg);
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
      padding: 0 24px;
      background-color: #f8fafc;
      color: var(--muted-text);
      font-size: 0.95rem;
    }

    .faq-item.active .faq-answer {
      max-height: 500px;
      padding: 20px 24px;
      border-top: 1px solid var(--border-color);
    }

    /* Reviews Section */
    .reviews-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 24px;
    }

    .review-card {
      background: var(--white);
      padding: 28px;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-color);
      box-shadow: var(--card-shadow);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .review-text {
      color: var(--muted-text);
      font-style: italic;
      margin-bottom: 20px;
    }

    .review-author {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .avatar-placeholder {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
    }

    .author-info h4 {
      font-size: 0.95rem;
    }

    .author-info p {
      font-size: 0.8rem;
      color: var(--muted-text);
    }

    /* Form & Contact Section */
    .contact-container {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
    }

    .contact-info-box {
      background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
      color: var(--white);
      padding: 40px;
      border-radius: var(--radius-md);
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .contact-info-box h3 {
      color: var(--white);
      font-size: 1.6rem;
    }

    .qr-box {
      background: rgba(255,255,255,0.1);
      padding: 20px;
      border-radius: var(--radius-sm);
      text-align: center;
      margin-top: 15px;
    }

    .qr-box img {
      max-width: 160px;
      height: auto;
      border-radius: 8px;
      margin-bottom: 8px;
    }

    .form-box {
      background: var(--white);
      padding: 40px;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-color);
      box-shadow: var(--card-shadow);
    }

    .form-group {
      margin-bottom: 20px;
    }

    .form-group label {
      display: block;
      font-weight: 600;
      margin-bottom: 8px;
      font-size: 0.9rem;
    }

    .form-control {
      width: 100%;
      padding: 12px 16px;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      font-size: 1rem;
      transition: var(--transition);
      outline: none;
    }

    .form-control:focus {
      border-color: var(--primary-color);
      box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
    }

    /* Footer */
    .footer {
      background-color: #0f172a;
      color: #94a3b8;
      padding: 60px 0 30px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 2fr;
      gap: 40px;
      margin-bottom: 40px;
    }

    .footer-brand h3 {
      color: var(--white);
      font-size: 1.4rem;
      margin-bottom: 15px;
    }

    .footer-links h4 {
      color: var(--white);
      font-size: 1rem;
      margin-bottom: 18px;
    }

    .footer-links ul {
      list-style: none;
    }

    .footer-links li {
      margin-bottom: 10px;
    }

    .footer-links a {
      color: #94a3b8;
      text-decoration: none;
      transition: var(--transition);
    }

    .footer-links a:hover {
      color: var(--white);
    }

    .friend-links-box {
      margin-top: 30px;
      padding-top: 20px;
      border-top: 1px solid #1e293b;
      display: flex;
      flex-wrap: wrap;
      gap: 15px;
      font-size: 0.85rem;
    }

    .friend-links-box a {
      color: #94a3b8;
      text-decoration: none;
    }

    .friend-links-box a:hover {
      color: var(--secondary-color);
    }

    .copyright-bar {
      text-align: center;
      padding-top: 30px;
      border-top: 1px solid #1e293b;
      font-size: 0.85rem;
    }

    /* Floating Widget */
    .floating-kefu {
      position: fixed;
      right: 25px;
      bottom: 25px;
      z-index: 999;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .float-btn {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: var(--primary-color);
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
      font-size: 0.8rem;
      font-weight: bold;
      transition: var(--transition);
    }

    .float-btn:hover {
      transform: scale(1.1);
    }

    /* Articles / News List */
    .article-links-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 16px;
      margin-top: 20px;
    }

    .article-item {
      background: var(--white);
      padding: 16px 20px;
      border-radius: var(--radius-sm);
      border: 1px solid var(--border-color);
      transition: var(--transition);
    }

    .article-item:hover {
      border-color: var(--primary-color);
      transform: translateY(-2px);
    }

    .article-item a {
      color: var(--dark-text);
      text-decoration: none;
      font-weight: 600;
    }

    .article-item a:hover {
      color: var(--primary-color);
    }

    /* Responsive */
    @media (max-width: 992px) {
      .hero-title { font-size: 2.2rem; }
      .about-grid, .contact-container, .footer-grid { grid-template-columns: 1fr; }
      .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        border-bottom: 1px solid var(--border-color);
        padding: 20px;
        box-shadow: var(--card-shadow);
      }
      .nav-menu.active { display: flex; }
      .nav-toggle { display: block; }
    }