:root {
  --color-primary: #635bff;
  --color-secondary: #ffb347;
  --color-accent: #48c8b1;
  --color-dark: #121625;
  --color-muted: #5e6478;
  --color-light: #f6f7fb;
  --color-surface: #ffffff;
  --font-heading: "Poppins", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --shadow-soft: 0 18px 40px rgba(18, 22, 37, 0.08);
  --shadow-sharp: 0 22px 60px rgba(18, 22, 37, 0.16);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-dark);
  background: linear-gradient(180deg, rgba(246, 247, 251, 0.95) 0%, rgba(255, 255, 255, 1) 100%);
  min-height: 100vh;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(72, 200, 177, 0.6);
  outline-offset: 4px;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 48px, var(--max-width));
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(18, 22, 37, 0.06);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--color-dark);
}

.brand img {
  width: 52px;
  height: 52px;
  filter: drop-shadow(0 10px 18px rgba(18, 22, 37, 0.12));
}

.brand-text {
  display: grid;
  gap: 2px;
  line-height: 1.1;
}

.brand-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.4px;
  background: linear-gradient(120deg, var(--color-primary), #8c7bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-tagline {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-muted);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 16px;
  padding: 0;
  margin: 0;
}

nav a {
  text-decoration: none;
  font-weight: 500;
  color: var(--color-muted);
  padding: 10px 16px;
  border-radius: 999px;
  transition: all 0.25s ease;
}

nav a:hover,
nav a:focus-visible,
nav a[aria-current="page"] {
  color: var(--color-dark);
  background: rgba(99, 91, 255, 0.12);
}

.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 600;
  font-family: var(--font-heading);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sharp);
}

.btn-secondary {
  background: rgba(72, 200, 177, 0.18);
  color: var(--color-dark);
}

main {
  display: grid;
  gap: 120px;
  padding: 80px 0 120px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 20px;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 3.4vw, 3.6rem);
  font-family: var(--font-heading);
  line-height: 1.05;
  margin: 0;
}

.hero-copy p {
  color: var(--color-muted);
  margin: 0;
  font-size: 1.08rem;
}

.hero-image {
  position: relative;
  padding: 24px;
}

.hero-image figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sharp);
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 10% 10% -10% -10%;
  background: radial-gradient(circle at top left, rgba(99, 91, 255, 0.22), transparent 60%),
    radial-gradient(circle at bottom right, rgba(255, 179, 71, 0.2), transparent 55%);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 179, 71, 0.18);
  color: #b46000;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 2.6vw, 2.6rem);
  margin: 0;
}

.section-subtitle {
  margin: 12px 0 0;
  color: var(--color-muted);
  font-size: 1.05rem;
}

.section-header {
  display: grid;
  gap: 8px;
  margin-bottom: 36px;
}

.section-card-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 16px;
}

.card h3 {
  margin: 0;
  font-family: var(--font-heading);
}

.card p {
  margin: 0;
  color: var(--color-muted);
}

.section-card-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  color: var(--color-muted);
}

.section-card-grid ul li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section-card-grid ul li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(72, 200, 177, 0.18);
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-step {
  display: grid;
  gap: 8px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(99, 91, 255, 0.1), rgba(72, 200, 177, 0.1));
  border: 1px solid rgba(18, 22, 37, 0.08);
}

.timeline-step h4 {
  margin: 0;
  font-family: var(--font-heading);
}

.ai-highlight {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: center;
}

.ai-highlight article {
  display: grid;
  gap: 18px;
}

.ai-highlight ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.ai-highlight li {
  display: grid;
  gap: 4px;
}

.cta {
  display: flex;
  justify-content: center;
}

.cta-card {
  background: linear-gradient(140deg, rgba(99, 91, 255, 0.12), rgba(255, 179, 71, 0.16));
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-soft);
  text-align: center;
  display: grid;
  gap: 20px;
}

.cta-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 1.05rem;
}

.ai-highlight strong {
  font-family: var(--font-heading);
}

.footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.84);
  padding: 36px 0 48px;
}

.footer a {
  color: inherit;
  text-decoration: none;
}

.footer .brand-title {
  background: linear-gradient(120deg, #ffffff, rgba(255, 255, 255, 0.7));
  -webkit-background-clip: text;
  background-clip: text;
}

.footer .brand-tagline {
  color: rgba(255, 255, 255, 0.6);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.footer small {
  display: block;
  margin-top: 32px;
  color: rgba(255, 255, 255, 0.6);
}

.layout-alt {
  background: rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-soft);
}

.mini-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

@media (max-width: 900px) {
  nav ul {
    position: fixed;
    inset: 0;
    padding: 120px 48px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    flex-direction: column;
    justify-content: flex-start;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  nav ul[data-open="true"] {
    transform: translateX(0);
  }

  .menu-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--color-dark);
  }

  .menu-toggle svg {
    width: 24px;
    height: 24px;
  }

  .navbar {
    align-items: center;
  }

  nav {
    margin-left: auto;
  }

  .nav-actions {
    display: none;
  }
}

@media (max-width: 640px) {
  main {
    padding: 64px 0 96px;
    gap: 80px;
  }

  .layout-alt {
    padding: 36px;
  }
}

@media (max-width: 780px) {
  .brand-title {
    font-size: 1.15rem;
  }

  .brand-tagline {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }
}

@media (max-width: 540px) {
  .brand {
    gap: 8px;
    align-items: flex-start;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand-text {
    gap: 1px;
  }

  .brand-title {
    font-size: 1.1rem;
  }

  .brand-tagline {
    display: block;
    font-size: 0.64rem;
    letter-spacing: 0.12em;
    line-height: 1.4;
  }
}

