/* AGX 2024 - Modern Minimal Design */

:root {
  --primary: #1a1a1a;
  --secondary: #666666;
  --tertiary: #999999;
  --light: #f5f5f5;
  --lighter: #fafafa;
  --border: #e0e0e0;
  --accent: #2d5f3f;
  
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.08);
  
  --radius: 4px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  background: #ffffff;
  color: var(--primary);
  line-height: 1.5;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 1.2rem 0;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.brand-block {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
}

.brand-tagline {
  font-size: 0.65rem;
  color: var(--tertiary);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-block;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--secondary);
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.2s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-link.active::after {
  width: 100%;
  background: var(--accent);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 160px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  list-style: none;
  padding: 0.8rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 2000;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.7rem 1.2rem;
  color: var(--secondary);
  font-weight: 500;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.dropdown-menu a:hover {
  background: var(--light);
  color: var(--primary);
}

/* ===== HERO SECTION ===== */
.hero-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.hero-text h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--primary);
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}

.hero-text p {
  font-size: 1.05rem;
  color: var(--secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 50ch;
}

.hero-image {
  width: 100%;
  height: 400px;
  background: var(--light);
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== STATS SECTION ===== */
.stats-section {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

.stat-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* ===== FEATURED SECTIONS ===== */
.featured-section {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 3rem;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.featured-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.featured-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.featured-card-image {
  width: 100%;
  height: 200px;
  background: var(--light);
  overflow: hidden;
}

.featured-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.featured-card:hover .featured-card-image img {
  transform: scale(1.05);
}

.featured-card-content {
  padding: 1.5rem;
}

.featured-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.featured-card p {
  font-size: 0.9rem;
  color: var(--secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.featured-card a {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: var(--accent);
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.featured-card a:hover {
  background: var(--primary);
  color: white;
}

/* ===== CTA SECTION ===== */
.cta-section {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 3rem 2rem;
  background: var(--light);
  border-radius: var(--radius);
  text-align: center;
}

.cta-section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1rem;
  color: var(--secondary);
  margin-bottom: 2rem;
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--primary);
  color: white;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.cta-button:hover {
  background: var(--accent);
  color: white;
}

/* ===== MAIN LAYOUT ===== */
.main-wrapper {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding: 0 2rem 3rem;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
}

@media (max-width: 1000px) {
  .main-wrapper {
    grid-template-columns: 1fr;
  }
}

/* ===== CARDS ===== */
.section-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
  transition: all 0.2s ease;
}

.section-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.section-card h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.section-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 1.5rem 0 0.75rem;
  letter-spacing: -0.01em;
  border-bottom: 2px solid var(--light);
  padding-bottom: 0.5rem;
}

.section-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  margin: 1.5rem 0 0.5rem;
}

.section-card p {
  color: var(--secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.section-card ul {
  margin: 1rem 0 1rem 1.8rem;
  color: var(--secondary);
}

.section-card li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

/* ===== IMAGE PLACEHOLDERS ===== */
.img-ph {
  width: 100%;
  background: var(--light);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--tertiary);
  font-size: 0.85rem;
  line-height: 1.4;
  aspect-ratio: 4 / 5;
  padding: 1.5rem;
}

.img-ph div {
  word-wrap: break-word;
}

.sidebar-card .img-ph {
  margin-top: 1rem;
  aspect-ratio: 1;
}

.section-card .img-ph {
  aspect-ratio: 3 / 2;
}

/* ===== SIDEBAR ===== */
.sidebar-block {
  display: grid;
  gap: 2rem;
}

.sidebar-card {
  background: transparent;
  border: none;
  border-radius: var(--radius);
  padding: 0;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-card:hover {
  box-shadow: none;
}

.sidebar-card > .img-ph {
  flex-shrink: 0;
}

.sidebar-content {
  background: var(--lighter);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.sidebar-card h3 {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sidebar-card p {
  font-size: 0.85rem;
  color: var(--secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.sidebar-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-card li {
  font-size: 0.85rem;
  color: var(--secondary);
  line-height: 1.6;
  margin-bottom: 0.6rem;
  padding-left: 1.2rem;
  position: relative;
}

.sidebar-card li:last-child {
  margin-bottom: 0;
}

.sidebar-card li:before {
  content: "▪";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.6rem;
  top: 0.35rem;
}

.sidebar-image {
  width: 100%;
  height: 150px;
  background: var(--light);
  border-radius: var(--radius);
  margin-top: 1rem;
  overflow: hidden;
}

.sidebar-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== SOCIAL FEED ===== */
.social-feed {
  list-style: none;
  margin: 1.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.social-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.social-item:last-child {
  border-bottom: none;
}

.social-meta {
  font-size: 0.75rem;
  color: var(--tertiary);
  margin-bottom: 0.4rem;
  font-weight: 600;
  text-transform: uppercase;
}

.social-text {
  font-size: 0.9rem;
  color: var(--secondary);
  line-height: 1.6;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--lighter);
  color: var(--secondary);
  margin-top: 3rem;
  padding: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.85rem;
}

.footer-inner {
  display: none;
}

.footer-links {
  display: none;
}

.footer-col {
  display: none;
}

.footer-about {
  display: none;
}

.newsletter-form {
  display: none;
}

.footer-copy {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.85rem;
  color: var(--tertiary);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-inner {
    padding: 0 1rem;
    gap: 1rem;
  }
  
  .nav-menu {
    gap: 1.5rem;
  }
  
  .hero-wrap {
    padding: 2rem 1rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .main-wrapper {
    padding: 0 1rem 2rem;
  }
  
  .section-card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }
  
  .brand-title {
    font-size: 1.1rem;
  }
  
  .nav-menu {
    gap: 1rem;
    font-size: 0.8rem;
  }
  
  .hero-inner {
    gap: 1rem;
  }
  
  .hero-text h1 {
    font-size: 1.75rem;
  }
  
  .stats-section {
    gap: 1rem;
  }
}
