/* Typography System */
:root {
  /* Font Sizes */
  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-md: 1.125rem;   /* 18px */
  --font-size-lg: 1.25rem;    /* 20px */
  --font-size-xl: 1.5rem;     /* 24px */
  --font-size-2xl: 1.875rem;  /* 30px */
  --font-size-3xl: 2.25rem;   /* 36px */
  --font-size-4xl: 3rem;      /* 48px */
  
  /* Line Heights */
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;
  
  /* Font Weights */
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Font Families */
  --font-family-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-family-code: 'JetBrains Mono', 'Fira Code', Monaco, Consolas, 'Courier New', monospace;
  
  /* Letter Spacing */
  --letter-spacing-tight: -0.025em;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.025em;
  
  /* Section Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
}

/* Base Typography Styles */
body {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: #f0f0f0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
  font-weight: var(--font-weight-bold);
}

h1 {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-lg);
  background: linear-gradient(135deg, #a6e22e 0%, #66d9ef 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-md);
  color: #66d9ef;
}

h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-sm);
  color: #a6e22e;
}

h4 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-sm);
  color: #66d9ef;
}

/* Paragraphs */
p {
  margin: 0 0 var(--space-md) 0;
  font-size: var(--font-size-md);
  line-height: var(--line-height-relaxed);
}

/* Lists */
ul, ol {
  padding-left: var(--space-lg);
  margin-bottom: var(--space-md);
}

li {
  margin-bottom: var(--space-xs);
  font-size: var(--font-size-md);
  line-height: var(--line-height-relaxed);
}

/* Links */
a {
  color: #66d9ef;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #a6e22e;
}

/* Special Text Styles */
.hero-title {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-tight);
  line-height: 1.1;
  margin-bottom: var(--space-md);
}

.subtitle {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-medium);
  color: #66d9ef;
  margin-bottom: var(--space-sm);
}

.tagline {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-normal);
  color: #ccc;
  margin-bottom: var(--space-md);
}

.section-title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: #66d9ef;
  margin-bottom: var(--space-lg);
  text-align: center;
}

/* Contact Page Specific */
.contact-hero h1 {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-md);
}

.contact-subtitle {
  font-size: var(--font-size-xl);
  color: #ccc;
  max-width: 800px;
  margin: 0 auto var(--space-xl);
  line-height: var(--line-height-relaxed);
}

.contact-section h2 {
  font-size: var(--font-size-2xl);
  color: #66d9ef;
  margin-bottom: var(--space-lg);
}

.contact-card h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-xs);
}

/* About Page Specific */
.about-section h2 {
  font-size: var(--font-size-2xl);
  color: #66d9ef;
  margin-bottom: var(--space-lg);
}

.experience-item h4 {
  font-size: var(--font-size-lg);
  color: #a6e22e;
  margin-bottom: var(--space-xs);
}

.achievement-highlight h4 {
  font-size: var(--font-size-xl);
  color: #66d9ef;
  margin-bottom: var(--space-md);
}

/* Responsive Typography */
@media (max-width: 768px) {
  :root {
    --font-size-4xl: 2.5rem;  /* Smaller on mobile */
    --font-size-3xl: 2rem;
    --font-size-2xl: 1.75rem;
    --font-size-xl: 1.25rem;
  }
  
  .hero-title {
    font-size: var(--font-size-3xl);
  }
  
  .subtitle {
    font-size: var(--font-size-lg);
  }
  
  .tagline {
    font-size: var(--font-size-md);
  }
  
  p {
    font-size: var(--font-size-base);
  }
}

/* Print Typography */
@media print {
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1 {
    font-size: 24pt;
  }
  
  h2 {
    font-size: 20pt;
  }
  
  h3 {
    font-size: 16pt;
  }
}
