/* ============================================
   NCPS - NanoChem Petroleum Solutions
   Complete Stylesheet
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --orange: #E87722;
  --orange-dark: #D06A1E;
  --orange-light: #F5A623;
  --blue: #1B5E8C;
  --blue-dark: #134163;
  --blue-light: #2980B9;
  --dark: #1A1A1A;
  --grey: #6B7280;
  --grey-light: #F3F4F6;
  --white: #FFFFFF;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.15rem; }

p {
  color: var(--grey);
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul { list-style: none; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

.section-title {
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--grey);
  max-width: 640px;
  margin: 0 auto 50px;
}

.text-center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 119, 34, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27, 94, 140, 0.3);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

.btn-dark:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.3);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.btn i {
  font-size: 0.85em;
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

.nav-logo img {
  height: 42px;
  width: auto;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  transition: var(--transition);
}

.nav-logo-text span {
  color: var(--orange);
}

.navbar.scrolled .nav-logo-text {
  color: var(--dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.navbar.scrolled .nav-links a {
  color: var(--grey);
}

.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active {
  color: var(--dark);
}

.nav-cta .btn {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 3px;
  transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
  background: var(--dark);
}

.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);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0a1628 0%, var(--blue-dark) 40%, #0d2d45 70%, #0a1628 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(232, 119, 34, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(27, 94, 140, 0.15) 0%, transparent 50%);
  z-index: 1;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-particles .particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(232, 119, 34, 0.2);
  animation: float 20s infinite ease-in-out;
}

.hero-particles .particle:nth-child(1) { width: 6px; height: 6px; top: 20%; left: 10%; animation-delay: 0s; animation-duration: 25s; }
.hero-particles .particle:nth-child(2) { width: 4px; height: 4px; top: 60%; left: 20%; animation-delay: -3s; animation-duration: 20s; background: rgba(27, 94, 140, 0.3); }
.hero-particles .particle:nth-child(3) { width: 8px; height: 8px; top: 30%; left: 70%; animation-delay: -5s; animation-duration: 22s; }
.hero-particles .particle:nth-child(4) { width: 5px; height: 5px; top: 80%; left: 80%; animation-delay: -7s; animation-duration: 18s; background: rgba(27, 94, 140, 0.25); }
.hero-particles .particle:nth-child(5) { width: 3px; height: 3px; top: 40%; left: 50%; animation-delay: -9s; animation-duration: 24s; }
.hero-particles .particle:nth-child(6) { width: 7px; height: 7px; top: 70%; left: 40%; animation-delay: -2s; animation-duration: 19s; background: rgba(232, 119, 34, 0.15); }
.hero-particles .particle:nth-child(7) { width: 4px; height: 4px; top: 15%; left: 60%; animation-delay: -11s; animation-duration: 21s; background: rgba(27, 94, 140, 0.2); }
.hero-particles .particle:nth-child(8) { width: 6px; height: 6px; top: 50%; left: 90%; animation-delay: -4s; animation-duration: 23s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
  25% { transform: translate(30px, -50px) scale(1.3); opacity: 1; }
  50% { transform: translate(-20px, 30px) scale(0.8); opacity: 0.6; }
  75% { transform: translate(40px, 20px) scale(1.1); opacity: 0.9; }
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(27, 94, 140, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 94, 140, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 100px 24px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 119, 34, 0.15);
  border: 1px solid rgba(232, 119, 34, 0.3);
  padding: 8px 20px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-badge i {
  font-size: 0.7rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.7);
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 70px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
  text-align: center;
}

.hero-stat .number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--orange);
  display: block;
  line-height: 1;
}

.hero-stat .label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 6px;
  display: block;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  font-family: var(--font-heading);
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: bounce 2s infinite;
}

.hero-scroll i {
  font-size: 1.2rem;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------- Differentiators Section ---------- */
.differentiators {
  background: var(--white);
  padding: 100px 0;
}

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

.diff-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.diff-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--blue));
  transform: scaleX(0);
  transition: var(--transition);
}

.diff-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.diff-card:hover::before {
  transform: scaleX(1);
}

.diff-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.6rem;
  transition: var(--transition);
}

.diff-card:nth-child(1) .diff-icon { background: rgba(232, 119, 34, 0.1); color: var(--orange); }
.diff-card:nth-child(2) .diff-icon { background: rgba(27, 94, 140, 0.1); color: var(--blue); }
.diff-card:nth-child(3) .diff-icon { background: rgba(34, 197, 94, 0.1); color: #22c55e; }
.diff-card:nth-child(4) .diff-icon { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }

.diff-card:hover .diff-icon {
  transform: scale(1.1);
}

.diff-card h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.diff-card p {
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ---------- Products Overview ---------- */
.products-overview {
  background: var(--grey-light);
  padding: 100px 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(232, 119, 34, 0.2);
}

.product-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(27, 94, 140, 0.1), rgba(232, 119, 34, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--blue);
  margin-bottom: 20px;
  transition: var(--transition);
}

.product-card:hover .product-icon {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
}

.product-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.product-card p {
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.product-link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.product-link i {
  transition: var(--transition);
  font-size: 0.75rem;
}

.product-link:hover {
  color: var(--orange-dark);
}

.product-link:hover i {
  transform: translateX(4px);
}

/* ---------- Why Choose NCPS ---------- */
.why-choose {
  background: var(--white);
  padding: 100px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-content h2 {
  margin-bottom: 20px;
}

.why-content > p {
  font-size: 1.05rem;
  margin-bottom: 36px;
}

.why-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.why-stat-card {
  background: var(--grey-light);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid transparent;
}

.why-stat-card:hover {
  border-color: var(--orange);
  background: var(--white);
  box-shadow: var(--shadow);
}

.why-stat-card .stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue);
  display: block;
  margin-bottom: 4px;
}

.why-stat-card .stat-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  display: block;
  margin-bottom: 8px;
}

.why-stat-card p {
  font-size: 0.82rem;
  margin-bottom: 0;
}

.why-visual {
  position: relative;
}

.why-visual-card {
  background: linear-gradient(135deg, var(--blue-dark), #0a1628);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.why-visual-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(232, 119, 34, 0.15) 0%, transparent 60%);
}

.why-visual-card h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.why-features {
  position: relative;
  z-index: 1;
}

.why-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.why-feature:last-child {
  margin-bottom: 0;
}

.why-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(232, 119, 34, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.why-feature h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 4px;
}

.why-feature p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  margin-bottom: 0;
}

/* ---------- Technology Preview ---------- */
.tech-preview {
  background: linear-gradient(135deg, #0a1628 0%, var(--blue-dark) 50%, #0a1628 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.tech-preview::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(232, 119, 34, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(27, 94, 140, 0.1) 0%, transparent 50%);
}

.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.tech-content .section-label {
  color: var(--orange);
}

.tech-content h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.tech-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.tech-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.tech-step {
  display: flex;
  align-items: center;
  gap: 16px;
}

.tech-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.tech-step span {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  font-weight: 500;
}

.tech-visual {
  position: relative;
}

.nano-visualization {
  width: 100%;
  aspect-ratio: 1;
  max-width: 420px;
  margin: 0 auto;
  position: relative;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27, 94, 140, 0.2) 0%, transparent 70%);
}

.nano-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(232, 119, 34, 0.2);
  animation: nanoSpin 20s linear infinite;
}

.nano-ring:nth-child(1) {
  inset: 5%;
  border-color: rgba(232, 119, 34, 0.15);
  animation-duration: 25s;
}

.nano-ring:nth-child(2) {
  inset: 15%;
  border-color: rgba(27, 94, 140, 0.2);
  animation-duration: 20s;
  animation-direction: reverse;
}

.nano-ring:nth-child(3) {
  inset: 25%;
  border-color: rgba(232, 119, 34, 0.25);
  animation-duration: 15s;
}

.nano-ring:nth-child(4) {
  inset: 35%;
  border-color: rgba(27, 94, 140, 0.3);
  animation-duration: 18s;
  animation-direction: reverse;
}

.nano-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 60px rgba(232, 119, 34, 0.3);
}

.nano-core i {
  font-size: 2rem;
  color: var(--white);
}

.nano-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  animation: nanoPulse 3s infinite;
}

.nano-dot:nth-child(6) { top: 10%; left: 50%; animation-delay: 0s; }
.nano-dot:nth-child(7) { top: 50%; right: 10%; animation-delay: 0.5s; background: var(--blue-light); }
.nano-dot:nth-child(8) { bottom: 10%; left: 50%; animation-delay: 1s; }
.nano-dot:nth-child(9) { top: 50%; left: 10%; animation-delay: 1.5s; background: var(--blue-light); }
.nano-dot:nth-child(10) { top: 22%; right: 22%; animation-delay: 0.7s; }
.nano-dot:nth-child(11) { bottom: 22%; left: 22%; animation-delay: 1.2s; background: var(--blue-light); }

@keyframes nanoSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes nanoPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.5); opacity: 1; }
}

/* ---------- AI Integration ---------- */
.ai-section {
  background: var(--grey-light);
  padding: 100px 0;
}

.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.ai-content h2 {
  margin-bottom: 20px;
}

.ai-content > p {
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.ai-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ai-feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.ai-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(232, 119, 34, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8b5cf6;
  font-size: 1rem;
  flex-shrink: 0;
}

.ai-feature-item h4 {
  margin-bottom: 4px;
}

.ai-feature-item p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.ai-chat-mockup {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.ai-chat-header {
  background: linear-gradient(135deg, var(--blue-dark), var(--dark));
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ai-chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.85rem;
}

.ai-chat-header-info h4 {
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.ai-chat-header-info span {
  font-size: 0.75rem;
  color: #22c55e;
}

.ai-chat-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 300px;
}

.chat-message {
  max-width: 80%;
  padding: 12px 18px;
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.6;
}

.chat-message.user {
  background: var(--blue);
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-message.ai {
  background: var(--grey-light);
  color: var(--dark);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.ai-chat-input {
  padding: 16px 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  gap: 12px;
}

.ai-chat-input input {
  flex: 1;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50px;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  transition: var(--transition);
}

.ai-chat-input input:focus {
  border-color: var(--blue);
}

.ai-chat-input button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.ai-chat-input button:hover {
  background: var(--orange-dark);
}

/* ---------- Testimonials ---------- */
.testimonials {
  background: var(--white);
  padding: 100px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--grey-light);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition);
  border: 1px solid transparent;
}

.testimonial-card:hover {
  background: var(--white);
  box-shadow: var(--shadow);
  border-color: rgba(0, 0, 0, 0.06);
}

.testimonial-stars {
  color: var(--orange);
  margin-bottom: 16px;
  font-size: 0.9rem;
  display: flex;
  gap: 2px;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--dark);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-author h4 {
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--grey);
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--orange), #d4691a, var(--blue));
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(0, 0, 0, 0.1) 0%, transparent 50%);
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 36px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-buttons .btn-secondary {
  border-color: var(--white);
  color: var(--white);
}

.cta-buttons .btn-secondary:hover {
  background: var(--white);
  color: var(--dark);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.92rem;
  margin-bottom: 24px;
  max-width: 320px;
}

.footer-brand .nav-logo {
  margin-bottom: 20px;
}

.footer-brand .nav-logo-text {
  color: var(--white);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--orange);
  color: var(--white);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  padding: 6px 0;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--orange);
  padding-left: 4px;
}

.footer-col .footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-col .footer-contact-item i {
  color: var(--orange);
  margin-top: 4px;
  font-size: 0.85rem;
}

.footer-col .footer-contact-item span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.82rem;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.82rem;
}

.footer-bottom-links a:hover {
  color: var(--orange);
}

/* ---------- Page Hero (Inner Pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, #0a1628 0%, var(--blue-dark) 40%, #0d2d45 70%, #0a1628 100%);
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(27, 94, 140, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 94, 140, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.85rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb a:hover {
  color: var(--orange);
}

.breadcrumb span {
  color: var(--orange);
}

.breadcrumb i {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.7rem;
}

/* ---------- Products Page ---------- */
.product-categories {
  padding: 100px 0;
}

.product-category {
  margin-bottom: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.product-category:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.product-category-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 32px;
}

.product-category-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(27, 94, 140, 0.1), rgba(232, 119, 34, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--blue);
  flex-shrink: 0;
}

.product-category-header h2 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.product-category-header p {
  font-size: 1rem;
}

.product-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.product-detail-card {
  background: var(--grey-light);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}

.product-detail-card:hover {
  box-shadow: var(--shadow);
  background: var(--white);
}

.product-detail-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--blue);
}

.product-detail-card p {
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.product-features {
  margin-bottom: 16px;
}

.product-features h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--orange);
  margin-bottom: 8px;
}

.product-features ul {
  list-style: none;
  padding: 0;
}

.product-features ul li {
  padding: 4px 0;
  font-size: 0.88rem;
  color: var(--grey);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.product-features ul li i {
  color: #22c55e;
  font-size: 0.75rem;
  margin-top: 5px;
}

.product-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-heading);
  margin-right: 6px;
  margin-bottom: 6px;
}

.product-tag.nano { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }
.product-tag.green { background: rgba(34, 197, 94, 0.1); color: #22c55e; }
.product-tag.custom { background: rgba(232, 119, 34, 0.1); color: var(--orange); }

/* ---------- Technology Page ---------- */
.tech-page-intro {
  padding: 100px 0;
}

.tech-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.tech-intro-content h2 {
  margin-bottom: 20px;
}

.tech-intro-content p {
  font-size: 1.02rem;
  margin-bottom: 16px;
}

.tech-process {
  background: var(--grey-light);
  padding: 100px 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--blue), var(--orange), var(--blue));
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-step-number {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.process-step:hover .process-step-number {
  background: var(--orange);
}

.process-step-number i {
  font-size: 2rem;
  color: var(--orange);
  transition: var(--transition);
}

.process-step:hover .process-step-number i {
  color: var(--white);
}

.process-step h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.process-step p {
  font-size: 0.88rem;
}

.tech-comparison {
  padding: 100px 0;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.comparison-table thead th {
  background: var(--dark);
  color: var(--white);
  padding: 20px 28px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
}

.comparison-table thead th:first-child {
  width: 35%;
}

.comparison-table thead th.ncps-col {
  background: var(--orange);
}

.comparison-table tbody td {
  padding: 18px 28px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.92rem;
  vertical-align: top;
}

.comparison-table tbody tr:nth-child(even) {
  background: var(--grey-light);
}

.comparison-table tbody tr:hover {
  background: rgba(232, 119, 34, 0.05);
}

.comparison-table tbody td:first-child {
  font-weight: 600;
  color: var(--dark);
  font-family: var(--font-heading);
}

.comparison-table .check {
  color: #22c55e;
  font-weight: 600;
}

.comparison-table .cross {
  color: #ef4444;
}

/* ---------- About Page ---------- */
.about-intro {
  padding: 100px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-content p {
  font-size: 1.02rem;
}

.about-visual {
  background: linear-gradient(135deg, var(--blue-dark), #0a1628);
  border-radius: var(--radius-lg);
  padding: 50px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-value {
  display: flex;
  align-items: center;
  gap: 16px;
}

.about-value-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: rgba(232, 119, 34, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.about-value h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 4px;
}

.about-value p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  margin: 0;
}

.mission-vision {
  background: var(--grey-light);
  padding: 100px 0;
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.mv-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px 36px;
  box-shadow: var(--shadow);
  border-top: 4px solid;
  transition: var(--transition);
}

.mv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.mv-card.mission {
  border-top-color: var(--orange);
}

.mv-card.vision {
  border-top-color: var(--blue);
}

.mv-card i {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.mv-card.mission i { color: var(--orange); }
.mv-card.vision i { color: var(--blue); }

.mv-card h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.mv-card p {
  font-size: 0.98rem;
  line-height: 1.8;
}

.about-approach {
  padding: 100px 0;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.approach-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
}

.approach-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.approach-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.approach-card:nth-child(1) .approach-card-icon { background: rgba(232, 119, 34, 0.1); color: var(--orange); }
.approach-card:nth-child(2) .approach-card-icon { background: rgba(27, 94, 140, 0.1); color: var(--blue); }
.approach-card:nth-child(3) .approach-card-icon { background: rgba(34, 197, 94, 0.1); color: #22c55e; }

.approach-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.approach-card p {
  font-size: 0.9rem;
}

/* ---------- Contact Page ---------- */
.contact-section {
  padding: 100px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-form-wrapper h2 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.contact-form-wrapper > p {
  margin-bottom: 32px;
}

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

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 18px;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--dark);
  outline: none;
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27, 94, 140, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #b0b0b0;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group .error-msg {
  font-size: 0.8rem;
  color: #ef4444;
  margin-top: 4px;
  display: none;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #ef4444;
}

.form-group.error .error-msg {
  display: block;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success i {
  font-size: 3rem;
  color: #22c55e;
  margin-bottom: 16px;
}

.form-success h3 {
  margin-bottom: 8px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.contact-info h2 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.contact-info > p {
  margin-bottom: 12px;
}

.contact-info-card {
  background: var(--grey-light);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
}

.contact-info-card:hover {
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(27, 94, 140, 0.1), rgba(232, 119, 34, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.contact-info-card p {
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}

.contact-map-placeholder {
  background: var(--grey-light);
  border-radius: var(--radius);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey);
  font-size: 0.9rem;
  border: 2px dashed rgba(0, 0, 0, 0.08);
}

.contact-map-placeholder i {
  margin-right: 8px;
  font-size: 1.2rem;
}

/* ---------- Animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* ---------- Responsive: Tablet ---------- */
@media (max-width: 1024px) {
  .diff-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid,
  .tech-grid,
  .ai-grid,
  .about-grid,
  .tech-intro-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .process-steps::before {
    display: none;
  }

  .product-details-grid {
    grid-template-columns: 1fr;
  }

  .comparison-table {
    font-size: 0.88rem;
  }

  .comparison-table thead th,
  .comparison-table tbody td {
    padding: 14px 18px;
  }
}

/* ---------- Responsive: Mobile ---------- */
@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--dark);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 40px;
    transition: var(--transition);
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 1.1rem;
  }

  .nav-links a:hover {
    color: var(--orange) !important;
  }

  .nav-cta .btn {
    padding: 12px 28px;
    font-size: 0.95rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
  }

  .nav-overlay.active {
    display: block;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-stats {
    gap: 30px;
    flex-wrap: wrap;
  }

  .hero-stat .number {
    font-size: 1.6rem;
  }

  .hero-scroll {
    display: none;
  }

  .diff-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .why-stats {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .mv-grid {
    grid-template-columns: 1fr;
  }

  .approach-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: 32px 24px;
  }

  .page-hero {
    padding: 140px 0 60px;
  }

  .comparison-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .comparison-table {
    min-width: 600px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .diff-card,
  .product-card {
    padding: 28px 20px;
  }

  .hero-badge {
    font-size: 0.7rem;
    padding: 6px 14px;
  }
}

/* ---------- Legal Pages (Privacy & Terms) ---------- */
.legal-content {
  padding: 80px 0 100px;
}

.legal-content .container {
  max-width: 900px;
}

.legal-last-updated {
  font-size: 0.9rem;
  color: var(--grey);
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.legal-last-updated strong {
  color: var(--dark);
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section h2 {
  font-size: 1.35rem;
  color: var(--dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--orange);
  display: inline-block;
}

.legal-section h3 {
  font-size: 1.1rem;
  color: var(--blue);
  margin-bottom: 10px;
  margin-top: 20px;
}

.legal-section p {
  font-size: 0.95rem;
  color: var(--grey);
  margin-bottom: 14px;
  line-height: 1.8;
}

.legal-section ul,
.legal-section ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-section ul {
  list-style: disc;
}

.legal-section ol {
  list-style: decimal;
}

.legal-section ul li,
.legal-section ol li {
  font-size: 0.95rem;
  color: var(--grey);
  line-height: 1.8;
  margin-bottom: 6px;
}

.legal-section ul li strong,
.legal-section ol li strong,
.legal-section p strong {
  color: var(--dark);
  font-weight: 600;
}

.legal-section a {
  color: var(--blue);
  text-decoration: underline;
}

.legal-section a:hover {
  color: var(--orange);
}

.legal-contact-box {
  background: var(--grey-light);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-top: 16px;
  border-left: 4px solid var(--orange);
}

.legal-contact-box p {
  margin-bottom: 6px;
}

.legal-contact-box p:last-child {
  margin-bottom: 0;
}

.legal-toc {
  background: var(--grey-light);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 40px;
}

.legal-toc h3 {
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 12px;
  margin-top: 0;
}

.legal-toc ol {
  padding-left: 20px;
  margin-bottom: 0;
}

.legal-toc ol li {
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.legal-toc ol li a {
  color: var(--blue);
  text-decoration: none;
}

.legal-toc ol li a:hover {
  color: var(--orange);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .legal-content {
    padding: 60px 0 80px;
  }

  .legal-section h2 {
    font-size: 1.2rem;
  }

  .legal-contact-box {
    padding: 20px 24px;
  }

  .legal-toc {
    padding: 20px 24px;
  }
}
