/* Oseko — GEO Blog Theme */
:root {
  --bg: #fafbff;
  --fg: #1d1e20;
  --accent: #673de6;
  --accent-light: #8c85ff;
  --gray: #6d7081;
  --light: #f4f5ff;
  --border: #d8dae0;
  --card-bg: #ffffff;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
}

.container { max-width: 1110px; margin: 0 auto; padding: 0 24px; }

/* Header */
header {
  background: white;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
}
.logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.5px;
}
nav { display: flex; gap: 24px; }
nav a {
  color: var(--gray);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s;
}
nav a:hover { color: var(--accent); }

/* Hero */
.hero {
  padding: 80px 0 60px;
  text-align: center;
}
.hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.highlight { color: var(--accent); }
.hero-sub {
  font-size: 20px;
  color: var(--gray);
  margin-bottom: 12px;
}
.hero-text {
  font-size: 16px;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 32px;
}
.cta-button {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: opacity 0.2s;
}
.cta-button:hover { opacity: 0.9; }

/* Sections */
section { padding: 60px 0; }
section:nth-child(even) { background: var(--light); }
section h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 32px;
  text-align: center;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  transition: box-shadow 0.2s;
}
.service-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.service-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.service-card p { font-size: 14px; color: var(--gray); line-height: 1.6; }

/* Articles grid */
.articles-grid {
  display: grid;
  gap: 20px;
}
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  transition: box-shadow 0.2s;
}
.card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.card h2 { font-size: 20px; text-align: left; margin-bottom: 8px; }
.card h2 a { color: var(--fg); text-decoration: none; }
.card h2 a:hover { color: var(--accent); }
.card p { font-size: 14px; color: var(--gray); margin-bottom: 16px; }
.read-more {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
.read-more:hover { text-decoration: underline; }

/* Article page */
.article-page {
  padding: 40px 24px 60px;
  max-width: 720px;
}
.article-page h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.2;
}
.article-page h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 32px 0 16px;
  text-align: left;
}
.article-page h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 24px 0 12px;
}
.article-page p {
  margin-bottom: 16px;
  color: var(--fg);
}
.article-page ul, .article-page ol {
  margin: 0 0 16px 24px;
}
.article-page li { margin-bottom: 8px; }
.article-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}
.article-page th {
  background: var(--light);
  font-weight: 700;
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--border);
}
.article-page td {
  padding: 10px 12px;
  border: 1px solid var(--border);
}
.article-page tr:nth-child(even) td {
  background: var(--light);
}
.article-page strong { font-weight: 700; }
.article-page em { font-style: italic; }
.article-page a { color: var(--accent); }
.back-link {
  display: inline-block;
  margin-top: 40px;
  color: var(--gray);
  font-weight: 600;
  text-decoration: none;
}
.back-link:hover { color: var(--accent); }

/* Footer */
footer {
  background: var(--fg);
  color: white;
  padding: 40px 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 24px;
}
footer h4 { font-size: 16px; margin-bottom: 12px; }
footer p { font-size: 14px; opacity: 0.8; line-height: 1.5; }
footer a { color: white; text-decoration: underline; }
.copyright {
  text-align: center;
  font-size: 13px;
  opacity: 0.6;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 32px; }
  .hero { padding: 48px 0; }
  section { padding: 40px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .article-page { padding: 24px 16px; }
  .article-page h1 { font-size: 26px; }
  .article-page table { font-size: 12px; }
}
