/* CORS GmbH - Brand-Aligned Website Styles */

/* ==================== CSS VARIABLES ==================== */
:root {
  /* Brand Colors */
  --energetic-red: #E63946;
  --deep-purple: #6A4C93;
  --dark-charcoal: #1D3557;
  --pure-white: #FFFFFF;
  --light-grey: #F8F9FA;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--energetic-red) 0%, var(--deep-purple) 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(230, 57, 70, 0.1) 0%, rgba(106, 76, 147, 0.1) 100%);
  
  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  
  /* Spacing */
  --section-spacing: 120px;
  --card-padding: 50px;
  --element-margin: 30px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== RESET & BASE ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--dark-charcoal);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

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

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--dark-charcoal);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--dark-charcoal);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--deep-purple);
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

a {
  color: var(--energetic-red);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--deep-purple);
}

/* ==================== LAYOUT ==================== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

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

section {
  padding: var(--section-spacing) 0;
}

/* ==================== HEADER & NAVIGATION ==================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(29, 53, 87, 0.1);
  transition: var(--transition-smooth);
}

header.scrolled {
  box-shadow: 0 4px 20px rgba(29, 53, 87, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  gap: 40px;
  position: relative;
  z-index: 1001;
}

.logo {
  height: 50px;
  transition: var(--transition-smooth);
}

.logo:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
  align-items: center;
}

.nav-links a {
  color: var(--dark-charcoal);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition-smooth);
}

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

.nav-links a.active {
  color: var(--energetic-red);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  z-index: 1002;
  position: relative;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: var(--dark-charcoal);
  transition: var(--transition-smooth);
  border-radius: 2px;
}

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

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

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

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-block;
  padding: 16px 36px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
  text-align: center;
}

.btn-primary {
  background: var(--energetic-red);
  color: var(--pure-white);
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.btn-primary:hover {
  background: var(--deep-purple);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(106, 76, 147, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--dark-charcoal);
  border: 2px solid var(--dark-charcoal);
}

.btn-secondary:hover {
  background: var(--dark-charcoal);
  color: var(--pure-white);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--energetic-red);
  border: 2px solid var(--energetic-red);
}

.btn-ghost:hover {
  background: var(--energetic-red);
  color: var(--pure-white);
}

/* ==================== HERO SECTION ==================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: -20%;
  width: 60%;
  height: 100%;
  background: var(--gradient-subtle);
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1) translateY(0); opacity: 0.5; }
  50% { transform: scale(1.1) translateY(-20px); opacity: 0.7; }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  animation: fadeInUp 1s ease-out;
}

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

.hero h1 {
  margin-bottom: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .tagline {
  font-size: 1.3rem;
  color: var(--deep-purple);
  font-weight: 600;
  margin-bottom: 2rem;
  font-family: var(--font-heading);
}

.hero .description {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 3rem;
  color: var(--dark-charcoal);
}

.hero-cta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* ==================== STATS SECTION ==================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-item {
  padding: 40px 20px;
  background: var(--pure-white);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(29, 53, 87, 0.08);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: var(--transition-smooth);
}

.stat-item:hover::before {
  transform: scaleX(1);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(29, 53, 87, 0.15);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--font-heading);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: var(--dark-charcoal);
  font-weight: 600;
}

/* ==================== SERVICES GRID ==================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--pure-white);
  padding: var(--card-padding);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(29, 53, 87, 0.08);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-subtle);
  opacity: 0;
  transition: var(--transition-smooth);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(29, 53, 87, 0.15);
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 12px;
  color: var(--pure-white);
  font-size: 1.8rem;
  font-weight: 800;
}

.service-card h3 {
  margin-bottom: 1rem;
  color: var(--dark-charcoal);
}

.service-card p {
  color: var(--dark-charcoal);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.service-link {
  color: var(--energetic-red);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-link:hover {
  gap: 12px;
}

/* ==================== HIGHLIGHT SECTION ==================== */
.highlight-section {
  background: var(--dark-charcoal);
  color: var(--pure-white);
  position: relative;
  overflow: hidden;
}

.highlight-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: var(--gradient-primary);
  opacity: 0.1;
  border-radius: 50%;
  filter: blur(80px);
}

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

.highlight-section h2 {
  color: var(--pure-white);
  margin-bottom: 2rem;
}

.highlight-section p {
  font-size: 1.2rem;
  line-height: 1.9;
  margin-bottom: 2rem;
}

.highlight-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 3rem;
  flex-wrap: wrap;
}

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

.highlight-stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--energetic-red);
  font-family: var(--font-heading);
}

.highlight-stat-label {
  font-size: 1rem;
  opacity: 0.9;
  margin-top: 0.5rem;
}

/* ==================== PROJECT SLIDER ==================== */
.projects-section {
  background: var(--light-grey);
}

.section-intro {
  max-width: 800px;
  margin: 0 auto 4rem;
  text-align: center;
}

.section-intro h2 {
  margin-bottom: 1.5rem;
}

.project-slider {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.project-card {
  background: var(--pure-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(29, 53, 87, 0.08);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(29, 53, 87, 0.15);
}

.project-image {
  width: 100%;
  height: 250px;
  background: var(--gradient-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 800;
  color: var(--deep-purple);
  font-family: var(--font-heading);
  position: relative;
  overflow: hidden;
}

.project-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition-smooth);
}

.project-card:hover .project-image::before {
  opacity: 0.2;
}

.project-content {
  padding: 30px;
}

.project-category {
  font-size: 0.85rem;
  color: var(--energetic-red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.project-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark-charcoal);
  margin-bottom: 0;
}

/* ==================== CONTACT FORM ==================== */
.contact-section {
  background: var(--pure-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 1.5rem;
}

.contact-info {
  max-width: 700px;
}

.contact-info p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pure-white);
  font-weight: 800;
  flex-shrink: 0;
}

.contact-item-content strong {
  display: block;
  margin-bottom: 5px;
  font-weight: 700;
  color: var(--dark-charcoal);
}

.contact-item-content span {
  color: var(--dark-charcoal);
}

.contact-form {
  background: var(--light-grey);
  padding: 50px;
  border-radius: 16px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark-charcoal);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(29, 53, 87, 0.1);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-fast);
  background: var(--pure-white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--energetic-red);
}

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

/* ==================== FOOTER ==================== */
footer {
  background: var(--dark-charcoal);
  color: var(--pure-white);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
}

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

.footer-logo {
  height: 50px;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.footer-section h4 {
  color: var(--pure-white);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition-fast);
  font-size: 0.95rem;
}

.footer-section ul li a:hover {
  color: var(--energetic-red);
  padding-left: 5px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  :root {
    --section-spacing: 80px;
    --card-padding: 40px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-spacing: 60px;
    --card-padding: 30px;
  }
  
  /* Mobile Navigation */
  .menu-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--pure-white);
    flex-direction: column;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(29, 53, 87, 0.2);
    transform: translateY(-120%);
    transition: var(--transition-smooth);
    z-index: 1001;
    gap: 20px;
  }
  
  .nav-links.active {
    transform: translateY(0);
  }
  
  .hero {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 60px;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .project-slider {
    grid-template-columns: 1fr;
  }
  
  .highlight-stats {
    gap: 30px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .contact-form {
    padding: 30px;
  }
}

/* ==================== ANIMATIONS ==================== */
.fade-in {
  opacity: 0;
  animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  animation: slideInLeft 0.8s ease-out forwards;
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  animation: slideInRight 0.8s ease-out forwards;
}

@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Page-specific sections */
.page-header {
  padding-top: 140px;
  padding-bottom: 60px;
  text-align: center;
  background: var(--light-grey);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: var(--gradient-subtle);
  border-radius: 50%;
  filter: blur(100px);
}

.page-header h1 {
  position: relative;
  z-index: 1;
}

.content-section {
  padding: 80px 0;
}

.content-section h2 {
  margin-bottom: 2rem;
}

.content-section p {
  margin-bottom: 1.5rem;
}

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.team-member {
  text-align: center;
  padding: 40px;
  background: var(--pure-white);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(29, 53, 87, 0.08);
  transition: var(--transition-smooth);
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(29, 53, 87, 0.15);
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--gradient-primary);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pure-white);
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--font-heading);
}

.team-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--dark-charcoal);
}

.team-role {
  color: var(--energetic-red);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.team-bio {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--dark-charcoal);
}

/* Projects list */
.projects-list {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.project-item {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 40px;
  background: var(--pure-white);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(29, 53, 87, 0.08);
  transition: var(--transition-smooth);
}

.project-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(29, 53, 87, 0.15);
}

.project-number {
  font-size: 4rem;
  font-weight: 800;
  font-family: var(--font-heading);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  flex-shrink: 0;
  width: 120px;
  text-align: center;
}

.project-content {
  flex: 1;
}

@media (max-width: 768px) {
  .project-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
  }
  
  .project-number {
    width: auto;
    text-align: left;
    font-size: 3rem;
  }
}

/* Legal content styling */
.legal-content h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.legal-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-content p {
  font-size: 1rem;
  line-height: 1.8;
}

.legal-content ul {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.legal-content ul li {
  margin-bottom: 0.8rem;
  line-height: 1.7;
}

/* ==================== PROJECT DETAIL PAGES ==================== */
.project-hero {
  min-height: 60vh;
  padding-top: 120px;
}

.breadcrumb {
  margin-bottom: 2rem;
}

.breadcrumb a {
  color: var(--energetic-red);
  font-weight: 600;
  transition: var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--deep-purple);
}

.project-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: start;
}

.project-main-content h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.project-main-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.project-visual {
  margin-bottom: 3rem;
}

.project-mockup {
  background: var(--light-grey);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(29, 53, 87, 0.15);
}

.mockup-header {
  background: var(--gradient-primary);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-header span {
  font-size: 4rem;
  font-weight: 800;
  color: var(--pure-white);
  font-family: var(--font-heading);
}

.mockup-content {
  padding: 40px;
}

.mockup-hero {
  height: 120px;
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.15) 0%, rgba(106, 76, 147, 0.15) 100%);
  border-radius: 8px;
  margin-bottom: 20px;
}

.mockup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.mockup-card {
  height: 80px;
  background: rgba(29, 53, 87, 0.08);
  border-radius: 8px;
}

.project-list {
  list-style: none;
  margin: 2rem 0;
}

.project-list li {
  padding-left: 30px;
  margin-bottom: 1.5rem;
  position: relative;
  line-height: 1.8;
}

.project-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--energetic-red);
  font-weight: 800;
  font-size: 1.2rem;
}

.solution-features {
  display: grid;
  gap: 30px;
  margin: 3rem 0;
}

.feature-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  align-items: start;
}

.feature-number {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  background: var(--gradient-primary);
  color: var(--pure-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-heading);
  flex-shrink: 0;
}

.feature-item h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.feature-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin: 3rem 0;
}

.highlight-box {
  padding: 30px;
  background: var(--light-grey);
  border-radius: 12px;
  border-left: 4px solid var(--energetic-red);
}

.highlight-box h4 {
  color: var(--deep-purple);
  margin-bottom: 1rem;
}

.highlight-box p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin: 3rem 0;
  padding: 40px;
  background: var(--light-grey);
  border-radius: 16px;
}

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

.result-value {
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--font-heading);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.result-label {
  font-size: 0.95rem;
  color: var(--dark-charcoal);
  font-weight: 600;
}

.project-quote {
  margin: 4rem 0;
  padding: 40px;
  background: var(--gradient-subtle);
  border-radius: 16px;
  border-left: 6px solid var(--energetic-red);
}

.project-quote blockquote {
  font-size: 1.3rem;
  line-height: 1.8;
  font-style: italic;
  color: var(--dark-charcoal);
  margin-bottom: 1rem;
}

.project-quote cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  color: var(--deep-purple);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 3rem 0;
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient-primary);
}

.timeline-item {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 20px;
  align-items: start;
}

.timeline-marker {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--pure-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  position: relative;
  z-index: 1;
}

.timeline-content h4 {
  color: var(--deep-purple);
  margin-bottom: 0.5rem;
}

.timeline-content p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.project-sidebar {
  position: sticky;
  top: 120px;
}

.sidebar-section {
  background: var(--light-grey);
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 25px;
}

.sidebar-section h4 {
  color: var(--deep-purple);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.sidebar-section dl {
  display: grid;
  gap: 15px;
}

.sidebar-section dt {
  font-weight: 700;
  color: var(--dark-charcoal);
  font-size: 0.9rem;
}

.sidebar-section dd {
  color: var(--dark-charcoal);
  margin-left: 0;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(29, 53, 87, 0.1);
}

.sidebar-section dd:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.tech-tags,
.service-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-tags li,
.service-tags li {
  background: var(--pure-white);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--deep-purple);
  border: 1px solid rgba(106, 76, 147, 0.2);
}

@media (max-width: 1024px) {
  .project-detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .project-sidebar {
    position: static;
  }
  
  .timeline {
    padding-left: 30px;
  }
  
  .timeline::before {
    left: 5px;
  }
  
  .timeline-item {
    grid-template-columns: 40px 1fr;
  }
  
  .timeline-marker {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .mockup-header span {
    font-size: 3rem;
  }
  
  .mockup-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-item {
    grid-template-columns: 1fr;
  }
  
  .feature-number {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .results-grid {
    grid-template-columns: 1fr 1fr;
    padding: 30px 20px;
  }
  
  .result-value {
    font-size: 2rem;
  }
  
  .project-quote blockquote {
    font-size: 1.1rem;
  }
}