@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');
:root {
  --blue-950: #0D1D6A;
  --blue-800: #1A2F99;
  --blue-700: #2040C2;
  --blue-600: #3B5BDB;
  --blue-500: #4C70F0;
  --blue-400: #748FFC;
  --blue-200: #BAC8FF;
  --blue-100: #DBE4FF;
  --blue-50:  #EDF2FF;
  --white: #FFFFFF;
  --gray-50:  #F8F9FB;
  --gray-100: #F1F3F5;
  --gray-200: #E2E8F0;
  --gray-400: #ADB5BD;
  --gray-600: #5A6475;
  --gray-900: #1C1E2E;
  --text:       #1C1E2E;
  --text-muted: #5A6475;
  --border:     #E2E8F0;
  --hero-bg: linear-gradient(140deg, #0F1F80 0%, #2040C2 45%, #3B60E8 75%, #5075F5 100%);
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.07);
  --shadow-md: 0 6px 20px rgba(0,0,0,0.09);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.13);
  --radius:    14px;
  --radius-sm: 9px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(15, 31, 128, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--blue-400); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: color 0.18s;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}
.nav-links a:hover { color: white; }
.nav-links a.active { color: white; border-bottom-color: var(--blue-400); }

.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: white;
}
.nav-burger svg { display: block; }

.hero {
  background: var(--hero-bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 90px 2rem 60px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-circle {
  position: absolute;
  border-radius: 50%;
  background: white;
  opacity: 0.07;
  animation: heroFloat 9s ease-in-out infinite;
}
.hero-circle:nth-child(1) { width: 560px; height: 560px; top: -160px; left: -180px; animation-delay: 0s; }
.hero-circle:nth-child(2) { width: 380px; height: 380px; bottom: -100px; right: -100px; animation-delay: 3.5s; }
.hero-circle:nth-child(3) { width: 220px; height: 220px; top: 55%; left: 18%; animation-delay: 6s; }

@keyframes heroFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-18px) scale(1.025); }
}

.hero-rocket-wrap {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-52%) rotate(-8deg);
  opacity: 0.13;
  animation: heroFloat 11s ease-in-out infinite reverse;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
}
.hero-content h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  color: white;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
  animation: fadeUp 0.75s ease both;
}
.hero-content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.78);
  font-weight: 300;
  animation: fadeUp 0.75s 0.15s ease both;
  max-width: 560px;
  margin: 0 auto;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.page-hero {
  background: var(--hero-bg);
  padding: 130px 2rem 80px;
  position: relative;
  overflow: hidden;
}
.page-hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1.5px, transparent 1.5px);
  background-size: 36px 36px;
  pointer-events: none;
}
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}
.page-hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.65rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: white;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 0.9rem;
  animation: fadeUp 0.65s ease both;
}
.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  font-weight: 300;
  animation: fadeUp 0.65s 0.12s ease both;
  max-width: 600px;
}

.section { padding: 5.5rem 2rem; }
.section-alt { background: var(--gray-50); }
.container { max-width: 1100px; margin: 0 auto; }

.features-wrap { padding: 5rem 0 2rem; }
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--border);
}
.feature-block:last-child { border-bottom: none; }
.feature-block.flip { }
.feature-block.flip .feature-text { order: 2; }
.feature-block.flip .feature-visual { order: 1; }

.feature-text h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.1rem;
  line-height: 1.15;
}
.feature-text h2 strong { color: var(--blue-600); font-weight: 700; }
.feature-text p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.75rem;
}
.feature-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-visual img {
  max-height: 320px;
  object-fit: contain;
  filter: drop-shadow(0 20px 44px rgba(59,91,219,0.18));
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.68rem 1.55rem;
  background: var(--blue-600);
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.93rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(59,91,219,0.32);
  transition: background 0.18s, transform 0.15s, box-shadow 0.18s;
}
.btn:hover {
  background: var(--blue-700);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(59,91,219,0.4);
}
.btn-ghost {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.35);
  color: white;
  box-shadow: none;
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); transform: none; box-shadow: none; }

.article {
  max-width: 840px;
  margin: 0 auto;
  padding: 5rem 2rem 6rem;
}
.article-intro {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2.5rem;
}
.article h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 3.5rem 0 1rem;
  padding-top: 0.5rem;
}
.article h2:first-of-type { margin-top: 0; }
.article p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.82;
  margin-bottom: 1.2rem;
}
.article p strong, .article li strong { color: var(--text); font-weight: 500; }
.article a {
  color: var(--blue-600);
  text-decoration: none;
  border-bottom: 1px solid var(--blue-100);
  transition: border-color 0.15s;
}
.article a:hover { border-color: var(--blue-400); }
.article img {
  border-radius: var(--radius);
  margin: 2.5rem auto;
  box-shadow: var(--shadow-md);
  width: auto;
  max-width: 100%;
  max-height: 520px;
  height: auto;
  object-fit: initial;
  border-radius: 22px;
}
.article img.article-image-sm {
  max-height: 440px;
}
.article .tldr {
  background: var(--blue-50);
  border-left: 4px solid var(--blue-600);
  padding: 1.2rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 2rem 0;
}
.article .tldr p { margin: 0; color: var(--text); font-weight: 400; font-size: 0.98rem; }

.article .card-list { list-style: none; padding: 0; display: grid; gap: 0.75rem; margin-bottom: 1.5rem; }
.article .card-list li {
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.article .card-list li strong { color: var(--text); }

.article .steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 0.85rem; margin-bottom: 1.5rem; }
.article .steps li {
  counter-increment: step;
  position: relative;
  padding: 1.1rem 1.25rem 1.1rem 4rem;
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.article .steps li::before {
  content: counter(step);
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  background: var(--blue-600);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 700;
  font-family: 'Syne', sans-serif;
}

.faq { margin-top: 0.5rem; }
.faq-item { border-top: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  padding: 1.1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}
.faq-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border: 1.5px solid var(--blue-600);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-600);
  font-size: 1rem;
  transition: transform 0.25s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease, padding 0.2s;
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.78;
}
.faq-item.open .faq-a { max-height: 800px; padding-bottom: 1.1rem; }

.blog-header {
  margin-bottom: 3rem;
}
.blog-header h1 {
  font-family: 'Syne', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.blog-header p { color: var(--text-muted); font-size: 1.05rem; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.22s, transform 0.22s;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.blog-card-img { width: 100%; height: 185px; object-fit: cover; }
.blog-card-body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-title {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 0.7rem;
  letter-spacing: -0.02em;
}
.blog-card-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.1rem;
}
.blog-read { font-size: 0.85rem; color: var(--blue-600); font-weight: 500; }

.footer {
  background: var(--blue-950);
  padding: 3rem 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.footer-nav a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.18s; }
.footer-nav a:hover { color: white; }
.footer-copy { font-size: 0.82rem; }

.post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.post-meta-sep { color: var(--gray-400); }

.post-body { margin-top: 1rem; }
.post-body h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  margin: 3rem 0 0.9rem;
  line-height: 1.25;
}
.post-body h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 2rem 0 0.75rem;
}
.post-body p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1.2rem;
}
.post-body p strong { color: var(--text); font-weight: 500; }
.post-body ul, .post-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.4rem;
}
.post-body li {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 0.5rem;
}
.post-body li strong { color: var(--text); font-weight: 500; }
.post-body blockquote {
  border-left: 4px solid var(--blue-600);
  background: var(--blue-50);
  padding: 1rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
  font-size: 1rem;
  color: var(--text);
  font-style: italic;
  line-height: 1.7;
}
.post-body img {
  border-radius: var(--radius);
  margin: 2rem auto;
  box-shadow: var(--shadow-md);
  max-width: 100%;
}
.post-body img.post-screenshot {
  border-radius: 0;
}
.post-body a {
  color: var(--blue-600);
  text-decoration: none;
  border-bottom: 1px solid var(--blue-100);
  transition: border-color 0.15s;
}
.post-body a:hover { border-color: var(--blue-400); }

.post-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: var(--blue-600);
  text-decoration: none;
  margin-bottom: 2.5rem;
  font-weight: 500;
  transition: gap 0.15s;
}
.post-back:hover { gap: 0.6rem; }

@media (max-width: 900px) {
  .feature-block { grid-template-columns: 1fr; gap: 2.5rem; }
  .feature-block.flip .feature-text { order: 1; }
  .feature-block.flip .feature-visual { order: 2; }
  .hero-rocket-wrap { display: none; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: rgba(15,31,128,0.98);
    padding: 1.5rem 2rem;
    gap: 1.1rem;
    border-top: 1px solid rgba(255,255,255,0.09);
  }
  .section { padding: 4rem 1.25rem; }
  .article { padding: 3.5rem 1.25rem 4rem; }
  .blog-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 110px 1.25rem 60px; }
}
