/* Modern Sophisticated Style */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap");

:root {
  --bg-color: #ffffff;
  --surface-color: #f8f9fa;
  --text-primary: #1a1a1a; /* Deeper black for sophistication */
  --text-secondary: #4a4a4a; /* Softer contrast */
  --primary-color: #202124; /* Minimalist black for primary actions */
  --accent-color: #1a73e8; /* Subtle blue accent */
  --border-color: #e0e0e0;
  --font-main: "Montserrat", sans-serif;
  --max-width: 1100px; /* Increased for grid layout */
  --radius: 4px; /* Sharper, more premium radius */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: var(--font-main);
  color: var(--text-primary);
  background-color: var(--bg-color);
  line-height: 1.8;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}

/* Header */
header {
  background-color: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border-color);
  padding: 1.2rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.site-title {
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
}

/* Typography */
h1 {
  font-family: var(--font-main);
  font-size: 36px;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 0.5em;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

h2 {
  font-family: var(--font-main);
  font-size: 28px;
  font-weight: 500;
  margin-top: 0;
  margin-bottom: 0.8em;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

h3 {
  font-family: var(--font-main);
  font-size: 22px;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 0.5em;
  letter-spacing: -0.01em;
}

p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 1.5em;
  line-height: 1.8;
  font-weight: 400;
}

strong {
  font-weight: 600;
  color: var(--text-primary);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: all var(--transition);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #ffffff;
  border: 2px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: #333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--text-primary);
  background-color: transparent;
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  padding: 4rem 0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-subtitle {
  font-size: 24px;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 2rem;
}

/* Sections General */
section {
  margin: 6rem 0;
}

.section-header {
  margin-bottom: 3rem;
  text-align: center;
}

/* Grid Layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
}

/* Cards */
.card {
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  padding: 32px;
  border-radius: var(--radius);
  transition: all var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.card:hover {
  border-color: var(--text-primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}

.card-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.card-text {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 0;
}

/* Article Styles */
article {
  padding-top: 2rem;
}

article .meta {
  margin-bottom: 3rem;
  display: block;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

/* Post List */
.post-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.post-item {
  padding: 30px 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.post-content {
  flex: 1;
}

.post-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  margin-bottom: 8px;
  display: block;
}

.post-title:hover {
  color: var(--accent-color);
}

.post-meta {
  font-size: 13px;
  color: #888;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 8px;
  display: block;
}

/* Features List */
.feature-list li {
  margin-bottom: 12px;
  font-size: 18px;
  color: var(--text-secondary);
  display: flex;
  align-items: start;
}

.feature-list li::before {
  content: "•";
  color: var(--accent-color);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-top: -2px;
}

/* Newsletter / Callout */
.callout-box {
  background-color: var(--surface-color);
  padding: 20px;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--border-color);
}

/* Footer */
footer {
  border-top: 1px solid var(--border-color);
  padding: 80px 0 40px;
  margin-top: 100px;
  background-color: var(--surface-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 12px;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--text-primary);
}

.copyright {
  border-top: 1px solid var(--border-color);
  padding-top: 40px;
  text-align: center;
  color: #999;
  font-size: 13px;
}

/* Navigation */
nav {
  display: flex;
  gap: 24px;
}

nav a {
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 15px;
}

nav a:hover {
  color: var(--accent-color);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
}

/* About Logo */
.about-logo {
  width: 160px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

/* Responsive */
@media (max-width: 768px) {
  .about-logo {
    width: 100px;
    margin-bottom: 40px;
  }

  h1 {
    font-size: 40px;
  }
  h2 {
    font-size: 30px;
  }

  .hero {
    padding: 2rem 0;
  }

  .hero h1,
  .hero p {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    margin: 0 24px;
  }

  .post-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .card {
    padding: 24px;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mobile-menu-btn {
    display: block;
  }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 24px;
    flex-direction: column;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  }

  nav.nav-open {
    display: flex;
  }
}

/* Horizontal Rule */
hr.container {
  border: 0;
  height: 1px;
  background: var(--border-color);
  margin: 4rem auto;
}
