/* Lithios custom styles */
:root {
  --accent: #10b981;
  --accent-dark: #059669;
  --bg: #0f172a;
  --surface: #1e293b;
  --surface2: #334155;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --border: #475569;
  --radius: 12px;
}

/* Base */
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

a {
  color: var(--accent);
}

a:hover {
  color: var(--accent-dark);
}

/* Sections */
section {
  padding: 80px 0;
}

section.bg-surface {
  background-color: var(--surface);
}

section.bg-surface2 {
  background-color: var(--surface2);
}

/* Page Hero */
.page-hero {
  background: linear-gradient(135deg, var(--bg) 0%, var(--surface) 100%);
  padding: 120px 0 80px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  color: var(--text);
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  color: var(--text);
}

/* Accent color utilities */
.text-accent {
  color: var(--accent) !important;
}

.bg-accent {
  background-color: var(--accent) !important;
}

.border-accent {
  border-color: var(--accent) !important;
}

/* Buttons */
.btn-accent {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  padding: 12px 32px;
  font-weight: 600;
  transition: background 0.2s, transform 0.1s;
}

.btn-accent:hover {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline-accent {
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
  border-radius: var(--radius);
  padding: 10px 30px;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-outline-accent:hover {
  background-color: var(--accent);
  color: #fff;
}

/* Cards */
.card-surface {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.2s, transform 0.2s;
}

.card-surface:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: rgba(16, 185, 129, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon i {
  font-size: 24px;
  color: var(--accent);
}

/* Stats */
.stat-box {
  text-align: center;
  padding: 40px 20px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Site Logo */
.site-logo {
  height: 36px;
  width: auto;
  vertical-align: middle;
  margin-right: 8px;
}

/* Nav overrides */
.nav-container {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.nav-inner {
  background-color: var(--bg);
  border-bottom: 1px solid var(--border);
}

.nav-inner .navbar {
  padding: 0;
}

.nav-inner .brand a {
  color: var(--text);
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-inner .brand a:hover {
  color: var(--accent);
}

.nav-inner ul#nav-menu li a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-inner ul#nav-menu li a:hover {
  color: var(--accent);
}

/* Blog grid */
.blog-grid {
  display: flex;
  flex-wrap: wrap;
}

.blog-grid > [class*="col-"] {
  display: flex;
}

.blog-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}

.blog-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background-color: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.blog-card-body {
  flex: 1;
  padding: 24px;
}

.blog-card-tag {
  display: inline-block;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.blog-card-title {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card-excerpt {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.blog-card-meta {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Team card */
.team-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.team-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: var(--surface2);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--accent);
  border: 3px solid var(--accent);
  overflow: hidden;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 4px;
}

.team-role {
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.team-bio {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Form styles */
.form-surface {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.form-control-dark {
  background-color: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 12px 16px;
  width: 100%;
  transition: border-color 0.2s;
}

.form-control-dark:focus {
  outline: none;
  border-color: var(--accent);
  background-color: var(--surface2);
  color: var(--text);
}

.form-control-dark::placeholder {
  color: var(--text-muted);
}

label {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 6px;
  display: block;
}

/* Section titles */
.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.section-tag {
  display: inline-block;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
}

/* Steps */
.step-item {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-content h4 {
  color: var(--text);
  font-weight: 600;
  margin-bottom: 8px;
}

.step-content p {
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Footer */
footer {
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  color: var(--text-muted);
}

footer .footer-brand {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

footer .footer-tagline {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

footer h5 {
  color: var(--text);
  font-weight: 600;
  margin-bottom: 16px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer ul li {
  margin-bottom: 10px;
}

footer ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

footer ul li a:hover {
  color: var(--accent);
}

footer .footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-top: 40px;
  text-align: center;
  font-size: 0.85rem;
}

/* Cookie Banner */
#cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
}

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-text {
  color: var(--text-muted);
  font-size: 0.875rem;
  flex: 1;
  min-width: 200px;
}

.cookie-text a {
  color: var(--accent);
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

#cookie-accept {
  background-color: var(--accent);
  border: none;
  color: #fff;
  padding: 8px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.875rem;
  transition: background 0.2s;
}

#cookie-accept:hover {
  background-color: var(--accent-dark);
}

#cookie-decline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 8px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.875rem;
  transition: border-color 0.2s, color 0.2s;
}

#cookie-decline:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

/* Image placeholders */
.img-placeholder {
  background-color: var(--surface2);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  gap: 8px;
}

.img-placeholder i {
  font-size: 2rem;
  color: var(--border);
}

/* Hero section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--bg) 0%, #0a2416 50%, var(--bg) 100%);
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16,185,129,0.08) 0%, transparent 70%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 24px;
}

.hero-title span {
  color: var(--accent);
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 540px;
}

.hero-image-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hero-image-box i {
  font-size: 3rem;
  color: var(--border);
}

/* Divider accent */
.divider-accent {
  width: 60px;
  height: 4px;
  background-color: var(--accent);
  border-radius: 2px;
  margin: 0 auto 24px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .form-surface {
    padding: 24px;
  }
}

/* Page top spacing (for fixed nav) */
.page-top {
  padding-top: 80px;
}

/* Nav menu-trigger inline fix */
.navicon { float: none !important; margin-left: auto !important; }
.menu-trigger {
  display: flex !important;
  align-items: center;
  gap: 6px;
  width: auto !important;
  height: auto !important;
}
.menu-trigger .icon {
  font-size: 20px;
  line-height: 1;
}
.menu-label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Nav row flex fix */
.navbar .row {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex-wrap: nowrap;
}
.brand { float: none !important; }
