:root {
  --orange: #f97316;
  --orange-light: #fb923c;
  --orange-glow: rgba(249, 115, 22, 0.15);
  --bg: #fafafa;
  --surface: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.6);
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border: rgba(15, 23, 42, 0.08);
  --border-hover: rgba(249, 115, 22, 0.4);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-soft: 0 20px 40px -12px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 30px 60px -15px rgba(249, 115, 22, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Plus Jakarta Sans', 'Noto Sans SC', sans-serif;
  background-color: var(--bg);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }

/* Abstract Background */
.bg-elements {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100vh;
  z-index: -1; pointer-events: none; overflow: hidden;
}
.bg-orb {
  position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.6;
}
.orb-1 { top: -10%; left: -10%; width: 50vw; height: 50vw; background: rgba(249, 115, 22, 0.12); }
.orb-2 { top: 40%; right: -15%; width: 60vw; height: 60vw; background: rgba(99, 102, 241, 0.08); }
.orb-3 { bottom: -20%; left: 20%; width: 40vw; height: 40vw; background: rgba(249, 115, 22, 0.08); }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* Hero Section */
.hero {
  padding: 160px 0 60px;
  text-align: center;
  position: relative;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; border-radius: 8px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 14px; font-weight: 800; color: var(--orange);
  box-shadow: 0 8px 24px var(--orange-glow);
  margin-bottom: 32px;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.hero h1 span {
  background: linear-gradient(135deg, var(--orange) 0%, #ff3b00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: 20px; color: var(--text-muted);
  max-width: 720px; margin: 0 auto;
}

/* Bento Grid Section Refined */
.bento-section { padding: 0px 0 100px; }
.bento-header {
  margin-bottom: 50px;
  text-align: center;
}
.bento-header h2 { font-size: 42px; font-weight: 900; letter-spacing: -0.02em; color: var(--text-main); margin-bottom: 16px; }
.bento-header p { color: var(--text-muted); font-size: 18px; font-weight: 500; max-width: 600px; margin: 0 auto; }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.card-span-7 { grid-column: span 7; }
.card-span-6 { grid-column: span 6; }
.card-span-5 { grid-column: span 5; }

@media (max-width: 992px) {
  .card-span-7, .card-span-6, .card-span-5 { grid-column: span 12; }
}

.bento-card {
  background: linear-gradient(145deg, #ffffff 0%, #fdfbf9 100%);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 28px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
  z-index: 1;
  height: 340px;
}
.bento-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 24px 48px -12px rgba(249, 115, 22, 0.15);
  border-color: rgba(249, 115, 22, 0.3);
  background: linear-gradient(145deg, #ffffff 0%, #fff8f2 100%);
}

.card-title-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.card-icon {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  flex-shrink: 0;
  transition: all 0.4s ease;
}
.bento-card:hover .card-icon {
  transform: scale(1.1) rotate(-5deg);
}

.content-wrap { position: relative; z-index: 2; display: flex; flex-direction: column; height: 100%; }
.content-wrap h3 { font-size: 28px; font-weight: 900; color: #0f172a; margin: 0; letter-spacing: -0.02em; }

.card-desc {
  color: #475569;
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
  max-width: 90%;
  flex-grow: 1;
}

.card-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: auto;
  gap: 20px;
}

.card-tags {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.tag {
  padding: 8px 16px; border-radius: 10px;
  font-size: 14px; font-weight: 700;
  background: rgba(15,23,42,0.04); color: #334155;
  border: none;
  transition: all 0.3s;
}
.bento-card:hover .tag { background: rgba(249,115,22,0.1); color: var(--orange); }

.card-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 800; color: var(--orange);
  transition: all 0.3s;
  background: transparent;
  padding: 0;
  white-space: nowrap;
}
.bento-card:hover .card-link {
  color: #ff3b00;
}

/* Subtle decorative blobs */
.visual-bg {
  position: absolute; right: -10%; bottom: -10%;
  width: 50%; height: 60%;
  background: radial-gradient(circle, rgba(249,115,22,0.08) 0%, transparent 70%);
  pointer-events: none; opacity: 0.5;
  transition: all 0.6s ease;
  transform: scale(0.8);
  z-index: 0;
}
.bento-card:hover .visual-bg {
  opacity: 1;
  transform: scale(1.2);
  background: radial-gradient(circle, rgba(249,115,22,0.12) 0%, transparent 70%);
}

/* Adjust for narrower screens */
@media (max-width: 1200px) {
  .card-bottom { flex-direction: column; align-items: flex-start; }
  .card-link { margin-top: 16px; }
  .bento-card { height: auto; min-height: 340px; }
}

@media (max-width: 768px) {
  .bento-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .card-desc { max-width: 100%; }
}

/* Matrix Section */
.matrix-section {
  padding: 100px 0;
  background: var(--surface);
  border-radius: var(--radius-lg);
  margin: 0 24px 100px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}
@media (max-width: 768px) { .matrix-section { margin: 0 0 80px; border-radius: 0; border-left: none; border-right: none; } }

.matrix-header { text-align: center; margin-bottom: 60px; }
.matrix-header h2 { font-size: 36px; font-weight: 900; margin-bottom: 16px; }

.tabs-wrap {
  display: flex; justify-content: center; gap: 12px; margin-bottom: 60px; flex-wrap: wrap;
}
.tab-btn {
  padding: 14px 28px; border-radius: 8px;
  background: var(--bg); border: 1px solid var(--border);
  font-size: 15px; font-weight: 800; color: var(--text-muted);
  cursor: pointer; transition: all 0.3s;
}
.tab-btn:hover { border-color: var(--orange); color: var(--orange); }
.tab-btn.active {
  background: var(--text-main); color: #fff; border-color: var(--text-main);
  box-shadow: 0 8px 24px rgba(15,23,42,0.15);
}

.matrix-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 0 60px;
}
@media (max-width: 1024px) { .matrix-grid { grid-template-columns: repeat(2, 1fr); padding: 0 40px; } }
@media (max-width: 768px) {
  .matrix-grid { grid-template-columns: 1fr; padding: 0 24px; }
  .mc-title-row { flex-wrap: wrap; }
  .mc-title { font-size: 18px; }
}

.matrix-card {
  padding: 32px; border-radius: var(--radius-md);
  background: var(--bg); border: 1px solid transparent;
  transition: all 0.3s; display: flex; flex-direction: column;
}
.matrix-card:hover {
  background: #fff; border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
}
.mc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
}
.mc-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}
.mc-icon {
  width: 52px; height: 52px; border-radius: 14px; background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--orange); box-shadow: 0 6px 14px rgba(0,0,0,0.04);
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.mc-badge {
  font-size: 11px; font-weight: 800; padding: 6px 10px; border-radius: 8px;
  background: rgba(249,115,22,0.1); color: var(--orange); letter-spacing: 0.05em;
  flex-shrink: 0;
}
.mc-badge.new { background: rgba(99, 102, 241, 0.1); color: #4f46e5; }

.mc-title {
  font-size: 20px; font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mc-desc { color: var(--text-muted); font-size: 15px; margin-bottom: 24px; line-height: 1.6; flex-grow: 1; }

.mc-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 24px; }
.mc-link { font-size: 14px; font-weight: 800; color: var(--text-main); display: flex; align-items: center; gap: 6px; }
.matrix-card:hover .mc-link { color: var(--orange); }

.mc-btn {
  padding: 8px 20px; border-radius: 6px;
  background: var(--text-main); color: #fff;
  font-size: 13px; font-weight: 800;
  transition: background 0.2s;
}
.matrix-card:hover .mc-btn { background: var(--orange); }

/* CTA Section */
.cta-section { padding: 60px 0 100px; }
.cta-box {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #fff8f2 100%);
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 30px 60px -15px rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.1);
}
.cta-bg-shape {
  position: absolute;
  top: -50%; left: -10%;
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(249,115,22,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 2; }
.cta-box h2 {
  color: var(--text-main); font-size: 40px; font-weight: 900; margin-bottom: 20px; letter-spacing: -0.02em;
}
.cta-box p {
  color: var(--text-muted); font-size: 18px; margin-bottom: 40px; max-width: 800px; margin-left: auto; margin-right: auto;
}
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-btn {
  padding: 16px 32px; border-radius: 8px; font-size: 16px; font-weight: 800; transition: all 0.3s;
  text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
}
.cta-btn.primary {
  background: var(--orange); color: #fff;
  box-shadow: 0 12px 24px rgba(249,115,22,0.2);
}
.cta-btn.primary:hover {
  background: #ff7b1a; transform: translateY(-3px); box-shadow: 0 16px 32px rgba(249,115,22,0.3); color: #fff;
}
.cta-btn.secondary {
  background: #fff; color: var(--text-main); border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}
.cta-btn.secondary:hover {
  background: #f8fafc; transform: translateY(-3px); border-color: rgba(15,23,42,0.15); color: var(--text-main);
}
@media (max-width: 768px) {
  .cta-box { padding: 60px 24px; border-radius: 20px; }
  .cta-box h2 { font-size: 32px; }
  .cta-actions { flex-direction: column; }
  .cta-btn { width: 100%; }
}
