:root {
      --primary: #2563eb;
      --primary-dark: #1d4ed8;
      --accent: #f97316;
      --accent-magenta: #ec4899;
      --accent-purple: #7c3aed;
      --bg-main: #f8fafc;
      --bg-card: #ffffff;
      --text-main: #0f172a;
      --text-muted: #475569;
      --border-color: #e2e8f0;
      --gradient-vibrant: linear-gradient(135deg, #ff416c 0%, #8a2387 50%, #e94057 100%);
      --gradient-hero: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #4338ca 100%);
      --gradient-badge: linear-gradient(90deg, #f43f5e, #fb923c);
      --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
      --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
      --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
      --shadow-vibrant: 0 10px 25px -5px rgba(236, 72, 153, 0.25);
      --radius-sm: 6px;
      --radius-md: 12px;
      --radius-lg: 18px;
    }

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

    html {
      scroll-behavior: smooth;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
      background-color: var(--bg-main);
      color: var(--text-main);
      line-height: 1.6;
    }

    body {
      background-color: var(--bg-main);
      color: var(--text-main);
      overflow-x: hidden;
    }

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

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

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

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

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

    .brand-name {
      font-size: 1.3rem;
      font-weight: 800;
      color: var(--text-main);
      letter-spacing: -0.5px;
    }

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

    .nav-links li a {
      color: var(--text-muted);
      text-decoration: none;
      font-size: 0.95rem;
      font-weight: 500;
      padding: 8px 12px;
      border-radius: var(--radius-sm);
      transition: all 0.2s ease;
      display: inline-block;
    }

    .nav-links li a:hover {
      color: var(--primary);
      background: rgba(37, 99, 235, 0.06);
    }

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

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 10px 22px;
      font-size: 0.95rem;
      font-weight: 600;
      border-radius: 50px;
      text-decoration: none;
      transition: all 0.25s ease;
      cursor: pointer;
      border: 1px solid transparent;
      line-height: 1.2;
    }

    .btn-primary {
      background: linear-gradient(90deg, #ec4899, #f43f5e, #fb923c);
      color: #ffffff;
      box-shadow: 0 4px 12px rgba(244, 63, 94, 0.35);
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 18px rgba(244, 63, 94, 0.45);
    }

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

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

    .btn-hero-main {
      background: linear-gradient(90deg, #ec4899 0%, #8b5cf6 50%, #3b82f6 100%);
      color: #ffffff;
      font-size: 1.1rem;
      padding: 14px 34px;
      box-shadow: 0 10px 25px rgba(236, 72, 153, 0.4);
      border: none;
    }

    .btn-hero-main:hover {
      transform: scale(1.03);
      box-shadow: 0 12px 30px rgba(139, 92, 246, 0.5);
    }

    .mobile-menu-toggle {
      display: none;
      background: none;
      border: none;
      font-size: 1.5rem;
      color: var(--text-main);
      cursor: pointer;
      padding: 4px;
    }

    /* Hero Section (No Images Allowed) */
    .hero-section {
      background: var(--gradient-hero);
      color: #ffffff;
      padding: 80px 0 90px 0;
      position: relative;
      overflow: hidden;
      border-bottom: 5px solid #ec4899;
    }

    .hero-section::before {
      content: "";
      position: absolute;
      top: -30%;
      left: 10%;
      width: 500px;
      height: 500px;
      background: radial-gradient(circle, rgba(236, 72, 153, 0.3) 0%, rgba(0,0,0,0) 70%);
      border-radius: 50%;
      pointer-events: none;
    }

    .hero-section::after {
      content: "";
      position: absolute;
      bottom: -20%;
      right: 5%;
      width: 450px;
      height: 450px;
      background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, rgba(0,0,0,0) 70%);
      border-radius: 50%;
      pointer-events: none;
    }

    .hero-content {
      position: relative;
      z-index: 1;
      text-align: center;
      max-width: 900px;
      margin: 0 auto;
    }

    .hero-badge {
      display: inline-block;
      background: var(--gradient-badge);
      color: #ffffff;
      font-size: 0.85rem;
      font-weight: 700;
      padding: 6px 16px;
      border-radius: 30px;
      margin-bottom: 20px;
      text-transform: uppercase;
      letter-spacing: 1px;
      box-shadow: 0 4px 12px rgba(244, 63, 94, 0.3);
    }

    .hero-title {
      font-size: 2.7rem;
      line-height: 1.25;
      font-weight: 900;
      margin-bottom: 20px;
      color: #ffffff;
      letter-spacing: -0.5px;
    }

    .hero-subtitle {
      font-size: 1.15rem;
      color: #e2e8f0;
      margin-bottom: 35px;
      line-height: 1.7;
    }

    .hero-actions {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
      margin-bottom: 45px;
    }

    .hero-features-bar {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.15);
      border-radius: var(--radius-md);
      padding: 20px;
      backdrop-filter: blur(8px);
    }

    .hero-feature-item {
      text-align: center;
    }

    .hero-feature-item .num {
      font-size: 1.6rem;
      font-weight: 800;
      color: #38bdf8;
      display: block;
      margin-bottom: 4px;
    }

    .hero-feature-item .lbl {
      font-size: 0.85rem;
      color: #cbd5e1;
    }

    /* Section Components */
    section.page-section {
      padding: 70px 0;
      border-bottom: 1px solid var(--border-color);
    }

    .section-header {
      text-align: center;
      max-width: 760px;
      margin: 0 auto 50px auto;
    }

    .section-eyebrow {
      display: inline-block;
      font-size: 0.85rem;
      font-weight: 700;
      color: #ec4899;
      text-transform: uppercase;
      letter-spacing: 1.5px;
      margin-bottom: 10px;
      background: #fdf2f8;
      padding: 4px 12px;
      border-radius: 20px;
      border: 1px solid #fbcfe8;
    }

    .section-title {
      font-size: 2.1rem;
      font-weight: 800;
      color: var(--text-main);
      margin-bottom: 15px;
      line-height: 1.3;
    }

    .section-desc {
      font-size: 1rem;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* Grid & Cards */
    .grid-3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

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

    .grid-2 {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 30px;
      align-items: center;
    }

    .card {
      background: var(--bg-card);
      border-radius: var(--radius-md);
      padding: 28px;
      border: 1px solid var(--border-color);
      box-shadow: var(--shadow-sm);
      transition: all 0.3s ease;
      position: relative;
    }

    .card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-lg);
      border-color: #cbd5e1;
    }

    .card-accent-top {
      border-top: 4px solid var(--accent-magenta);
    }

    .card-title {
      font-size: 1.2rem;
      font-weight: 700;
      margin-bottom: 12px;
      color: var(--text-main);
    }

    .card-desc {
      font-size: 0.92rem;
      color: var(--text-muted);
      line-height: 1.6;
    }

    .tag-cloud {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 15px;
    }

    .tag-item {
      background: #f1f5f9;
      color: #334155;
      font-size: 0.78rem;
      font-weight: 600;
      padding: 4px 10px;
      border-radius: 4px;
      border: 1px solid #e2e8f0;
    }

    /* Model Matrix Tags */
    .model-tags-container {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      justify-content: center;
      margin-top: 25px;
    }

    .model-pill {
      background: #ffffff;
      border: 1px solid #e2e8f0;
      padding: 8px 16px;
      border-radius: 30px;
      font-size: 0.88rem;
      font-weight: 600;
      color: #1e293b;
      box-shadow: var(--shadow-sm);
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: all 0.2s;
    }

    .model-pill:hover {
      border-color: #ec4899;
      color: #ec4899;
      transform: scale(1.05);
    }

    .model-pill::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #10b981;
    }

    /* Table Component */
    .table-container {
      overflow-x: auto;
      background: #ffffff;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-color);
      box-shadow: var(--shadow-sm);
      margin-top: 20px;
    }

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

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

    table.custom-table th {
      background: #f8fafc;
      font-weight: 700;
      color: #1e293b;
    }

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

    table.custom-table tr:hover td {
      background: #fbfcfe;
    }

    .highlight-cell {
      color: #ec4899;
      font-weight: 700;
    }

    .score-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: #fef2f2;
      color: #dc2626;
      padding: 4px 10px;
      border-radius: 6px;
      font-weight: 800;
    }

    /* Flow Step Component */
    .steps-wrapper {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      position: relative;
    }

    .step-card {
      background: #ffffff;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 24px;
      text-align: center;
      position: relative;
    }

    .step-number {
      width: 44px;
      height: 44px;
      background: linear-gradient(135deg, #ec4899, #f43f5e);
      color: #ffffff;
      font-size: 1.2rem;
      font-weight: 800;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 16px auto;
      box-shadow: 0 4px 10px rgba(236, 72, 153, 0.3);
    }

    /* FAQ Component */
    .faq-list {
      max-width: 860px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

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

    .faq-question {
      padding: 18px 24px;
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--text-main);
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      user-select: none;
    }

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

    .faq-icon {
      font-size: 1.2rem;
      color: var(--text-muted);
      transition: transform 0.3s ease;
    }

    .faq-item.active .faq-icon {
      transform: rotate(180deg);
      color: var(--accent-magenta);
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease, padding 0.3s ease;
      background: #f8fafc;
      color: var(--text-muted);
      font-size: 0.95rem;
      line-height: 1.65;
      padding: 0 24px;
    }

    .faq-item.active .faq-answer {
      max-height: 300px;
      padding: 16px 24px 20px 24px;
      border-top: 1px solid var(--border-color);
    }

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

    .testimonial-header {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 14px;
    }

    .user-avatar {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: linear-gradient(135deg, #3b82f6, #8b5cf6);
      color: #ffffff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 1.1rem;
    }

    .user-meta h4 {
      font-size: 0.98rem;
      font-weight: 700;
      color: var(--text-main);
    }

    .user-meta p {
      font-size: 0.8rem;
      color: var(--text-muted);
    }

    .testimonial-body {
      font-size: 0.9rem;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* Media/Banner Gallery */
    .media-gallery {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      margin-top: 30px;
    }

    .media-gallery .ai-page-image {
      border-radius: var(--radius-md);
      width: 100%;
      height: 180px;
      object-fit: cover;
      border: 1px solid var(--border-color);
      transition: transform 0.3s;
    }

    .media-gallery .ai-page-image:hover {
      transform: scale(1.02);
    }

    .banner-split-view {
      display: grid;
      grid-template-columns: 2fr 1fr;
      gap: 20px;
      margin-top: 24px;
    }

    .banner-split-view img {
      width: 100%;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-color);
      object-fit: cover;
      max-height: 260px;
    }

    /* Form Section */
    .form-wrapper {
      background: #ffffff;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      padding: 36px;
      box-shadow: var(--shadow-md);
    }

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

    .form-label {
      display: block;
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--text-main);
      margin-bottom: 6px;
    }

    .form-control {
      width: 100%;
      padding: 12px 16px;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      font-size: 0.95rem;
      color: var(--text-main);
      background: #fcfdfe;
      outline: none;
      transition: border-color 0.2s;
    }

    .form-control:focus {
      border-color: var(--primary);
      background: #ffffff;
      box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    }

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

    /* Contact Info & QR */
    .contact-info-block {
      background: #ffffff;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      padding: 36px;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .contact-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 14px;
      margin: 20px 0;
    }

    .contact-list li {
      font-size: 0.95rem;
      color: var(--text-muted);
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .contact-list strong {
      color: var(--text-main);
    }

    .qr-container {
      display: flex;
      align-items: center;
      gap: 18px;
      background: #f8fafc;
      padding: 16px;
      border-radius: var(--radius-md);
      border: 1px dashed #cbd5e1;
    }

    .qr-container img {
      width: 90px;
      height: 90px;
      border-radius: var(--radius-sm);
      border: 1px solid var(--border-color);
    }

    .qr-text h4 {
      font-size: 0.95rem;
      color: var(--text-main);
      margin-bottom: 4px;
    }

    .qr-text p {
      font-size: 0.8rem;
      color: var(--text-muted);
    }

    /* Articles & Friendly Links */
    .article-links-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      gap: 12px;
      margin-top: 20px;
    }

    .article-link-card {
      background: #ffffff;
      border: 1px solid var(--border-color);
      padding: 12px 16px;
      border-radius: var(--radius-sm);
      text-decoration: none;
      color: var(--text-main);
      font-size: 0.9rem;
      font-weight: 500;
      display: flex;
      align-items: center;
      justify-content: space-between;
      transition: all 0.2s;
    }

    .article-link-card:hover {
      border-color: var(--primary);
      color: var(--primary);
      background: #f8fafc;
    }

    .friend-links-wrap {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 15px;
    }

    .friend-links-wrap a {
      color: var(--text-muted);
      font-size: 0.88rem;
      text-decoration: none;
      background: #ffffff;
      border: 1px solid var(--border-color);
      padding: 6px 14px;
      border-radius: 4px;
      transition: all 0.2s;
    }

    .friend-links-wrap a:hover {
      color: var(--primary);
      border-color: var(--primary);
    }

    /* Footer */
    footer.site-footer {
      background: #0f172a;
      color: #94a3b8;
      padding: 50px 0 30px 0;
      font-size: 0.9rem;
      border-top: 3px solid #ec4899;
    }

    .footer-top {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      gap: 40px;
      padding-bottom: 40px;
      border-bottom: 1px solid #1e293b;
    }

    .footer-brand h3 {
      color: #ffffff;
      font-size: 1.3rem;
      margin-bottom: 12px;
    }

    .footer-brand p {
      line-height: 1.6;
      color: #94a3b8;
      max-width: 420px;
    }

    .footer-col h4 {
      color: #f1f5f9;
      font-size: 1rem;
      margin-bottom: 16px;
    }

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

    .footer-col ul li a {
      color: #94a3b8;
      text-decoration: none;
      transition: color 0.2s;
    }

    .footer-col ul li a:hover {
      color: #38bdf8;
    }

    .footer-bottom {
      padding-top: 25px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 15px;
      font-size: 0.82rem;
      color: #64748b;
    }

    .footer-bottom a {
      color: #94a3b8;
      text-decoration: none;
    }

    .footer-bottom a:hover {
      color: #ffffff;
    }

    /* Floating Widget */
    .floating-kefu {
      position: fixed;
      right: 20px;
      bottom: 30px;
      z-index: 999;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .kefu-btn {
      width: 52px;
      height: 52px;
      border-radius: 50%;
      background: linear-gradient(135deg, #ec4899, #f43f5e);
      color: #ffffff;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
      cursor: pointer;
      text-decoration: none;
      font-size: 1.2rem;
      transition: transform 0.25s;
    }

    .kefu-btn:hover {
      transform: scale(1.1);
    }

    /* Responsive */
    @media (max-width: 992px) {
      .grid-4, .steps-wrapper, .media-gallery {
        grid-template-columns: repeat(2, 1fr);
      }
      .grid-3 {
        grid-template-columns: repeat(2, 1fr);
      }
      .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
      }
      .hero-features-bar {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 768px) {
      .grid-3, .grid-2, .grid-4, .steps-wrapper, .banner-split-view, .media-gallery {
        grid-template-columns: 1fr;
      }
      .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
      }
      .nav-links.active {
        display: flex;
      }
      .mobile-menu-toggle {
        display: block;
      }
      .hero-title {
        font-size: 2rem;
      }
      .section-title {
        font-size: 1.7rem;
      }
      .form-wrapper, .contact-info-block {
        padding: 24px;
      }
    }