:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f4f4f5;
  --bg-tertiary: #e4e4e7;
  --text-primary: #18181b;
  --text-secondary: #71717a;
  --accent-primary: #ff5722;
  --accent-hover: #f4511e;
  --accent-light: rgba(255, 87, 34, 0.1);
  --border-color: #e4e4e7;
  --radius-sm: 6px;
  --radius-md: 12px;
  --transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

html.dark {
  --bg-primary: #121214;
  --bg-secondary: #18181b;
  --bg-tertiary: #27272a;
  --text-primary: #f4f4f5;
  --text-secondary: #a1a1aa;
  --accent-light: rgba(255, 87, 34, 0.15);
  --border-color: #27272a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color 1s ease, color 1s ease;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.main-content {
  flex: 1;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--bg-secondary);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-title svg {
  color: var(--accent-primary);
}

.section-subtitle {
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  gap: 1rem;
}

.section-head .section-title {
  margin-bottom: 0;
}

.section-link {
  color: var(--accent-primary);
  font-weight: 600;
  white-space: nowrap;
}

.section-link:hover {
  color: var(--accent-hover);
}

.text-accent {
  color: var(--accent-primary);
}

.icon-accent {
  color: var(--accent-primary);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

body:not(.aos-init) [data-aos] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}