:root {
  --primary: #4F46E5;
  --primary-hover: #4338CA;
  --secondary: #10B981;
  --secondary-hover: #059669;
  --dark: #111827;
  --gray-900: #111827;
  --gray-800: #1F2937;
  --gray-700: #374151;
  --gray-600: #4B5563;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-300: #D1D5DB;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --gray-50: #F9FAFB;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  background-color: var(--gray-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5 {
  color: var(--gray-900);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 1.5rem; }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.5rem, 3vw, 1.875rem); margin-bottom: 0.75rem; }

p {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  color: var(--gray-600);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s;
}

a:hover {
  color: var(--primary-hover);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.section-light {
  background-color: var(--white);
}

.section-gray {
  background-color: var(--gray-50);
}

.text-center { text-align: center; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #6366f1);
  color: var(--white) !important;
  box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.39);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.23);
  background: linear-gradient(135deg, var(--primary-hover), #4f46e5);
}

.btn-secondary {
  background: var(--white);
  color: var(--gray-900) !important;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--gray-300);
  background: var(--gray-50);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, #8B5CF6, #6D28D9);
  color: var(--white) !important;
  box-shadow: 0 4px 14px 0 rgba(139, 92, 246, 0.39);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.23);
}

/* Hero Section */
.hero {
  padding: 8rem 0 6rem;
  background: radial-gradient(circle at top right, #eef2ff, #ffffff);
  text-align: center;
  border-bottom: 1px solid var(--gray-100);
}

.hero p {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto 2.5rem;
  color: var(--gray-600);
}

.hero .badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background-color: #e0e7ff;
  color: var(--primary);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* Grids & Cards */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

@media (min-width: 1024px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--gray-200);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: #eef2ff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.card p {
  font-size: 1rem;
  margin-bottom: 0;
  flex-grow: 1;
}

/* Comparison Tables */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.comparison-table th, .comparison-table td {
  padding: 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-100);
}

.comparison-table th {
  background: var(--gray-50);
  font-weight: 600;
  color: var(--gray-900);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td.highlight {
  background: #f8fafc;
  font-weight: 600;
  color: var(--primary);
}

/* Modern List */
.modern-list {
  list-style: none;
}

.modern-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-size: 1.125rem;
  color: var(--gray-700);
}

.modern-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--secondary);
  font-weight: bold;
}

.modern-list.cross li::before {
  content: '✗';
  color: #EF4444;
}

/* Ecosystem Banner */
.ecosystem-banner {
  background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
  color: var(--white);
  padding: 4rem 2rem;
  border-radius: var(--radius-xl);
  margin: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ecosystem-banner h2 {
  color: var(--white);
}

.ecosystem-banner p {
  color: var(--gray-300);
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.ecosystem-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  text-align: left;
}

.ecosystem-card h3 {
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ecosystem-card .icon-blue { color: #60A5FA; }
.ecosystem-card .icon-purple { color: #A78BFA; }

.ecosystem-card p {
  font-size: 0.95rem;
  color: var(--gray-300);
}

/* Equipments Shop Cards */
.shop-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  transition: all 0.3s;
}

.shop-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.shop-img {
  width: 100%;
  height: 200px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 3rem;
}

.shop-content {
  padding: 1.5rem;
}

.shop-content h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.shop-price {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* Call to Action Section */
.cta-section {
  background: linear-gradient(135deg, #eef2ff, #ffffff);
  padding: 6rem 0;
  text-align: center;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.cta-section h2 {
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

/* Footer / Interlinking */
.footer-links {
  background: var(--white);
  padding: 4rem 0;
  border-top: 1px solid var(--gray-200);
}

.footer-links h3 {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  color: var(--gray-900);
}

.link-list {
  list-style: none;
}

.link-list li {
  margin-bottom: 0.75rem;
}

.link-list a {
  color: var(--gray-600);
  font-size: 0.95rem;
}

.link-list a:hover {
  color: var(--primary);
}

/* Badges and Tags */
.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--gray-100);
  color: var(--gray-700);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Highlighting in text */
.text-highlight {
  color: var(--primary);
  font-weight: 600;
}
