/* OriRx Global Styles */
:root {
  --navy: #0B1120;
  --navy-light: #131B2E;
  --navy-mid: #1A2340;
  --white: #FFFFFF;
  --off-white: #F8F9FA;
  --gray-100: #F1F3F5;
  --gray-300: #DEE2E6;
  --gray-500: #868E96;
  --gray-700: #495057;
  --amber: #D4A843;
  --amber-hover: #C49A38;
  --amber-light: rgba(212, 168, 67, 0.1);
  --red-soft: #E8453C;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --header-height: 72px;
}

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

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

body {
  font-family: var(--font);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

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

/* Typography */
h1 { font-size: 3rem; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: 2.25rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; font-weight: 600; line-height: 1.3; }
h4 { font-size: 1.125rem; font-weight: 600; line-height: 1.4; }
p { font-size: 1rem; line-height: 1.7; color: var(--gray-700); }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--navy);
  height: var(--header-height);
  display: flex; align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
}
.logo { font-size: 1.5rem; font-weight: 700; color: var(--white); letter-spacing: 0.02em; }
.logo span { color: var(--amber); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: rgba(255,255,255,0.75); font-size: 0.875rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--white); }
.btn-cta {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--amber); color: var(--navy); font-weight: 600;
  padding: 10px 24px; border-radius: 8px; font-size: 0.875rem;
  transition: background 0.2s, transform 0.1s; border: none; cursor: pointer;
}
.btn-cta:hover { background: var(--amber-hover); transform: translateY(-1px); }
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--amber); font-weight: 600;
  padding: 10px 24px; border-radius: 8px; font-size: 0.875rem;
  border: 2px solid var(--amber); cursor: pointer; transition: all 0.2s;
}
.btn-outline:hover { background: var(--amber); color: var(--navy); }

/* Mobile menu toggle */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: 0.3s; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--navy-mid) 100%);
  color: var(--white); padding: 160px 0 100px; text-align: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(212,168,67,0.05) 0%, transparent 50%);
}
.hero h1 { margin-bottom: 20px; position: relative; }
.hero p { font-size: 1.25rem; color: rgba(255,255,255,0.7); max-width: 600px; margin: 0 auto 36px; position: relative; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; position: relative; }

/* Page hero (inner pages) */
.page-hero {
  background: var(--navy); color: var(--white);
  padding: 120px 0 60px; text-align: center;
}
.page-hero h1 { font-size: 2.5rem; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1.125rem; }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--off-white); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header p { max-width: 600px; margin: 12px auto 0; }
.section-label {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--amber);
  margin-bottom: 12px;
}

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.card {
  background: var(--white); border-radius: 12px; padding: 32px;
  border: 1px solid var(--gray-300); transition: box-shadow 0.3s, transform 0.2s;
}
.card:hover { box-shadow: 0 8px 32px rgba(11,17,32,0.08); transform: translateY(-2px); }
.card-icon {
  width: 48px; height: 48px; background: var(--amber-light);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px;
}
.card h3 { margin-bottom: 8px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; }
.step { text-align: center; position: relative; }
.step-number {
  width: 48px; height: 48px; border-radius: 50%; background: var(--amber);
  color: var(--navy); font-weight: 700; font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}

/* Tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--gray-300); }
th { background: var(--off-white); font-weight: 600; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-500); }

/* Pricing cards */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 800px; margin: 0 auto; }
.pricing-card {
  border: 2px solid var(--gray-300); border-radius: 16px; padding: 40px; text-align: center;
  transition: border-color 0.3s;
}
.pricing-card.featured { border-color: var(--amber); position: relative; }
.pricing-card.featured::before {
  content: 'Most Popular'; position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--amber); color: var(--navy); font-size: 0.75rem; font-weight: 700;
  padding: 4px 16px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.05em;
}
.pricing-amount { font-size: 3rem; font-weight: 700; color: var(--navy); margin: 16px 0 4px; }
.pricing-amount span { font-size: 1rem; font-weight: 400; color: var(--gray-500); }
.pricing-features { margin: 24px 0; }
.pricing-features li { padding: 8px 0; color: var(--gray-700); font-size: 0.95rem; }
.pricing-features li::before { content: '✓ '; color: var(--amber); font-weight: 700; }

/* Badges */
.badge-row { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.badge {
  display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 10px 18px;
  font-size: 0.85rem; color: rgba(255,255,255,0.8);
}

/* Compliance banner */
.compliance-banner {
  background: var(--amber-light); border: 1px solid var(--amber);
  border-radius: 8px; padding: 16px 24px; text-align: center;
  font-size: 0.875rem; color: var(--navy); font-weight: 500; margin: 32px 0;
}

/* Warning box */
.warning-box {
  background: #FFF5F5; border: 1px solid #FEB2B2; border-radius: 8px;
  padding: 24px; margin: 24px 0;
}
.warning-box h4 { color: var(--red-soft); margin-bottom: 8px; }

/* Legal content */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-size: 1.5rem; margin: 40px 0 16px; padding-top: 24px; border-top: 1px solid var(--gray-300); }
.legal-content h2:first-child { border-top: none; margin-top: 0; }
.legal-content p { margin-bottom: 16px; }
.legal-content ul { margin: 0 0 16px 24px; list-style: disc; }
.legal-content ul li { margin-bottom: 8px; color: var(--gray-700); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-item { margin-bottom: 32px; }
.contact-item h3 { font-size: 1.125rem; margin-bottom: 8px; }

/* Footer */
.site-footer {
  background: var(--navy); color: rgba(255,255,255,0.6); padding: 60px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand { }
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand p { font-size: 0.875rem; color: rgba(255,255,255,0.5); max-width: 280px; }
.footer-col h4 { color: var(--white); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 0.875rem; padding: 4px 0; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-col a:hover { color: var(--amber); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  font-size: 0.8rem;
}
.footer-compliance { font-size: 0.75rem; color: rgba(255,255,255,0.4); text-align: center; margin-top: 16px; }

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  .nav-links { display: none; position: fixed; top: var(--header-height); left: 0; right: 0; bottom: 0; background: var(--navy); flex-direction: column; align-items: center; justify-content: center; gap: 32px; }
  .nav-links.active { display: flex; }
  .menu-toggle { display: block; }
  .card-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero { padding: 140px 0 80px; }
  .hero-buttons { flex-direction: column; align-items: center; }
}

/* ===== ENHANCED COMPONENTS ===== */

/* Stats bar */
.stats-bar {
  background: var(--amber); padding: 20px 0;
}
.stats-row {
  display: flex; justify-content: center; align-items: center;
  gap: 0; flex-wrap: wrap;
}
.stat-item {
  text-align: center; padding: 8px 40px;
  border-right: 1px solid rgba(11,17,32,0.2);
}
.stat-item:last-child { border-right: none; }
.stat-number { font-size: 1.75rem; font-weight: 800; color: var(--navy); line-height: 1; }
.stat-label { font-size: 0.75rem; font-weight: 600; color: rgba(11,17,32,0.65); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial-card {
  background: var(--white); border-radius: 16px; padding: 32px;
  border: 1px solid var(--gray-300); position: relative;
}
.testimonial-card::before {
  content: '"'; position: absolute; top: 16px; left: 24px;
  font-size: 4rem; line-height: 1; color: var(--amber); font-family: Georgia, serif; opacity: 0.5;
}
.testimonial-text { font-size: 1rem; line-height: 1.7; color: var(--gray-700); margin-bottom: 20px; padding-top: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  background: var(--gray-300);
}
.testimonial-name { font-weight: 600; font-size: 0.875rem; }
.testimonial-meta { font-size: 0.8rem; color: var(--gray-500); }
.star-row { color: var(--amber); font-size: 0.9rem; margin-bottom: 8px; }

/* Results section */
.results-section { background: var(--navy); color: var(--white); padding: 100px 0; }
.results-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.results-stat { margin-bottom: 40px; }
.results-stat .number { font-size: 4rem; font-weight: 800; color: var(--amber); line-height: 1; }
.results-stat .label { font-size: 1rem; color: rgba(255,255,255,0.7); margin-top: 6px; }
.results-stat .source { font-size: 0.75rem; color: rgba(255,255,255,0.35); margin-top: 4px; }
.results-image-wrap { border-radius: 16px; overflow: hidden; position: relative; }
.results-image-wrap img { width: 100%; height: 480px; object-fit: cover; display: block; }

/* Product card */
.product-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 80px; }
.product-feature.reverse { direction: rtl; }
.product-feature.reverse > * { direction: ltr; }
.product-image-wrap { border-radius: 20px; overflow: hidden; background: var(--gray-100); }
.product-image-wrap img { width: 100%; height: 380px; object-fit: cover; display: block; }
.product-detail h2 { margin-bottom: 16px; }
.product-detail p { margin-bottom: 16px; }
.product-detail .price-tag {
  display: inline-block; background: var(--amber-light); border: 1px solid var(--amber);
  color: var(--navy); font-weight: 700; font-size: 1.125rem;
  padding: 8px 20px; border-radius: 8px; margin: 16px 0;
}
.check-list { margin: 16px 0; }
.check-list li { padding: 6px 0; color: var(--gray-700); font-size: 0.95rem; }
.check-list li::before { content: '✓ '; color: var(--amber); font-weight: 700; }

/* Press bar */
.press-bar { background: var(--gray-100); padding: 32px 0; }
.press-label { text-align: center; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-500); margin-bottom: 20px; }
.press-logos { display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap; }
.press-logo { font-size: 1rem; font-weight: 700; color: var(--gray-500); letter-spacing: 0.02em; opacity: 0.6; }

/* Hero image overlay */
.hero-with-image {
  position: relative; overflow: hidden;
  background: var(--navy);
  padding: 160px 0 100px;
  color: var(--white);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.18;
}
.hero-content { position: relative; z-index: 1; text-align: center; }

/* Feature icon list */
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 24px; }
.feature-item { display: flex; gap: 12px; align-items: flex-start; }
.feature-icon { font-size: 1.25rem; margin-top: 2px; flex-shrink: 0; }
.feature-item h4 { font-size: 0.95rem; margin-bottom: 4px; }
.feature-item p { font-size: 0.875rem; }

/* Process timeline (enhanced) */
.timeline { max-width: 700px; margin: 0 auto; }
.timeline-item { display: flex; gap: 24px; margin-bottom: 40px; align-items: flex-start; }
.timeline-left { flex-shrink: 0; text-align: center; }
.timeline-line { width: 2px; height: 40px; background: var(--gray-300); margin: 8px auto 0; }
.timeline-item:last-child .timeline-line { display: none; }
.timeline-body { padding-bottom: 8px; }
.timeline-body h3 { margin-bottom: 6px; }

/* Comparison table */
.compare-table { max-width: 800px; margin: 0 auto; }
.compare-table table { width: 100%; }
.compare-table th { background: var(--navy); color: var(--white); text-align: center; font-size: 1rem; font-weight: 600; text-transform: none; letter-spacing: 0; }
.compare-table th:first-child { text-align: left; background: var(--off-white); color: var(--gray-700); }
.compare-table td { text-align: center; }
.compare-table td:first-child { text-align: left; font-weight: 500; }
.check-green { color: #2E7D32; font-weight: 700; }
.check-red { color: #C62828; }

/* Mobile updates */
@media (max-width: 768px) {
  .stats-row { gap: 0; }
  .stat-item { padding: 8px 20px; border-right: none; border-bottom: 1px solid rgba(11,17,32,0.2); width: 50%; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; gap: 40px; }
  .product-feature { grid-template-columns: 1fr; gap: 32px; }
  .product-feature.reverse { direction: ltr; }
  .feature-list { grid-template-columns: 1fr; }
  .press-logos { gap: 24px; }
}
