:root {
  --bg: #ffffff;
  --surface: rgba(255, 255, 255, 0.94);
  --surface-strong: rgba(255, 255, 255, 0.98);
  --text: #10213a;
  --muted: #536684;
  --accent: #1d4ed8;
  --accent-soft: rgba(29, 78, 216, 0.14);
  --border: rgba(29, 78, 216, 0.14);
  --shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
  font-family: 'Inter', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  background: radial-gradient(circle at top left, rgba(29, 78, 216, 0.08), transparent 16%),
    radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.08), transparent 18%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

button,
input,
textarea {
  font: inherit;
}

img {
  max-width: 100%;
}

.page-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px 48px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(29, 78, 216, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.12em;
  font-weight: 800;
  font-size: 1.05rem;
}

.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  display: block;
}

.menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  cursor: pointer;
  padding: 8px;
  align-items: center;
  justify-content: center;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: var(--text);
  border-radius: 999px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

.hero {
  min-height: calc(100vh - 104px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
  padding: 48px 0 64px;
}

.hero-copy {
  max-width: 650px;
  min-width: 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--accent);
  font-size: 0.8rem;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.96;
  margin: 0;
  letter-spacing: -0.05em;
  overflow-wrap: break-word;
  word-break: break-word;
}

.accent {
  display: block;
  margin-top: 1rem;
  color: var(--accent);
  overflow-wrap: break-word;
  word-break: break-word;
}

.hero-text {
  margin: 26px 0 32px;
  max-width: 560px;
  color: var(--muted);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.graph-3d {
  position: relative;
  margin: 0;
  padding: 24px 24px 18px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 246, 255, 0.92));
  border: 1px solid rgba(29, 78, 216, 0.14);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.graph-3d::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(29, 78, 216, 0.14), transparent 34%),
    radial-gradient(circle at bottom left, rgba(14, 165, 233, 0.12), transparent 36%);
  pointer-events: none;
}

.graph-grid {
  position: absolute;
  inset: 24px 24px 20px;
  display: grid;
  grid-template-rows: repeat(5, 1fr);
  gap: 0;
  pointer-events: none;
}

.graph-grid span {
  display: block;
  border-top: 1px solid rgba(29, 78, 216, 0.08);
  transform: translateY(-0.5px);
}

.graph-lines {
  position: relative;
  width: 100%;
  height: 220px;
  margin-top: 8px;
  transform: perspective(900px) rotateX(13deg) translateY(4px);
  overflow: visible;
  z-index: 1;
}

.graph-line {
  fill: none;
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 16px 24px rgba(29, 78, 216, 0.14));
  transition: all 0.45s ease;
}

.line-a {
  stroke: var(--accent);
}

.line-b {
  stroke: #0ea5e9;
}

.line-c {
  stroke: #7c5cff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #1a8cff, #00d9ff);
  color: #fff;
  box-shadow: 0 18px 40px rgba(41, 196, 255, 0.24);
}

.btn-secondary {
  color: var(--text);
  border-color: rgba(41, 196, 255, 0.2);
  background: rgba(41, 196, 255, 0.08);
}

.hero-visual {
  display: grid;
  gap: 24px;
}

.hero-card,
.panel-row,
.feature-card,
.showcase-card,
.contact-card,
.about-info,
.contact-form,
.footer {
  border: 1px solid var(--border);
  backdrop-filter: blur(24px);
  background: var(--surface);
  box-shadow: var(--shadow);
  border-radius: 32px;
}

.hero-card {
  padding: 28px;
}

.card-header {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c5cff, #ff66d6);
}

.card-body h3 {
  margin: 0 0 14px;
  font-size: 1.35rem;
}

.card-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.hero-panel {
  display: grid;
  gap: 16px;
}

.dashboard-panel {
  display: grid;
  gap: 20px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(29, 78, 216, 0.12);
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.dashboard-header span,
.dashboard-header strong {
  color: #10213a;
}

.status-chip {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(29, 78, 216, 0.08);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.dashboard-metric {
  padding: 18px 20px;
  border-radius: 24px;
  background: #f4f8ff;
  border: 1px solid rgba(29, 78, 216, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.dashboard-metric:nth-child(1) {
  background: rgba(29, 78, 216, 0.08);
}

.dashboard-metric:nth-child(2) {
  background: rgba(14, 165, 233, 0.08);
}

.dashboard-metric:nth-child(3) {
  background: rgba(124, 92, 255, 0.08);
}

.dashboard-metric span {
  display: block;
  color: #536684;
  margin-bottom: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dashboard-metric strong {
  display: block;
  color: #10213a;
  font-size: 1.05rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dashboard-chart {
  position: relative;
  min-height: 220px;
  padding: 24px;
  border-radius: 28px;
  background: rgba(229, 241, 255, 0.88);
  border: 1px solid rgba(29, 78, 216, 0.12);
  overflow: hidden;
}

.dashboard-chart::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.08), transparent 45%);
  pointer-events: none;
}

.chart-bars {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 100%;
  z-index: 1;
}

.bar {
  flex: 1;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, #7c5cff, #3d5dff);
  height: 0;
  transition: height 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.chart-line {
  position: absolute;
  bottom: 32px;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 0;
}

.dashboard-footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.dashboard-footer span {
  color: var(--muted);
  font-size: 0.95rem;
}

  background: rgba(255, 255, 255, 0.04);
  border-radius: 24px;
}

.panel-row span {
  color: var(--muted);
}

.panel-row strong {
  font-size: 1.05rem;
}

.features,
.showcase,
.about,
.contact {
  padding: 60px 0;
}

.section-intro {
  max-width: 640px;
  margin-bottom: 36px;
}

.section-tag {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.section-intro h2 {
  margin: 0;
  line-height: 1.12;
  font-size: clamp(2rem, 3vw, 3rem);
}

.feature-grid,
.showcase-grid,
.stats-grid,
.contact-grid {
  display: grid;
  gap: 24px;
}

.feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.feature-card,
.showcase-card,
.contact-card {
  padding: 32px;
}

.feature-card h3,
.showcase-card h3,
.contact-card h3 {
  margin: 0 0 14px;
}

.feature-card p,
.showcase-card p,
.contact-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.78;
}

.testimonial-img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 18px;
  border: 2px solid rgba(255, 255, 255, 0.12);
}

.testimonial-quote {
  margin: 18px 0 0;
  color: #f3f7ff;
  line-height: 1.9;
}

.showcase-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.testimonial-author {
  margin-top: 18px;
  font-weight: 600;
  color: #fff;
}

.link {
  color: var(--accent);
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
}

.pill {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(124, 92, 255, 0.16);
  color: #c6d0ff;
  font-size: 0.85rem;
}

.about {
  padding-bottom: 70px;
}

.about-info {
  padding: 32px;
}

.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.gallery-card {
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.gallery-content {
  padding: 22px;
}

.gallery-content h3 {
  margin: 0 0 10px;
  text-transform: uppercase;
}

.gallery-content p {
  margin: 0;
  color: var(--muted);
}

.stats-grid > div {
  padding: 32px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.03);
}

.stats-grid strong {
  display: block;
  font-size: 2rem;
  margin-bottom: 10px;
}

.contact-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.contact-card {
  padding: 40px;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 40px;
}

.contact-form label {
  display: grid;
  gap: 10px;
  color: var(--text);
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 18px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(124, 92, 255, 0.7);
}

.footer {
  margin-top: 32px;
  padding: 26px 28px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.15s;
}

.delay-2 {
  transition-delay: 0.3s;
}

.delay-3 {
  transition-delay: 0.45s;
}

.floating-card {
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .showcase-grid,
  .stats-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page-shell {
    padding: 20px 18px 32px;
  }

  .topbar {
    flex-wrap: wrap;
    gap: 16px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    display: none;
    flex-direction: column;
    gap: 14px;
  }

  .nav-links.open {
    display: flex;
  }

  .hero {
    padding-top: 32px;
  }
}
