:host { display:block; background:#fff; color:#2e2a2a; font-family:"Inter","Segoe UI",sans-serif; }
section { scroll-margin-top: 96px; }
.container { max-width: 1140px; margin: 0 auto; padding: 1.25rem; }

.page-hero.epoch-hero { 
  background: #abb8c3;
  background-size: 200% 200%;
  animation: gradientShift 15s ease infinite;
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
  border-bottom: none;
}
.page-hero.epoch-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
  pointer-events: none;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}
.hero-grid { 
  display:grid; 
  gap:3rem; 
  grid-template-columns:minmax(0,1.1fr) minmax(0,0.9fr); 
  align-items:center;
  position: relative;
  z-index: 1;
}
.breadcrumb { 
  display:flex; 
  gap:.5rem; 
  align-items:center; 
  color:rgba(255,255,255,0.9); 
  font-size:.9rem; 
  margin-bottom:1.5rem;
}
.breadcrumb a { 
  color:rgba(255,255,255,0.9); 
  text-decoration:none;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.breadcrumb a:hover { 
  color:#fff; 
  background: rgba(255,255,255,0.2);
  transform: translateX(2px);
}
.breadcrumb span { color: rgba(255,255,255,0.7); }
.hero-copy h1 { 
  margin: .5rem 0 1.5rem; 
  font-size:clamp(2rem, 5vw, 3.5rem); 
  line-height:1.1; 
  color:#fff;
  font-weight: 800;
  text-shadow: 0 4px 20px rgba(0,0,0,0.2);
  animation: fadeInUp 0.8s ease-out;
}
.lead { 
  font-size:1.25rem; 
  line-height:1.8; 
  color:rgba(255,255,255,0.95); 
  max-width: 62ch;
  text-shadow: 0 2px 10px rgba(0,0,0,0.1);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}
.cta { 
  display:flex; 
  gap:1rem; 
  flex-wrap:wrap; 
  margin-top:1.5rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}
.btn { 
  display:inline-flex; 
  align-items:center; 
  justify-content:center; 
  border-radius:12px; 
  font-weight:600; 
  padding:1rem 2rem; 
  text-decoration:none; 
  transition:all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  font-size: 1rem;
}
.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}
.btn:hover::before {
  width: 300px;
  height: 300px;
}
.btn-primary { 
  background:#fff; 
  color:#cf2e2e; 
  box-shadow:0 4px 15px rgba(0,0,0,0.2);
  z-index: 1;
}
.btn-primary:hover { 
  transform:translateY(-3px) scale(1.05); 
  box-shadow:0 8px 25px rgba(255,255,255,0.4);
}
.btn-outline { 
  border:2px solid rgba(255,255,255,0.5); 
  background:rgba(255,255,255,0.15); 
  color:#fff;
  backdrop-filter: blur(10px);
  z-index: 1;
}
.btn-outline:hover { 
  background:rgba(255,255,255,0.25);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(255,255,255,0.2);
}
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}
.stat-card {
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
}
.stat-card .value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}
.stat-card .label {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
}
.hero-media { 
  position: relative;
  animation: fadeInRight 1s ease-out 0.3s both;
}
.hero-media img { 
  width:100%; 
  border-radius:24px; 
  box-shadow:0 25px 50px rgba(0,0,0,0.4); 
  background:#fff;
  padding:1.5rem;
  object-fit: contain;
}

.section-nav {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 1rem 0;
  position: sticky;
  top: 85px;
  z-index: 100;
  margin-bottom: 0;
}
.section-nav button {
  background: none;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 8px;
  margin-right: 0.5rem;
}
.section-nav button:hover {
  color: #cf2e2e;
  background: #fef2f2;
}
.section-nav button.active {
  color: #cf2e2e;
  background: #fef2f2;
  font-weight: 600;
}

.overview-section {
  padding: 4rem 0;
  background: #fff;
}
.overview-panels {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
.panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.panel:nth-child(even) {
  direction: rtl;
}
.panel:nth-child(even) > * {
  direction: ltr;
}
.panel-copy h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
}
.panel-copy p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #4b5563;
  margin-bottom: 1.5rem;
}
.panel-copy ul {
  list-style: none;
  padding: 0;
}
.panel-copy li {
  padding: 0.75rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #374151;
}
.panel-copy li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #cf2e2e;
  font-weight: 700;
}
.panel-media {
  border-radius: 12px;
  overflow: hidden;
}
.panel-media img,
.panel-media video {
  width: 100%;
  height: auto;
  display: block;
}

.software-features-section {
  padding: 4rem 0;
  background: #f9fafb;
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
}
.section-header p {
  font-size: 1.1rem;
  color: #6b7280;
  max-width: 700px;
  margin: 0 auto;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.feature-card {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}
.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.75rem;
}
.feature-card p {
  color: #6b7280;
  line-height: 1.6;
}

.applications-section {
  padding: 4rem 0;
  background: #fff;
}
.application-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.app-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.app-card:hover {
  border-color: #cf2e2e;
  box-shadow: 0 8px 24px rgba(207,46,46,0.1);
  transform: translateY(-4px);
}
.card-media {
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-body {
  padding: 1.5rem;
}
.card-body h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.75rem;
}
.card-body p {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.card-link {
  color: #cf2e2e;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}
.card-link:hover {
  gap: 0.75rem;
}

.specs {
  padding: 4rem 0;
  background: #f9fafb;
}
.specs h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 2rem;
  text-align: center;
}
.spec-table {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.spec-group {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.spec-group h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f3f4f6;
}
.spec-group table {
  width: 100%;
  border-collapse: collapse;
}
.spec-group th {
  text-align: left;
  padding: 1rem;
  font-weight: 600;
  color: #374151;
  width: 40%;
  border-bottom: 1px solid #f3f4f6;
}
.spec-group td {
  padding: 1rem;
  color: #6b7280;
  border-bottom: 1px solid #f3f4f6;
}
.spec-group tr:last-child th,
.spec-group tr:last-child td {
  border-bottom: none;
}

.resources {
  padding: 4rem 0;
  background: #fff;
}
.resources h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 2rem;
  text-align: center;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}
.resource-block {
  background: #f9fafb;
  padding: 2rem;
  border-radius: 12px;
}
.resource-block h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
}
.resource-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.resource-block li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e7eb;
}
.resource-block li:last-child {
  border-bottom: none;
}
.resource-block a {
  color: #6b7280;
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
}
.resource-block a:hover {
  color: #cf2e2e;
  padding-left: 0.5rem;
}

.video-gallery h3 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .panel {
    grid-template-columns: 1fr;
  }
  .panel:nth-child(even) {
    direction: ltr;
  }
  .section-nav {
    overflow-x: auto;
    white-space: nowrap;
  }
  .section-nav button {
    display: inline-block;
  }
  .application-grid {
    grid-template-columns: 1fr;
  }
}

