/* WPS Prism - Unique & Creative Original Style */
:root {
  --prism-red: #ff4d4f;
  --prism-black: #0a0a0b;
  --prism-accent: #3b82f6;
  --prism-glass: rgba(255, 255, 255, 0.03);
  --prism-font: "Clash Display", "Inter", system-ui, sans-serif;
}

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

body {
  background: var(--prism-black);
  color: #fff;
  font-family: var(--prism-font);
  overflow-x: hidden;
}

/* Fluid Background */
.fluid-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 0% 0%, rgba(255, 77, 79, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 100% 100%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
  z-index: -2;
}

/* Navigation */
.prism-nav {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 60px);
  max-width: 1200px;
  height: 70px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  padding: 0 30px;
  justify-content: space-between;
  z-index: 1000;
}

.prism-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -1px;
}

.prism-logo span {
  background: linear-gradient(90deg, #ff4d4f, #ff7875);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.prism-menu {
  display: flex;
  gap: 40px;
}

.prism-menu a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s;
}

.prism-menu a:hover {
  color: #fff;
}

.prism-btn-dl {
  background: #fff;
  color: var(--prism-black);
  padding: 12px 28px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.3s;
}

.prism-btn-dl:hover {
  transform: scale(1.05);
}

/* Hero - Asymmetric Layout */
.prism-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 180px 60px 100px;
  max-width: 1400px;
  margin: 0 auto;
  gap: 80px;
}

.hero-content {
  flex: 1.2;
}

.hero-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 77, 79, 0.1);
  border: 1px solid rgba(255, 77, 79, 0.2);
  color: #ff4d4f;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-content h1 {
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -4px;
  margin-bottom: 40px;
}

.hero-content p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 50px;
}

.hero-visual {
  flex: 1;
  position: relative;
}

.visual-prism {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(255, 77, 79, 0.2), rgba(59, 130, 246, 0.2));
  border-radius: 40px;
  transform: rotate(-10deg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 180px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}

/* Matrix Features */
.prism-matrix {
  padding: 150px 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 200px;
  gap: 30px;
}

.matrix-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 32px;
  padding: 40px;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  position: relative;
  overflow: hidden;
}

.matrix-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-10px);
}

.matrix-card.large { grid-column: span 8; grid-row: span 2; }
.matrix-card.small { grid-column: span 4; grid-row: span 1; }
.matrix-card.medium { grid-column: span 4; grid-row: span 2; }

.matrix-card h3 {
  font-size: 28px;
  margin-bottom: 15px;
  font-weight: 700;
}

.matrix-card p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
}

.matrix-icon {
  font-size: 40px;
  margin-bottom: 20px;
  display: block;
}

/* Workflow Section */
.workflow {
  padding: 150px 0;
  text-align: center;
}

.workflow-track {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 80px;
  padding: 0 60px;
}

.flow-step {
  flex: 1;
  padding: 40px;
  background: var(--prism-glass);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.step-num {
  font-size: 64px;
  font-weight: 900;
  color: rgba(255, 77, 79, 0.2);
  margin-bottom: 20px;
}

/* New: Core Pillars Section */
.pillars {
  padding: 150px 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.pillar-grid {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.pillar-item {
  display: flex;
  align-items: center;
  gap: 80px;
}

.pillar-item:nth-child(even) {
  flex-direction: row-reverse;
}

.pillar-content {
  flex: 1;
}

.pillar-content h2 {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 24px;
}

.pillar-visual-mini {
  flex: 1;
  height: 450px;
  background: linear-gradient(135deg, rgba(255,255,255,0.02), rgba(255,255,255,0.05));
  border-radius: 40px;
  border: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 120px;
}

/* New: Stats Banner */
.stats-banner {
  padding: 100px 0;
  background: linear-gradient(90deg, transparent, rgba(255, 77, 79, 0.05), transparent);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin: 100px 0;
}

.stats-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  text-align: center;
}

.stat-item h4 {
  font-size: 48px;
  font-weight: 900;
  color: var(--prism-red);
  margin-bottom: 10px;
}

.stat-item p {
  color: rgba(255,255,255,0.4);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* New: Security Section */
.security-vault {
  padding: 150px 60px;
  background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
  text-align: center;
}

.vault-card {
  max-width: 1000px;
  margin: 60px auto 0;
  padding: 80px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 48px;
  backdrop-filter: blur(40px);
}

/* New: Horizon Cards (Group 2) */
.horizon-cards {
  padding: 150px 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.horizon-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
}

.horizon-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, transparent 100%);
  border-radius: 40px;
  padding: 60px;
  border: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* New: Bento Marketplace (Group 5) */
.bento-section {
  padding: 150px 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 300px);
  gap: 20px;
}

.bento-item {
  background: var(--prism-glass);
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.05);
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.bento-item.wide { grid-column: span 2; }
.bento-item.tall { grid-row: span 2; }

.bento-tag {
  font-size: 12px;
  color: var(--prism-red);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 15px;
  display: block;
}

/* Footer */
.prism-footer {
  padding: 100px 60px 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  max-width: 1400px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 60px;
}

.footer-logo { font-size: 28px; font-weight: 900; margin-bottom: 25px; }
.footer-links h4 { color: #fff; margin-bottom: 25px; font-size: 16px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: rgba(255, 255, 255, 0.5); text-decoration: none; font-size: 14px; transition: 0.3s; }
.footer-links a:hover { color: #fff; }

@media (max-width: 1100px) {
  .prism-hero { flex-direction: column; text-align: center; }
  .hero-content h1 { font-size: 60px; }
  .matrix-grid { grid-template-columns: repeat(1, 1fr); grid-auto-rows: auto; }
  .matrix-card { grid-column: span 1 !important; grid-row: span 1 !important; }
  .workflow-track { flex-direction: column; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
