/* Sci-Hubee - Main Stylesheet */

:root {
  --brand: #ff7a18;
  --bg: #f8fafc;
  --text: #0f172a;
  --muted: #475569;
  --ok: #16a34a;
  --warn: #f59e0b;
  --card: #ffffff;
  --border: #e2e8f0;
  --footer-bg: #0b1220;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
}

/* Hero Section */
header.hero {
  background: radial-gradient(80% 60% at 50% -10%, #e6f0ff 0%, rgba(255,255,255,0) 70%),
              url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="600"><defs><pattern id="dots" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="2" fill="%23e2e8f0"/></pattern></defs><rect width="100%" height="100%" fill="white"/><rect width="100%" height="100%" fill="url(%23dots)"/></svg>') no-repeat center/cover;
}

.hero-inner {
  padding: 72px 24px;
  text-align: center;
}

h1 {
  font-size: clamp(28px, 4vw, 44px);
  margin: 0 0 12px;
  font-weight: 800;
  line-height: 1.2;
}

h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 20px;
  font-weight: 700;
}

h3 {
  font-size: 18px;
  margin: 0 0 12px;
  font-weight: 600;
}

.sub {
  color: var(--muted);
  font-size: clamp(16px, 2.2vw, 18px);
  max-width: 850px;
  margin: 0 auto 24px;
  line-height: 1.7;
}

/* Buttons */
.cta {
  display: inline-block;
  background: var(--brand);
  color: #111827;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  transition: all 0.2s ease;
}

.cta:hover {
  background: #ff8c3d;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 122, 24, 0.3);
}

button.cta {
  font-family: inherit;
}

/* Quick Links */
.quick-links {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

.chip {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--text);
  font-size: 14px;
}

/* Trust Indicators */
.trust {
  text-align: center;
  color: var(--muted);
  margin-top: 18px;
  font-size: 15px;
}

.logos {
  display: flex;
  gap: 18px;
  opacity: 0.55;
  filter: grayscale(100%);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* Sections */
section {
  padding: 40px 0;
}

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  transition: all 0.2s ease;
}

.card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border-color: #cbd5e1;
}

/* Links List */
.links-list .row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.6fr;
  gap: 12px;
  align-items: center;
  border-bottom: 1px dashed var(--border);
  padding: 12px 0;
}

.links-list .row:last-child {
  border-bottom: none;
}

.links-list a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
}

.links-list a:hover {
  text-decoration: underline;
}

/* Badges */
.badge {
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid var(--border);
  display: inline-block;
  white-space: nowrap;
}

.ok {
  color: #065f46;
  background: #ecfdf5;
  border-color: #bbf7d0;
}

.slow {
  color: #854d0e;
  background: #fffbeb;
  border-color: #fde68a;
}

/* Button Line */
.btn-line {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

/* Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

/* Links */
a {
  color: var(--brand);
  transition: color 0.2s ease;
}

a:hover {
  color: #ff8c3d;
}

/* Blockquotes */
blockquote {
  margin: 0;
  font-style: italic;
  color: var(--muted);
  position: relative;
  padding-left: 16px;
  border-left: 3px solid var(--brand);
}

/* Footer */
.footer {
  background: var(--footer-bg);
  color: #cbd5e1;
  padding: 36px 0;
}

.footer a {
  color: #e2e8f0;
  text-decoration: none;
}

.footer a:hover {
  color: var(--brand);
}

/* Responsive */
@media (max-width: 768px) {
  .links-list .row {
    grid-template-columns: 1fr;
  }
  
  .hero-inner {
    padding: 48px 24px;
  }
  
  .btn-line {
    flex-direction: column;
    align-items: flex-start !important;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.card, .row {
  animation: fadeIn 0.3s ease-out;
}

/* Loading State */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Accessibility */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
