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

body {
  font-family: 'Poppins', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f4f4f4;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: #2c3e50;
  padding: 15px 0;
  color: white;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1001;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.header-container {
  max-width: 1100px;
  margin: auto;
  padding: 0 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: 1.5px;
  text-decoration: none;
  color: white;
  flex-shrink: 0;
}

.logo:hover {
  color: white;
}

.logo .highlight {
  color: #3498db;
}

.nav {
  position: relative;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.menu-toggle:hover {
  background: rgba(255,255,255,0.1);
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 10px 0;
  align-items: center;
}

.nav-menu a {
  font-family: 'Poppins', sans-serif;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 4px;
  white-space: nowrap;
}

.nav-menu a:hover {
  color: #f39c12;
  background: rgba(255,255,255,0.1);
}

/* Main Content */
main {
  margin-top: 80px;
}

/* H1 spacing for specialized pages */
main h1:first-of-type {
  margin-top: 40px;
  margin-bottom: 30px;
}

.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 3rem;
  color: #2c3e50;
  font-weight: 700;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #3498db, #9b59b6);
  border-radius: 2px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
  padding: 8rem 0 6rem;
  margin-top: -80px;
  padding-top: 12rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 25% 25%, rgba(255,255,255,0.1) 0%, transparent 50%),
              radial-gradient(circle at 75% 75%, rgba(255,255,255,0.05) 0%, transparent 50%);
  animation: float 15s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  position: relative;
  z-index: 2;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  opacity: 0.95;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.hero-actions {
  position: relative;
  z-index: 2;
}

.btn-primary {
  display: inline-block;
  background: #3498db;
  color: white;
  padding: 1.2rem 2.5rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
  margin: 1rem;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
  font-size: 1.1rem;
}

.btn-primary:hover {
  background: #2980b9;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 1.2rem 2.5rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
  margin: 1rem;
  font-size: 1.1rem;
}

.btn-secondary:hover {
  background: white;
  color: #667eea;
  transform: translateY(-3px);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.service-card {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #3498db, #9b59b6);
  transition: left 0.3s ease;
}

.service-card:hover::before {
  left: 0;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(52, 152, 219, 0.15);
  border-color: #3498db;
}

.service-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: block;
}

.service-card h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.service-card h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.service-card:hover h3 a {
  color: #3498db;
}

.service-card p {
  color: #666;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

.about-text p {
  color: #666;
  margin-bottom: 1.2rem;
  line-height: 1.8;
  font-size: 1rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  border: 1px solid #f0f0f0;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: #3498db;
  display: block;
}

.stat-label {
  color: #666;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  font-weight: 500;
}

.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.modern-dashboard {
  background: white;
  border-radius: 20px;
  padding: 25px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 1px solid #f0f0f0;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f8f9fa;
}

.dashboard-header h3 {
  color: #2c3e50;
  font-size: 1.1rem;
  margin: 0;
}

.dashboard-status {
  font-size: 0.8rem;
  padding: 4px 8px;
  background: #e8f5e8;
  color: #27ae60;
  border-radius: 12px;
  font-weight: 600;
}

.metrics-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 20px;
}

.metric-card {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  padding: 15px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #e9ecef;
}

.metric-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2980b9;
  margin-bottom: 5px;
}

.metric-label {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 3px;
}

.metric-trend {
  font-size: 0.7rem;
  color: #27ae60;
  font-weight: 600;
}

.recent-projects {
  margin-bottom: 20px;
}

.recent-projects h4 {
  color: #2c3e50;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.project-item {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 8px;
  border-left: 3px solid #3498db;
}

.project-icon {
  font-size: 1.2rem;
  margin-right: 10px;
}

.project-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1;
}

.project-name {
  font-size: 0.8rem;
  color: #2c3e50;
  font-weight: 600;
}

.project-status {
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: 600;
}

.project-status.completed {
  background: #e8f5e8;
  color: #27ae60;
}

.project-status.in-progress {
  background: #fff3e0;
  color: #f39c12;
}

.project-status.planning {
  background: #e3f2fd;
  color: #2196f3;
}

.tech-stack h4 {
  color: #2c3e50;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tech-pill {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.pricing-card {
  background: white;
  border-radius: 15px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: all 0.3s;
  border: 1px solid #f0f0f0;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.pricing-card.popular {
  border: 2px solid #667eea;
  background: linear-gradient(135deg, #667eea10 0%, #764ba210 100%);
  position: relative;
  /* Style simplifié sans scale ni barre problématique */
}

.pricing-card.popular::before {
  /* Désactivation de l'ancien style */
  display: none;
}

.plan-name {
  font-size: 1.6rem;
  color: #2c3e50;
  margin-bottom: 1rem;
  font-weight: 700;
}

.plan-price {
  font-size: 3.5rem;
  color: #3498db;
  font-weight: 700;
  margin-bottom: 2rem;
}

.plan-features {
  list-style: none;
  margin-bottom: 2.5rem;
  text-align: left;
}

.plan-features li {
  padding: 0.8rem 0;
  color: #666;
  border-bottom: 1px solid #f5f5f5;
  position: relative;
  padding-left: 2rem;
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan-features li:before {
  content: "✓";
  color: #27ae60;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0.8rem;
}

/* Pricing Addons Section */
.pricing-addons {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 2px solid #f0f0f0;
}

.addons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.addon-card {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  border: 2px solid #e9ecef;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.addon-card:hover {
  transform: translateY(-5px);
  border-color: #3498db;
  box-shadow: 0 10px 25px rgba(52, 152, 219, 0.15);
}

.addon-card h4 {
  color: #2c3e50;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.addon-price {
  font-size: 2rem;
  color: #3498db;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.addon-card p {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
}

.addon-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #3498db, #2980b9);
  transition: left 0.3s;
}

.addon-card:hover::before {
  left: 0;
}

/* Contact Section */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-info h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

.contact-info p {
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.8;
  font-size: 1rem;
}

.contact-methods {
  margin-top: 2rem;
}

.contact-method {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  color: #666;
  padding: 1rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.contact-method:hover {
  transform: translateX(5px);
}

.contact-method i {
  margin-right: 1rem;
  color: #3498db;
  font-size: 1.2rem;
  width: 20px;
}

.contact-actions {
  text-align: center;
}

/* Footer */
.footer {
  background: #2c3e50;
  color: white;
  padding: 3rem 0;
  text-align: center;
  margin-top: 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.footer-brand {
  text-align: left;
}

.footer-brand .logo {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.footer-brand p {
  color: #95a5a6;
  font-size: 0.9rem;
}

.footer-info {
  text-align: right;
}

.footer-info p {
  color: #95a5a6;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

/* FOOTER MODERNE ULTRA-RESPONSIVE */
.modern-footer {
  background: #2c3e50;
  color: white;
  width: 100%;
  margin-top: 0;
  position: relative;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem 0.5rem 1rem;
  box-sizing: border-box;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(149, 165, 166, 0.2);
}

.footer-brand {
  flex: 1;
  min-width: 200px;
}

.footer-logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.footer-logo:hover {
  transform: translateY(-2px);
}

.logo-highlight {
  color: #3498db;
}

.footer-description {
  color: #95a5a6;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.footer-conditions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.conditions-btn {
  background: transparent;
  color: #95a5a6;
  border: 1px solid #95a5a6;
  padding: 8px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.conditions-btn:hover {
  background: #95a5a6;
  color: #2c3e50;
}

.footer-copyright {
  text-align: center;
  padding: 1rem 0;
  border-top: 1px solid rgba(149, 165, 166, 0.2);
}

.copyright-text {
  color: #95a5a6;
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header {
    padding: 12px 0;
  }
  .header-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 0 10px;
    max-width: 100vw;
  }
  .logo {
    font-size: 1.4rem;
  }
  .menu-toggle {
    display: block !important;
    order: 2;
  }
  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: #2c3e50;
    flex-direction: column;
    padding: 1rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border-top: none;
    margin-top: 0;
    display: flex;
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-menu li {
    width: 100%;
    text-align: center;
  }
  
  .nav-menu a {
    display: block;
    font-size: 0.95rem;
    padding: 12px 20px;
    margin: 0;
    border-radius: 0;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .tech-showcase {
    max-width: 280px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-info {
    text-align: center;
  }
  
  /* Responsive pour footer moderne */
  .footer-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }
  
  .footer-brand {
    margin-bottom: 0;
  }
  
  .conditions-btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
  
  .footer-copyright {
    padding: 15px 20px;
  }
  
  .copyright-text {
    font-size: 0.8rem;
  }
  
  .pricing-card.popular {
    transform: none;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
  }
  
  .tech-showcase {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .addons-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .addon-card {
    padding: 1.5rem;
  }
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.mt-2 {
  margin-top: 2rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Additional styles for specialized pages */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.tech-category {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  text-align: center;
}

.tech-category h3 {
  color: #2c3e50;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.tech-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.tech-badge {
  background: linear-gradient(135deg, #3498db, #9b59b6);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: transform 0.3s;
}

.tech-badge:hover {
  transform: translateY(-2px);
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
}

.feature-tag {
  background: #f8f9fa;
  color: #666;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.7rem;
  font-weight: 500;
  border: 1px solid #e9ecef;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.portfolio-item {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.portfolio-item:hover {
  transform: translateY(-5px);
}

.portfolio-image {
  height: 200px;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-placeholder {
  text-align: center;
  color: #666;
}

.demo-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}

.portfolio-content {
  padding: 1.5rem;
}

.portfolio-content h3 {
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.portfolio-content p {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.portfolio-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.portfolio-tags span {
  background: #e3f2fd;
  color: #1976d2;
  padding: 0.2rem 0.6rem;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 500;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.process-step {
  text-align: center;
  padding: 2rem 1rem;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #3498db, #9b59b6);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.process-step h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
}

.process-step p {
  color: #666;
  line-height: 1.6;
}

/* Features grid for specialized pages */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-item {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s;
  border: 1px solid #f0f0f0;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-item h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.feature-item p {
  color: #666;
  line-height: 1.6;
  font-size: 0.9rem;
}

/* Demo tools */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.demo-tool {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  text-align: center;
}

.demo-tool h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
}

.demo-tool p {
  color: #666;
  margin-bottom: 1.5rem;
}

.demo-btn {
  margin-bottom: 1rem;
}

.demo-content {
  margin-top: 1rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 10px;
  text-align: left;
}

.calculator-demo label {
  display: block;
  margin: 1rem 0 0.5rem;
  font-weight: 600;
  color: #2c3e50;
}

.calculator-demo select,
.calculator-demo input {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-bottom: 1rem;
}

.price-estimate {
  background: linear-gradient(135deg, #3498db, #9b59b6);
  color: white;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  font-size: 1.1rem;
}

.dashboard-demo {
  padding: 1rem;
}

.demo-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.demo-stat {
  background: white;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #3498db;
}

.stat-label {
  font-size: 0.8rem;
  color: #666;
}

.demo-chart {
  display: flex;
  align-items: end;
  justify-content: space-around;
  height: 100px;
  background: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.chart-bar {
  width: 30px;
  background: linear-gradient(135deg, #3498db, #9b59b6);
  border-radius: 4px 4px 0 0;
  transition: height 0.3s ease;
}

/* Responsive adjustments for mobile pages */
@media (max-width: 768px) {
  .skills-orbit {
    width: 280px;
    height: 280px;
  }
  
  .central-hub {
    width: 80px;
    height: 80px;
  }
  
  .skill-satellite {
    width: 60px;
    height: 60px;
  }
  
  .satellite-text {
    font-size: 0.6rem;
  }
  
  .satellite-detail {
    font-size: 0.5rem;
  }
  
  .demo-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 10px 0;
    max-width: 100vw;
    overflow: hidden;
  }
  
  .header-container {
    padding: 0 8px;
    max-width: calc(100vw - 16px);
    margin: 0 auto;
  }
  
  .logo {
    font-size: 1.2rem;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  
  .menu-toggle {
    padding: 8px;
    font-size: 1.2rem;
    flex-shrink: 0;
  }
  
  .hero-title {
    font-size: 2.2rem;
    padding: 0 10px;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    padding: 0 10px;
  }
  
  .section-title {
    font-size: 1.8rem;
    padding: 0 10px;
  }
  
  .container {
    padding: 0 10px;
    max-width: 100vw;
  }
}
