:root {
  --blue: #117DD3;
  --blue-dark: #0047AB;
  --green: #4CAF50;
  --orange: #FF9800;
  --grey: #757575;
  --bg: #FFFFFF;
  --text: #1A1A2E;
  --text-muted: #4B5563;
  --surface: #F8F9FB;
  --border: #E5E7EB;
  --font: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.2;
}

h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  margin-bottom: 12px;
}

h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* NAVBAR */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: white;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  z-index: 100;
  padding: 0 5%;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: box-shadow 0.2s;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--blue-dark);
}

.nav-logo img {
  height: 32px;
  width: auto;
}

.nav-logo span {
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-links a.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.nav-links a.disabled:hover {
  color: var(--text);
}

.nav-login {
  color: var(--blue-dark) !important;
}

.btn-primary {
  background: var(--orange);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 12px 24px;
  font-weight: 700;
  font-family: var(--font);
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 152, 0, 0.4);
}

.nav-hamburger {
  display: none;
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text);
}

/* HERO */
.hero {
  padding: 120px 5% 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fb 60%, #f0f4ff 100%);
  min-height: 100vh;
}

.hero-content {
  max-width: 600px;
}

.hero-badge {
  display: inline-block;
  background: rgba(76, 175, 80, 0.1);
  color: var(--green);
  border: 1px solid rgba(76, 175, 80, 0.3);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

h1 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 8px;
  max-width: 540px;
}

.btn-hero {
  display: inline-block;
  background: var(--orange);
  color: white;
  border-radius: 12px;
  padding: 16px 36px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 24px;
  box-shadow: 0 8px 32px rgba(255, 152, 0, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255, 152, 0, 0.5);
}

.hero-disclaimer {
  font-size: 13px;
  color: var(--grey);
  margin-top: 16px;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-mockup {
  width: 100%;
  max-width: 380px;
  height: auto;
  object-fit: contain;
  border-radius: 24px;
  box-shadow: 0 32px 80px rgba(0, 0, 50, 0.2);
  transform: perspective(1000px) rotateY(-8deg) rotateX(4deg);
  transition: transform 0.3s;
}

.app-mockup:hover {
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
}

/* HOW IT WORKS */
.how-it-works {
  padding: 80px 5%;
  text-align: center;
  background: white;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.step {
  padding: 16px;
}

.step-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  margin: 0 auto 16px;
  box-shadow: 0 8px 24px rgba(17, 125, 211, 0.3);
}

.step h3 {
  margin-bottom: 8px;
}

.step p {
  color: var(--text-muted);
  font-size: 15px;
}

/* FEATURES */
.features {
  padding: 80px 5%;
  background: var(--surface);
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.feature-card {
  background: white;
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: left;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 36px;
  display: block;
  margin-bottom: 16px;
}

.feature-card h3 {
  color: var(--blue-dark);
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 15px;
}

/* PRICING */
.pricing {
  padding: 80px 5%;
  background: var(--blue-dark);
  text-align: center;
  color: white;
}

.pricing h2,
.pricing .section-sub {
  color: white;
}

.pricing .section-sub {
  opacity: 0.9;
}

.pricing-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  max-width: 560px;
  margin: 40px auto 0;
  text-align: left;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin-bottom: 32px;
}

.pricing-features li {
  padding: 12px 0;
  border-bottom: 1px solid #F3F4F6;
  color: var(--text);
  font-size: 15px;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-card .btn-primary {
  display: block;
  text-align: center;
  padding: 14px 24px;
  font-size: 15px;
}

/* FOOTER */
footer {
  background: #36454F;
  color: white;
  padding: 48px 5% 32px;
  display: grid;
  grid-template-columns: 2fr 2fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-left img {
  height: 28px;
  width: auto;
  display: inline-block;
}

.footer-left .footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
}

.footer-left p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  margin-top: 4px;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.footer-col h4 {
  color: white;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: white;
}

.footer-col a.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.footer-col a.disabled:hover {
  color: rgba(255, 255, 255, 0.75);
}

.footer-lang {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  justify-content: flex-end;
}

.footer-lang a {
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.footer-lang a.active,
.footer-lang a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: rgba(255, 255, 255, 0.4);
}

/* RESPONSIVE — Mobile */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 100px 5% 60px;
    text-align: center;
    min-height: auto;
  }

  .hero-content {
    margin: 0 auto;
  }

  .hero-image {
    order: -1;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 16px;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .app-mockup {
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    transform: none;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 50, 0.15);
  }

  .app-mockup:hover {
    transform: none;
  }

  .steps,
  .features-grid {
    grid-template-columns: 1fr;
  }

  footer {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .footer-lang {
    justify-content: flex-start;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px 5%;
    gap: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  }

  .nav-links.nav-open {
    display: flex;
  }

  .nav-hamburger {
    display: block;
  }

  .nav-cta {
    padding: 10px 18px;
    font-size: 13px;
  }

  .pricing-card {
    padding: 28px 20px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 26px;
  }

  .btn-hero {
    padding: 14px 28px;
    font-size: 16px;
  }
}

/* ── BLOG ───────────────────────────────────────── */
.nav-links a.active {
  color: var(--blue);
}

.blog-page {
  background: var(--surface);
}

.blog-hero {
  padding: 120px 5% 48px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fb 60%, #f0f4ff 100%);
  text-align: center;
}

.blog-hero-inner {
  max-width: 760px;
  margin: 0 auto;
}

.blog-hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 16px;
}

.blog-hero .hero-sub {
  margin: 0 auto;
  font-size: 17px;
}

.blog-list {
  padding: 56px 5% 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  color: var(--text);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.blog-card-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #eef2f7;
  background-size: cover;
  background-position: center;
}

.blog-card-cover--emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eaf2fb 0%, #e8f5ea 100%);
}

.blog-card-cover--emoji span {
  font-size: 56px;
}

.blog-card-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.blog-category {
  align-self: flex-start;
  display: inline-block;
  background: rgba(17, 125, 211, 0.1);
  color: var(--blue);
  border: 1px solid rgba(17, 125, 211, 0.25);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.blog-card-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text);
}

.blog-card-summary {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: auto;
}

.blog-card-dot {
  color: var(--border);
}

.blog-card-readmore {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
}

.blog-empty {
  background: white;
  border-radius: 20px;
  padding: 64px 24px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.blog-empty-emoji {
  font-size: 56px;
  display: block;
  margin-bottom: 16px;
}

.blog-empty h2 {
  margin-bottom: 12px;
}

.blog-empty p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 460px;
  margin: 0 auto;
}

/* Post page */
.blog-post {
  max-width: 720px;
  margin: 0 auto;
  padding: 96px 24px 48px;
  background: white;
}

.blog-back {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
}

.blog-back:hover {
  color: var(--blue-dark);
}

.blog-post-cover {
  margin: 8px 0 28px;
  border-radius: 16px;
  overflow: hidden;
}

.blog-post-cover--image img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-post-cover--emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eaf2fb 0%, #e8f5ea 100%);
  padding: 56px 0;
}

.blog-post-cover--emoji span {
  font-size: 96px;
  line-height: 1;
}

.blog-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.blog-post-title {
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.blog-post-body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
}

.blog-post-body h2 {
  font-size: 26px;
  margin: 40px 0 16px;
}

.blog-post-body h3 {
  font-size: 21px;
  margin: 32px 0 12px;
}

.blog-post-body p {
  margin-bottom: 18px;
}

.blog-post-body ul,
.blog-post-body ol {
  margin: 0 0 18px 24px;
  padding-left: 4px;
}

.blog-post-body li {
  margin-bottom: 8px;
}

.blog-post-body a {
  color: var(--blue);
  text-decoration: underline;
}

.blog-post-body a:hover {
  color: var(--blue-dark);
}

.blog-post-body blockquote {
  border-left: 4px solid var(--blue);
  background: var(--surface);
  padding: 14px 20px;
  margin: 24px 0;
  border-radius: 0 8px 8px 0;
  color: var(--text-muted);
}

.blog-post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 20px 0;
}

.blog-post-body code {
  background: var(--surface);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.92em;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.blog-post-body pre {
  background: var(--text);
  color: white;
  padding: 16px 20px;
  border-radius: 12px;
  overflow-x: auto;
  margin: 24px 0;
}

.blog-post-body pre code {
  background: transparent;
  padding: 0;
  color: inherit;
}

.blog-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.blog-tag {
  background: var(--surface);
  color: var(--text-muted);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
}

.blog-cta {
  background: var(--blue-dark);
  color: white;
  text-align: center;
  padding: 64px 5%;
}

.blog-cta h2 {
  color: white;
  max-width: 640px;
  margin: 0 auto 24px;
}

@media (max-width: 960px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-hero {
    padding: 100px 5% 32px;
  }

  .blog-post {
    padding: 88px 20px 32px;
  }

  .blog-post-cover--emoji {
    padding: 40px 0;
  }

  .blog-post-cover--emoji span {
    font-size: 72px;
  }
}
