/* ==== Reset & Base ==== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #F5F5F7;
  color: #1D1D1F;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

:root {
  --bg: #F5F5F7;
  --card: #FFFFFF;
  --text: #1D1D1F;
  --muted: #6E6E73;
  --accent: #FF3B3B;
  --accent-dark: #E02E2E;
  --border: #E5E5EA;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.08);
  --radius: 16px;
  --radius-sm: 10px;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ==== Buttons ==== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(255,59,59,0.3); }
.btn-secondary { background: #fff; color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: #FAFAFA; transform: translateY(-1px); }
.btn-block { width: 100%; }

/* ==== Header ==== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: box-shadow 0.25s ease, background 0.25s ease, backdrop-filter 0.25s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 40px; width: auto; max-width: 200px; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.main-nav a:hover { color: var(--accent); }
.main-nav a.active { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(0,0,0,0.04);
  border-radius: 999px;
  padding: 4px;
}
.lang-switch a {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--muted);
  transition: all 0.2s;
}
.lang-switch a.active { background: #fff; color: var(--text); box-shadow: var(--shadow-sm); }
.lang-switch a:hover:not(.active) { color: var(--text); }
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  border-radius: 8px;
}
.hamburger span {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, top 0.3s;
}
.hamburger span:nth-child(1) { top: 16px; }
.hamburger span:nth-child(2) { top: 22px; transition: opacity 0.1s; }
.hamburger span:nth-child(3) { top: 28px; }
.hamburger.open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transition: opacity 0.05s; }
.hamburger.open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ==== Hero ==== */
.hero {
  padding: 80px 20px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse 40% 40% at 50% 50%, rgba(255,59,59,0.06) 0%, rgba(255,59,59,0) 100%);
  z-index: 0;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--accent); }
.hero p.subtitle {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--muted);
  margin-bottom: 36px;
  line-height: 1.45;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ==== Stats ==== */
.stats-bar {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  margin: 40px auto 0;
  max-width: 1100px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.stat-item {
  padding: 28px 16px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.stat-label { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ==== Sections ==== */
section { padding: 80px 20px; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin-bottom: 16px;
}
.section-head p { color: var(--muted); font-size: 17px; }

/* ==== Cards Grid ==== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 900px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .cards-grid { grid-template-columns: 1fr; } }
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid var(--border);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255,59,59,0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; }
.card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.card p { color: var(--muted); font-size: 15px; line-height: 1.5; }

/* ==== Trust List (numbered) ==== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.trust-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
}
.trust-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.trust-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}
.trust-item h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.trust-item p { color: var(--muted); font-size: 14.5px; }

/* ==== For Whom ==== */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.audience-card {
  background: linear-gradient(155deg, #fff, #FAFAFA);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
}
.audience-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.audience-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(255,59,59,0.1);
  color: var(--accent);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.audience-icon svg { width: 32px; height: 32px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.audience-card h3 { font-size: 22px; font-weight: 600; margin-bottom: 10px; }
.audience-card p { color: var(--muted); font-size: 15px; }

/* ==== Pricing ==== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}
.price-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 32px;
  border: 1px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price-card.featured { border-color: var(--accent); box-shadow: 0 12px 32px rgba(255,59,59,0.12); }
.price-card.featured::before {
  content: 'POPULAR';
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 999px;
}
.price-name { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.price-amount {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  line-height: 1;
}
.price-amount .currency { font-size: 26px; vertical-align: top; margin-right: 2px; color: var(--muted); }
.price-desc { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.price-features { flex: 1; margin-bottom: 26px; }
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  padding: 9px 0;
  border-top: 1px solid var(--border);
  color: var(--text);
}
.price-features li:first-child { border-top: none; }
.price-features li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF3B3B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}
.pricing-note {
  text-align: center;
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ==== FAQ ==== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border-radius: 14px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq-item.open { box-shadow: var(--shadow-md); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  color: var(--text);
  gap: 16px;
}
.faq-q .icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform 0.3s;
}
.faq-q .icon::before, .faq-q .icon::after {
  content: '';
  position: absolute;
  background: var(--accent);
  border-radius: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.faq-q .icon::before { width: 14px; height: 2px; }
.faq-q .icon::after { width: 2px; height: 14px; transition: transform 0.3s; }
.faq-item.open .faq-q .icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.faq-a-inner { padding: 0 24px 22px; }

/* ==== Contact ==== */
.contact-card {
  background: #fff;
  border-radius: 20px;
  padding: 56px 32px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.contact-card h2 { font-size: clamp(26px, 3.5vw, 36px); margin-bottom: 14px; letter-spacing: -0.02em; }
.contact-card p { color: var(--muted); margin-bottom: 28px; font-size: 17px; }
.contact-email {
  display: inline-block;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 24px;
  color: var(--text);
  border-bottom: 1px dashed var(--muted);
}
.contact-email:hover { color: var(--accent); border-color: var(--accent); }
.contact-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ==== Footer ==== */
.site-footer {
  background: #fff;
  padding: 60px 20px 30px;
  border-top: 1px solid var(--border);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand img { height: 56px; width: auto; max-width: 240px; margin-bottom: 14px; }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 320px; }
.footer-col h4 { font-size: 14px; font-weight: 600; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { font-size: 15px; color: var(--text); transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }

.social-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.social-list a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.social-list a:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.social-list svg { width: 18px; height: 18px; fill: currentColor; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.footer-bottom p { margin-bottom: 8px; }
.footer-bottom a { color: var(--accent); }

/* ==== Blog ==== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.blog-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-thumb {
  height: 180px;
  background: linear-gradient(135deg, #FFE3E3, #FFD1D1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.blog-thumb svg { width: 56px; height: 56px; opacity: 0.5; }
.blog-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-date { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.blog-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; line-height: 1.3; }
.blog-card p { color: var(--muted); font-size: 15px; flex: 1; margin-bottom: 18px; }
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  font-size: 15px;
  align-self: flex-start;
}
.read-more:hover { gap: 10px; transition: gap 0.2s; }

/* ==== Article page ==== */
.article-page { padding: 0 20px 80px; }
.article-container { max-width: 780px; margin: 0 auto; }
.breadcrumb { padding: 16px 0px; max-width: 780px; margin: 0 auto; width: 100%; box-sizing: border-box; }
.breadcrumb ol { display: flex; gap: 8px; list-style: none; flex-wrap: wrap; }
.breadcrumb li { font-size: 14px; color: var(--muted); }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 8px; }
.breadcrumb a { color: var(--muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }
.article-header { margin-bottom: 40px; }
.article-meta { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.article-header h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.2; margin-bottom: 20px; letter-spacing: -0.02em; }
.article-lead { font-size: 18px; color: var(--muted); line-height: 1.6; }
.article-body h2 { font-size: 24px; margin: 40px 0 16px; letter-spacing: -0.01em; }
.article-body h3 { font-size: 20px; margin: 28px 0 12px; }
.article-body p { margin-bottom: 18px; line-height: 1.7; }
.article-body ul, .article-body ol { margin: 0 0 18px 24px; line-height: 1.7; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--text); font-weight: 600; }
.article-body a { color: var(--accent); }
.article-body a:hover { text-decoration: underline; }
.article-source { margin: 40px 0 32px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 14px; color: var(--muted); }
.article-source a { color: var(--accent); }
.article-back { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }
.article-cta { background: var(--card); border-radius: var(--radius); padding: 40px; text-align: center; box-shadow: var(--shadow-md); margin-top: 24px; }
.article-cta h2 { margin-bottom: 12px; }
.article-cta p { color: var(--muted); margin-bottom: 24px; }

/* ==== Mobile ==== */
@media (max-width: 960px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid var(--border); }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}
/* Hide mobile-lang and mobile-btn on desktop always */
.main-nav .mobile-lang,
.main-nav .mobile-btn { display: none; }

@media (max-width: 768px) {
  .main-nav, .header-actions .btn, .header-actions .lang-switch { display: none; }
  .hamburger { display: block; }
  .header-actions { gap: 8px; }
  .main-nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 24px 20px;
    gap: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-top: 1px solid var(--border);
  }
  .main-nav.mobile-open a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 17px;
    width: 100%;
  }
  .main-nav.mobile-open .mobile-lang { display: flex; margin: 16px 0; align-self: flex-start; background: none; padding: 0; gap: 8px; }
  .main-nav.mobile-open .mobile-lang a { font-size: 15px; font-weight: 600; color: var(--muted); padding: 6px 12px; border-radius: 8px; border: 1px solid var(--border); background: none; }
  .main-nav.mobile-open .mobile-lang a.active { color: var(--accent); border-color: var(--accent); background: none; box-shadow: none; }
  .main-nav.mobile-open .mobile-btn { display: inline-flex; margin-top: 8px; width: 100%; justify-content: center; color: #fff; }
  section { padding: 60px 20px; }
  .hero { padding: 50px 20px 30px; }
  .stat-item { padding: 22px 8px; }
  .price-card, .contact-card { padding: 32px 22px; }
  .card { padding: 28px 22px; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
}
