/* Custom styles for Confort Ocular - Unique ice-blue minimalist blog design */
:root {
  --accent: #0369a1;
  --accent-light: #e0f2fe;
  --text-primary: #0f172a;
  --text-muted: #475569;
  --bg-light: #f8fafc;
  --card-bg: #ffffff;
  --border: #e2e8f0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-light);
  line-height: 1.7;
}

/* Modern header */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--accent);
}

.nav-link {
  position: relative;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--accent);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
}

/* Hero section unique */
.hero {
  background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 50%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 150%;
  background: radial-gradient(circle, rgba(3, 105, 161, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

/* Cards - unique rounded and shadow */
.blog-card, .feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
}

.blog-card:hover, .feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.08), 0 8px 10px -6px rgb(0 0 0 / 0.08);
}

.article-card {
  border-radius: 16px;
  border: 1px solid var(--border);
}

/* Buttons unique - pill with accent */
.btn-primary {
  background-color: var(--accent);
  color: white;
  padding: 14px 32px;
  border-radius: 9999px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
  box-shadow: 0 10px 15px -3px rgb(3 105 161 / 0.2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background-color: #075985;
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgb(3 105 161 / 0.3);
}

.btn-secondary {
  background-color: white;
  color: var(--accent);
  padding: 12px 28px;
  border-radius: 9999px;
  font-weight: 600;
  border: 2px solid var(--accent);
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background-color: var(--accent-light);
}

/* Sidebar unique */
.sidebar {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  position: sticky;
  top: 100px;
}

.category-tag {
  display: inline-block;
  padding: 4px 14px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
}

.category-tag:hover {
  background: #bae6fd;
}

/* Form styles */
.form-input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.2s;
  background: white;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(3, 105, 161, 0.1);
}

textarea.form-input {
  min-height: 140px;
  resize: vertical;
}

/* Article content */
.article-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.article-content p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

.article-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.25rem;
}

.article-content li {
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

/* Footer */
footer {
  background: #0f172a;
  color: #cbd5e1;
}

footer a {
  color: #94a3b8;
  transition: color 0.2s;
}

footer a:hover {
  color: white;
}

/* Misc unique elements */
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}

.meta {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.25rem !important;
  }
  
  .blog-card, .feature-card {
    border-radius: 16px;
  }
}