/* CSS Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* CSS Custom Properties - Corporate Tech Theme */
:root {
  --primary-blue: #0066CC;
  --dark-blue: #003366;
  --light-blue: #E6F2FF;
  --text-primary: #1A1A1A;
  --text-secondary: #4A4A4A;
  --text-light: #6A6A6A;
  --background-white: #FFFFFF;
  --background-gray: #F5F7FA;
  --border-color: #E0E0E0;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --transition-speed: 0.3s;
  --max-content-width: 900px;
  --max-section-width: 1200px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Roboto', 'Segoe UI', system-ui, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
  max-width: var(--max-section-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
  color: var(--background-white);
  padding: 80px 0 60px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.5;
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto;
  font-weight: 400;
}

/* Article Content */
.article-content {
  background-color: var(--background-white);
  padding: 60px 0;
}

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

article {
  background-color: var(--background-white);
}

/* Section Spacing */
section {
  margin-bottom: 48px;
}

.intro-section {
  font-size: 1.125rem;
  color: var(--text-secondary);
  padding: 32px;
  background-color: var(--background-gray);
  border-left: 4px solid var(--primary-blue);
  border-radius: 4px;
  margin-bottom: 48px;
}

.intro-section p {
  margin-bottom: 20px;
}

.intro-section p:last-child {
  margin-bottom: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 2.25rem;
  margin-top: 48px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--primary-blue);
}

h3 {
  font-size: 1.5rem;
  margin-top: 32px;
  margin-bottom: 16px;
  color: var(--dark-blue);
}

p {
  margin-bottom: 20px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Feature Cards */
.feature-card {
  background-color: var(--background-white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-speed) ease;
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--primary-blue);
}

.feature-card h3 {
  margin-top: 0;
  color: var(--primary-blue);
  font-size: 1.25rem;
}

.feature-card p {
  margin-bottom: 0;
  font-size: 1rem;
}

/* Author Bio */
.author-bio {
  background-color: var(--light-blue);
  padding: 32px;
  border-radius: 8px;
  margin-top: 60px;
  border-left: 4px solid var(--dark-blue);
}

.author-bio h3 {
  margin-top: 0;
  color: var(--dark-blue);
}

.author-bio p {
  margin-bottom: 0;
  font-style: italic;
}

/* Call-to-Action Section */
.cta-section {
  background: linear-gradient(135deg, var(--dark-blue) 0%, #001a33 100%);
  color: var(--background-white);
  padding: 80px 0;
  margin-top: 60px;
}

.cta-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.cta-text h2 {
  color: var(--background-white);
  border-bottom: 3px solid var(--primary-blue);
  margin-top: 0;
  font-size: 2rem;
}

.cta-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  line-height: 1.7;
}

.cta-profile {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}

.cta-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--background-white);
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
}

.cta-name {
  font-size: 1.75rem;
  margin-bottom: 8px;
  color: var(--background-white);
  border-bottom: none;
  margin-top: 0;
}

.cta-title {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
}

.cta-button {
  display: inline-block;
  background-color: var(--primary-blue);
  color: var(--background-white);
  padding: 16px 40px;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: all var(--transition-speed) ease;
  box-shadow: var(--shadow-md);
  border: 2px solid transparent;
}

.cta-button:hover {
  background-color: #0052A3;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--background-white);
}

.cta-button:active {
  transform: translateY(0);
}

/* Footer */
.site-footer {
  background-color: var(--text-primary);
  color: rgba(255, 255, 255, 0.8);
  padding: 32px 0;
  text-align: center;
  font-size: 0.875rem;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

/* Lists */
ul, ol {
  margin-bottom: 20px;
  padding-left: 32px;
  color: var(--text-secondary);
  line-height: 1.7;
}

li {
  margin-bottom: 8px;
}

/* Links */
a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

a:hover {
  color: var(--dark-blue);
  text-decoration: underline;
}

/* Code Elements */
code {
  background-color: var(--background-gray);
  padding: 2px 6px;
  border-radius: 3px;
  font-family: 'SF Mono', Monaco, 'Courier New', monospace;
  font-size: 0.9em;
  color: var(--dark-blue);
}

pre {
  background-color: var(--background-gray);
  padding: 20px;
  border-radius: 6px;
  overflow-x: auto;
  margin-bottom: 20px;
  border-left: 4px solid var(--primary-blue);
}

pre code {
  background-color: transparent;
  padding: 0;
}

/* Blockquotes */
blockquote {
  border-left: 4px solid var(--primary-blue);
  padding-left: 24px;
  margin: 24px 0;
  font-style: italic;
  color: var(--text-light);
  background-color: var(--light-blue);
  padding: 20px 24px;
  border-radius: 4px;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  background-color: var(--background-white);
  box-shadow: var(--shadow-sm);
}

th, td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

th {
  background-color: var(--dark-blue);
  color: var(--background-white);
  font-weight: 600;
}

tr:hover {
  background-color: var(--background-gray);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .cta-content {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 0 40px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .article-content {
    padding: 40px 0;
  }

  .cta-section {
    padding: 60px 0;
  }

  .cta-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cta-text h2 {
    font-size: 1.75rem;
  }

  .cta-text p {
    font-size: 1rem;
  }

  .intro-section {
    padding: 24px;
    font-size: 1rem;
  }

  .feature-card {
    padding: 20px;
  }

  .container {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .cta-photo {
    width: 140px;
    height: 140px;
  }

  .cta-name {
    font-size: 1.5rem;
  }

  .cta-button {
    padding: 14px 32px;
    font-size: 1rem;
  }

  .container {
    padding: 0 16px;
  }
}

/* Print Styles */
@media print {
  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
  }

  .hero {
    background: none;
    color: #000;
    padding: 20px 0;
  }

  .cta-section,
  .site-footer {
    display: none;
  }

  .feature-card {
    border: 1px solid #000;
    box-shadow: none;
    page-break-inside: avoid;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  h2 {
    page-break-after: avoid;
  }

  img {
    max-width: 100%;
    page-break-inside: avoid;
  }
}
