/* ============================================
   Cantini Torri - Global Stylesheet
   跨境高端品牌建站服务官网
   创意潮玩风 | 亮紫+亮绿+亮橙
   ============================================ */

/* --- CSS Variables --- */
:root {
  --purple: #6D28D9;
  --purple-light: #8B5CF6;
  --purple-dark: #5B21B6;
  --purple-bg: #F5F3FF;
  --green: #10B981;
  --green-light: #34D399;
  --green-dark: #059669;
  --green-bg: #ECFDF5;
  --orange: #F97316;
  --orange-light: #FB923C;
  --orange-dark: #EA580C;
  --orange-bg: #FFF7ED;
  --bg: #FAFAF9;
  --bg-alt: #F5F5F4;
  --bg-card: #FFFFFF;
  --text: #1C1917;
  --text-secondary: #57534E;
  --text-muted: #A8A29E;
  --border: #E7E5E4;
  --border-light: #F5F5F4;
  --shadow-sm: 0 1px 3px rgba(28,25,23,0.06);
  --shadow-md: 0 4px 16px rgba(28,25,23,0.08);
  --shadow-lg: 0 12px 40px rgba(28,25,23,0.1);
  --shadow-purple: 0 8px 32px rgba(109,40,217,0.15);
  --shadow-green: 0 8px 32px rgba(16,185,129,0.15);
  --shadow-orange: 0 8px 32px rgba(249,115,22,0.15);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1280px;
}

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.25; color: var(--text); }

/* --- Utility --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }
.text-center { text-align: center; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.grid { display: grid; }
.hidden { display: none !important; }

/* --- Scroll Animations --- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.92); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px; font-weight: 600; font-size: 15px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.btn-primary { background: var(--purple); color: #fff; box-shadow: var(--shadow-purple); }
.btn-primary:hover { background: var(--purple-dark); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(109,40,217,0.25); }
.btn-green { background: var(--green); color: #fff; box-shadow: var(--shadow-green); }
.btn-green:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn-orange { background: var(--orange); color: #fff; box-shadow: var(--shadow-orange); }
.btn-orange:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn-outline { border: 2px solid var(--purple); color: var(--purple); background: transparent; }
.btn-outline:hover { background: var(--purple); color: #fff; }
.btn-ghost { color: var(--text-secondary); }
.btn-ghost:hover { color: var(--purple); }
.btn-lg { padding: 18px 40px; font-size: 17px; }
.btn-sm { padding: 10px 22px; font-size: 14px; }

/* --- Navigation --- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 0; transition: var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: 14px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; color: var(--text); }
.nav-logo .logo-mark { width: 40px; height: 40px; }
.nav-logo span { background: linear-gradient(135deg, var(--purple), var(--green)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-item { position: relative; }
.nav-link {
  display: block; padding: 10px 18px; font-weight: 500; font-size: 15px;
  color: var(--text-secondary); border-radius: 8px; transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--purple); background: var(--purple-bg); }
.nav-dropdown {
  position: absolute; top: 100%; left: 0; min-width: 240px;
  background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  padding: 12px; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: var(--transition);
}
.nav-item:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown a { display: block; padding: 10px 14px; border-radius: 8px; font-size: 14px; color: var(--text-secondary); }
.nav-dropdown a:hover { background: var(--purple-bg); color: var(--purple); }
.nav-cta { margin-left: 12px; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-menu {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: #fff; z-index: 999; padding: 100px 32px 40px;
  transform: translateX(100%); transition: transform 0.4s ease;
}
.mobile-menu.active { transform: translateX(0); }
.mobile-menu a { display: block; padding: 16px 0; font-size: 18px; font-weight: 500; border-bottom: 1px solid var(--border-light); }

/* --- Hero / Banner --- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 140px 0 80px; overflow: hidden;
  background: linear-gradient(160deg, #FAFAF9 0%, #F5F3FF 40%, #ECFDF5 100%);
}
.hero::before {
  content: ''; position: absolute; top: -20%; right: -10%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(109,40,217,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: ''; position: absolute; bottom: -10%; left: -5%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(16,185,129,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; background: #fff; border-radius: 50px;
  font-size: 13px; font-weight: 600; color: var(--purple);
  box-shadow: var(--shadow-sm); margin-bottom: 28px;
  animation: fadeInUp 0.8s ease;
}
.hero-badge .dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; animation: pulse 2s infinite; }
.hero h1 {
  font-size: clamp(36px, 5vw, 64px); font-weight: 800; line-height: 1.1;
  margin-bottom: 24px; animation: fadeInUp 0.8s ease 0.1s both;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--purple), var(--green));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero h1 .accent-orange { color: var(--orange); -webkit-text-fill-color: var(--orange); }
.hero-desc {
  font-size: 18px; color: var(--text-secondary); line-height: 1.8;
  margin-bottom: 36px; max-width: 540px; animation: fadeInUp 0.8s ease 0.2s both;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeInUp 0.8s ease 0.3s both; }
.hero-stats { display: flex; gap: 40px; margin-top: 56px; animation: fadeInUp 0.8s ease 0.4s both; }
.hero-stat .num { font-size: 36px; font-weight: 800; color: var(--purple); }
.hero-stat .label { font-size: 14px; color: var(--text-muted); }
.hero-visual { position: relative; animation: fadeInRight 1s ease 0.3s both; }
.hero-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero-float-card {
  position: absolute; background: #fff; border-radius: var(--radius-md);
  padding: 18px 22px; box-shadow: var(--shadow-lg);
  animation: float 4s ease-in-out infinite;
}
.hero-float-card.card-1 { top: 10%; left: -30px; }
.hero-float-card.card-2 { bottom: 15%; right: -20px; animation-delay: 1s; }
.hero-float-card .icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.hero-float-card .icon.purple { background: var(--purple-bg); }
.hero-float-card .icon.green { background: var(--green-bg); }
.hero-float-card .title { font-weight: 700; font-size: 15px; }
.hero-float-card .sub { font-size: 12px; color: var(--text-muted); }

/* --- Section Headers --- */
.section-header { margin-bottom: 60px; max-width: 700px; }
.section-header.center { margin: 0 auto 60px; text-align: center; }
.section-tag {
  display: inline-block; padding: 6px 16px; border-radius: 50px;
  font-size: 13px; font-weight: 600; margin-bottom: 16px;
}
.section-tag.purple { background: var(--purple-bg); color: var(--purple); }
.section-tag.green { background: var(--green-bg); color: var(--green); }
.section-tag.orange { background: var(--orange-bg); color: var(--orange); }
.section-title { font-size: clamp(28px, 3.5vw, 44px); font-weight: 800; margin-bottom: 16px; }
.section-title .gradient { background: linear-gradient(135deg, var(--purple), var(--green)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-desc { font-size: 17px; color: var(--text-secondary); line-height: 1.8; }

/* --- Cards Grid --- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cards-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--bg-card); border-radius: var(--radius-lg); padding: 36px;
  box-shadow: var(--shadow-sm); transition: var(--transition); position: relative; overflow: hidden;
  border: 1px solid transparent;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--border); }
.card-icon {
  width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px; font-size: 24px;
}
.card-icon.purple { background: var(--purple-bg); color: var(--purple); }
.card-icon.green { background: var(--green-bg); color: var(--green); }
.card-icon.orange { background: var(--orange-bg); color: var(--orange); }
.card h3 { font-size: 20px; margin-bottom: 12px; }
.card p { color: var(--text-secondary); font-size: 15px; line-height: 1.7; }
.card-arrow { margin-top: 20px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--purple); }
.card:hover .card-arrow { gap: 12px; }

/* --- Feature Bento Grid --- */
.bento-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: auto auto; gap: 20px; }
.bento-item {
  background: var(--bg-card); border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow-sm); transition: var(--transition); position: relative; overflow: hidden;
}
.bento-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.bento-item.large { grid-column: span 2; grid-row: span 2; }
.bento-item.wide { grid-column: span 2; }
.bento-item.tall { grid-row: span 2; }
.bento-item .bento-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }

/* --- Process / Steps --- */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process-step { text-align: center; padding: 40px 24px; position: relative; }
.process-step .step-num {
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; color: #fff; margin: 0 auto 20px;
}
.process-step:nth-child(1) .step-num { background: var(--purple); }
.process-step:nth-child(2) .step-num { background: var(--green); }
.process-step:nth-child(3) .step-num { background: var(--orange); }
.process-step:nth-child(4) .step-num { background: var(--purple-dark); }
.process-step h4 { font-size: 18px; margin-bottom: 10px; }
.process-step p { font-size: 14px; color: var(--text-secondary); }
.process-step::after {
  content: ''; position: absolute; top: 68px; right: -50%; width: 100%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--border) 0, var(--border) 6px, transparent 6px, transparent 12px);
}
.process-step:last-child::after { display: none; }

/* --- Showcase / Image Section --- */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.showcase.reverse { direction: rtl; }
.showcase.reverse > * { direction: ltr; }
.showcase-img { position: relative; }
.showcase-img img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.showcase-img .badge-float {
  position: absolute; bottom: -20px; right: -20px; background: #fff;
  padding: 16px 24px; border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px;
}
.showcase-content h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 20px; }
.showcase-content p { color: var(--text-secondary); font-size: 16px; margin-bottom: 24px; line-height: 1.8; }
.showcase-list { display: flex; flex-direction: column; gap: 14px; }
.showcase-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.showcase-list .check { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 12px; color: #fff; }
.showcase-list .check.purple { background: var(--purple); }
.showcase-list .check.green { background: var(--green); }
.showcase-list .check.orange { background: var(--orange); }

/* --- Stats Band --- */
.stats-band {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  border-radius: var(--radius-xl); padding: 60px; color: #fff;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
}
.stats-band .stat-item { text-align: center; }
.stats-band .stat-num { font-size: 48px; font-weight: 800; margin-bottom: 8px; }
.stats-band .stat-label { font-size: 15px; opacity: 0.85; }

/* --- Testimonials --- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial-card {
  background: var(--bg-card); border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow-sm); position: relative;
}
.testimonial-card .quote-mark { font-size: 48px; color: var(--purple-bg); font-family: Georgia, serif; line-height: 1; position: absolute; top: 20px; right: 28px; }
.testimonial-card p { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 24px; position: relative; z-index: 1; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial-author .name { font-weight: 700; font-size: 15px; }
.testimonial-author .role { font-size: 13px; color: var(--text-muted); }

/* --- News / Blog --- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card {
  background: var(--bg-card); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-card .news-img { aspect-ratio: 16/10; overflow: hidden; }
.news-card .news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.news-card:hover .news-img img { transform: scale(1.05); }
.news-card .news-body { padding: 24px; }
.news-card .news-meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.news-card .news-meta .cat { padding: 3px 10px; border-radius: 50px; font-weight: 600; }
.news-card .news-meta .cat.purple { background: var(--purple-bg); color: var(--purple); }
.news-card .news-meta .cat.green { background: var(--green-bg); color: var(--green); }
.news-card .news-meta .cat.orange { background: var(--orange-bg); color: var(--orange); }
.news-card h3 { font-size: 18px; margin-bottom: 10px; line-height: 1.4; }
.news-card h3 a:hover { color: var(--purple); }
.news-card .news-excerpt { font-size: 14px; color: var(--text-secondary); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--purple) 0%, #4C1D95 100%);
  border-radius: var(--radius-xl); padding: 70px 60px; text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: -50%; right: -20%; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(16,185,129,0.2) 0%, transparent 70%); border-radius: 50%;
}
.cta-section h2 { font-size: clamp(28px, 3.5vw, 42px); color: #fff; margin-bottom: 16px; position: relative; }
.cta-section p { font-size: 17px; opacity: 0.9; margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; position: relative; }
.cta-section .btn-orange { position: relative; }

/* --- Footer --- */
.footer { background: #1C1917; color: #D6D3D1; padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; }
.footer-brand .logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; color: #fff; margin-bottom: 20px; }
.footer-brand .logo span { background: linear-gradient(135deg, var(--purple-light), var(--green-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.footer-brand p { font-size: 14px; line-height: 1.8; color: #A8A29E; margin-bottom: 24px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.footer-social a:hover { background: var(--purple); transform: translateY(-2px); }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { font-size: 14px; color: #A8A29E; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--green-light); padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { font-size: 13px; color: #78716C; }
.footer-bottom .links { display: flex; gap: 24px; }
.footer-bottom .links a { font-size: 13px; color: #78716C; }
.footer-bottom .links a:hover { color: #D6D3D1; }

/* --- Page Header (Interior Pages) --- */
.page-header {
  padding: 160px 0 80px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, #FAFAF9 0%, #F5F3FF 50%, #ECFDF5 100%);
}
.page-header::before {
  content: ''; position: absolute; top: 0; right: 0; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(109,40,217,0.06) 0%, transparent 70%); border-radius: 50%;
}
.page-header .breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-muted); margin-bottom: 20px; position: relative; }
.page-header .breadcrumb a:hover { color: var(--purple); }
.page-header h1 { font-size: clamp(32px, 4vw, 52px); font-weight: 800; margin-bottom: 16px; position: relative; }
.page-header h1 .gradient { background: linear-gradient(135deg, var(--purple), var(--green)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-header .subtitle { font-size: 18px; color: var(--text-secondary); max-width: 640px; position: relative; }

/* --- Service Detail Page --- */
.service-detail { display: grid; grid-template-columns: 1fr 320px; gap: 50px; }
.service-content h2 { font-size: 28px; margin: 40px 0 16px; }
.service-content h2:first-child { margin-top: 0; }
.service-content p { color: var(--text-secondary); margin-bottom: 16px; line-height: 1.9; }
.service-content ul { margin: 16px 0; padding-left: 0; }
.service-content ul li { padding: 10px 0 10px 28px; position: relative; color: var(--text-secondary); }
.service-content ul li::before { content: ''; position: absolute; left: 0; top: 16px; width: 18px; height: 18px; border-radius: 50%; background: var(--purple-bg); }
.service-content ul li::after { content: ''; position: absolute; left: 5px; top: 21px; width: 8px; height: 8px; border-radius: 50%; background: var(--purple); }
.service-sidebar { position: sticky; top: 100px; align-self: start; }
.sidebar-card { background: var(--bg-card); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); margin-bottom: 24px; }
.sidebar-card h4 { font-size: 17px; margin-bottom: 16px; }
.sidebar-card ul li { padding: 10px 0; border-bottom: 1px solid var(--border-light); font-size: 14px; }
.sidebar-card ul li:last-child { border-bottom: none; }
.sidebar-card ul li a { color: var(--text-secondary); display: flex; justify-content: space-between; }
.sidebar-card ul li a:hover { color: var(--purple); }
.sidebar-cta { background: linear-gradient(135deg, var(--purple), var(--purple-dark)); border-radius: var(--radius-lg); padding: 32px; color: #fff; text-align: center; }
.sidebar-cta h4 { color: #fff; margin-bottom: 10px; }
.sidebar-cta p { font-size: 14px; opacity: 0.85; margin-bottom: 20px; }

/* --- About Page --- */
.about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-hero-img { position: relative; }
.about-hero-img img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-hero-img .exp-badge {
  position: absolute; top: -20px; left: -20px; background: var(--orange);
  color: #fff; padding: 20px 28px; border-radius: var(--radius-md); box-shadow: var(--shadow-orange);
}
.about-hero-img .exp-badge .num { font-size: 36px; font-weight: 800; }
.about-hero-img .exp-badge .label { font-size: 13px; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.team-card { text-align: center; }
.team-card .team-img { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 18px; aspect-ratio: 3/4; }
.team-card .team-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.team-card:hover .team-img img { transform: scale(1.05); }
.team-card h4 { font-size: 18px; margin-bottom: 4px; }
.team-card .role { font-size: 14px; color: var(--purple); font-weight: 600; }

/* --- Contact Page --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; }
.contact-info-card {
  background: var(--bg-card); border-radius: var(--radius-lg); padding: 36px;
  box-shadow: var(--shadow-sm); margin-bottom: 20px; display: flex; gap: 20px; align-items: flex-start;
}
.contact-info-card .icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 22px; }
.contact-info-card h4 { font-size: 17px; margin-bottom: 6px; }
.contact-info-card p { font-size: 14px; color: var(--text-secondary); }
.contact-form { background: var(--bg-card); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); }
.contact-form h3 { font-size: 24px; margin-bottom: 8px; }
.contact-form .form-sub { color: var(--text-secondary); margin-bottom: 28px; font-size: 15px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 14px 18px; border: 2px solid var(--border); border-radius: var(--radius-sm);
  transition: var(--transition); background: var(--bg);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--purple); background: #fff; box-shadow: 0 0 0 4px var(--purple-bg);
}
.form-group textarea { resize: vertical; min-height: 140px; }

/* --- Cases / Portfolio --- */
.cases-filter { display: flex; gap: 12px; justify-content: center; margin-bottom: 48px; flex-wrap: wrap; }
.cases-filter button {
  padding: 10px 24px; border-radius: 50px; font-size: 14px; font-weight: 600;
  background: var(--bg-card); color: var(--text-secondary); transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.cases-filter button.active, .cases-filter button:hover { background: var(--purple); color: #fff; }
.cases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.case-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); background: var(--bg-card); }
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.case-card .case-img { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.case-card .case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.case-card:hover .case-img img { transform: scale(1.05); }
.case-card .case-img .case-tag { position: absolute; top: 16px; left: 16px; padding: 6px 14px; border-radius: 50px; font-size: 12px; font-weight: 600; background: rgba(255,255,255,0.9); backdrop-filter: blur(10px); }
.case-card .case-body { padding: 28px; }
.case-card h3 { font-size: 20px; margin-bottom: 10px; }
.case-card p { font-size: 14px; color: var(--text-secondary); margin-bottom: 16px; }
.case-card .case-meta { display: flex; gap: 24px; font-size: 13px; color: var(--text-muted); }
.case-card .case-meta span { display: flex; align-items: center; gap: 6px; }

/* --- FAQ --- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card); border-radius: var(--radius-md); margin-bottom: 16px;
  box-shadow: var(--shadow-sm); overflow: hidden; transition: var(--transition);
}
.faq-item.active { box-shadow: var(--shadow-md); }
.faq-question {
  padding: 22px 28px; display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-weight: 600; font-size: 16px;
}
.faq-question .icon { width: 28px; height: 28px; border-radius: 50%; background: var(--purple-bg); color: var(--purple); display: flex; align-items: center; justify-content: center; font-size: 18px; transition: var(--transition); flex-shrink: 0; margin-left: 16px; }
.faq-item.active .faq-question .icon { transform: rotate(45deg); background: var(--purple); color: #fff; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer-inner { padding: 0 28px 24px; color: var(--text-secondary); font-size: 15px; line-height: 1.8; }

/* --- Pricing --- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.pricing-card {
  background: var(--bg-card); border-radius: var(--radius-lg); padding: 40px 32px;
  box-shadow: var(--shadow-sm); transition: var(--transition); position: relative;
  display: flex; flex-direction: column;
}
.pricing-card.featured { border: 2px solid var(--purple); transform: scale(1.03); box-shadow: var(--shadow-purple); }
.pricing-card.featured .pricing-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--purple); color: #fff; padding: 6px 20px; border-radius: 50px; font-size: 13px; font-weight: 600; }
.pricing-card h3 { font-size: 22px; margin-bottom: 8px; }
.pricing-card .pricing-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
.pricing-card .price { font-size: 44px; font-weight: 800; margin-bottom: 4px; }
.pricing-card .price .currency { font-size: 20px; }
.pricing-card .price-period { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }
.pricing-card ul { flex: 1; margin-bottom: 28px; }
.pricing-card ul li { padding: 10px 0; font-size: 14px; color: var(--text-secondary); display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--border-light); }
.pricing-card ul li:last-child { border-bottom: none; }
.pricing-card ul li .check { width: 20px; height: 20px; border-radius: 50%; background: var(--green-bg); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 11px; flex-shrink: 0; }

/* --- Partners / Clients --- */
.partners-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.partner-item {
  background: var(--bg-card); border-radius: var(--radius-md); padding: 28px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); transition: var(--transition); filter: grayscale(1); opacity: 0.6;
}
.partner-item:hover { filter: grayscale(0); opacity: 1; transform: translateY(-2px); }
.partner-item img { max-height: 36px; object-fit: contain; }

/* --- News Detail (show.html) --- */
.article-header { padding: 140px 0 40px; }
.article-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; font-size: 14px; color: var(--text-muted); }
.article-meta .cat { padding: 4px 12px; border-radius: 50px; font-weight: 600; background: var(--purple-bg); color: var(--purple); }
.article-title { font-size: clamp(28px, 4vw, 48px); font-weight: 800; line-height: 1.2; margin-bottom: 24px; }
.article-cover { width: 100%; border-radius: var(--radius-lg); margin-bottom: 40px; box-shadow: var(--shadow-md); }
.article-body { max-width: 800px; margin: 0 auto; }
.article-body p { font-size: 17px; line-height: 2; color: var(--text-secondary); margin-bottom: 24px; }
.article-body h2 { font-size: 26px; margin: 40px 0 16px; }
.article-body h3 { font-size: 20px; margin: 32px 0 12px; }
.article-body img { border-radius: var(--radius-md); margin: 24px 0; }
.article-body blockquote { border-left: 4px solid var(--purple); padding: 16px 24px; background: var(--purple-bg); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 24px 0; font-style: italic; color: var(--text-secondary); }
.article-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--border); }
.article-tags a { padding: 6px 16px; border-radius: 50px; background: var(--bg-alt); font-size: 13px; color: var(--text-secondary); }
.article-tags a:hover { background: var(--purple); color: #fff; }
.related-news { margin-top: 80px; }

/* --- Solutions Page --- */
.solution-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-bottom: 80px; }
.solution-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.solution-card {
  background: var(--bg-card); border-radius: var(--radius-lg); padding: 36px;
  box-shadow: var(--shadow-sm); transition: var(--transition); border-top: 4px solid transparent;
}
.solution-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.solution-card:nth-child(1) { border-top-color: var(--purple); }
.solution-card:nth-child(2) { border-top-color: var(--green); }
.solution-card:nth-child(3) { border-top-color: var(--orange); }
.solution-card .num { font-size: 48px; font-weight: 800; color: var(--border); margin-bottom: 12px; }
.solution-card h3 { font-size: 20px; margin-bottom: 12px; }
.solution-card p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; }

/* --- Timeline --- */
.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 12px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-item::before { content: ''; position: absolute; left: -34px; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--purple); }
.timeline-item .date { font-size: 14px; color: var(--purple); font-weight: 600; margin-bottom: 6px; }
.timeline-item h4 { font-size: 18px; margin-bottom: 8px; }
.timeline-item p { font-size: 15px; color: var(--text-secondary); }

/* --- Back to Top --- */
.back-to-top {
  position: fixed; bottom: 30px; right: 30px; width: 48px; height: 48px;
  border-radius: 50%; background: var(--purple); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-purple); opacity: 0; visibility: hidden;
  transition: var(--transition); z-index: 999; font-size: 20px;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--purple-dark); transform: translateY(-3px); }

/* --- Animations --- */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .section { padding: 70px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 500px; margin: 0 auto; }
  .cards-grid, .cards-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-item.large, .bento-item.wide { grid-column: span 2; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-step::after { display: none; }
  .showcase, .showcase.reverse { grid-template-columns: 1fr; gap: 40px; direction: ltr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); padding: 40px; }
  .testimonial-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .service-detail { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }
  .about-hero { grid-template-columns: 1fr; gap: 40px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .pricing-card.featured { transform: none; }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .solution-hero { grid-template-columns: 1fr; }
  .solution-cards { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-menu, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
  .hero { min-height: auto; padding: 120px 0 60px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-stat .num { font-size: 28px; }
  .cards-grid, .cards-grid.cols-2, .cards-grid.cols-4 { grid-template-columns: 1fr; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-item.large, .bento-item.wide, .bento-item.tall { grid-column: span 1; grid-row: span 1; }
  .process-steps { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr; padding: 32px 24px; gap: 24px; }
  .testimonial-grid, .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .team-grid { grid-template-columns: 1fr; max-width: 300px; margin: 0 auto; }
  .form-row { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-section { padding: 48px 28px; }
  .hero-float-card { display: none; }
  .page-header { padding: 130px 0 50px; }
}
