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

:root {
  --primary-gradient: linear-gradient(135deg, #952197 0%, #6220f1 100%);
  --primary-color: #667eea;
  --secondary-color: #764ba2;
  --dark-bg: #0a0a0a;
  --light-bg: #ffffff;
  --text-dark: #1a1a1a;
  --text-light: #ffffff;
  --text-muted: #6b7280;
  --border-color: #e5e7eb;
}

/* === Global + Scrollbar === */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--light-bg);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Hero Section */
.hero {
  margin-top: 70px;
  padding: 138px 60px 80px;
  background: var(--primary-gradient);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 30% 50%,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 60%
  );
  pointer-events: none;
}

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

.hero h1 {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
  line-height: 1.1;
  animation: fadeInUp 0.8s ease;
}

.hero p {
  font-size: 18px;
  font-weight: 400;
  opacity: 0.95;
  line-height: 1.6;
  margin-bottom: 52px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.section {
  padding: 100px 60px;
  position: relative;
}

.section-dark {
  background: var(--dark-bg);
  color: var(--text-light);
}

.section-light {
  background: #fafbfc;
  color: var(--text-dark);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
}

.section-title {
  /* font-family: "Poppins", sans-serif; */
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.5px;
}

.section-dark .section-title {
  background: linear-gradient(135deg, #a5b4fc 0%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.section-subtitle {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

.section-dark .section-subtitle {
  color: #9ca3af;
}

/* Single Column Layout */
.single-product {
  max-width: 900px;
  margin: 0 auto 40px auto;
  background: white;
  border-radius: 20px;
  padding: 60px 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.section-dark .single-product {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
}

.single-product::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--primary-gradient);
}

.single-product h3 {
  /* font-family: "Poppins", sans-serif; */
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.section-dark .single-product h3 {
  color: var(--text-light);
}

.single-product p,
.product-description {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.section-dark .single-product p,
.section-dark .product-description {
  color: #9ca3af;
}

/* Cross-Link Cards Section */
.cross-links-section {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 2px solid #f0f0f0;
}

.cross-links-header {
  text-align: center;
  margin-bottom: 35px;
}

.cross-links-header h4 {
  /* font-family: "Poppins", sans-serif; */
  font-size: 24px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.cross-links-header p {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-muted);
}

.cross-link-cards {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 25px;
  max-width: 600px;
  margin: 0 auto;
}

.cross-link-card {
  background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
  border: 2px solid rgba(102, 126, 234, 0.15);
  border-radius: 16px;
  padding: 30px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.cross-link-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

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

.cross-link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.2);
  border-color: rgba(102, 126, 234, 0.3);
}

.card-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: transform 0.3s ease;
}

.cross-link-card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
}

.card-icon svg {
  width: 26px;
  height: 26px;
  stroke: white;
  stroke-width: 2;
  fill: none;
}

.card-category {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.card-title {
  /* font-family: "Poppins", sans-serif; */
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.card-description {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.card-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transition: transform 0.3s ease;
}

.card-link:hover {
  color: var(--secondary-color);
  gap: 12px;
}

.card-link:hover svg {
  transform: translateX(4px);
}

/* Accent Decorations */
.accent-circle {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(102, 126, 234, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.accent-circle-1 {
  top: -200px;
  right: -200px;
}

.accent-circle-2 {
  bottom: -200px;
  left: -200px;
}

/* Protocol Tags */
.protocol-tags {
  display: flex;

  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.protocol-tag {
  padding: 8px 18px;
  background: rgba(102, 126, 234, 0.1);
  border: 1px solid rgba(102, 126, 234, 0.3);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.section-dark .protocol-tag {
  background: rgba(165, 180, 252, 0.1);
  border-color: rgba(165, 180, 252, 0.3);
  color: #a5b4fc;
}
.protocol-tag:hover {
  background: var(--primary-gradient);
  border-color: transparent;
  color: white;
  transform: translateY(-2px);
}

/* Vision Layout for Two-Column Structure */
.vision-layout {
  display: flex;
  gap: 40px;
  margin-top: 30px;
  align-items: flex-start;
}

.vision-left,
.vision-right {
  flex: 1;
}

.vision-left h4,
.vision-right h4 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.section-dark .vision-left h4,
.section-dark .vision-right h4 {
  color: var(--text-light);
}

/* Applications List Styling */
.applications-list {
  list-style-type: disc;
  padding-left: 24px;
  margin: 0;
}

.applications-list li {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.section-dark .applications-list li {
  color: #9ca3af;
}

/* Responsive: Stack on smaller screens */
@media (max-width: 768px) {
  .vision-layout {
    flex-direction: column;
    gap: 20px;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .navbar {
    padding: 16px 40px;
  }

  .section {
    padding: 80px 40px;
  }

  .hero {
    padding: 100px 40px 60px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .category-buttons {
    gap: 12px;
  }

  .category-btn {
    padding: 14px 28px;
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 14px 24px;
  }

  .nav-center {
    display: none;
  }

  .section {
    padding: 60px 24px;
  }

  .hero {
    padding: 80px 24px 50px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 17px;
  }

  .category-buttons {
    gap: 10px;
  }

  .category-btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .btn-icon {
    font-size: 18px;
  }

  .section-title {
    font-size: 32px;
  }

  .section-subtitle {
    font-size: 16px;
  }

  .single-product {
    padding: 40px 30px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

  .category-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .category-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }

  .section-title {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 14px;
  }

  .single-product {
    padding: 30px 20px;
  }

  .protocol-tags {
    gap: 8px;
  }

  .protocol-tag {
    font-size: 12px;
    padding: 6px 14px;
  }
}
