/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: #0a0f0d;
  color: #e8efe9;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* Header */
.site-header {
  background: linear-gradient(180deg, rgba(15,22,18,0.98), rgba(15,22,18,0.92));
  border-bottom: 1px solid rgba(42,168,102,0.15);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  min-height: 70px;
  flex-wrap: wrap;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  max-width: 100%;
}

.brand-logo {
  display: block;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.06);
  background: #fff;
}

.brand-info {
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.brand-name {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.3px;
  color: #e8efe9;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-tagline {
  font-size: 12px;
  color: #94a896;
  margin-top: 2px;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Hero Section */
.hero {
  background: radial-gradient(ellipse 1000px 500px at 50% 0%, rgba(42,168,102,0.08), transparent 60%),
              linear-gradient(180deg, rgba(15,22,18,0.6), rgba(10,15,13,0.95));
  padding: 48px 0 42px;
  border-bottom: 1px solid rgba(42,168,102,0.12);
}

.hero h1 {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 16px;
  color: #fff;
  letter-spacing: -0.02em;
}

.hero-lead {
  font-size: 16px;
  line-height: 1.65;
  color: #c5d4c7;
  margin: 0;
  max-width: 860px;
}

/* Intro Section */
.intro-section {
  padding: 40px 0;
  background: linear-gradient(180deg, rgba(10,15,13,0.95), rgba(12,18,15,0.98));
}

.intro-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 16px;
  color: #fff;
  letter-spacing: -0.01em;
}

.intro-content p {
  margin: 14px 0;
  color: #d0dcd2;
  font-size: 15px;
  line-height: 1.7;
}

/* Directory Section */
.directory-section {
  padding: 48px 0;
  background: radial-gradient(ellipse 900px 600px at 80% 50%, rgba(42,168,102,0.04), transparent 70%),
              #0c120f;
}

.section-header {
  margin-bottom: 28px;
}

.section-header h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #fff;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 15px;
  color: #94a896;
  margin: 0;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 32px;
}

.pill {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
  color: #94a896;
  background: rgba(20,28,23,0.6);
  border: 1px solid rgba(42,168,102,0.2);
  border-radius: 20px;
  padding: 6px 12px;
  letter-spacing: 0.01em;
}

/* Listings Grid */
.listings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.listing-card {
  background: linear-gradient(135deg, rgba(20,28,23,0.85), rgba(16,22,18,0.85));
  border: 1px solid rgba(42,168,102,0.15);
  border-radius: 14px;
  padding: 18px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  overflow: hidden;
  min-width: 0;
}

.listing-card:hover {
  border-color: rgba(42,168,102,0.3);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3), 0 0 0 1px rgba(42,168,102,0.1);
  transform: translateY(-2px);
}

.listing-header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.listing-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  flex-shrink: 0;
  object-fit: cover;
}

.listing-title-group {
  min-width: 0;
  flex: 1;
}

.listing-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px;
  color: #fff;
  letter-spacing: -0.01em;
}

.listing-url {
  font-size: 12px;
  color: #2aa866;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: 'SF Mono', Monaco, 'Courier New', monospace;
  opacity: 0.85;
  max-width: 100%;
  word-break: break-all;
}

.listing-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.meta-badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 500;
  color: #94a896;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 4px 10px;
  letter-spacing: 0.02em;
}

.meta-separator {
  color: rgba(148,168,150,0.4);
  font-size: 11px;
}

.listing-description {
  font-size: 14px;
  line-height: 1.65;
  color: #c5d4c7;
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Content Sections */
.content-section {
  padding: 48px 0;
  background: linear-gradient(180deg, rgba(12,18,15,0.98), rgba(10,15,13,0.95));
  border-top: 1px solid rgba(42,168,102,0.08);
}

.content-section:nth-of-type(even) {
  background: radial-gradient(ellipse 800px 500px at 20% 50%, rgba(42,168,102,0.04), transparent 70%),
              rgba(14,20,17,0.98);
}

.content-section h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 24px;
  color: #fff;
  letter-spacing: -0.02em;
}

.content-section p {
  font-size: 15px;
  line-height: 1.75;
  color: #d0dcd2;
  margin: 18px 0;
}

.content-section strong {
  color: #e8efe9;
  font-weight: 600;
}

.content-with-image {
  padding: 52px 0;
}

.content-image-wrapper {
  margin: 28px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(42,168,102,0.15);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.content-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Footer Info Section */
.footer-info {
  padding: 48px 0;
  background: linear-gradient(180deg, rgba(10,15,13,0.95), rgba(8,12,10,1));
  border-top: 1px solid rgba(42,168,102,0.1);
}

.footer-info h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 20px;
  color: #fff;
  letter-spacing: -0.01em;
}

.footer-info p {
  font-size: 14px;
  line-height: 1.7;
  color: #b0beb2;
  margin: 14px 0;
}

.disclaimer {
  font-size: 12px;
  color: #94a896;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(42,168,102,0.08);
}

/* Site Footer */
.site-footer {
  background: #08120d;
  border-top: 1px solid rgba(42,168,102,0.12);
  padding: 28px 0;
}

.footer-text {
  font-size: 13px;
  color: #94a896;
  margin: 0;
  text-align: center;
}

/* Tablet & Desktop */
@media (max-width: 380px) {
  .brand-logo {
    max-width: 160px;
  }
  
  .brand-name {
    font-size: 14px;
  }
  
  .brand-tagline {
    font-size: 11px;
  }
  
  .header-content {
    gap: 10px;
  }
}

@media (min-width: 640px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .listings-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .content-section h2 {
    font-size: 26px;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 64px 0 56px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-lead {
    font-size: 18px;
  }

  .intro-section {
    padding: 52px 0;
  }

  .intro-content h2 {
    font-size: 26px;
  }

  .intro-content p {
    font-size: 16px;
  }

  .directory-section {
    padding: 64px 0;
  }

  .section-header h2 {
    font-size: 32px;
  }

  .content-section {
    padding: 56px 0;
  }

  .content-section h2 {
    font-size: 28px;
    margin-bottom: 28px;
  }

  .content-section p {
    font-size: 16px;
    line-height: 1.8;
  }

  .footer-info {
    padding: 56px 0;
  }
}