/* ILGIAU GYVENK — Premium macOS Health Portal */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #050505;
  --bg-gradient: linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  --text: #fafafa;
  --text-muted: #888;
  --text-dim: #666;
  --accent: #22c55e;
  --accent-glow: rgba(34, 197, 94, 0.2);
  --gradient-green: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  --gradient-blue: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  --gradient-purple: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
  --gradient-orange: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  --gradient-pink: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
  --gradient-cyan: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  background: var(--bg);
  background-image: var(--bg-gradient);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

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

a { color: inherit; text-decoration: none; }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}



.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--text);
}

.nav-btn {
  padding: 10px 20px;
  background: var(--gradient-green);
  color: #000;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 100px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--accent-glow);
}

/* ===== HERO ===== */
.hero {
  padding: 160px 0 80px;
  text-align: center;
}

.hero-tag {
  display: inline-block;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(180deg, #fff 0%, #888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== STATS ===== */
.stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 48px;
  padding: 24px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.stat {
  text-align: center;
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* ===== FEATURED GRID ===== */
.featured {
  padding: 60px 0;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
}

.featured-main {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.3s, transform 0.3s;
  display: block;
}

.featured-main:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.featured-main img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.featured-main:hover img {
  opacity: 0.85;
}

.featured-main .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
}

.featured-main h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 12px 0 8px;
  letter-spacing: -0.02em;
}

.featured-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.featured-card {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s, background 0.3s;
}

.featured-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.featured-card img {
  width: 100px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.featured-card .content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-card h3 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 6px 0 4px;
}

.cat {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.meta {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ===== ARTICLES SECTION ===== */
.section {
  padding: 60px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.article-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.article-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.article-card:hover img {
  opacity: 1;
}

.article-card .content {
  padding: 20px;
}

.article-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 8px 0;
  line-height: 1.4;
}

/* ===== CATEGORY ICONS ===== */
.cat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.cat-icon.green { background: var(--gradient-green); }
.cat-icon.blue { background: var(--gradient-blue); }
.cat-icon.purple { background: var(--gradient-purple); }
.cat-icon.orange { background: var(--gradient-orange); }
.cat-icon.pink { background: var(--gradient-pink); }
.cat-icon.cyan { background: var(--gradient-cyan); }

/* ===== NEWSLETTER ===== */
.newsletter {
  padding: 80px 0;
}

.newsletter-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.newsletter-box h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
}

.newsletter-box p {
  color: var(--text-muted);
  margin-bottom: 32px;
  position: relative;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 450px;
  margin: 0 auto;
  position: relative;
}

.newsletter-form input {
  flex: 1;
  padding: 16px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.newsletter-form input:focus {
  border-color: var(--accent);
}

.newsletter-form input::placeholder {
  color: var(--text-dim);
}

.newsletter-form button {
  padding: 16px 32px;
  background: var(--gradient-green);
  color: #000;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px var(--accent-glow);
}

/* ===== FOOTER ===== */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  margin-bottom: 16px;
  display: inline-block;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ===== ARTICLE PAGE ===== */
.article-hero {
  padding: 140px 0 60px;
  text-align: center;
}

.article-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 16px 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.article-hero .lead {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 20px;
}

.article-hero .meta {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.article-img {
  max-width: 900px;
  margin: 0 auto 48px;
  padding: 0 24px;
}

.article-img img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.article-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.article-content p {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.article-content h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  margin: 56px 0 24px;
  letter-spacing: -0.02em;
}

.article-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  margin: 40px 0 16px;
}

.article-content ul, .article-content ol {
  margin: 24px 0;
  padding-left: 24px;
  color: var(--text-muted);
}

.article-content li {
  margin-bottom: 12px;
  line-height: 1.7;
}

.article-content img {
  width: 100%;
  border-radius: var(--radius);
  margin: 40px 0;
  border: 1px solid var(--border);
}

.article-content blockquote {
  margin: 40px 0;
  padding: 24px 32px;
  background: var(--bg-card);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text);
}

.article-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content a:hover {
  text-decoration: none;
}

/* Research CTA */
.research-cta {
  margin: 56px 0;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.research-cta::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.research-cta .badge {
  display: inline-block;
  padding: 6px 12px;
  background: var(--accent);
  color: #000;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.research-cta h3 {
  margin: 16px 0 8px;
  font-size: 1.3rem;
}

.research-cta p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 1rem;
}

.research-cta a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.research-cta a:hover {
  text-decoration: underline;
}

/* Sources */
.sources {
  margin: 56px 0 0;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.sources h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text);
}

.sources ol {
  margin: 0;
  padding-left: 20px;
}

.sources li {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.6;
}

.sources a {
  color: var(--accent);
  text-decoration: none;
}

.sources a:hover {
  text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }
  
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  
  .nav {
    display: none;
  }
}

@media (max-width: 600px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }
  
  .stats {
    flex-direction: column;
    gap: 24px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}


.logo::before {
  content: '';
  width: 32px;
  height: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none'%3E%3Cpath d='M8 4C8 4 12 10 12 16C12 22 8 28 8 28' stroke='%2322c55e' stroke-width='2.5' stroke-linecap='round'/%3E%3Cpath d='M24 4C24 4 20 10 20 16C20 22 24 28 24 28' stroke='%2322c55e' stroke-width='2.5' stroke-linecap='round'/%3E%3Cline x1='10' y1='7' x2='22' y2='7' stroke='%2316a34a' stroke-width='2' stroke-linecap='round'/%3E%3Cline x1='9' y1='12' x2='23' y2='12' stroke='%2316a34a' stroke-width='2' stroke-linecap='round'/%3E%3Cline x1='9' y1='16' x2='23' y2='16' stroke='%2322c55e' stroke-width='2.5' stroke-linecap='round'/%3E%3Cline x1='9' y1='20' x2='23' y2='20' stroke='%2316a34a' stroke-width='2' stroke-linecap='round'/%3E%3Cline x1='10' y1='25' x2='22' y2='25' stroke='%2316a34a' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='16' cy='4' r='3' fill='%2322c55e' opacity='0.5'/%3E%3Ccircle cx='16' cy='28' r='3' fill='%2322c55e' opacity='0.5'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.logo span {
  background: var(--gradient-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


  width: 36px;
  height: 36px;
}



/* Simple text logo */
.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.logo span {
  background: var(--gradient-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
