/* Megdesk Premium Visual Layer */

body {
  background: linear-gradient(180deg, #fff9f3 0%, #ffffff 30%, #fff5eb 100%);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 0;
}

/* ── Hero richness ── */
.hero {
  background: linear-gradient(155deg, #1a0a2e 0%, #2a1654 50%, #3d2060 100%);
  min-height: 100vh;
}

.hero-copy {
  color: var(--ink);
}

.hero-text {
  color: #2a1654;
  max-width: 520px;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.5rem 1.25rem 0.5rem 0.75rem;
  border-radius: 100px;
  border: 1px solid rgba(245, 200, 66, 0.3);
}

.hero-actions .btn-secondary {
  color: #1a0a2e;
  border-color: #00FF00;
  background: rgba(255, 255, 255, 0.55);
}

.hero-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: #00DD00;
  color: #1a0a2e;
}

.hero-title {
  color: #ffffff;
  text-shadow: 0 2px 24px rgba(26, 10, 46, 0.18);
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-feat {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.hero-feat-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(245, 200, 66, 0.2), rgba(232, 117, 26, 0.15));
  border: 1px solid rgba(245, 200, 66, 0.35);
  border-radius: 8px;
  font-size: 0.9rem;
}

.hero-feat strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.2rem;
}

.hero-feat span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
}

.software-stage {
  position: relative;
}

.software-stage::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(245, 200, 66, 0.15) 0%, transparent 70%);
  z-index: -1;
  border-radius: 20px;
}

.app-window {
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(245, 200, 66, 0.15);
}

.float-badge {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(245, 200, 66, 0.4);
  color: var(--yellow);
  backdrop-filter: blur(8px);
}

.particle-canvas {
  opacity: 0.7;
}

.hero-mesh {
  background:
    linear-gradient(135deg, rgba(245, 200, 66, 0.12) 0%, transparent 50%),
    linear-gradient(225deg, rgba(232, 117, 26, 0.1) 0%, transparent 45%);
}

.aurora { opacity: 0.65; }

/* ── Stats premium cards ── */
.stats-strip {
  background: #fffbf7;
  padding: 3rem 0 2rem;
  margin-top: 0;
  position: relative;
  z-index: 1;
}

.stats-strip .section-shimmer {
  display: none;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  padding: 0 0 4rem;
}

.stat-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  box-shadow: 0 12px 40px rgba(26, 10, 46, 0.08);
  border-right: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--yellow), var(--orange));
}

.stat-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(232, 117, 26, 0.15);
}

.stat-value {
  color: var(--plum);
}

.stat-value span {
  background: linear-gradient(120deg, var(--yellow), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-caption {
  color: var(--ink-muted);
}

.stat-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  display: block;
}

/* ── Values strip ── */
.values-band {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--warm) 0%, var(--cream) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.values-band::before {
  content: 'MEG';
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: clamp(8rem, 20vw, 14rem);
  font-weight: 700;
  color: rgba(232, 117, 26, 0.04);
  pointer-events: none;
  letter-spacing: 0.1em;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.value-card {
  padding: 2rem 1.75rem;
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  transition: all 0.4s ease;
  position: relative;
}

.value-card:hover {
  border-color: var(--line-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-warm);
}

.value-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--plum), var(--plum-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 20px rgba(26, 10, 46, 0.2);
}

.value-card h4 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--plum);
}

.value-card p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ── Section richness ── */
.section {
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 4rem;
}

.section-head::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--yellow), var(--orange));
  margin: 1.5rem auto 0;
}

#expertise {
  background: var(--white);
}

#expertise::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-gold), transparent);
}

.pillar {
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
  overflow: hidden;
}

.pillar::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(245, 200, 66, 0.08), transparent);
}

.process-visual {
  background: linear-gradient(135deg, var(--plum) 0%, var(--plum-soft) 100%);
  border: none;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(26, 10, 46, 0.2);
}

.deploy-stage {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.5);
}

.deploy-arrow {
  color: var(--yellow);
}

/* ── Solutions richer ── */
.section--dark {
  background: linear-gradient(160deg, #0f0618 0%, var(--plum) 40%, #2a1545 100%);
}

.section-head--light {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
}

.section-head--light::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--yellow), var(--orange));
  margin: 1.5rem auto 0;
}

.section-sub {
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.05rem;
  max-width: 560px;
  margin: -2rem auto 3.5rem;
  font-weight: 300;
}

.lux-card {
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 100%);
  backdrop-filter: blur(8px);
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.card-ui {
  border-radius: 8px;
  height: 100px;
}

/* ── Tech band premium ── */
.tech-band {
  background: linear-gradient(180deg, var(--plum) 0%, #0f0618 100%);
  padding: 5rem 0;
  border: none;
}

.tech-title {
  color: rgba(255, 255, 255, 0.5);
}

.tech-icon-box {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(245, 200, 66, 0.25);
  color: var(--yellow);
}

.tech-icon span {
  color: rgba(255, 255, 255, 0.45);
}

.marquee-track span {
  color: rgba(255, 255, 255, 0.25);
}

.marquee-track span:hover {
  color: var(--yellow);
}

/* ── About premium ── */
.about {
  background: linear-gradient(135deg, var(--cream) 0%, var(--white) 50%, var(--warm) 100%);
}

.about-copy {
  padding: 2.5rem;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.highlight-item {
  padding: 1rem 1.25rem;
  background: var(--warm);
  border-radius: 10px;
  border-left: 3px solid var(--orange);
}

.highlight-item strong {
  display: block;
  font-size: 1.5rem;
  font-family: var(--serif);
  color: var(--plum);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.highlight-item span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
}

.code-editor {
  box-shadow: 0 24px 60px rgba(26, 10, 46, 0.15);
}

.about-logo-card {
  box-shadow: var(--shadow-warm);
}

/* ── Leadership premium cards ── */
.leadership {
  background: linear-gradient(180deg, #fffdf9 0%, #ffffff 100%);
  color: var(--ink);
}

.leadership .section-head {
  color: var(--ink);
}

.leadership .overline {
  color: var(--orange);
}

.leadership .section-head h2 {
  color: var(--plum);
}

.leadership .section-head::after {
  background: linear-gradient(90deg, var(--yellow), var(--orange));
}

.exec {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2.5rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.exec-detail h3 {
  color: var(--white);
}

.exec-detail p {
  color: rgba(255, 255, 255, 0.65);
}

.exec-role {
  color: var(--yellow);
}

.exec-photo {
  border-radius: 12px;
  overflow: hidden;
}

.exec-photo::before {
  border-color: rgba(245, 200, 66, 0.5);
  margin: 16px;
}

/* ── CTA richer ── */
.cta-banner {
  background: linear-gradient(135deg, var(--yellow) 0%, var(--orange) 50%, var(--orange-deep) 100%);
  padding: 6rem 0;
}

.cta-banner::before {
  display: none;
}

.cta-content h2 {
  color: var(--plum);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
}

.cta-content p {
  color: rgba(26, 10, 46, 0.7);
  font-size: 1.1rem;
}

.cta-content .btn-light {
  background: var(--plum);
  color: var(--white);
  box-shadow: 0 12px 40px rgba(26, 10, 46, 0.3);
}

.cta-content .btn-light:hover {
  background: var(--plum-soft);
  color: var(--white);
}

/* ── Contact premium ── */
.contact {
  background: var(--white);
}

.contact-copy {
  padding: 2.5rem;
  background: linear-gradient(145deg, var(--plum) 0%, var(--plum-soft) 100%);
  border-radius: 16px;
  color: var(--white);
  box-shadow: 0 20px 60px rgba(26, 10, 46, 0.2);
}

.contact-copy .overline {
  color: var(--yellow);
}

.contact-copy h2 {
  color: var(--white);
}

.contact-copy > p {
  color: rgba(255, 255, 255, 0.65);
}

.contact-row .row-label {
  color: var(--yellow);
}

.contact-row p {
  color: rgba(255, 255, 255, 0.8);
}

.contact-row a:hover {
  color: var(--yellow);
}

.form-panel {
  border-radius: 16px;
  padding: 2.5rem;
  background: var(--white);
  border: 1px solid var(--line-gold);
  box-shadow: var(--shadow-warm);
}

/* ── Footer premium ── */
.footer {
  padding: 4rem 0 2.5rem;
  background: #0a0510;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2rem;
}

.footer-about p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 1rem;
  line-height: 1.8;
  max-width: 280px;
}

.footer-col h5 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1.25rem;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.6rem;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--yellow);
}

/* ── Industries strip ── */
.industries-band {
  padding: 4rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.industries-label {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 2rem;
}

.industries-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.industry-tag {
  padding: 0.75rem 1.5rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: all 0.3s ease;
}

.industry-tag:hover {
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  color: var(--white);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 117, 26, 0.25);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .values-grid { grid-template-columns: 1fr 1fr; }
  .hero-features { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .about-highlights { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .values-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero { background: linear-gradient(180deg, #1a0a2e 0%, #2a1654 100%); }
}
