/* Pharma.org.et — Fetan SMS & Products Website */
:root {
  --primary: #2ECC71;
  --primary-dark: #25A85E;
  --background-dark: #0E1114;
  --card-dark: #151A1F;
  --card-hover: #1A2026;
  --text-primary: #E6EAF0;
  --text-muted: #A6AEB6;
  --border-color: #2A3036;
  --max-content: 1200px;
  --header-height: 64px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--background-dark);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); text-decoration: underline; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--card-dark);
  border-bottom: 1px solid var(--border-color);
  height: var(--header-height);
}

.header-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none !important;
}
.logo:hover { color: var(--text-primary); text-decoration: none !important; }

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-icon svg { width: 24px; height: 24px; color: var(--background-dark); }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-desktop a {
  padding: 8px 14px;
  color: var(--text-muted);
  text-decoration: none !important;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-desktop a:hover { background: var(--card-hover); color: var(--text-primary); text-decoration: none !important; }
.nav-desktop a.active { color: var(--primary); }

.nav-admin {
  margin-left: 8px;
  padding: 8px 14px;
  background: rgba(46, 204, 113, 0.15);
  color: var(--primary);
  border-radius: 8px;
  font-weight: 600;
  border: 1px solid rgba(46, 204, 113, 0.3);
}
.nav-admin:hover { background: rgba(46, 204, 113, 0.25); text-decoration: none !important; }

/* Mobile menu */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  padding: 8px;
  cursor: pointer;
}
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--card-dark);
  border-bottom: 1px solid var(--border-color);
  padding: 16px;
  flex-direction: column;
  gap: 4px;
  z-index: 99;
}
.nav-mobile.show { display: flex; }
.nav-mobile a {
  padding: 12px 16px;
  color: var(--text-primary);
  text-decoration: none !important;
  border-radius: 8px;
}
.nav-mobile a:hover { background: var(--card-hover); text-decoration: none !important; }

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
}

/* Hero */
.hero {
  padding: 60px 24px 80px;
  text-align: center;
  background: linear-gradient(180deg, var(--card-dark) 0%, var(--background-dark) 100%);
  border-bottom: 1px solid var(--border-color);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--text-primary);
  max-width: 700px;
  margin: 0 auto 16px;
  line-height: 1.2;
}
.hero .tagline {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 32px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  text-decoration: none !important;
}
.hero .btn:hover { transform: translateY(-2px); text-decoration: none !important; }
.hero .btn-primary {
  background: var(--primary);
  color: var(--background-dark);
  border: none;
}
.hero .btn-primary:hover { box-shadow: 0 8px 24px rgba(46, 204, 113, 0.35); }
.hero .btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.hero .btn-outline:hover { background: rgba(46, 204, 113, 0.1); }

/* Container & sections */
.container {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 48px 24px;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* Cards */
.card {
  background: var(--card-dark);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.card:hover { border-color: var(--primary); box-shadow: 0 4px 20px rgba(0,0,0,0.2); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(46, 204, 113, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-icon svg { width: 24px; height: 24px; color: var(--primary); }

/* Content pages */
.content-page .container { max-width: 720px; }
.content-page h1 { font-size: 1.75rem; font-weight: 700; margin-bottom: 8px; }
.content-page .updated { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 24px; }
.content-page h2 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 28px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary);
}
.content-page h2:first-of-type { margin-top: 0; }
.content-page p, .content-page li { margin: 0.5em 0; color: var(--text-primary); }
.content-page ul { padding-left: 1.5em; margin-bottom: 16px; }
.content-page .contact-box {
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid rgba(46, 204, 113, 0.3);
  border-radius: 8px;
  padding: 16px;
  margin-top: 16px;
}
.content-page .footer-note {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Footer */
.site-footer {
  background: var(--card-dark);
  border-top: 1px solid var(--border-color);
  padding: 40px 24px;
  margin-top: 60px;
}

.footer-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
}

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.footer-col a, .footer-col span {
  display: block;
  color: var(--text-primary);
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  max-width: var(--max-content);
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.8rem;
  text-align: center;
}

@media (max-width: 640px) {
  .container { padding: 32px 16px; }
  .card { padding: 20px; }
  .hero { padding: 40px 16px 60px; }
}
