/* ==========================================
   ICCIT 2026 - Base Styles & Reset
   ========================================== */

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-primary);
  color: var(--text-main);
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  line-height: 1.65;
  background-color: var(--bg-primary);
  overflow-x: hidden;
  position: relative;
  color: var(--text-main);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(29, 27, 24, 0.15);
  border-radius: 5px;
  border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* Typography Base - Claude Editorial Serif Styling */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.22;
  color: var(--text-main);
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2.5rem, 4.5vw + 0.8rem, 4.25rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 3vw + 0.6rem, 3rem);
  font-weight: 400;
}

h3 {
  font-size: clamp(1.4rem, 1.8vw + 0.4rem, 1.85rem);
  font-weight: 400;
}

h4 {
  font-size: 1.25rem;
  font-weight: 500;
}

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

ul, ol {
  list-style: none;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section-padding {
  padding: 5.5rem 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 3.5rem 0;
  }
}

/* Section Header Utility */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.25rem auto;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid var(--border-brand);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green-800);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.1rem;
}

.section-tag i {
  font-size: 0.9rem;
  color: var(--color-primary);
}

.section-title {
  margin-bottom: 1.1rem;
  color: var(--text-main);
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* Text Highlights - Soft & Readable */
.text-gradient {
  color: var(--green-700);
  display: inline-block;
}

.text-serif-highlight {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--green-700);
}

/* Glass Background Effect */
.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
}

/* Scroll Reveal Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
