/* =============================================
   PearlxTech  Professional Multi-Page Design
   ============================================= */

/* ---------- Variables ---------- */
:root {
  --p50: #f5f3ff;
  --p100: #ede9fe;
  --p200: #ddd6fe;
  --p300: #c4b5fd;
  --p400: #a78bfa;
  --p500: #8b5cf6;
  --p600: #7c3aed;
  --p700: #6d28d9;
  --p800: #5b21b6;
  --p900: #4c1d95;

  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --white: #ffffff;
  --off-white: #fafafa;
  --text: #111827;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.05);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.06);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.08);

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --container: 1200px;
  --nav-h: 64px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text); background: var(--off-white);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---------- Container ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Typography ---------- */
.page-title {
  font-size: 3rem; font-weight: 800; line-height: 1.15;
  letter-spacing: -0.03em;
}
.page-title em { color: var(--p600); font-style: normal; }
.page-subtitle {
  font-size: 1.15rem; color: var(--text-secondary);
  max-width: 600px; line-height: 1.7;
}
.section-label {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--p600); margin-bottom: 12px;
}
.section-title {
  font-size: 2.2rem; font-weight: 800; line-height: 1.2;
  letter-spacing: -0.02em; margin-bottom: 16px;
}
.section-desc {
  font-size: 1.05rem; color: var(--text-secondary);
  max-width: 600px; line-height: 1.75;
}
.section-head {
  text-align: center; margin-bottom: 48px;
}
.section-head .section-desc { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-sm);
  font-size: 0.92rem; font-weight: 600;
  transition: all 0.2s var(--ease); cursor: pointer;
  border: none; font-family: inherit;
}
.btn-primary {
  background: var(--p600); color: #fff;
}
.btn-primary:hover { background: var(--p700); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(124,58,237,0.25); }
.btn-secondary {
  background: var(--white); color: var(--text);
  border: 1.5px solid var(--gray-200);
}
.btn-secondary:hover { border-color: var(--p300); color: var(--p600); }
.btn-outline {
  background: transparent; color: var(--p600);
  border: 1.5px solid var(--p200);
}
.btn-outline:hover { background: var(--p50); border-color: var(--p400); }
.btn-block { width: 100%; justify-content: center; }
.btn-lg { padding: 16px 36px; font-size: 0.95rem; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; height: var(--nav-h);
  background: transparent; transition: all 0.3s var(--ease);
}
.nav.scrolled { background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--gray-200); }
.nav-inner {
  max-width: var(--container); margin: 0 auto;
  padding: 0 24px; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.05rem; color: var(--text);
}
.nav-logo-img { width: 32px; height: 32px; border-radius: 10px; object-fit: cover; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-link { font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); transition: color 0.2s; }
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-cta {
  padding: 9px 22px; border-radius: var(--radius-sm);
  background: var(--p600); color: #fff; font-size: 0.82rem; font-weight: 600;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--p700); }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all 0.2s var(--ease);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- Page Header (inner pages) ---------- */
.page-header {
  padding: 130px 0 64px; background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}
.page-header-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; color: var(--text-muted); margin-bottom: 16px;
}
.breadcrumb a { color: var(--text-secondary); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--p600); }

/* ---------- Sections ---------- */
.section { padding: 100px 0; position: relative; }
.section-alt { background: var(--white); }
.section-alt + .section-alt { border-top: 1px solid var(--gray-100); }

/* ---------- Hero (Home) ---------- */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, #fafafa 0%, #f5f3ff 100%);
  padding-top: var(--nav-h); overflow: hidden;
}
.hero-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-text { padding: 40px 0; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 16px; border-radius: 100px;
  background: var(--p50); color: var(--p600);
  font-size: 0.8rem; font-weight: 600; margin-bottom: 24px;
}
.hero-title {
  font-size: 3.5rem; font-weight: 900; line-height: 1.05;
  letter-spacing: -0.03em; margin-bottom: 20px;
}
.hero-em { color: var(--p600); }
.hero-sub {
  font-size: 1.1rem; color: var(--text-secondary);
  line-height: 1.7; max-width: 520px; margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-canvas-wrap {
  width: 100%; height: 520px; border-radius: var(--radius-lg);
  overflow: hidden; position: relative;
  background: linear-gradient(135deg, var(--p50), var(--p100));
}
.hero-canvas-wrap canvas { width: 100% !important; height: 100% !important; display: block; }

/* ---------- Stats Bar ---------- */
.stats {
  padding: 48px 0; background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.stat-item { text-align: center; }
.stat-num {
  font-size: 2.4rem; font-weight: 900; color: var(--p600);
  line-height: 1.1; margin-bottom: 4px;
}
.stat-label { font-size: 0.82rem; color: var(--text-muted); font-weight: 500; }

/* ---------- Project Cards ---------- */
.project-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.project-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200); overflow: hidden;
  transition: all 0.3s var(--ease);
}
.project-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); border-color: var(--p200); }
.project-card-img {
  position: relative; height: 230px;
  background-size: contain; background-position: center; background-repeat: no-repeat;
  overflow: hidden;
  transition: transform 0.4s ease;
}
.demo-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--p600); color: #fff;
  padding: 4px 10px; border-radius: 4px;
  font-size: 0.7rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.5px; z-index: 2; pointer-events: none;
}
.project-card:hover .project-card-img {
  transform: scale(1.08);
}
.project-card-img .overlay {
  position: absolute; inset: 0;
  background: rgba(124,58,237,0.6);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s;
}
.project-card:hover .overlay { opacity: 1; }
.project-card-img .overlay a {
  color: #fff; font-weight: 600; font-size: 0.85rem;
  display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 1.5px solid rgba(255,255,255,0.4);
  padding-bottom: 2px;
  transition: gap 0.2s;
}
.project-card-img .overlay a:hover { gap: 12px; }
.project-card-body { padding: 24px; }
.project-card-cat {
  display: inline-block; padding: 4px 12px; border-radius: 100px;
  background: var(--p50); color: var(--p600);
  font-size: 0.68rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.5px; margin-bottom: 10px;
}
.project-card-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.project-card-body p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.65; margin-bottom: 14px; }
.project-tech { display: flex; flex-wrap: wrap; gap: 6px; }
.project-tech span {
  padding: 3px 10px; border-radius: 100px;
  background: var(--gray-100); color: var(--text-secondary);
  font-size: 0.72rem; font-weight: 500;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200); padding: 40px 36px;
  transition: all 0.35s var(--ease-out);
  position: relative;
}
.service-card:hover { box-shadow: var(--shadow-xl); border-color: var(--p200); transform: translateY(-3px); }
.service-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--p50), var(--p100));
  display: flex; align-items: center;
  justify-content: center; margin-bottom: 20px;
  color: var(--p600); font-size: 1.3rem;
}
.service-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.service-card > p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; }
.service-features { display: flex; flex-direction: column; gap: 8px; }
.service-features li {
  font-size: 0.88rem; color: var(--text-secondary);
  display: flex; align-items: center; gap: 10px;
}
.service-features li::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--p400); flex-shrink: 0;
}

/* ---------- Process ---------- */
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-step {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200); padding: 36px 28px;
  position: relative; transition: all 0.3s var(--ease);
}
.process-step:hover { border-color: var(--p300); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.ps-num {
  font-size: 3rem; font-weight: 900; color: var(--p200);
  line-height: 1; margin-bottom: 14px;
  font-feature-settings: "tnum";
}
.process-step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.process-step p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.65; }

/* ---------- Testimonial ---------- */
.testimonial {
  padding: 80px 0; background: linear-gradient(135deg, var(--p800), var(--p700));
}
.t-quote { text-align: center; max-width: 700px; margin: 0 auto; color: #fff; }
.t-mark { font-size: 4rem; line-height: 0.6; opacity: 0.2; display: block; margin-bottom: 16px; font-family: Georgia, serif; }
.t-quote p { font-size: 1.2rem; line-height: 1.7; margin-bottom: 24px; font-weight: 400; opacity: 0.95; }
.t-author { font-style: normal; }
.t-author strong { display: block; font-size: 0.95rem; font-weight: 600; margin-bottom: 2px; }
.t-author span { font-size: 0.85rem; opacity: 0.5; }

/* ---------- CTA Section ---------- */
.cta-section {
  padding: 100px 0; background: var(--white);
  border-top: 1px solid var(--gray-100);
}
.cta-content { text-align: center; max-width: 600px; margin: 0 auto; }
.cta-content h2 { font-size: 2.4rem; font-weight: 800; margin-bottom: 16px; }
.cta-content p { font-size: 1.05rem; color: var(--text-secondary); margin-bottom: 32px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}
.contact-info-list { display: flex; flex-direction: column; gap: 28px; }
.ci-item {
  display: flex; align-items: flex-start; gap: 16px;
}
.ci-item i {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--p50), var(--p100));
  display: flex; align-items: center;
  justify-content: center; color: var(--p600); font-size: 0.95rem;
  flex-shrink: 0;
}
.ci-item strong { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 2px; }
.ci-item span { font-size: 0.88rem; color: var(--text-secondary); }
.contact-form-card {
  background: var(--white); border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200); padding: 44px;
  box-shadow: var(--shadow-md);
}
.form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text-secondary); letter-spacing: 0.02em; }
.form-group label span { color: var(--p600); }
.form-group input, .form-group textarea {
  padding: 14px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-200);
  background: var(--off-white); font-size: 0.92rem;
  transition: all 0.2s; width: 100%; font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--p400);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.08);
  background: var(--white); outline: none;
}
.form-group textarea { resize: vertical; }

/* ---------- Footer ---------- */
.footer {
  background: var(--gray-900); color: #fff; padding: 56px 0 24px;
}
.footer-top {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 24px; margin-bottom: 36px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1rem; }
.footer-logo-img { width: 28px; height: 28px; border-radius: 8px; object-fit: cover; }
.footer-links { display: flex; gap: 28px; }
.footer-links a { font-size: 0.85rem; color: var(--gray-400); transition: color 0.2s; letter-spacing: 0.01em; }
.footer-links a:hover { color: #fff; }
.footer-social { display: flex; gap: 16px; }
.footer-social a { color: var(--gray-500); font-size: 1.05rem; transition: all 0.2s; }
.footer-social a:hover { color: var(--p400); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.82rem; color: var(--gray-500);
}
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { color: var(--gray-500); transition: color 0.2s; }
.footer-legal a:hover { color: var(--p400); }

/* ---------- Client Logos ---------- */
.client-logos { padding: 52px 0; background: var(--white); border-bottom: 1px solid var(--gray-100); }
.client-logos p { text-align: center; font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 24px; }
.logo-strip { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px 48px; }
.logo-strip span { font-size: 0.88rem; font-weight: 700; color: var(--gray-400); transition: color 0.2s; letter-spacing: -0.01em; }
.logo-strip span:hover { color: var(--p600); }

/* ---------- Tech Stack ---------- */
.tech-section { padding: 90px 0; background: var(--off-white); }
.tech-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tech-item {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 24px 12px; border-radius: var(--radius-md);
  background: var(--white); border: 1px solid var(--gray-200);
  transition: all 0.2s var(--ease); cursor: default;
}
.tech-item:hover { border-color: var(--p200); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.tech-item i, .tech-item svg { font-size: 1.7rem; color: var(--p600); }
.tech-item span { font-size: 0.73rem; font-weight: 600; color: var(--text-secondary); text-align: center; }

/* ---------- Multiple Testimonials ---------- */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200); padding: 36px 32px;
  transition: all 0.3s var(--ease);
}
.testimonial-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-3px); border-color: var(--p100); }
.tc-stars { color: #fbbf24; font-size: 0.85rem; margin-bottom: 16px; letter-spacing: 2px; }
.tc-text { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.tc-author { display: flex; align-items: center; gap: 12px; }
.tc-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--p50), var(--p100));
  display: flex; align-items: center;
  justify-content: center; color: var(--p600); font-weight: 700; font-size: 0.85rem;
  flex-shrink: 0;
}
.tc-name { font-weight: 600; font-size: 0.9rem; }
.tc-role { font-size: 0.78rem; color: var(--text-muted); }

/* ---------- Newsletter ---------- */
.newsletter {
  padding: 90px 0; background: linear-gradient(135deg, var(--p800), var(--p600));
  color: #fff; text-align: center;
}
.newsletter-inner { max-width: 500px; margin: 0 auto; }
.newsletter-inner h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 10px; }
.newsletter-inner p { font-size: 0.92rem; opacity: 0.7; margin-bottom: 28px; }
.newsletter-form { display: flex; gap: 10px; max-width: 440px; margin: 0 auto; }
.newsletter-form input {
  flex: 1; padding: 14px 18px; border-radius: var(--radius-sm);
  border: none; font-size: 0.92rem; font-family: inherit;
  background: rgba(255,255,255,0.1); color: #fff;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input:focus { background: rgba(255,255,255,0.15); outline: none; }
.newsletter-form .btn { background: var(--p600); color: #fff; }
.newsletter-form .btn:hover { background: var(--p700); }

/* ---------- FAQ Accordion ---------- */
.faq-section { padding: 90px 0; }
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white); border-radius: var(--radius-md);
  border: 1px solid var(--gray-200); overflow: hidden;
  transition: all 0.2s var(--ease);
}
.faq-item:hover { border-color: var(--p200); box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; background: none; border: none; cursor: pointer;
  font-size: 0.95rem; font-weight: 600; color: var(--text); font-family: inherit;
  text-align: left; transition: color 0.2s;
}
.faq-q:hover { color: var(--p600); }
.faq-q i { font-size: 0.75rem; color: var(--text-muted); transition: transform 0.3s var(--ease); }
.faq-item.open .faq-q i { transform: rotate(180deg); color: var(--p600); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s var(--ease);
  padding: 0 24px; font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 24px 20px; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
.pricing-card {
  background: var(--white); border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200); padding: 44px 36px;
  transition: all 0.3s var(--ease); position: relative;
}
.pricing-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); }
.pricing-card.featured {
  border-color: var(--p400); box-shadow: 0 0 0 1px var(--p400), var(--shadow-lg);
  transform: translateY(-8px);
}
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 5px 18px; border-radius: 100px;
  background: var(--p600); color: #fff;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}
.pricing-icon { font-size: 2rem; color: var(--p600); margin-bottom: 18px; }
.pricing-name { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--text-muted); margin-bottom: 8px; }
.pricing-desc { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 24px; }
.pricing-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.pricing-features li {
  font-size: 0.88rem; color: var(--text-secondary);
  display: flex; align-items: center; gap: 10px;
}
.pricing-features li i { color: var(--p500); font-size: 0.75rem; width: 16px; }

/* ---------- Case Study ---------- */
.cs-hero {
  padding: 120px 0 60px; background: var(--gray-900); color: #fff;
}
.cs-hero .breadcrumb a { color: var(--gray-400); }
.cs-hero .breadcrumb span { color: var(--gray-500); }
.cs-hero .breadcrumb a:hover { color: #fff; }
.cs-category { display: inline-block; padding: 4px 12px; border-radius: 100px; background: rgba(124,58,237,0.2); color: var(--p300); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 16px; }
.cs-hero h1 { font-size: 2.8rem; font-weight: 900; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 16px; }
.cs-hero p { font-size: 1.05rem; color: var(--gray-400); max-width: 600px; line-height: 1.7; }
.cs-metrics { display: flex; gap: 40px; margin-top: 32px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.08); }
.cs-metric h3 { font-size: 2rem; font-weight: 900; color: var(--p400); }
.cs-metric span { display: block; font-size: 0.82rem; color: var(--gray-500); margin-top: 2px; }
.cs-body { padding: 80px 0; }
.cs-body h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 16px; }
.cs-body p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 20px; max-width: 720px; }
.cs-image {
  border-radius: var(--radius-lg); overflow: hidden; margin: 32px 0;
  height: 360px; background-size: cover; background-position: center;
}
.cs-tech-used { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.cs-tech-used span {
  padding: 6px 14px; border-radius: 100px;
  background: var(--p50); color: var(--p700);
  font-size: 0.82rem; font-weight: 600;
}

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200); overflow: hidden;
  transition: all 0.3s var(--ease);
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.blog-img {
  height: 200px; background-size: cover; background-position: center;
}
.blog-body { padding: 24px; }
.blog-meta { display: flex; gap: 12px; font-size: 0.78rem; color: var(--text-muted); margin-bottom: 10px; }
.blog-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.blog-body p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 16px; }
.blog-link { font-size: 0.85rem; font-weight: 600; color: var(--p600); display: inline-flex; align-items: center; gap: 4px; }
.blog-link:hover { gap: 8px; }

/* ---------- Team (About) ---------- */
.about-story { padding: 80px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text h2 { font-size: 2rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.about-text p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }
.about-image { height: 400px; border-radius: var(--radius-lg); background-size: cover; background-position: center; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200); padding: 28px 24px;
  text-align: center; transition: all 0.3s var(--ease);
}
.team-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.team-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--p100); margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--p600); font-weight: 800; font-size: 1.3rem;
}
.team-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 2px; }
.team-role { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 10px; }
.team-bio { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.5; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card {
  padding: 32px; border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200); background: var(--white);
  transition: all 0.3s var(--ease);
}
.value-card:hover { border-color: var(--p200); box-shadow: var(--shadow-md); }
.value-icon { width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--p50); display: flex; align-items: center; justify-content: center; color: var(--p600); font-size: 1.1rem; margin-bottom: 16px; }
.value-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.value-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; }

/* ---------- Blog Post ---------- */
.bp-header { padding: 120px 0 60px; background: var(--gray-900); color: #fff; }
.bp-header .breadcrumb a { color: var(--gray-400); }
.bp-header .breadcrumb a:hover { color: #fff; }
.bp-header .breadcrumb span { color: var(--gray-500); }
.bp-cat { display: inline-block; padding: 4px 12px; border-radius: 100px; background: rgba(124,58,237,0.2); color: var(--p300); font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 16px; }
.bp-header h1 { font-size: 2.6rem; font-weight: 900; line-height: 1.15; letter-spacing: -0.03em; margin-bottom: 12px; max-width: 720px; }
.bp-meta { display: flex; gap: 20px; font-size: 0.85rem; color: var(--gray-400); }
.bp-body { padding: 64px 0; }
.bp-body .container { max-width: 720px; }
.bp-body h2 { font-size: 1.5rem; font-weight: 800; margin-top: 40px; margin-bottom: 14px; }
.bp-body p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 18px; }
.bp-body blockquote {
  border-left: 3px solid var(--p400); padding: 16px 24px;
  margin: 24px 0; background: var(--p50); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1rem; font-style: italic; color: var(--text-secondary); line-height: 1.7;
}
.bp-body ul { margin: 16px 0 24px; padding-left: 24px; }
.bp-body ul li { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 8px; list-style: disc; }
.bp-image { height: 320px; border-radius: var(--radius-lg); background-size: cover; background-position: center; margin: 24px 0; }

/* ---------- Awards ---------- */
.awards { padding: 70px 0; background: var(--white); border-top: 1px solid var(--gray-100); }
.awards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.award-item { text-align: center; padding: 28px 16px; }
.award-item i { font-size: 2rem; color: var(--p500); margin-bottom: 14px; }
.award-item h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.award-item span { font-size: 0.78rem; color: var(--text-muted); }

/* ---------- Why Choose Us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card { text-align: center; padding: 36px 24px; }
.why-num { font-size: 3rem; font-weight: 900; color: var(--p200); line-height: 1; margin-bottom: 12px; }
.why-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.why-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; max-width: 280px; margin: 0 auto; }

/* ---------- Filter Tabs ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; justify-content: center; }
.filter-btn {
  padding: 8px 20px; border-radius: 100px;
  border: 1px solid var(--gray-200); background: var(--white);
  font-size: 0.85rem; font-weight: 500; color: var(--text-secondary);
  cursor: pointer; transition: all 0.2s; font-family: inherit;
}
.filter-btn:hover { border-color: var(--p300); color: var(--p600); }
.filter-btn.active { background: var(--p600); border-color: var(--p600); color: #fff; }

/* ---------- Tech Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease);
  padding: 24px;
}
.modal-overlay.active {
  opacity: 1; pointer-events: auto;
}
.modal {
  background: var(--white); border-radius: var(--radius-xl);
  max-width: 800px; width: 100%; max-height: 85vh;
  display: flex; flex-direction: column;
  box-shadow: 0 32px 80px rgba(0,0,0,0.15);
  transform: scale(0.95) translateY(12px);
  transition: transform 0.3s var(--ease);
}
.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}
.modal-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 28px; border-bottom: 1px solid var(--gray-200);
}
.modal-header h3 { font-size: 1.1rem; font-weight: 700; }
.modal-close {
  background: none; border: none; font-size: 1.2rem;
  color: var(--text-muted); cursor: pointer; padding: 4px;
  transition: color 0.2s; font-family: inherit;
}
.modal-close:hover { color: var(--text); }
.modal-body {
  padding: 28px; overflow-y: auto;
}
.modal-body .tech-grid { grid-template-columns: repeat(4, 1fr); }

/* ---------- Scroll Progress Bar ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  z-index: 1001; background: transparent;
}
.scroll-progress-fill {
  height: 100%; width: 0%;
  background: var(--p600);
  transition: width 0.1s ease-out;
}

/* ---------- Contact Toast ---------- */
.toast {
  position: fixed; bottom: 100px; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--gray-900); color: #fff;
  padding: 14px 28px; border-radius: var(--radius-md);
  font-size: 0.9rem; font-weight: 500;
  box-shadow: var(--shadow-xl); z-index: 9999;
  opacity: 0; pointer-events: none;
  transition: all 0.4s var(--ease);
  display: flex; align-items: center; gap: 10px;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.toast i { font-size: 1.1rem; }
.toast.success i { color: #22c55e; }
.toast.error i { color: #ef4444; }

/* ---------- Testimonial Carousel ---------- */
.t-carousel {
  position: relative; max-width: 700px; margin: 0 auto;
  overflow: hidden; min-height: 260px;
}
.t-carousel-track {
  display: flex; transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.t-carousel-slide {
  min-width: 100%; padding: 0 8px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.t-carousel-slide .tc-stars { color: #fbbf24; font-size: 1rem; margin-bottom: 20px; letter-spacing: 3px; }
.t-carousel-slide .tc-text {
  font-size: 1.1rem; color: var(--text-secondary); line-height: 1.8;
  margin-bottom: 24px; font-style: italic; max-width: 580px;
}
.t-carousel-slide .tc-author { display: flex; align-items: center; gap: 14px; }
.t-carousel-slide .tc-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--p100); display: flex; align-items: center;
  justify-content: center; color: var(--p600); font-weight: 700; font-size: 1rem;
  flex-shrink: 0;
}
.t-carousel-slide .tc-name { font-weight: 600; font-size: 0.95rem; }
.t-carousel-slide .tc-role { font-size: 0.82rem; color: var(--text-muted); }
.t-carousel-dots {
  display: flex; justify-content: center; gap: 8px; margin-top: 24px;
}
.t-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gray-300); cursor: pointer;
  transition: all 0.2s; border: none; padding: 0;
}
.t-carousel-dot.active { background: var(--p600); width: 24px; border-radius: 4px; }



/* ---------- WhatsApp Float ---------- */
.whatsapp-float {
  position: fixed; bottom: 32px; left: 32px;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25D366; color: #fff; border: none;
  font-size: 1.5rem; cursor: pointer; z-index: 999;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.35);
  transition: all 0.2s var(--ease);
  text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(37,211,102,0.45); color: #fff; }
.whatsapp-float i { line-height: 1; }

/* ---------- Back to Top ---------- */
.back-top {
  position: fixed; bottom: 32px; right: 32px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--p600); color: #fff;
  border: none; font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(124,58,237,0.25);
  opacity: 0; transform: translateY(16px);
  transition: all 0.3s var(--ease); z-index: 999;
  pointer-events: none;
}
.back-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-top:hover { background: var(--p700); }

/* ---------- Cookie Consent ---------- */
.cookie-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--gray-900); color: #fff;
  padding: 16px 24px; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  gap: 20px; flex-wrap: wrap;
  transform: translateY(100%); transition: transform 0.4s var(--ease);
  font-size: 0.88rem;
}
.cookie-bar.show { transform: translateY(0); }
.cookie-bar p { color: var(--gray-400); }
.cookie-bar a { color: var(--p400); text-decoration: underline; }
.cookie-btn {
  padding: 8px 20px; border-radius: var(--radius-sm);
  background: var(--p600); color: #fff; border: none;
  font-size: 0.82rem; font-weight: 600; cursor: pointer; font-family: inherit;
  white-space: nowrap; transition: background 0.2s;
}
.cookie-btn:hover { background: var(--p700); }

/* ---------- AOS ---------- */
[data-reveal] { opacity: 0; transition: all 0.6s var(--ease); }
[data-reveal="fade-up"], [data-reveal]:not([data-reveal*="fade"]):not([data-reveal*="scale"]) { transform: translateY(28px); }
[data-reveal="fade-down"] { transform: translateY(-28px); }
[data-reveal="fade-left"] { transform: translateX(-28px); }
[data-reveal="fade-right"] { transform: translateX(28px); }
[data-reveal="scale-up"] { transform: scale(0.92); }
[data-reveal].revealed { opacity: 1; transform: translateY(0) translateX(0) scale(1); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.8rem; }
  .hero-canvas-wrap { height: 380px; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .awards-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .bp-header h1 { font-size: 2rem; }
  .section-title { font-size: 1.8rem; }
  .section { padding: 80px 0; }
}

@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(255,255,255,0.98); backdrop-filter: blur(12px); padding: 24px; flex-direction: column; gap: 20px; border-bottom: 1px solid var(--gray-200); box-shadow: var(--shadow-lg); }
  .nav-links.active { display: flex; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero { min-height: auto; padding: 90px 0 40px; }
  .hero-layout { grid-template-columns: 1fr; gap: 32px; }
  .hero-title { font-size: 2.2rem; }
  .hero-canvas-wrap { height: 300px; }
  .page-title { font-size: 2rem; }
  .page-header { padding: 100px 0 40px; }
  .page-header-inner { flex-direction: column; align-items: flex-start; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .project-grid { grid-template-columns: 1fr; gap: 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-card { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .section-title { font-size: 1.6rem; }
  .section { padding: 70px 0; }
  .section-head { margin-bottom: 32px; }
  .footer-top { flex-direction: column; text-align: center; }
  .footer-links { flex-direction: column; gap: 16px; align-items: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 20px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: translateY(0); }
  .blog-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .modal-body .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter-form { flex-direction: column; }
  .cs-hero h1 { font-size: 2rem; }
  .cs-metrics { flex-direction: column; gap: 20px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .awards-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image { height: 260px; }
  .bp-header h1 { font-size: 1.6rem; }
  .bp-image { height: 200px; }
  .back-top { bottom: 16px; right: 16px; width: 38px; height: 38px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.8rem; }
  .hero-canvas-wrap { height: 240px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .stat-num { font-size: 1.8rem; }
  .page-title { font-size: 1.6rem; }
  .team-grid { grid-template-columns: 1fr; }
  .awards-grid { grid-template-columns: 1fr; }
}
