/*
Theme Name: DeepUseCase Dark
Template: generatepress
*/

:root {
  --bg:         #06070b;
  --bg-raised:  #0c0e14;
  --bg-card:    #10121a;
  --bg-hover:   #161a24;
  --surface:    #141722;
  --border:     rgba(100,140,255,0.06);
  --border-lit: rgba(100,140,255,0.12);

  --text:       #e4e8f0;
  --text-2:     #8b95a8;
  --text-3:     #555f73;
  --text-4:     #363d4d;

  --accent:     #6b8aff;
  --accent-dim: rgba(107,138,255,0.1);

  --serif:      'Cormorant Garamond', 'Georgia', serif;
  --sans:       'Inter', -apple-system, 'Segoe UI', sans-serif;

  --ease:       cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: var(--bg) !important;
  color: var(--text) !important;
  font-family: var(--sans) !important;
  font-size: 16px; line-height: 1.6;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; transition: color 0.3s; }
a:hover { color: #8da4ff; }

.site-header, #site-header, .main-navigation,
.site-footer, #colophon, .inside-header,
.menu-toggle, .main-nav { display: none !important; }
#page, .site, .site-content, #content, #primary,
.inside-article, .entry-content, .container,
.grid-container, .site-main, .content-area {
  max-width: 100% !important; width: 100% !important;
  padding: 0 !important; margin: 0 !important;
  background: transparent !important; float: none !important;
}
.entry-header, .entry-meta, .post-navigation,
.cat-links, .tags-links, .comments-area,
.sidebar, #secondary, aside { display: none !important; }
article { background: transparent !important; }

.site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 9999; transition: all 0.4s var(--ease);
  background: transparent;
}
.site-nav.scrolled {
  background: rgba(6,7,11,0.88);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 1.25rem 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand {
  font-family: var(--sans) !important; font-size: 1rem;
  font-weight: 600; color: var(--text) !important;
  letter-spacing: 0.04em;
}
.nav-links { display: flex; gap: 2.5rem; }
.nav-links a, .nav-links li a {
  color: var(--text-3) !important; font-family: var(--sans) !important;
  font-size: 0.78rem !important; font-weight: 400 !important;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: color 0.3s; text-decoration: none !important; list-style: none;
}
.nav-links a:hover { color: var(--text) !important; }
.nav-links li { list-style: none; }
.nav-links ul { display: flex; gap: 2.5rem; list-style: none; margin: 0; padding: 0; }

/* Blog */
body:not(.page-template-page-home) .site-wrapper { padding-top: 5rem; }
body:not(.page-template-page-home) .entry-content { max-width: 720px !important; margin: 0 auto !important; padding: 2rem 1.5rem 4rem !important; }
body:not(.page-template-page-home) .entry-title { display: block !important; font-family: var(--sans) !important; font-size: clamp(1.8rem, 3.5vw, 2.4rem) !important; font-weight: 600 !important; color: var(--text) !important; line-height: 1.2 !important; max-width: 720px; margin: 2rem auto !important; padding: 0 1.5rem; }
body:not(.page-template-page-home) h2 { font-family: var(--sans) !important; font-size: 1.5rem !important; font-weight: 600 !important; color: var(--text) !important; margin-top: 2.5rem !important; }
body:not(.page-template-page-home) h3 { font-family: var(--sans) !important; font-size: 1.2rem !important; font-weight: 600 !important; color: var(--text) !important; }
body:not(.page-template-page-home) p { color: var(--text-2) !important; font-size: 1.02rem !important; line-height: 1.85 !important; margin-bottom: 1.5rem !important; }
body:not(.page-template-page-home) ul, body:not(.page-template-page-home) ol { color: var(--text-2) !important; padding-left: 1.25rem !important; }
body:not(.page-template-page-home) li { color: var(--text-2) !important; margin-bottom: 0.4rem !important; line-height: 1.75 !important; }
body:not(.page-template-page-home) blockquote { border-left: 2px solid var(--accent) !important; padding: 1rem 1.5rem !important; background: var(--bg-raised) !important; border-radius: 0 8px 8px 0 !important; margin: 2rem 0 !important; }
body:not(.page-template-page-home) code { background: var(--bg-raised) !important; color: var(--accent) !important; padding: 0.15em 0.4em !important; border-radius: 4px !important; }

body.blog article, body.archive article { max-width: 720px !important; margin: 0 auto !important; padding: 2rem 1.5rem !important; border-bottom: 1px solid var(--border) !important; }
body.blog .entry-title, body.archive .entry-title { display: block !important; font-family: var(--sans) !important; font-size: 1.4rem !important; font-weight: 600 !important; color: var(--text) !important; }
body.blog .entry-title a { color: var(--text) !important; }
body.blog .entry-meta, body.archive .entry-meta { display: block !important; font-size: 0.72rem !important; color: var(--text-4) !important; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1a1e2a; border-radius: 3px; }
::selection { background: var(--accent); color: var(--bg); }

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