/* ============================================================
   CiCC Platform v4.0.0 — PAGE TEMPLATES (VIP PRO)
   Template: gioi-thieu, dich-vu, docs, lien-he, sitemap, modules, trial, ecosystem
   ============================================================ */

.page-template {
  --pt-accent: #2563eb;
  --pt-grad: linear-gradient(135deg, #1a237e 0%, #2563eb 50%, #3b82f6 100%);
}

/* Hero generic */
.page-hero, .about-hero, .service-hero, .docs-hero, .contact-hero, .sitemap-hero {
  padding: calc(var(--header-height, 80px) + 48px) 0 60px;
  text-align: center;
  background: var(--pt-grad);
  color: #fff;
  position: relative; overflow: hidden;
}
.page-hero::before, .about-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(700px 300px at 85% 25%, rgba(255,255,255,.08), transparent 60%),
    radial-gradient(500px 250px at 15% 75%, rgba(255,255,255,.05), transparent 60%);
}
.page-hero > *, .about-hero > * { position: relative; z-index: 1; }
.page-hero .section-tag, .about-hero .section-tag {
  background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.2);
}
.page-hero h1, .about-hero h1 {
  font-size: clamp(28px, 4vw, 44px); font-weight: 800; color: #fff; margin: 16px auto;
  text-shadow: 0 4px 14px rgba(0,0,0,.4); max-width: 800px;
}
.page-hero p, .about-hero p {
  color: rgba(255,255,255,.85); font-size: 18px; max-width: 640px; margin: 0 auto;
}

/* Stats */
.about-stats, .page-stats {
  display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-top: 32px;
}
.about-stat, .page-stat {
  text-align: center; padding: 18px 28px; border-radius: 16px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
}
.stat-number { display: block; font-size: 36px; font-weight: 800; color: #fff; line-height: 1.1; }
.stat-label { font-size: 13px; color: rgba(255,255,255,.8); text-transform: uppercase; letter-spacing: .5px; }

/* Sections */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header .section-tag { margin-bottom: 12px; }
.section-header h2 { font-size: clamp(26px, 3.5vw, 36px); font-weight: 800; color: var(--text-primary); margin: 0 auto 12px; max-width: 700px; }
.section-header p { color: var(--text-secondary); font-size: 18px; max-width: 600px; margin: 0 auto; }

/* Grid layouts */
.overview-grid, .vision-grid, .founder-grid, .values-grid, .timeline, .partners-grid, .clients-categories, .services-grid, .docs-grid, .contact-grid {
  display: grid; gap: 32px;
}
.overview-grid { grid-template-columns: 1fr 1.5fr; }
.brand-card, .overview-content, .vision-card, .value-card, .partner-card, .service-card, .doc-card, .contact-card {
  background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 20px;
  padding: 32px; transition: transform .3s, box-shadow .3s, border-color .3s;
}
.brand-card:hover, .overview-content:hover, .vision-card:hover, .value-card:hover, .partner-card:hover, .service-card:hover {
  transform: translateY(-6px); box-shadow: 0 24px 48px -16px rgba(37,99,235,.3); border-color: transparent;
}
.value-icon, .partner-logo {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 14px; font-weight: 700; font-size: 18px; color: #fff;
  margin-bottom: 16px;
}
.value-card h4, .partner-card h4, .service-card h3, .doc-card h3, .contact-card h3 {
  font-size: 20px; font-weight: 700; margin: 0 0 8px; color: var(--text-primary);
}
.value-card p, .partner-card p, .service-card p, .doc-card p, .contact-card p {
  font-size: 15px; color: var(--text-secondary); line-height: 1.6; margin: 0;
}
.partner-tag, .service-tag {
  display: inline-block; margin-top: 12px; padding: 4px 12px; border-radius: 12px;
  font-size: 12px; font-weight: 600; color: var(--pt-accent);
  background: rgba(37,99,235,.1); border: 1px solid rgba(37,99,235,.2);
}

/* Vision */
.vision-grid { grid-template-columns: repeat(3, 1fr); }
.vision-icon { width: 56px; height: 56px; border-radius: 14px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; }
.vision-icon svg { width: 32px; height: 32px; }
.vision-card { text-align: center; }

/* Timeline */
.timeline { position: relative; padding-left: 24px; max-width: 800px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 0; bottom: 0; width: 3px; background: var(--pt-grad); border-radius: 2px; }
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-year {
  position: absolute; left: -72px; top: 0; width: 64px; text-align: right;
  font-size: 14px; font-weight: 700; color: var(--pt-accent); background: var(--bg-card);
  padding: 4px 8px; border-radius: 6px; border: 1px solid var(--border-color);
}
.timeline-item::before {
  content: ""; position: absolute; left: -11px; top: 4px; width: 12px; height: 12px;
  background: var(--pt-accent); border: 3px solid var(--bg-page); border-radius: 50%; z-index: 1;
}
.timeline-content { padding-left: 24px; }
.timeline-content h4 { font-size: 18px; font-weight: 700; margin: 0 0 6px; color: var(--text-primary); }
.timeline-content p { font-size: 15px; color: var(--text-secondary); line-height: 1.6; margin: 0; }

/* Founder */
.founder-grid { grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.founder-photo { text-align: center; }
.photo-frame { width: 240px; height: 240px; border-radius: 50%; margin: 0 auto 20px; box-shadow: 0 20px 40px -16px rgba(0,0,0,.3); }
.photo-badges { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.badge { padding: 5px 14px; border-radius: 9999px; font-size: 12px; font-weight: 600; background: var(--bg-card); border: 1px solid var(--border-color); color: var(--text-secondary); }
.founder-milestones { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 24px 0; }
.milestone { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; padding: 16px; }
.milestone-year { display: block; font-size: 12px; font-weight: 700; color: var(--pt-accent); margin-bottom: 4px; }
.milestone-desc { font-size: 14px; color: var(--text-secondary); }
.founder-cta { margin-top: 24px; }

/* Partners */
.partners-grid { grid-template-columns: repeat(4, 1fr); }
.partner-logo { background: var(--pt-grad); width: 64px; height: 64px; border-radius: 16px; font-size: 16px; }

/* Clients */
.client-category h4 { font-size: 16px; font-weight: 700; color: var(--text-primary); margin: 0 0 12px; }
.category-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.category-tags span {
  padding: 6px 16px; border-radius: 9999px; font-size: 13px; font-weight: 500;
  background: var(--bg-card); border: 1px solid var(--border-color); color: var(--text-secondary);
  transition: all .2s;
}
.category-tags span:hover { border-color: var(--pt-accent); color: var(--pt-accent); }

/* Banner */
.banner-gradient {
  background: linear-gradient(135deg, #f9a825 0%, #f57f17 100%);
  padding: 48px 0;
}
.banner-gradient .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.banner-gradient h2 { font-size: 26px; font-weight: 800; color: #1a237e; margin: 8px 0; max-width: 500px; }
.banner-gradient p { color: rgba(26,35,126,.8); font-size: 15px; margin: 0; max-width: 500px; }
.banner-gradient .section-tag { background: rgba(26,35,126,.15); color: #1a237e; }
.banner-gradient .btn { background: #1a237e; color: #fff; font-weight: 700; padding: 14px 28px; border-radius: 12px; white-space: nowrap; }

/* CTA Section */
.cta-section .cta-box {
  text-align: center; padding: 48px; border-radius: 24px;
  background: var(--pt-grad); color: #fff;
}
.cta-box h2 { font-size: clamp(26px, 3.5vw, 36px); font-weight: 800; margin: 0 0 16px; }
.cta-box p { font-size: 18px; margin: 0 0 28px; opacity: .9; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-actions .btn { padding: 16px 32px; border-radius: 12px; font-weight: 700; font-size: 16px; }
.cta-actions .btn-white { background: #fff; color: #1a237e; }
.cta-actions .btn-outline-white { border-color: rgba(255,255,255,.3); color: #fff; }
.cta-actions .btn-outline-white:hover { background: rgba(255,255,255,.1); }

/* Services */
.services-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.service-card .service-icon {
  width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.service-card ul { padding-left: 20px; margin: 16px 0 0; }
.service-card li { font-size: 14px; color: var(--text-secondary); margin-bottom: 6px; }

/* Docs */
.docs-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.doc-card .doc-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--pt-grad); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.doc-card .doc-icon svg { width: 28px; height: 28px; color: #fff; }
.doc-meta { display: flex; gap: 16px; font-size: 13px; color: var(--text-secondary); margin-top: 12px; }

/* Contact */
.contact-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.contact-card .contact-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--pt-grad); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.contact-card .contact-icon svg { width: 28px; height: 28px; color: #fff; }
.contact-info { font-size: 15px; color: var(--text-secondary); line-height: 1.8; }
.contact-info strong { display: block; color: var(--text-primary); margin-bottom: 4px; }

/* Form */
.contact-form { max-width: 600px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 14px 18px; border-radius: 12px; border: 1px solid var(--border-color);
  background: var(--bg-card); color: var(--text-primary); font-size: 16px; font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--pt-accent); box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.form-group textarea { min-height: 140px; resize: vertical; }

/* Sitemap */
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.sitemap-group h3 { font-size: 16px; font-weight: 700; color: var(--pt-accent); margin: 0 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--pt-accent); }
.sitemap-group ul { list-style: none; padding: 0; margin: 0; }
.sitemap-group li { margin-bottom: 8px; }
.sitemap-group a { color: var(--text-secondary); text-decoration: none; font-size: 14px; transition: color .2s; }
.sitemap-group a:hover { color: var(--pt-accent); }

/* Responsive */
@media (max-width: 992px) {
  .overview-grid { grid-template-columns: 1fr; }
  .vision-grid { grid-template-columns: 1fr; }
  .founder-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { padding-left: 16px; }
  .timeline-year { position: static; width: auto; text-align: left; margin-bottom: 8px; }
  .timeline::before { left: 4px; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .about-stats { gap: 16px; }
  .partners-grid { grid-template-columns: 1fr; }
  .timeline-item::before { width: 10px; height: 10px; left: -9px; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-card, .overview-content, .vision-card, .value-card, .partner-card, .service-card {
    transition: none !important; transform: none !important;
  }
}