/* ========================================
   BluHco - Professional Business Consulting
   CSS Stylesheet
   ======================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* CSS Custom Properties */
:root {
  /* Colors */
  --color-navy: #0a1628;
  --color-navy-light: #1a2a4a;
  --color-sky-blue: #3b82f6;
  --color-sky-blue-light: #60a5fa;
  --color-teal: #06b6d4;
  --color-teal-light: #22d3ee;
  --color-white: #ffffff;
  --color-light-gray: #f8fafc;
  --color-gray-100: #f1f5f9;
  --color-gray-200: #e2e8f0;
  --color-gray-300: #cbd5e1;
  --color-gray-400: #94a3b8;
  --color-gray-500: #64748b;
  --color-gray-600: #475569;
  --color-gray-700: #334155;
  --color-gray-800: #1e293b;
  --color-gold: #f59e0b;
  --color-gold-light: #fbbf24;
  
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-gray-700);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-navy);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: var(--space-md);
}

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

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

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

ul, ol {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-sm {
  max-width: 960px;
}

.container-lg {
  max-width: 1440px;
}

/* ========================================
   Header & Navigation
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-gray-200);
  transition: all var(--transition-base);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-navy);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-sky-blue), var(--color-teal));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 700;
}

.logo span {
  background: linear-gradient(135deg, var(--color-sky-blue), var(--color-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-link {
  font-weight: 500;
  color: var(--color-gray-600);
  padding: var(--space-sm) 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-sky-blue), var(--color-teal));
  transition: width var(--transition-base);
}

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

.nav-link:hover,
.nav-link.active {
  color: var(--color-navy);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: var(--space-md);
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

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

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  color: var(--color-gray-600);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.nav-dropdown-item:hover {
  background: var(--color-gray-100);
  color: var(--color-navy);
}

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-sm);
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--color-navy);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: var(--color-white);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
  transform: translateY(-100%);
  opacity: 0;
  transition: all var(--transition-base);
}

.mobile-nav.active {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--color-gray-100);
  border-radius: var(--radius-md);
  font-weight: 500;
  color: var(--color-navy);
}

.mobile-nav-link i {
  font-size: 1.25rem;
  color: var(--color-sky-blue);
}

@media (max-width: 1024px) {
  .nav {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .mobile-nav {
    display: block;
  }
}

/* ========================================
   Hero Sections
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    var(--color-navy) 0%, 
    var(--color-navy-light) 50%,
    var(--color-sky-blue) 100%
  );
  opacity: 0.95;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.3) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  color: var(--color-white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  margin-bottom: var(--space-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  margin-bottom: var(--space-lg);
  color: var(--color-white);
  line-height: 1.1;
}

.hero-title .highlight {
  background: linear-gradient(90deg, var(--color-teal), var(--color-sky-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: var(--space-2xl);
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Hero Mini (for inner pages) */
.hero-mini {
  min-height: 400px;
  text-align: center;
}

.hero-mini .hero-content {
  max-width: 100%;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-sky-blue), var(--color-teal));
  color: var(--color-white);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
  color: var(--color-white);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn-outline {
  background: transparent;
  color: var(--color-sky-blue);
  border-color: var(--color-sky-blue);
}

.btn-outline:hover {
  background: var(--color-sky-blue);
  color: var(--color-white);
}

.btn-gold {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  color: var(--color-navy);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
}

.btn-sm {
  padding: var(--space-sm) var(--space-md);
  font-size: 0.875rem;
}

.btn-lg {
  padding: var(--space-lg) var(--space-2xl);
  font-size: 1.125rem;
}

/* ========================================
   Cards
   ======================================== */
.card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.card-header {
  margin-bottom: var(--space-lg);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-sky-blue), var(--color-teal));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.card-icon i {
  font-size: 1.75rem;
  color: var(--color-white);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.card-text {
  color: var(--color-gray-500);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Tool Cards */
.tool-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--color-gray-200);
  box-shadow: var(--shadow-sm);
}

.tool-card:hover {
  border-color: var(--color-sky-blue);
}

.tool-card .card-icon {
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
}

.tool-card .card-body {
  flex: 1;
}

.tool-card .card-footer {
  margin-top: auto;
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-gray-200);
}

/* Article Cards */
.article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  padding: 0;
}

.article-card-image {
  height: 200px;
  overflow: hidden;
}

.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.article-card-body {
  padding: var(--space-xl);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.875rem;
  color: var(--color-gray-400);
  margin-bottom: var(--space-md);
}

.article-card-category {
  background: var(--color-sky-blue);
  color: var(--color-white);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.article-card-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
  line-height: 1.4;
}

.article-card-title a {
  color: var(--color-navy);
}

.article-card-title a:hover {
  color: var(--color-sky-blue);
}

.article-card-excerpt {
  color: var(--color-gray-500);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
  flex: 1;
}

.article-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 600;
  color: var(--color-sky-blue);
}

.article-card-link:hover {
  gap: var(--space-md);
}

/* ========================================
   Grid Layouts
   ======================================== */
.grid {
  display: grid;
  gap: var(--space-xl);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Sections
   ======================================== */
.section {
  padding: var(--space-4xl) 0;
}

.section-gray {
  background: var(--color-light-gray);
}

.section-navy {
  background: var(--color-navy);
  color: var(--color-white);
}

.section-navy h2,
.section-navy h3 {
  color: var(--color-white);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.1));
  color: var(--color-sky-blue);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.section-navy .section-badge {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-teal);
}

.section-title {
  margin-bottom: var(--space-md);
}

.section-description {
  font-size: 1.125rem;
  color: var(--color-gray-500);
}

.section-navy .section-description {
  color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   Features
   ======================================== */
.feature-item {
  text-align: center;
  padding: var(--space-xl);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-sky-blue), var(--color-teal));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
}

.feature-icon i {
  font-size: 2rem;
  color: var(--color-white);
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.feature-text {
  color: var(--color-gray-500);
  margin-bottom: 0;
}

/* ========================================
   Stats
   ======================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-sky-blue), var(--color-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat-label {
  color: var(--color-gray-500);
  font-size: 1rem;
}

.section-navy .stat-label {
  color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.cta-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-xl);
}

/* ========================================
   Forms
   ======================================== */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--color-navy);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-md);
  font-family: var(--font-body);
  font-size: 1rem;
  border: 2px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-sky-blue);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.form-hint {
  font-size: 0.875rem;
  color: var(--color-gray-400);
  margin-top: var(--space-xs);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--color-navy);
  color: var(--color-white);
  padding-top: var(--space-4xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.footer-brand {
  max-width: 300px;
}

@media (max-width: 640px) {
  .footer-brand {
    max-width: 100%;
    margin: 0 auto;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

@media (max-width: 640px) {
  .footer-logo {
    justify-content: center;
  }
}

.footer-logo .logo-icon {
  width: 36px;
  height: 36px;
  font-size: 0.875rem;
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

@media (max-width: 640px) {
  .footer-social {
    justify-content: center;
  }
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--color-sky-blue);
  transform: translateY(-2px);
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
  color: var(--color-white);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-fast);
  padding: var(--space-xs) 0;
}

.footer-links a:hover {
  color: var(--color-teal);
  padding-left: var(--space-sm);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links a:hover {
  color: var(--color-white);
}

/* ========================================
   Tools Page Specific
   ======================================== */
.tools-hero {
  min-height: 500px;
}

.tool-interface {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
}

.tool-input-group {
  margin-bottom: var(--space-lg);
}

.tool-result {
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-light));
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  color: var(--color-white);
  text-align: center;
  margin-top: var(--space-xl);
}

.tool-result-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-sm);
}

.tool-result-value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--color-teal), var(--color-sky-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tool-result-unit {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: var(--space-sm);
}

/* ========================================
   About Page
   ======================================== */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

@media (max-width: 1024px) {
  .about-story {
    grid-template-columns: 1fr;
  }
}

.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image img {
  width: 100%;
  height: auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.team-member {
  text-align: center;
}

.team-member-image {
  width: 150px;
  height: 150px;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 0 auto var(--space-lg);
  border: 4px solid var(--color-gray-200);
}

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

.team-member-name {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
}

.team-member-role {
  color: var(--color-sky-blue);
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

.team-member-bio {
  color: var(--color-gray-500);
  font-size: 0.9rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

.value-item {
  display: flex;
  gap: var(--space-lg);
}

.value-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  background: linear-gradient(135deg, var(--color-sky-blue), var(--color-teal));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.5rem;
}

/* ========================================
   Article Page
   ======================================== */
.article-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-3xl);
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
  color: var(--color-gray-400);
  font-size: 0.9rem;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
}

.article-content h2 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-lg);
}

.article-content h3 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.article-content p {
  margin-bottom: var(--space-lg);
  font-size: 1.1rem;
  line-height: 1.8;
}

.article-content ul,
.article-content ol {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-xl);
}

.article-content li {
  margin-bottom: var(--space-sm);
  position: relative;
}

.article-content ul li::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-lg));
  top: 0.6em;
  width: 6px;
  height: 6px;
  background: var(--color-sky-blue);
  border-radius: var(--radius-full);
}

.article-content ol {
  counter-reset: list-counter;
}

.article-content ol li {
  counter-increment: list-counter;
}

.article-content ol li::before {
  content: counter(list-counter);
  position: absolute;
  left: calc(-1 * var(--space-lg));
  width: 24px;
  height: 24px;
  background: var(--color-sky-blue);
  color: var(--color-white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.article-content blockquote {
  background: var(--color-gray-100);
  border-left: 4px solid var(--color-sky-blue);
  padding: var(--space-xl);
  margin: var(--space-xl) 0;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  font-style: italic;
  color: var(--color-gray-600);
}

.article-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: var(--space-2xl) 0;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-gray-200);
}

.article-tag {
  background: var(--color-gray-100);
  color: var(--color-gray-600);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  transition: all var(--transition-fast);
}

.article-tag:hover {
  background: var(--color-sky-blue);
  color: var(--color-white);
}

/* ========================================
   404 Page
   ======================================== */
.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.error-content h1 {
  font-size: 8rem;
  background: linear-gradient(135deg, var(--color-sky-blue), var(--color-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-md);
}

.error-content h2 {
  margin-bottom: var(--space-md);
}

.error-content p {
  color: var(--color-gray-500);
  margin-bottom: var(--space-xl);
}

/* ========================================
   Legal Pages
   ======================================== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  font-size: 1.5rem;
}

.legal-content h3 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  font-size:  font-size: 1.125rem;
}

.legal-content p {
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.legal-content ul {
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
}

.legal-content li {
  margin-bottom: var(--space-sm);
  position: relative;
}

.legal-content ul li::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-md));
  top: 0.6em;
  width: 6px;
  height: 6px;
  background: var(--color-sky-blue);
  border-radius: var(--radius-full);
}

/* ========================================
   Contact Page
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact-item {
  display: flex;
  gap: var(--space-lg);
}

.contact-item-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: linear-gradient(135deg, var(--color-sky-blue), var(--color-teal));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.25rem;
}

.contact-item-title {
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.contact-item-text {
  color: var(--color-gray-500);
  margin-bottom: 0;
}

/* ========================================
   Utilities
   ======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }
.mt-5 { margin-top: var(--space-2xl); }
.mt-6 { margin-top: var(--space-3xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }
.mb-5 { margin-bottom: var(--space-2xl); }
.mb-6 { margin-bottom: var(--space-3xl); }

.py-4 { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }
.py-5 { padding-top: var(--space-2xl); padding-bottom: var(--space-2xl); }
.py-6 { padding-top: var(--space-3xl); padding-bottom: var(--space-3xl); }

.hidden { display: none; }
.visible { display: block; }

/* Animation Classes */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.animate-fadeIn {
  animation: fadeIn 0.6s ease forwards;
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* Focus States */
:focus-visible {
  outline: 2px solid var(--color-sky-blue);
  outline-offset: 2px;
}

/* Selection */
::selection {
  background: var(--color-sky-blue);
  color: var(--color-white);
}

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

::-webkit-scrollbar-track {
  background: var(--color-gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--color-gray-300);
  border-radius: var(--radius-full);
}

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