@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=general-sans@400,500,600,700&display=swap');

/* Ampmera — Shared Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --text: #111827; --muted: #6b7280; --light: #9ca3af;
  --primary: #0d9488; --primary-hover: #0f766e; --primary-light: #ccfbf1; --primary-bg: #f0fdfa;
  --bg: #ffffff; --bg-alt: #f9fafb; --card: #ffffff;
  --border: #e5e7eb; --dark: #111827; --dark-muted: #d1d5db;
}
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; font-feature-settings: 'ss01', 'cv11'; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding-left: 2rem; padding-right: 2rem; }

/* ── Nav ── */
nav { position: sticky; top: 0; background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); z-index: 100; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; max-width: 1200px; margin: 0 auto; padding-left: 2rem; padding-right: 2rem; }
.logo { display: flex; align-items: center; gap: 0.5rem; font-size: 1.1rem; font-weight: 600; letter-spacing: -0.025em; color: var(--text); font-family: 'General Sans', 'Inter Tight', sans-serif; line-height: 1; }
.logo svg { display: block; flex-shrink: 0; }
.logo-text { display: inline-block; transform: translateY(-2px); }
.logo span { color: var(--primary); }
nav ul { display: flex; gap: 2rem; list-style: none; }
nav ul a { color: var(--muted); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
nav ul a:hover { color: var(--text); }
.nav-cta { background: var(--primary); color: #fff; padding: 0.5rem 1.25rem; border-radius: 6px; font-size: 0.85rem; font-weight: 600; transition: background 0.2s; }
.nav-cta:hover { background: var(--primary-hover); }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text); padding: 0.25rem; }
.nav-links-mobile { display: none; }
.mobile-menu-open .nav-links-mobile { display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 4px 12px rgba(0,0,0,0.08); z-index: 99; }
.nav-links-mobile a { display: block; padding: 1rem 2rem; color: var(--muted); font-size: 0.95rem; font-weight: 500; border-top: 1px solid var(--border); transition: background 0.15s, color 0.15s; }
.nav-links-mobile a:hover { background: var(--bg-alt); color: var(--text); }

/* ── Language switcher ── */
.lang-switch { color: var(--muted); font-size: 0.8rem; font-weight: 600; padding: 0.25rem 0.6rem; border: 1px solid var(--border); border-radius: 4px; transition: color 0.2s, border-color 0.2s; text-transform: uppercase; letter-spacing: 0.03em; }
.lang-switch:hover { color: var(--primary); border-color: var(--primary); }

/* ── Buttons ── */
.btn-primary { background: var(--primary); color: #fff; padding: 0.85rem 2rem; border-radius: 8px; font-size: 1rem; font-weight: 600; transition: background 0.2s, transform 0.15s; display: inline-block; }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); }
.btn-outline { border: 2px solid var(--border); padding: 0.85rem 2rem; border-radius: 8px; font-size: 1rem; font-weight: 600; color: var(--text); transition: border-color 0.2s, color 0.2s; display: inline-block; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-white { background: #fff; color: var(--text); padding: 0.85rem 2rem; border-radius: 8px; font-size: 1rem; font-weight: 600; transition: transform 0.15s; display: inline-block; }
.btn-white:hover { transform: translateY(-1px); }

/* ── Hero ── */
.hero { padding: 7rem 0 5rem; text-align: center; }
.hero-badge { display: inline-block; background: var(--primary-light); color: var(--primary-hover); font-size: 0.8rem; font-weight: 600; padding: 0.35rem 1rem; border-radius: 100px; margin-bottom: 1.5rem; letter-spacing: 0.02em; }
.hero h1 { font-size: 3.75rem; font-weight: 800; letter-spacing: -0.035em; max-width: 800px; margin: 0 auto; line-height: 1.08; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero p { font-size: 1.25rem; color: var(--muted); max-width: 600px; margin: 1.5rem auto 0; line-height: 1.7; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; margin-top: 2.5rem; flex-wrap: wrap; }

/* ── Section headings ── */
.section-label { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--primary); margin-bottom: 0.75rem; }
.section-title { font-size: 2.5rem; font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; }
.section-subtitle { font-size: 1.1rem; color: var(--muted); max-width: 600px; margin-top: 1rem; line-height: 1.7; }
.section-header { margin-bottom: 3.5rem; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ── Problem ── */
.problem { padding: 5rem 0; background: var(--bg-alt); }
.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.problem-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 2rem; text-align: center; }
.problem-card .icon { font-size: 2rem; margin-bottom: 1rem; }
.problem-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.problem-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }

/* ── Solution intro ── */
.solution { padding: 5rem 0; }
.solution-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.solution-text .section-title { max-width: 480px; }
.solution-text .section-subtitle { max-width: 480px; }
.solution-checks { list-style: none; margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.solution-checks li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.95rem; color: var(--text); }
.solution-checks .check { flex-shrink: 0; width: 22px; height: 22px; background: var(--primary-light); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; margin-top: 2px; }
.solution-visual { background: linear-gradient(135deg, var(--primary-bg), #e0f2fe); border-radius: 16px; padding: 3rem; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 400px; }
.solution-visual .diagram { text-align: center; }
.diagram-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary-hover); margin-bottom: 0.5rem; }
.diagram-box { background: #fff; border: 2px solid var(--primary); border-radius: 12px; padding: 1rem 2rem; font-weight: 700; font-size: 1.1rem; color: var(--primary-hover); margin: 0.5rem 0; }
.diagram-arrow { color: var(--primary); font-size: 1.5rem; line-height: 1; }
.diagram-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.diagram-small { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 0.6rem 1rem; font-size: 0.8rem; font-weight: 600; color: var(--muted); }

/* ── Highlight features (top 3) ── */
.highlights { padding: 5rem 0; background: var(--bg-alt); }
.highlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.highlight-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 2.5rem; transition: border-color 0.2s, box-shadow 0.2s; }
.highlight-card:hover { border-color: var(--primary); box-shadow: 0 4px 24px rgba(13,148,136,0.08); }
.highlight-card .card-icon { width: 48px; height: 48px; background: var(--primary-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 1.25rem; }
.highlight-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.75rem; }
.highlight-card p { font-size: 0.92rem; color: var(--muted); line-height: 1.7; }

/* ── Full feature grid ── */
.features { padding: 5rem 0; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.feature-row { display: flex; gap: 1.25rem; padding: 2rem; background: var(--card); border: 1px solid var(--border); border-radius: 12px; transition: border-color 0.2s; }
.feature-row:hover { border-color: var(--primary); }
.feature-row .f-icon { flex-shrink: 0; width: 44px; height: 44px; background: var(--primary-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.feature-row h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.35rem; }
.feature-row p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }

/* ── Who benefits ── */
.benefits { padding: 5rem 0; background: var(--bg-alt); }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.benefit-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 2rem; }
.benefit-card .b-icon { font-size: 2rem; margin-bottom: 1rem; }
.benefit-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.benefit-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

/* ── Stats ── */
.stats { padding: 4rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-num { font-size: 2.75rem; font-weight: 800; color: var(--primary); letter-spacing: -0.02em; }
.stat-label { font-size: 0.85rem; color: var(--muted); margin-top: 0.25rem; font-weight: 500; }

/* ── Scenarios ── */
.scenario-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

/* ── Articles (cards on landing page + articles index) ── */
.articles { padding: 5rem 0; background: var(--bg-alt); }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.article-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 2.5rem; transition: border-color 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; }
.article-card:hover { border-color: var(--primary); box-shadow: 0 4px 24px rgba(13,148,136,0.08); }
.article-card .article-tag { display: inline-block; background: var(--primary-light); color: var(--primary-hover); font-size: 0.72rem; font-weight: 600; padding: 0.25rem 0.75rem; border-radius: 100px; margin-bottom: 1rem; letter-spacing: 0.02em; width: fit-content; }
.article-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.75rem; line-height: 1.35; }
.article-card h3 a { transition: color 0.2s; }
.article-card h3 a:hover { color: var(--primary); }
.article-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; flex: 1; }
.article-card .read-more { margin-top: 1.25rem; font-size: 0.88rem; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 0.35rem; transition: gap 0.2s; }
.article-card .read-more:hover { gap: 0.6rem; }
.articles-footer { text-align: center; margin-top: 2.5rem; }

/* ── Articles index page header ── */
.page-header { padding: 5rem 0 3rem; text-align: center; }
.page-header h1 { font-size: 3rem; font-weight: 800; letter-spacing: -0.035em; margin-bottom: 1rem; }
.page-header p { font-size: 1.15rem; color: var(--muted); max-width: 550px; margin: 0 auto; line-height: 1.7; }
.article-list { padding: 0 0 5rem; }

/* ── Article detail pages ── */
.article-header { padding: 5rem 0 2rem; max-width: 720px; margin: 0 auto; padding-left: 2rem; padding-right: 2rem; }
.article-header .back-link { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.88rem; font-weight: 500; color: var(--primary); margin-bottom: 2rem; transition: gap 0.2s; }
.article-header .back-link:hover { gap: 0.6rem; }
.article-header .article-tag { display: inline-block; background: var(--primary-light); color: var(--primary-hover); font-size: 0.72rem; font-weight: 600; padding: 0.25rem 0.75rem; border-radius: 100px; margin-bottom: 1.25rem; letter-spacing: 0.02em; }
.article-header h1 { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.article-body { max-width: 720px; margin: 0 auto; padding: 0 2rem 4rem; }
.article-body p { font-size: 1.05rem; color: var(--text); line-height: 1.85; margin-bottom: 1.5rem; }
.article-body p:last-child { margin-bottom: 0; }

/* ── Article CTA banner ── */
.article-cta { max-width: 720px; margin: 0 auto 4rem; padding: 0 2rem; }
.article-cta-box { background: var(--primary-bg); border: 1px solid var(--primary-light); border-radius: 16px; padding: 2.5rem; text-align: center; }
.article-cta-box h2 { font-size: 1.35rem; font-weight: 700; margin-bottom: 0.75rem; }
.article-cta-box p { font-size: 0.95rem; color: var(--muted); line-height: 1.7; max-width: 500px; margin: 0 auto 1.5rem; }

/* ── CTA section ── */
.cta { padding: 5rem 0; }
.cta-box { background: var(--dark); color: #fff; border-radius: 20px; padding: 5rem 4rem; text-align: center; }
.cta-box h2 { font-size: 2.5rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 1rem; }
.cta-box p { color: var(--dark-muted); max-width: 500px; margin: 0 auto 2.5rem; font-size: 1.1rem; line-height: 1.7; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Footer ── */
footer { padding: 2.5rem 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 0.85rem; max-width: 1200px; margin: 0 auto; padding-left: 2rem; padding-right: 2rem; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .highlight-grid { grid-template-columns: 1fr; }
  .solution-inner { grid-template-columns: 1fr; }
  .solution-visual { min-height: 300px; }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .article-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .container { padding-left: 1.25rem; padding-right: 1.25rem; }
  .nav-inner { padding-left: 1.25rem; padding-right: 1.25rem; }
  nav ul { display: none; }
  .mobile-menu-btn { display: block; }
  .nav-login { display: none; }
  .hero { padding: 4rem 0 3rem; }
  .hero h1 { font-size: 2.25rem; }
  .hero p { font-size: 1.05rem; }
  .section-title { font-size: 1.75rem; }
  .problem-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .scenario-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-box { padding: 3rem 1.5rem; }
  .cta-box h2 { font-size: 1.75rem; }
  .footer-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
  .page-header { padding: 3rem 0 2rem; }
  .page-header h1 { font-size: 2rem; }
  .article-header { padding: 3rem 1.25rem 1.5rem; }
  .article-header h1 { font-size: 1.75rem; }
  .article-body { padding: 0 1.25rem 3rem; }
  .article-cta { padding: 0 1.25rem; margin-bottom: 3rem; }
}
@media (max-width: 480px) {
  .problem-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.85rem; }
}
